/*
 * Typography system: Bebas Neue for headings; Google Sans for body copy.
 */
:root{
  --font-heading:'Bebas Neue','UTM Bebas','Bebas Neue Fallback',sans-serif;
  --font-body:var(--font-pri,"Google Sans","Google Sans Fallback",sans-serif);
  --font-thir:'Bebas Neue','UTM Bebas','Bebas Neue Fallback',sans-serif;
  --text-h1:clamp(3.2rem,4vw,4.8rem);
  --text-h2:clamp(2.4rem,2.8vw,3.4rem);
  --text-h3:clamp(1.9rem,2vw,2.4rem);
  --text-h4:clamp(1.7rem,1.8vw,2rem);
  --text-h5:1.6rem;
  --text-h6:1.5rem;
  --heading-leading-tight:1.2;
  --heading-leading:1.25;
  --heading-tracking:0;
}
@media(max-width:767px){:root{--text-h1:clamp(2.8rem,7.5vw,3.2rem);--text-h2:clamp(2.2rem,5.5vw,2.8rem);--text-h3:clamp(1.8rem,4.5vw,2.2rem);--text-h4:clamp(1.6rem,4vw,1.8rem);--text-h5:1.5rem;--text-h6:1.4rem}}
body{
  font-family:var(--font-body);
  font-size:var(--text-body);
}
/* Headline: Bebas Neue, uppercase, letter-spacing 0 */
body :is(h1,h2,.hero-blue__title,.hero__title,.sec-tt,.section-title,.page-title,.banner__title):not(.midas-heading-exempt){
  font-family:var(--font-heading)!important;
  font-weight:700;
  letter-spacing:0 !important;
  text-transform:uppercase !important;
  -webkit-text-stroke:0;
}
/* Còn lại: Google Sans cho toàn bộ nội dung, thẻ con, subhead, cards, buttons */
body :where(h3,h4,h5,h6,p,li,dt,dd,blockquote,figcaption,label,input,textarea,select,button,small,.midas-heading-exempt){font-family:var(--font-body)!important}
body :where(.mona-content p,.mona-content li,.mona-content dt,.mona-content dd,.mona-content blockquote,.mona-content figcaption){font-family:var(--font-body)!important}
body :where(.mona-content h1,.mona-content h2){font-family:var(--font-heading)!important;font-weight:700;letter-spacing:0 !important;text-transform:uppercase;-webkit-text-stroke:0}
body :where(.mona-content h3,.mona-content h4,.mona-content h5,.mona-content h6){font-family:var(--font-body)!important;font-weight:700;letter-spacing:0 !important;text-transform:none;-webkit-text-stroke:0}
body .sec-tt{line-height:var(--heading-leading, 1.25);letter-spacing:0 !important;text-transform:uppercase;font-weight:700}
body .tt-sub{font-family:var(--font-body)!important;font-size:var(--text-h3);line-height:1.35;letter-spacing:0 !important;text-transform:none;font-weight:600}

/* Component selectors with stronger legacy specificity. */
body .hero-blue__title,
body .hero__title{font-size:var(--text-h1)!important}
body .sec-tt,
body #trust-market-title{font-size:var(--text-h2)!important}
body .metric-tt{font-size:var(--text-h3)!important}


/* Feedback pass: keep section titles dominant while service cards stay compact. */
body .services-tt {
  font-size: var(--text-h3) !important;
  line-height: 1.2;
}

@media (min-width:768px) {
  body.home .projects .project-card__media {
    aspect-ratio: 40.6 / 18;
  }

  .testimonials .project-card__brand {
    height: 7.2rem;
    top: -4rem;
    padding: 1rem 1.6rem 2rem;
  }

  .testimonials .project-card__body {
    margin-top: 2rem;
    padding: 2rem 2.8rem 2.8rem;
  }
}

body.home .site-footer .footer-list a,
body.home .site-footer .footer-list li,
body.home .site-footer .footer-bottom {
  font-size: 1.4rem;
}

/* Review pass: normalize trust marks and keep mobile controls finger-friendly. */
body .trust__brand-item {
  min-width: 14rem;
  height: 6rem;
  padding: 0 .8rem;
}

body .trust__brand-item img {
  width: 14rem;
  height: 5.2rem;
  max-width: 14rem;
  max-height: 5.2rem;
  min-height: 0;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

body .csa-load-more,
body .blg-load-more {
  min-height: 4.8rem;
}

/* ==========================================================================
   FLOATING CONTACT (CTA) — Colors & Icon Size Optimization
   ========================================================================== */
body .floating-contact {
  --fc-size: 5rem;
  gap: 1.2rem;
  z-index: 9999;
}

body .floating-contact__item {
  box-shadow: 0 6px 20px rgba(16, 16, 32, 0.22);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

body .floating-contact__item:hover {
  transform: scale(1.08) translateY(-2px);
}

body .floating-contact__icon {
  width: var(--fc-size, 5rem);
  height: var(--fc-size, 5rem);
  flex: 0 0 var(--fc-size, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1. Hotline / Phone: Vibrant Green + Pure GPU Pseudo-Element Pulse Ring */
@keyframes fc-hotline-pulse-gpu {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  60%, 100% {
    transform: scale(1.36);
    opacity: 0;
  }
}

body .floating-contact__item--phone {
  position: relative;
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

body .floating-contact__item--phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  opacity: 0;
  animation: fc-hotline-pulse-gpu 3.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

body .floating-contact__item--phone:hover {
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

body .floating-contact__item--phone:hover::after {
  animation-play-state: paused;
}
body .floating-contact__item--phone .floating-contact__icon-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  transform: scale(1.1) !important;
}

body .floating-contact__item--phone .floating-contact__icon svg {
  width: 2.6rem !important;
  height: 2.6rem !important;
  fill: #fff !important;
}

/* 2. Zalo: Official Zalo Blue + White Icon */
body .floating-contact__item--zalo {
  background: linear-gradient(135deg, #0084FF 0%, #0068FF 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

body .floating-contact__item--zalo:hover {
  box-shadow: 0 10px 26px rgba(0, 104, 255, 0.55), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

body .floating-contact__item--zalo .floating-contact__icon-image {
  width: 3rem !important;
  height: 3rem !important;
  max-width: 3rem !important;
  max-height: 3rem !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

body .floating-contact__item--zalo .floating-contact__icon svg {
  width: 3rem !important;
  height: 3rem !important;
  fill: #fff !important;
}

/* 3. Messenger: Official Messenger Gradient + White Icon */
body .floating-contact__item--messenger {
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 50%, #A033FF 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 106, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

body .floating-contact__item--messenger:hover {
  box-shadow: 0 10px 26px rgba(0, 106, 255, 0.55), 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

body .floating-contact__item--messenger .floating-contact__icon-image {
  width: 2.8rem !important;
  height: 2.8rem !important;
  max-width: 2.8rem !important;
  max-height: 2.8rem !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

body .floating-contact__item--messenger .floating-contact__icon svg {
  width: 2.8rem !important;
  height: 2.8rem !important;
  fill: #fff !important;
}

body .floating-contact__label {
  font-family: var(--font-body, 'Google Sans', sans-serif);
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em;
}

@media (max-width: 767px) {
  body .floating-contact {
    --fc-size: 4.4rem;
    gap: 0.8rem;
  }
  body .floating-contact__item--zalo .floating-contact__icon-image,
  body .floating-contact__item--zalo .floating-contact__icon svg {
    width: 2.6rem !important;
    height: 2.6rem !important;
  }
  body .floating-contact__item--messenger .floating-contact__icon-image,
  body .floating-contact__item--messenger .floating-contact__icon svg {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }
}

/* Ensure team portrait photos across all pages are never head-chopped */

/* Synchronize Homepage results metric-cards with SEO v2 style & alignment */
body.home .results .metric-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  row-gap: 1.2rem !important;
  min-height: 100% !important;
  padding: 2.8rem 1.6rem 2.4rem !important;
  border-radius: 1.5rem !important;
  color: #fff !important;
  text-align: center !important;
  background: linear-gradient(180deg, var(--brand-blue) 0, var(--brand-blue-deep) 100%) !important;
  box-shadow: 0 10px 24px -10px rgba(23, 22, 74, 0.3) !important;
}

body.home .results .metric-card img {
  display: block !important;
  width: 10rem !important;
  height: 10rem !important;
  object-fit: contain !important;
  margin-bottom: 0.4rem !important;
}

body.home .results .metric-card .metric-tt {
  margin: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 4.4rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background-image: linear-gradient(to bottom, var(--brand-yellow-soft), var(--brand-yellow)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-variant-numeric: tabular-nums !important;
}

body.home .results .metric-card p {
  max-width: 18rem !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, .92) !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
:is(.p-geo-v2, .p-seo-v2, .av2, .p-about) :is(.tm-photo, .tm-img, .ab-team__photo) img {
  object-fit: cover !important;
  object-position: center 15% !important;
}

/* Homepage: Multi-market & Process polish */
@media (max-width: 991px) {
  body.home .trust__market-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.6rem !important;
  }
}
@media (max-width: 575px) {
  body.home .trust__market-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }
}
.process .c-timeline_item {
  transition: transform 0.25s ease;
}
.process .c-timeline_item:hover {
  transform: translateY(-2px);
}
.process .timeline_circle {
  box-shadow: 0 0 0 4px rgba(60, 59, 223, 0.15);
}

/* ==========================================================================
   UNIFIED MOTION SYSTEM: Reveal & Interactive Transitions
   ========================================================================== */
.native-reveal,
.reveal {
  opacity: 0;
  transform: translateY(var(--motion-translate-reveal, 16px));
  transition: opacity var(--motion-slow, 0.5s) var(--motion-ease, cubic-bezier(0.16, 1, 0.3, 1)) var(--reveal-delay, 0s),
              transform var(--motion-slow, 0.5s) var(--motion-ease, cubic-bezier(0.16, 1, 0.3, 1)) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.native-reveal.is-visible,
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  will-change: auto;
}

/* Homepage reveal smooth transitions (pure GPU 60 FPS) */
body.home .js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
body.home .js-reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  will-change: auto;
}

/* Card Hover Elevation Standard */
:is(.ai-card, .core-card, .cm-card, .ms-card, .tl-card, .seo2-card, .seo2-why-card, .seo2-service-card, .seo2-case-card, .business-card, .csa-card, .project-card, .article-item) {
  transition: transform var(--motion-hover, 0.22s) var(--motion-ease-spring, cubic-bezier(0.2, 0.8, 0.2, 1)),
              box-shadow var(--motion-hover, 0.22s) ease,
              border-color var(--motion-hover, 0.22s) ease;
}

:is(.ai-card, .core-card, .cm-card, .ms-card, .tl-card, .seo2-card, .seo2-why-card, .seo2-service-card, .seo2-case-card, .business-card, .csa-card, .project-card, .article-item):hover {
  transform: translateY(var(--motion-lift, -4px));
}

/* Marquee pause-on-hover across all pages */
:is(.site-trust, .trust__brand, .native-marquee, .marquee-track, .marquee__track):hover :is(.site-trust__list, .site-trust__track, .native-marquee, .marquee-track, .marquee__track) {
  animation-play-state: paused !important;
}

/* Tabular numbers for counters to prevent layout shift */
.count-num,
.hero-blue__stat strong,
.csa-hstat b,
.seo2-stat-value,
.metric-tt {
  font-variant-numeric: tabular-nums !important;
}

@media (prefers-reduced-motion: reduce) {
  .native-reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  body .floating-contact__item--phone::after,
  :is(.site-trust, .trust__brand, .native-marquee, .marquee-track, .marquee__track) :is(.site-trust__list, .site-trust__track, .native-marquee, .marquee-track, .marquee__track) {
    animation: none !important;
  }
}

@media (max-width: 575px) {
  body .trust__brand-item {
    min-width: 12rem;
    height: 4.8rem;
    padding: 0 .6rem;
  }

  body .trust__brand-item img {
    width: 12rem;
    height: 4.1rem;
    max-width: 12rem;
    max-height: 4.1rem;
  }
}

/* Shared trust strip rendered before the global footer on every page. */
.site-trust {
  overflow: hidden;
  padding: 4rem 0;
  background: var(--surface);
}

.site-trust__wrap {
  display: flex;
  align-items: center;
  gap: 1.6rem 5rem;
  max-width: 121.6rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-trust__txt {
  position: relative;
  flex: 0 0 20%;
  max-width: 25.2rem;
  font-family: var(--font-body, sans-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-strong);
}

.site-trust__txt::after {
  position: absolute;
  top: 0;
  right: -2.5rem;
  width: 1px;
  height: 100%;
  background: var(--ink-strong);
  content: '';
}

.site-trust__brand {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.site-trust__track {
  display: flex;
  width: max-content;
  animation: site-trust-scroll 32s linear infinite;
}

.site-trust__list {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3.2rem;
  margin: 0 3.2rem 0 0;
  padding: 0;
  list-style: none;
}

.site-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14rem;
  height: 6rem;
}

.site-trust__item img {
  display: block;
  width: 14rem;
  height: 5.2rem;
  object-fit: contain;
}

@keyframes site-trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-trust__track {
    width: 100%;
    overflow-x: auto;
    animation: none;
    scrollbar-width: none;
  }

  .site-trust__track::-webkit-scrollbar {
    display: none;
  }

  .site-trust__list--duplicate {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-trust {
    padding: 3.2rem 0;
  }

  .site-trust__wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .site-trust__txt {
    flex: none;
    max-width: none;
    text-align: center;
  }

  .site-trust__txt::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .site-trust__item {
    width: 12rem;
    height: 4.8rem;
  }

  .site-trust__item img {
    width: 12rem;
    height: 4.1rem;
  }
}
.skip-link{position:fixed;top:1.6rem;left:1.6rem;z-index:2000;padding:1rem 1.4rem;border-radius:.8rem;background:var(--brand-blue);color:var(--text-on-blue,#fff);font-size:1.4rem;font-weight:700;line-height:1.2;text-decoration:none;transform:translateY(-200%);transition:transform .15s ease-out}
.skip-link:focus{transform:translateY(0);outline:3px solid var(--brand-yellow);outline-offset:3px}
 
/* Homepage hero — reference-led visual, all editorial values come from ACF. */
body .hero-blue--leaders {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(74rem, calc(100vh - 7rem));
  padding: clamp(3.6rem, 5vh, 6.4rem) 0 clamp(8.4rem, 10vh, 11rem);
  overflow: hidden;
  color: var(--text-on-blue);
  background-color: var(--brand-blue);
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .1) .14rem, transparent .14rem),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 68%, var(--brand-blue-night) 100%);
  background-repeat: repeat, no-repeat;
  background-size: 2.4rem 2.4rem, auto;
}

body .hero-blue--leaders::after {
  position: absolute;
  z-index: 2;
  right: -10%;
  bottom: -7.8rem;
  left: -10%;
  height: 12rem;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--surface);
  content: "";
  pointer-events: none;
}

.hero-blue--leaders .hero-blue__ghost {
  position: absolute;
  z-index: -1;
  right: -1%;
  bottom: 6%;
  color: rgba(255, 255, 255, .055);
  font-family: var(--font-heading);
  font-size: clamp(18rem, 29vw, 44rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.hero-blue--leaders .hero-blue__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(34rem, .94fr);
  align-items: center;
  width: 100%;
  gap: clamp(3.2rem, 5vw, 6.4rem);
}

.hero-blue--leaders .hero-blue__copy {
  max-width: 64rem;
  padding-bottom: 1.8rem;
}

.hero-blue--leaders .hero-blue__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.2rem;
  margin: 0 0 2.2rem;
  padding: .6rem 1.4rem .6rem .7rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-blue--leaders .hero-blue__eyebrow-mark {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.hero-blue--leaders .hero-blue__eyebrow-mark img {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

body .hero-blue--leaders .hero-blue__title {
  max-width: 72rem;
  margin: 0;
  color: var(--text-on-blue);
  font-family: var(--font-heading) !important;
  font-size: clamp(3.8rem, min(4.8vw, 7.6vh), 6.4rem) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  line-height: 1.15;
  text-align: left;
  text-transform: none;
  text-wrap: balance;
}

body .hero-blue--leaders .hero-blue__title span,
body .hero-blue--leaders .hero-blue__title .hero-highlight {
  color: var(--brand-yellow) !important;
}

.hero-blue--leaders .hero-blue__lead {
  max-width: 58rem;
  margin: 2.4rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1.45rem, 1.25vw, 1.7rem);
  line-height: 1.62;
  text-align: left;
  text-wrap: pretty;
}

.hero-blue--leaders .hero-blue__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.2rem 2.2rem;
  margin-top: 2.8rem;
}

.hero-blue--leaders .hero-blue__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding: 1.4rem 2.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body) !important;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--motion-fast) var(--motion-ease), box-shadow var(--motion-fast) var(--motion-ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease;
}

.hero-blue--leaders .hero-blue__btn--primary {
  color: var(--brand-blue-deep);
  background: linear-gradient(135deg, var(--brand-yellow) 0%, #ffcf38 100%);
  box-shadow: 0 .9rem 2.2rem rgba(255, 206, 42, .24);
}

.hero-blue--leaders .hero-blue__btn--secondary {
  min-height: 4.2rem;
  padding: .6rem 0;
  border-width: 0 0 1px;
  border-radius: 0;
  color: rgba(255, 255, 255, .92);
  background: transparent;
}

.hero-blue--leaders .hero-blue__btn-arrow {
  margin-left: .8rem;
  font-size: 1.7rem;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .hero-blue--leaders .hero-blue__btn--primary:hover,
  .hero-blue--leaders .hero-blue__btn--primary:focus-visible {
    color: var(--brand-blue-deep);
    background: var(--brand-yellow-soft);
    box-shadow: 0 1.2rem 2.8rem rgba(255, 206, 42, .3);
    transform: translateY(-.2rem);
  }

  .hero-blue--leaders .hero-blue__btn--secondary:hover,
  .hero-blue--leaders .hero-blue__btn--secondary:focus-visible {
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
  }
}

.hero-blue--leaders .hero-blue__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.2rem, 4vw, 4.8rem);
  margin: 4.2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-blue--leaders .hero-blue__stat {
  display: flex;
  min-width: 8rem;
  flex-direction: column;
  gap: .35rem;
}

.hero-blue--leaders .hero-blue__stat strong {
  color: var(--brand-yellow);
  font-family: var(--font-body) !important;
  font-size: clamp(3.4rem, 3.6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .86;
}

.hero-blue--leaders .hero-blue__stat span {
  max-width: 14rem;
  color: rgba(255, 255, 255, .7);
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-blue--leaders .hero-blue__visual {
  min-width: 0;
}

.hero-leaders__stage {
  position: relative;
  width: min(100%, 58rem);
  min-height: 49rem;
  margin-inline: auto;
  aspect-ratio: 1 / .98;
}

.hero-leaders__stage::before {
  position: absolute;
  inset: 9% 8% 4%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 45% 55% 42% 58% / 45% 38% 62% 55%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015));
  content: "";
  transform: rotate(-7deg);
}

.hero-leaders__glow {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-leaders__glow--one {
  top: 8%;
  left: 6%;
  width: 7.2rem;
  height: 7.2rem;
  background: var(--brand-yellow);
  box-shadow: 0 0 3.8rem rgba(255, 210, 40, .7);
}

.hero-leaders__glow--two {
  right: 0;
  bottom: 12%;
  width: 10rem;
  height: 10rem;
  background: rgba(88, 101, 255, .5);
  filter: blur(2.4rem);
}

.hero-leaders__cards {
  position: absolute;
  inset: 4% 2% 5%;
}

.hero-leader-card {
  position: absolute;
  display: block;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 2.2rem;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 2.4rem 4.8rem rgba(6, 11, 83, .32), inset 0 1px 0 rgba(255, 255, 255, .32);
  backdrop-filter: blur(1.4rem) saturate(130%);
  -webkit-backdrop-filter: blur(1.4rem) saturate(130%);
}

.hero-leader-card--1 {
  bottom: 5%;
  left: 7%;
  z-index: 2;
  width: 51%;
  transform: rotate(-3.5deg);
}

.hero-leader-card--2 {
  top: 2%;
  right: 2%;
  z-index: 3;
  width: 49%;
  transform: rotate(3.5deg);
}

.hero-leader-card__photo {
  position: relative;
  height: clamp(30rem, 34vw, 42rem);
  overflow: hidden;
  border-radius: inherit;
}

.hero-leader-card__image,
.hero-leader-card__image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-leader-card__image {
  mix-blend-mode: multiply;
  filter: saturate(.86) contrast(1.04);
}

.hero-leader-card__image-placeholder {
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04));
}

.hero-leader-card__caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 1rem;
  color: #fff;
  background: rgba(30, 33, 148, .72);
  backdrop-filter: blur(.8rem);
  -webkit-backdrop-filter: blur(.8rem);
}

.hero-leader-card__caption strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-leader-card__caption span {
  color: rgba(255, 255, 255, .72);
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-leader-card__badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -4.8rem;
  max-width: 15rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(124, 104, 3, .18);
  border-radius: .9rem;
  color: var(--brand-blue-deep);
  background: var(--brand-yellow);
  box-shadow: 0 1rem 2rem rgba(6, 11, 83, .24);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-leader-card--2 .hero-leader-card__badge {
  right: -3.6rem;
  left: auto;
  top: 54%;
}

.hero-leaders__fallback {
  position: absolute;
  inset: 10% 2% 12%;
  display: grid;
  place-items: center;
}

.hero-leaders__fallback .hero__team {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 2.4rem 4.8rem rgba(6, 11, 83, .25);
  transform: rotate(-2deg);
}

.hero-leaders__fallback .hero__team img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.hero-leaders__badge-list {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-leaders__badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 11rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(124, 104, 3, .15);
  border-radius: 1rem;
  color: var(--brand-blue-deep);
  background: var(--brand-yellow);
  box-shadow: 0 1rem 2.4rem rgba(6, 11, 83, .22);
  transform: rotate(-2deg);
}

.hero-leaders__badge:nth-child(1) {
  top: 42%;
  left: -2%;
}

.hero-leaders__badge:nth-child(2) {
  right: -2%;
  bottom: 11%;
  transform: rotate(2deg);
}

.hero-leaders__badge:nth-child(3) {
  top: 1%;
  right: 32%;
  transform: rotate(-4deg);
}

.hero-leaders__badge-mark {
  display: grid;
  flex: 0 0 2.5rem;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--brand-yellow);
  background: var(--brand-blue-deep);
  font-size: 1.3rem;
}

.hero-leaders__badge-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .1rem;
}

.hero-leaders__badge-copy b {
  font-size: 1.1rem;
  line-height: 1.1;
}

.hero-leaders__badge-copy small {
  max-width: 10rem;
  font-size: .95rem !important;
  line-height: 1.15;
}

@media (max-width: 1100px) {
  body .hero-blue--leaders {
    min-height: 68rem;
  }

  .hero-blue--leaders .hero-blue__inner {
    grid-template-columns: minmax(0, 1fr) minmax(30rem, .9fr);
    gap: 3.2rem;
  }

  .hero-blue--leaders .hero-blue__title {
    font-size: clamp(4rem, 5.8vw, 6.4rem) !important;
  }

  .hero-leaders__stage {
    min-height: 42rem;
  }
}

@media (max-width: 800px) {
  body .hero-blue--leaders {
    min-height: 0;
    padding: 3.8rem 0 8rem;
  }

  .hero-blue--leaders .hero-blue__inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-blue--leaders .hero-blue__copy {
    max-width: 70rem;
    padding-bottom: 0;
  }

  .hero-blue--leaders .hero-blue__visual {
    order: -1;
  }

  .hero-blue--leaders .hero-blue__eyebrow {
    margin-bottom: 1.8rem;
  }

  .hero-blue--leaders .hero-blue__title {
    max-width: 64rem;
    font-size: clamp(4rem, 9vw, 6.4rem) !important;
  }

  .hero-blue--leaders .hero-blue__lead {
    max-width: 64rem;
  }

  .hero-leaders__stage {
    min-height: 38rem;
    max-width: 48rem;
  }
}

@media (max-width: 575px) {
  body .hero-blue--leaders {
    padding: 2.4rem 0 7rem;
  }

  body .hero-blue--leaders::after {
    right: -30%;
    bottom: -4.8rem;
    left: -30%;
    height: 7rem;
  }

  .hero-blue--leaders .hero-blue__ghost {
    right: -9%;
    bottom: 23%;
    font-size: 16rem;
  }

  .hero-blue--leaders .hero-blue__eyebrow {
    max-width: 100%;
    margin-bottom: 1.6rem;
    padding-right: 1rem;
    font-size: 1.05rem;
  }

  .hero-blue--leaders .hero-blue__title {
    font-size: clamp(3.6rem, 12vw, 5.2rem) !important;
    line-height: 1.15;
  }

  .hero-blue--leaders .hero-blue__lead {
    margin-top: 1.8rem;
    font-size: 1.45rem;
  }

  .hero-blue--leaders .hero-blue__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.2rem;
  }

  .hero-blue--leaders .hero-blue__btn {
    width: 100%;
  }

  .hero-blue--leaders .hero-blue__btn--secondary {
    align-self: center;
    width: auto;
  }

  .hero-blue--leaders .hero-blue__stats {
    justify-content: space-between;
    gap: 1.8rem;
    margin-top: 3.2rem;
  }

  .hero-blue--leaders .hero-blue__stat {
    min-width: 0;
    flex: 1 1 0;
  }

  .hero-blue--leaders .hero-blue__stat strong {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .hero-blue--leaders .hero-blue__stat span {
    font-size: 1.05rem;
  }

  .hero-leaders__stage {
    min-height: 29rem;
  }

  .hero-leader-card {
    border-radius: 1.5rem;
  }

  .hero-leader-card__photo {
    height: 24rem;
  }

  .hero-leader-card__caption {
    right: .7rem;
    bottom: .7rem;
    left: .7rem;
    padding: .7rem .8rem;
    border-radius: .7rem;
  }

  .hero-leader-card__caption strong {
    font-size: 1rem;
  }

  .hero-leader-card__caption span,
  .hero-leader-card__badge {
    font-size: .9rem;
  }

  .hero-leader-card__badge {
    left: -2.4rem;
    max-width: 10rem;
    padding: .6rem .7rem;
  }

  .hero-leader-card--2 .hero-leader-card__badge {
    right: -2.4rem;
  }

  .hero-leaders__badge {
    min-width: 0;
    padding: .55rem .65rem;
  }

  .hero-leaders__badge:nth-child(1) {
    left: -1%;
  }

  .hero-leaders__badge:nth-child(2) {
    right: -1%;
  }

  .hero-leaders__badge:nth-child(3) {
    display: none;
  }

  .hero-leaders__badge-mark {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .hero-leaders__badge-copy b {
    font-size: .95rem;
  }

  .hero-leaders__badge-copy small {
    font-size: .8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blue--leaders .hero-blue__btn,
  .hero-leader-card,
  .hero-leaders__badge {
    transition: none;
  }

  .hero-blue--leaders .hero-blue__btn--primary:hover,
  .hero-blue--leaders .hero-blue__btn--primary:focus-visible {
    transform: none;
  }
}

/* Keep hero stats editorial, not card-like. */
body .hero-blue--leaders .hero-blue__stat {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.hero-leader-card__photo::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(37, 43, 176, .18);
  content: "";
  pointer-events: none;
}

.hero-leader-card__caption,
.hero-leader-card__badge {
  z-index: 2;
}

/* Reference leader treatment: transparent cut-outs in tilted glass frames. */
.hero-leader-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-leader-card::before {
  position: absolute;
  z-index: 0;
  inset: 7% 0 8%;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 2.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .045));
  box-shadow: 0 2.4rem 4.8rem rgba(6, 11, 83, .32), inset 0 1px 0 rgba(255, 255, 255, .32);
  content: "";
  backdrop-filter: blur(1.4rem) saturate(130%);
  -webkit-backdrop-filter: blur(1.4rem) saturate(130%);
}

.hero-leader-card__photo {
  z-index: 1;
  height: clamp(33rem, 38vw, 47rem);
  overflow: visible;
  border-radius: 0;
}

.hero-leader-card__image {
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  filter: none;
}

.hero-leader-card__photo::after {
  display: none;
}

.hero-leaders__glow--one,
.hero-leaders__glow--two {
  display: grid;
  place-items: center;
  color: var(--brand-blue-deep);
  background: var(--brand-yellow);
  filter: none;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 3.8rem rgba(255, 210, 40, .7);
}


.hero-leaders__glow--two {
  right: 12%;
  bottom: 7%;
  width: 5.8rem;
  height: 5.8rem;
  background: var(--brand-yellow);
  filter: none;
  box-shadow: 0 1rem 2.4rem rgba(6, 11, 83, .22);
}


@media (max-width: 575px) {
  .hero-leader-card::before {
    border-radius: 1.5rem;
  }

  .hero-leader-card__photo {
    height: 27rem;
  }

  .hero-leaders__glow--one {
    width: 5.8rem;
    height: 5.8rem;
  }

  .hero-leaders__glow--two {
    width: 4.6rem;
    height: 4.6rem;
  }

}

/* Motion pass — matches the reference fade, pop and gentle float rhythm. */
.hero-blue--leaders .hero-blue__eyebrow,
.hero-blue--leaders .hero-blue__title,
.hero-blue--leaders .hero-blue__lead,
.hero-blue--leaders .hero-blue__actions,
.hero-blue--leaders .hero-blue__stats {
  animation: midasHeroFade .8s both cubic-bezier(.2, .8, .2, 1);
}

.hero-blue--leaders .hero-blue__eyebrow {
  animation-delay: .08s;
}

.hero-blue--leaders .hero-blue__title {
  animation-delay: .16s;
}

.hero-blue--leaders .hero-blue__lead {
  animation-delay: .24s;
}

.hero-blue--leaders .hero-blue__actions {
  animation-delay: .32s;
}

.hero-blue--leaders .hero-blue__stats {
  animation-delay: .4s;
}

.hero-leaders__stage {
  animation: midasHeroPop 1s .2s both cubic-bezier(.2, .9, .25, 1.1);
}

.hero-leader-card--1 {
  animation: midasHeroFloatLeft 6s ease-in-out -2s infinite;
}

.hero-leader-card--2 {
  animation: midasHeroFloatRight 6.8s ease-in-out -3s infinite;
}

.hero-leaders__badge:nth-child(1) {
  animation: midasHeroChipLeft 6.2s ease-in-out -2s infinite;
}

.hero-leaders__badge:nth-child(2) {
  animation: midasHeroChipRight 5.6s ease-in-out -1s infinite;
}

.hero-leaders__glow--one {
  animation: midasHeroPulse 6s ease-in-out infinite;
}

.hero-leaders__glow--two,
.hero-leaders__stage::after {
  animation: midasHeroFloat 5s ease-in-out infinite;
}

@keyframes midasHeroFade {
  from {
    opacity: 0;
    transform: translateY(1.6rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes midasHeroPop {
  from {
    opacity: 0;
    transform: scale(.92);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes midasHeroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.2rem);
  }
}

@keyframes midasHeroFloatLeft {
  0%,
  100% {
    transform: rotate(-3.5deg) translateY(0);
  }

  50% {
    transform: rotate(-3.5deg) translateY(-.8rem);
  }
}

@keyframes midasHeroFloatRight {
  0%,
  100% {
    transform: rotate(3.5deg) translateY(0);
  }

  50% {
    transform: rotate(3.5deg) translateY(-.8rem);
  }
}

@keyframes midasHeroChipLeft {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }

  50% {
    transform: rotate(-2deg) translateY(-1.2rem);
  }
}

@keyframes midasHeroChipRight {
  0%,
  100% {
    transform: rotate(2deg) translateY(0);
  }

  50% {
    transform: rotate(2deg) translateY(-1.2rem);
  }
}

@keyframes midasHeroPulse {
  0%,
  100% {
    opacity: .8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blue--leaders .hero-blue__eyebrow,
  .hero-blue--leaders .hero-blue__title,
  .hero-blue--leaders .hero-blue__lead,
  .hero-blue--leaders .hero-blue__actions,
  .hero-blue--leaders .hero-blue__stats,
  .hero-leaders__stage,
  .hero-leader-card--1,
  .hero-leader-card--2,
  .hero-leaders__badge,
  .hero-leaders__glow--one,
  .hero-leaders__glow--two,
  .hero-leaders__stage::after {
    animation: none;
  }
}

.hero-leaders__glow--one,
.hero-leaders__glow--two {
  z-index: 5;
}
.hero-leaders__glow--two {
  right: auto;
  bottom: 4%;
  left: 45%;
}

/* Uploaded icon treatment and tighter desktop eyebrow UI. */
.hero-blue--leaders .hero-blue__eyebrow {
  white-space: nowrap;
}

.hero-leaders__orb-list {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.hero-leaders__glow {
  display: grid;
  place-items: center;
}

.hero-leaders__glow img {
  display: block;
  width: 46%;
  height: 46%;
  object-fit: contain;
  filter: none;
}

.hero-leaders__glow--one {
  z-index: 5;
}

.hero-leaders__glow--two {
  right: auto;
  bottom: 4%;
  left: 45%;
  z-index: 5;
}

.hero-leaders__glow--three {
  position: absolute;
  top: 21%;
  right: -1%;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 1rem 2.4rem rgba(6, 11, 83, .24);
  animation: midasHeroFloat 5s ease-in-out infinite;
}

.hero-leaders__stage::after {
  display: none !important;
  content: none;
}

.hero-leaders__badge-mark {
  overflow: hidden;
}

.hero-leaders__badge-icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

@media (max-width: 575px) {
  .hero-blue--leaders .hero-blue__eyebrow {
    white-space: normal;
  }

  .hero-leaders__glow--three {
    width: 4.2rem;
    height: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-leaders__glow--three {
    animation: none;
  }
}

.hero-leaders__glow--one::after,
.hero-leaders__glow--two::after {
  display: none !important;
  content: none !important;
}

.hero-blue--leaders .hero-blue__eyebrow-mark img {
  width: 1.4rem;
  height: 1.4rem;
}

.hero-leader-card::before {
  inset: 7% 7% 8%;
}

.hero-leader-card__caption {
  right: 7%;
  left: 7%;
}
.hero-blue--leaders .hero-blue__eyebrow-mark img {
  flex: 0 0 1.4rem;
  min-width: 1.4rem;
}

.hero-blue--leaders .hero-blue__eyebrow-mark {
  box-sizing: border-box;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
}

/* Keep the two glass frames separated; portrait layers may still overlap. */
.hero-leader-card::before {
  inset: 7% 17% 8%;
}

.hero-leader-card__caption {
  right: 17%;
  left: 17%;
}

@media (max-width: 575px) {
  .hero-leader-card::before {
    inset: 7% 11% 8%;
  }

  .hero-leader-card__caption {
    right: 11%;
    left: 11%;
  }
}

/* Reference geometry: narrow glass frames, wider transparent portraits. */
.hero-leaders__stage {
  width: min(100%, min(40vw, 66vh));
  min-height: 0;
  height: min(62vh, 42vw);
  margin-top: 3vh;
  aspect-ratio: auto;
}

.hero-leaders__cards {
  inset: 0;
}

.hero-leader-card {
  width: 42%;
  height: 76%;
  border: 0;
  border-radius: 2.8rem;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  animation: none;
}

.hero-leader-card::before {
  inset: 0;
  border-radius: 2.8rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .05) 100%);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4rem 6rem -3rem rgba(20, 18, 140, .45), 0 3rem 6rem -2.8rem rgba(10, 8, 90, .75);
  backdrop-filter: blur(1.4rem) saturate(140%);
  -webkit-backdrop-filter: blur(1.4rem) saturate(140%);
}

.hero-leader-card--1 {
  bottom: 2%;
  left: 4%;
}

.hero-leader-card--2 {
  top: 12%;
  right: 4%;
}

.hero-leader-card__photo {
  position: absolute;
  z-index: 1;
  right: -30%;
  bottom: 0;
  left: -30%;
  height: 110%;
  overflow: visible;
  border-radius: 0;
}

.hero-leader-card__image,
.hero-leader-card__image-placeholder {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: initial;
  transform: translateX(-50%);
}

.hero-leader-card__image {
  mix-blend-mode: normal;
  filter: drop-shadow(0 1.8rem 2.4rem rgba(10, 8, 70, .45));
}

.hero-leader-card__caption {
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .9rem 1.2rem;
  border-radius: 1.6rem;
  background: rgba(20, 20, 60, .38);
}

.hero-leaders__badge:nth-child(1) {
  top: 55%;
  left: -10%;
  transform: none;
}

.hero-leaders__badge:nth-child(2) {
  right: -1%;
  bottom: 10%;
  transform: none;
}

@media (max-width: 800px) {
  .hero-leaders__stage {
    width: min(86vw, 46rem);
    height: min(98vw, 52rem);
  }
}

@media (max-width: 575px) {
  .hero-leaders__stage {
    width: min(84vw, 31rem);
    height: min(64vw, 24.4rem);
  }

  .hero-leader-card {
    border-radius: 2rem;
  }

  .hero-leader-card::before {
    border-radius: 2rem;
  }

  .hero-leader-card__caption {
    right: .6rem;
    bottom: .6rem;
    left: .6rem;
    padding: .6rem .8rem;
    border-radius: 1.2rem;
  }
}

/* Feedback pass: numbers lead the results hierarchy; keep cards compact. */
body .metric-tt {
  font-size: var(--text-h2) !important;
}

body.home .projects .project-card__body {
  row-gap: 1.2rem;
  padding: 1.8rem 2rem 2rem;
}

body.home .projects .project-card__body .mona-content {
  font-size: 1.4rem;
  line-height: 1.45;
}

:is(body.home, body.p-geo-v2, body.p-seo-v2) .testimonials .project-card__body {
  margin-top: 1.2rem;
  padding: 1.6rem 2rem 2rem;
}

/* Homepage hero platform identity replaces generic icon orbs. */
.hero-platforms {
  position: absolute;
  z-index: 5;
  top: -1.6rem;
  right: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.hero-platforms__item {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: var(--text-on-blue);
  background: rgba(23, 20, 154, .56);
  box-shadow: 0 .8rem 1.8rem rgba(7, 8, 86, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 575px) {
  body .metric-tt {
    font-size: var(--text-h3) !important;
  }

  body.home .projects .project-card__body {
    row-gap: 1rem;
    padding: 1.6rem;
  }

  :is(body.home, body.p-geo-v2, body.p-seo-v2) .testimonials .project-card__body {
    margin-top: .8rem;
    padding: 1.4rem 1.6rem 1.8rem;
  }

  .hero-platforms {
    top: 1%;
    gap: .5rem;
    padding-inline: 1rem;
  }

  .hero-platforms__item {
    min-height: 2.8rem;
    padding: .45rem .75rem;
    font-size: 1rem;
  }
}

body.home .timeline-step {
  font-size: 4.8rem;
  line-height: 1.15;
}

body.home .timeline-tt {
  font-family: var(--font-body) !important;
  font-size: var(--text-h3) !important;
  line-height: 1.2;
}

body.home .c-timeline .c-card {
  padding: 1.4rem 2.4rem;
  font-size: 1.4rem;
  line-height: 1.5;
}

body.home .lead-form {
  margin-top: 2.4rem;
  padding: clamp(1.6rem, 3vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 1.6rem);
  background: var(--surface-alt);
}

@media (max-width: 575px) {
  body.home .timeline-step {
    font-size: 3.8rem;
  }

  body.home .c-timeline .c-card {
    padding: 1.2rem 1.6rem;
  }

  body.home .lead-form {
    margin-top: 1.6rem;
    padding: 1.2rem;
  }
}

body.home .results .metric-tt {
  font-size: 4.4rem !important;
}

body.home .process .timeline-tt {
  font-family: var(--font-body) !important;
  font-size: 2rem !important;
}

@media (max-width: 575px) {
  body.home .results .metric-tt {
    font-size: 2.8rem !important;
  }

  body.home .process .timeline-tt {
    font-size: 1.8rem !important;
  }
}

/* Reference alignment: keep the fields and proof cards dense like the design. */
body.home .fields {
  padding-block: clamp(4.8rem, 6vw, 7.2rem);
}

body.home .fields .container {
  row-gap: 1.4rem;
}

body.home .fields .fields__box {
  margin-top: 2.4rem;
}

body.home .fields .fields-tt {
  font-size: var(--text-h3) !important;
  line-height: 1.1;
}

body.home .fields .domains-grid {
  row-gap: 2rem;
  margin-top: 1.6rem;
}

body.home .fields .domain-icon img {
  max-height: 8rem;
}

body.home .fields .business-types {
  row-gap: 1.6rem;
  margin-top: 3.2rem;
}

body.home .fields .business-card {
  padding: 1.8rem 1.6rem;
  border-radius: 1.2rem;
  row-gap: 1rem;
}

body.home .fields .business-content {
  font-size: 1.4rem;
  line-height: 1.45;
}

/* ==========================================================================
   TESTIMONIALS (KHÁCH HÀNG NÓI GÌ) — Canh đều chiều cao thẻ toàn site
   ========================================================================== */
.testimonials .swiper-wrapper {
  align-items: stretch !important;
}

.testimonials .swiper-slide {
  height: auto !important;
  display: flex !important;
}

.testimonials .swiper-slide .project-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  align-self: stretch !important;
}

.testimonials .project-card__info {
  min-height: 7rem !important;
  padding: .8rem 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex: 0 0 auto !important;
}

.testimonials .project-card__ava {
  width: 5rem !important;
  height: 5rem !important;
  flex: 0 0 5rem !important;
}

.testimonials .project-card__tt .tt-25 {
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.3 !important;
}

.testimonials .project-card__tt p:last-child {
  font-size: 1.35rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 400 !important;
  margin-top: 0.25rem !important;
  line-height: 1.35 !important;
}

.testimonials .project-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: auto !important;
  margin-top: 1rem;
  padding: 1.4rem 1.6rem 1.8rem;
  row-gap: .8rem;
}

.testimonials .project-card__body .mona-content {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  flex: 1 1 auto !important;
  font-size: 1.4rem;
  line-height: 1.45;
}

.testimonials .project-card__body .mona-content p {
  font-size: 1.4rem;
  line-height: 1.45;
  margin: 0;
}

.testimonials .project-card__star {
  margin-top: auto !important;
  padding-top: 1.2rem !important;
  flex: 0 0 auto !important;
}
@media (max-width: 575px) {
  body.home .fields {
    padding-block: 4rem;
  }

  body.home .fields .fields__box {
    margin-top: 1.6rem;
  }

  body.home .fields .domain-icon img {
    max-height: 4rem;
  }

  body.home .fields .business-types {
    margin-top: 2rem;
  }

  body.home .fields .business-card {
    padding: 1.4rem;
  }
}

/* Keep tiny carousel dots visually quiet while preserving a 44px touch target. */
.slider-wrapper .swiper-pagination-bullet {
  position: relative;
  display: inline-block;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 !important;
  border: 0;
  background: transparent !important;
  vertical-align: middle;
}

.slider-wrapper .swiper-pagination-bullet::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--line);
  content: "";
  transform: translate(-50%, -50%);
}

.slider-wrapper .swiper-pagination-bullet-active::before {
  background: var(--heading-color);
}

/* Match the supplied registration reference: purple frame, white inner form. */
body.home #lead-form .lead-form {
  padding: clamp(2rem, 3vw, 4.8rem);
  border: 0;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #5b2df5 0%, #3c3bdf 100%) !important;
}

body.home #lead-form .private-form {
  padding: clamp(2rem, 3vw, 4rem);
  border-radius: .8rem;
  background: var(--surface);
  box-shadow: 0 .8rem 2.4rem rgba(22, 20, 101, .12);
}

body.home #lead-form .form-row {
  margin-bottom: .8rem;
}

body.home #lead-form .lz-input {
  min-height: 4.6rem;
  border-color: var(--line);
  border-radius: .6rem;
  color: var(--ink);
  font-size: 1.4rem;
}

body.home #lead-form .lz-input:focus-visible {
  border-color: var(--brand-blue);
  outline: 2px solid color-mix(in srgb, var(--brand-blue) 45%, transparent);
  outline-offset: 2px;
}

body.home #lead-form .btn-form-submit {
  min-height: 4.6rem;
  border-radius: .6rem;
  background: var(--brand-yellow);
  color: var(--brand-blue-deep);
  font-size: 1.4rem;
  font-weight: 700;
}

@media (max-width: 575px) {
  body.home #lead-form .lead-form {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  body.home #lead-form .private-form {
    padding: 1.4rem;
  }
}

/* Platform marks make the homepage AI ecosystem legible at a glance. */
.hero-platforms__mark {
  display: inline-grid;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: .45rem;
  place-items: center;
  color: var(--brand-yellow);
}

.hero-platforms__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 575px) {
  .hero-platforms__mark {
    flex-basis: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: .3rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shared Press Section (Homepage & Service Landing Pages)
   Ensures equal card height across all slides, clean alignment, and consistent typography.
   ═══════════════════════════════════════════════════════════════════════════ */
body .press.press--shared {
  padding-block: var(--space-section);
}

body .press.press--shared > .container {
  max-width: var(--container-wide);
  height: auto;
  padding-inline: 1.5rem;
}

body .press.press--shared .sec-tt {
  margin: 0;
  text-align: center;
  color: var(--brand-blue);
}

body .press.press--shared .projects-slider {
  margin-top: 2.8rem;
  margin-inline: -1.2rem;
  padding-bottom: 3.2rem;
}

body .press.press--shared .swiper-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

body .press.press--shared .swiper-pagination {
  display: flex;
  justify-content: center;
  left: 0;
  width: 100%;
  transform: none;
}

body .press.press--shared .swiper-pagination-bullet {
  flex-shrink: 0;
}

body .press.press--shared .swiper-slide {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: calc(100% / 3);
  min-width: 0;
  height: auto !important;
  padding: .8rem 1.2rem;
  box-sizing: border-box;
}

body .press.press--shared .press-article {
  display: flex !important;
  flex: 1 1 auto !important;
  align-self: stretch !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 .4rem 1.6rem rgba(60, 59, 223, .05);
  box-sizing: border-box;
  transition: transform .25s ease, box-shadow .25s ease;
}

body .press.press--shared .press-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 .8rem 2.4rem rgba(60, 59, 223, .12);
}

body .press.press--shared .press-article__media {
  flex: none;
  position: relative;
  width: calc(100% + 3.2rem);
  margin: -1.6rem -1.6rem 0;
  aspect-ratio: 2.45 / 1;
  border-radius: 0;
  background: var(--surface-alt);
  overflow: hidden;
}

body .press.press--shared .press-article__media img,
body .press.press--shared .press-article__media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

body .press.press--shared .press-article__content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 1.2rem;
  justify-content: flex-start;
  padding: 1.4rem 0 0;
}

body .press.press--shared .press-article__badge {
  align-self: flex-start;
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--brand-yellow-soft);
  color: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .02em;
}

body .press.press--shared .press-article__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--brand-blue);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.35 !important;
  text-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: 4.05em;
}

body .press.press--shared .press-article__excerpt {
  display: -webkit-box;
  margin: 0;
  padding: 0 0 0 1.2rem;
  overflow: hidden;
  border-left: 2px solid var(--brand-yellow);
  color: var(--muted);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.6;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

body .press.press--shared .press-article__excerpt p {
  display: contents;
}

body .press.press--shared .press-article__read {
  align-self: flex-start;
  margin-top: auto;
  padding-top: .4rem;
  color: var(--brand-blue);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

body .press.press--shared .press-article__read:hover {
  text-decoration: underline;
}

body .press.press--shared .press-article__read:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: .4rem;
}

@media (max-width: 991px) {
  body .press.press--shared .swiper-slide {
    width: 50%;
  }
}

@media (max-width: 575px) {
  body .press.press--shared {
    padding-block: var(--space-section-mobile);
  }

  body .press.press--shared .projects-slider {
    margin-top: 2rem;
  }

  body .press.press--shared .swiper-slide {
    width: 100%;
  }

  body .press.press--shared .press-article {
    padding: 1.4rem;
    border-radius: 1.6rem;
  }

  body .press.press--shared .press-article__media {
    width: calc(100% + 2.8rem);
    margin: -1.4rem -1.4rem 0;
  }

  body .press.press--shared .press-article__title {
    font-size: 1.6rem;
    min-height: auto;
  }
}

/* ============================================================
  SECTION ĐỘI NGŨ - v1 (8 thành viên, frame đồng bộ 4:3)
  Token thương hiệu Midas (xanh #3c3bdf, vàng #ffb214), Google Sans.
  Ảnh thay: giữ tỉ lệ 4:3 (khuyến nghị 800x600), chủ thể đặt chính giữa phần trên.
============================================================ */
.tmx {
  --b: #3c3bdf;
  --b2: #2120c7;
  --b3: #1a199b;
  --y: #ffb214;
  --y7: #d69000;
  --y1: #fff1bc;
  --ink: #141429;
  --mute: #5b5b80;
  --line: #e4e3f2;
  position: relative;
  padding: 72px 0 80px;
  background: #f7f7fc;
  font-family: var(--font-body, "Google Sans", sans-serif);
  color: var(--ink);
  scroll-margin-top: 100px;
}
.tmx * {
  box-sizing: border-box;
}
.tmx__wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.tmx__hd {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.tmx__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--y7);
  font-family: var(--font-body, "Google Sans", sans-serif);
}
.tmx__eyebrow::before,
.tmx__eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--y);
}
.tmx__hd h2,
.tmx__hd .tmx__title {
  margin: 12px 0 0 !important;
  font-size: 34px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--b) !important;
  font-family: var(--font-body, "Google Sans", sans-serif) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.tmx__hd p,
.tmx__hd .tmx__lead {
  margin: 12px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--mute) !important;
  font-family: var(--font-body, "Google Sans", sans-serif) !important;
  font-weight: 400 !important;
}

.tmx__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tmx__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -24px rgba(23, 22, 74, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tmx__card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 59, 223, .35);
  box-shadow: 0 26px 46px -24px rgba(60, 59, 223, .45);
}

/* FRAME ẢNH: mọi thẻ cùng tỉ lệ 4:3 */
.tmx__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(160deg, #eeeeff, #f9f9ff);
}
.tmx__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 12% !important;
  display: block;
  transition: transform .5s ease;
}
.tmx__card:hover .tmx__photo img {
  transform: scale(1.04);
}
.tmx__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--b), var(--y));
  z-index: 2;
}

/* placeholder khi chưa có ảnh: monogram, cùng frame */
.tmx__photo--ph {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, #fff 0, rgba(255, 255, 255, 0) 55%),
    linear-gradient(rgba(60, 59, 223, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(60, 59, 223, .06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, #e9e9ff, #f7f7ff);
}
.tmx__mono {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(60, 59, 223, .08), 0 14px 24px -12px rgba(60, 59, 223, .5);
}
.tmx__mono b {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--b);
  line-height: 1;
}

.tmx__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}
.tmx__role {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--y1);
  color: #7a5200;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 0;
  font-family: var(--font-body, "Google Sans", sans-serif);
}
.tmx__name {
  margin: 12px 0 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: var(--b) !important;
  font-family: var(--font-body, "Google Sans", sans-serif) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
.tmx__desc {
  margin: 8px 0 0 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: var(--mute) !important;
  font-family: var(--font-body, "Google Sans", sans-serif) !important;
  font-weight: 400 !important;
}

@media (max-width: 1024px) {
  .tmx__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tmx {
    padding: 48px 0 56px;
  }
  .tmx__hd h2,
  .tmx__hd .tmx__title {
    font-size: 26px !important;
  }
  .tmx__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tmx__card,
  .tmx__photo img {
    transition: none;
  }
}



/* Cấp ba nằm ngay dưới mục cha, trên cả menu desktop và mobile. */
.header-nav .child .child {
  position: static;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: .4rem 0 .6rem 1.4rem;
  opacity: 1;
  pointer-events: auto;
  box-shadow: none;
  border-radius: 0;
}
.header-nav .child .child::before,
.header-nav .child .menu-item-has-children::after {
  content: none;
}
