/* =========================================================
   HFT — Công nghệ Tây Ninh
   Design System: Architectural Light & Deep Navy + Tactile CSS 3D
   ========================================================= */

:root {
  /* Brand & Accessible Accent Tokens (WCAG AA Verified) */
  --blue: #00aeef;          /* Luminous brand cyan (dark surfaces, borders, glows) */
  --blue-bright: #52cfff;   /* High-contrast cyan text on deep navy (9.3:1) */
  --blue-700: #006e9e;      /* Accessible cyan-blue text on white/#f3f7fb (>= 5.26:1) */
  --blue-800: #00557a;      /* Hover / active deep cyan */
  --blue-cta: #0074a6;      /* Primary button fill with #fff text (5.18:1 AA) */
  --blue-cta-hover: #005e87;
  --blue-050: #e8f7fe;

  /* Deep Navy Architectural Stage Tokens */
  --navy-950: #06111c;
  --navy-900: #0a1b2b;
  --navy-850: #0f253a;
  --navy-800: #14304b;

  /* Light Architectural Surfaces & Ink */
  --ink: #0e1620;
  --ink-soft: #1c2733;
  --body: #465362;          /* >= 7.5:1 on white */
  --muted: #556270;         /* >= 5.5:1 on white & soft */
  --line: #dce4ec;
  --line-soft: #e8eef4;
  --soft: #f3f7fb;
  --red: #bf391b;           /* >= 5.5:1 on white */
  --red-050: #fdf1ee;

  /* Geometry, Lighting (135deg Top-Left) & Motion */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --header-h: 78px;

  --shadow-sm:
    0 1px 2px rgba(7, 19, 30, .05),
    0 6px 16px rgba(7, 19, 30, .05);
  --shadow-md:
    0 2px 4px rgba(7, 19, 30, .05),
    0 14px 32px rgba(7, 19, 30, .08),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  --shadow-3d:
    0 4px 10px rgba(6, 17, 28, .08),
    0 22px 48px rgba(6, 17, 28, .14),
    inset 0 1px 0 rgba(255, 255, 255, .85);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.2, .9, .28, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }

/* Accessible Focus Ring */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-950);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 8px; }

/* ---------- Brand / Logo ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand__mark {
  width: auto;
  height: 30px;
  transition: transform .35s var(--ease-out);
}
.brand:hover .brand__mark { transform: translateY(-1px) scale(1.03); }
.brand__word {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand__sub {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

/* ---------- Tactile & Magnetic Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    box-shadow .22s var(--ease-out),
    transform .22s var(--ease-out);
}
.btn:active {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + 2px), 0) scale(.985);
}
.btn__arrow {
  display: inline-block;
  transition: transform .22s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--sm { padding: 9px 18px; font-size: 13.5px; }

.btn--primary {
  background: linear-gradient(180deg, #0082ba 0%, var(--blue-cta) 100%);
  color: #fff;
  border-color: rgba(0, 174, 239, .45);
  box-shadow:
    0 2px 0 #004e70,
    0 8px 20px rgba(0, 116, 166, .26),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #0074a6 0%, var(--blue-cta-hover) 100%);
  box-shadow:
    0 2px 0 #003e59,
    0 12px 26px rgba(0, 116, 166, .34),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}
.btn--primary:active {
  box-shadow: 0 0 0 #003e59, 0 4px 12px rgba(0, 116, 166, .22);
}

.btn--cyan-glow {
  background: linear-gradient(180deg, #42ccff 0%, var(--blue) 100%);
  color: var(--navy-950);
  font-weight: 700;
  border-color: rgba(255, 255, 255, .35);
  box-shadow:
    0 2px 0 #0077a8,
    0 10px 28px rgba(0, 174, 239, .34),
    inset 0 1px 0 rgba(255, 255, 255, .65);
}
.btn--cyan-glow:hover {
  background: linear-gradient(180deg, #62d6ff 0%, #14b8f5 100%);
  box-shadow:
    0 2px 0 #0077a8,
    0 14px 34px rgba(0, 174, 239, .46),
    inset 0 1px 0 rgba(255, 255, 255, .75);
}

.btn--outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 2px 6px rgba(7, 19, 30, .04);
}
.btn--outline:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: #f8fcff;
}

.btn--white {
  background: #fff;
  color: var(--navy-950);
  font-weight: 700;
  box-shadow:
    0 2px 0 #b9d4e6,
    0 12px 30px rgba(0, 10, 22, .32),
    inset 0 1px 0 #fff;
}
.btn--white:hover {
  background: #f0faff;
  color: var(--blue-800);
  box-shadow:
    0 2px 0 #9ec5df,
    0 16px 36px rgba(0, 174, 239, .28),
    inset 0 1px 0 #fff;
}

.btn--ghost-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(82, 207, 255, .75);
}

.btn--dark {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 2px 0 #040b12, 0 8px 18px rgba(6, 17, 28, .2);
}
.btn--dark:hover {
  background: var(--navy-800);
}

.btn--block { width: 100%; padding: 15px 24px; font-size: 15px; }

/* ---------- Header & Nav Underline Motion ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 228, 236, .85);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 28px rgba(7, 19, 30, .07);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  margin-right: auto;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .28s var(--ease-out);
}
.nav a:hover,
.nav a:focus-visible { color: var(--blue-700); }
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.header__lang { border-color: #d8e1ea; font-variant-numeric: tabular-nums; }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  flex: none;
}
.lang-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #e8eef3;
  overflow: hidden;
  cursor: pointer;
  opacity: .58;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lang-btn svg { display: block; width: 100%; height: 100%; }
.lang-btn:hover { opacity: .95; transform: scale(1.05); }
.lang-btn.is-active {
  opacity: 1;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 2px rgba(0, 174, 239, .22);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s var(--ease-out), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero: Architectural System Diorama ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 64% 58% at 18% 22%, rgba(0, 174, 239, .24), transparent 68%),
    radial-gradient(ellipse 52% 48% at 84% 76%, rgba(0, 140, 210, .18), transparent 66%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 54%, #0d2438 100%);
  color: #fff;
  padding: 64px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(82, 207, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 207, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 42%, #000 25%, transparent 82%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 42%, #000 25%, transparent 82%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 54px;
}

/* 3D Perspective Stage */
.hero__visual {
  position: relative;
  min-height: 468px;
  perspective: 1200px;
}

.hero__stage {
  position: relative;
  width: 100%;
  height: 468px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease-out;
  will-change: transform;
}

.hero__backdrop {
  position: absolute;
  inset: 18px 14px 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(82, 207, 255, .18);
  background:
    radial-gradient(circle at 30% 25%, rgba(0, 174, 239, .14), transparent 62%),
    linear-gradient(145deg, rgba(16, 40, 62, .62), rgba(7, 19, 31, .76));
  box-shadow:
    0 30px 60px rgba(2, 8, 16, .45),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: translateZ(-28px);
  pointer-events: none;
}
.hero__backdrop::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(82, 207, 255, .14);
}

.hero__photos {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}

/* System Bezel Chrome shared by Hero & Case Cards */
.bezel-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bezel-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}
.bezel-dots i:nth-child(1) { background: #ff6b5b; }
.bezel-dots i:nth-child(2) { background: #f6be4f; }
.bezel-dots i:nth-child(3) { background: #36c977; }

.hero__shot {
  position: absolute;
  top: 0;
  left: 0;
  width: 73%;
  height: 62%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(130, 216, 255, .32);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0d2133;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  transform-origin: center center;
  transition:
    transform .62s var(--ease-spring),
    box-shadow .62s var(--ease-out),
    border-color .3s ease,
    filter .45s ease;
  will-change: transform;
}
.hero__shot:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.hero__bezel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 28px;
  padding: 0 12px;
  background: linear-gradient(90deg, #0b1c2c, #122a40);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  flex: none;
}
.bezel-title {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__shot-media {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}
.hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.hero__photos .hero__shot:nth-child(1) img { object-position: center 42%; }
.hero__photos .hero__shot:nth-child(2) img { object-position: center 38%; }

/* Z-Plane Layer Positions — Pure GPU Transforms, Never Clips SINCE 2021 Card */
.hero__shot--back {
  z-index: 2;
  filter: brightness(.84) saturate(.92);
  transform: translate3d(3%, 2%, -6px) rotateZ(-2deg) scale(.94);
  box-shadow:
    0 18px 38px rgba(2, 10, 20, .46),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}
.hero__shot--back:hover {
  filter: brightness(.97) saturate(1);
  border-color: rgba(82, 207, 255, .72);
  transform: translate3d(3%, 0%, 6px) rotateZ(-1.2deg) scale(.955);
}

.hero__shot--front {
  z-index: 3;
  filter: brightness(1);
  border-color: rgba(130, 220, 255, .52);
  transform: translate3d(35%, 36%, 26px) rotateZ(1.5deg) scale(1);
  box-shadow:
    0 26px 56px rgba(2, 10, 20, .58),
    0 0 0 1px rgba(0, 174, 239, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}
.hero__shot--front:hover {
  border-color: rgba(130, 220, 255, .82);
}

/* Khi người dùng chọn ảnh: ảnh đó lên trên cả card SINCE 2021 */
.hero__stage.is-photo-top .hero__shot--front { z-index: 7; }
.hero__stage.is-photo-top .hero__shot--front {
  transform: translate3d(24%, 31%, 90px) rotateZ(1.1deg) scale(1.025);
}
.hero__stage.is-photo-top .hero__card { z-index: 4; cursor: pointer; }
.hero__card:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}
.hero__stage.is-photo-top .hero__swap-hint { z-index: 8; }

/* Foreground Extruded 3D Card: SINCE 2021 (Always foreground Z-plane!) */
.hero__card {
  position: absolute;
  left: 0;
  bottom: 8px;
  z-index: 5;
  width: 244px;
  background: linear-gradient(165deg, #ffffff 0%, #f4f9fd 100%);
  color: var(--ink);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .95);
  padding: 20px 20px 22px;
  overflow: hidden;
  transform: translate3d(0, 0, 56px) rotateZ(-1.6deg);
  box-shadow:
    2px 3px 0 #d4e3ee,
    4px 6px 0 #b3c9da,
    calc(12px + var(--sx, 0px)) calc(24px + var(--sy, 0px)) 46px rgba(2, 10, 20, .52),
    inset 0 1px 0 #ffffff;
  transition: box-shadow .2s ease-out, transform .35s var(--ease-out);
}
.hero__card:hover {
  transform: translate3d(0, -3px, 62px) rotateZ(-1deg);
}
.hero__card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 12%, rgba(0, 174, 239, .1), transparent 58%);
  pointer-events: none;
}

.hero__card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero__since {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
}
.hero__year {
  background: linear-gradient(180deg, #ffe074 0%, #ffd043 100%);
  color: #1f1905;
  border-radius: 999px;
  padding: 4px 13px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 6px rgba(180, 130, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .75);
}
.hero__card-desc {
  position: relative;
  font-size: 12.3px;
  line-height: 1.62;
  color: var(--body);
  margin-top: 12px;
}
.hero__count {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.hero__count strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
  color: var(--navy-950);
}
.hero__count .plus {
  color: var(--blue-700);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.hero__count-label {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--body);
  margin-left: 8px;
  padding-top: 3px;
}
.hero__card-title {
  position: relative;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.015em;
  color: var(--navy-950);
  margin: 8px 0 14px;
}

.hero__swap-hint {
  position: absolute;
  right: 12px;
  bottom: 10px;
  top: auto;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 22, 36, .84);
  border: 1px solid rgba(82, 207, 255, .34);
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transform: translateZ(42px);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.hero__swap-hint:hover {
  background: rgba(14, 36, 56, .94);
  border-color: rgba(82, 207, 255, .75);
}
.hero__swap-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue);
}

/* Hero Copy */
.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(0, 174, 239, .12);
  border: 1px solid rgba(82, 207, 255, .42);
  border-radius: 999px;
  color: #dff5ff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.badge-outline::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue);
  flex: none;
}

.hero h1 {
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.032em;
  margin: 22px 0 24px;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #7be0ff 0%, #24c2ff 60%, #7ce4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(232, 244, 252, .88);
  max-width: 570px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero Bottom Facts Strip */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(130, 212, 250, .18);
  background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(0, 174, 239, .05), rgba(255, 255, 255, .02));
  border-radius: 16px 16px 0 0;
  padding: 24px 24px 30px;
}
.fact {
  padding: 0 28px;
  border-left: 1px solid rgba(130, 212, 250, .16);
}
.fact:first-child { padding-left: 4px; border-left: 0; }
.fact:last-child { padding-right: 4px; }
.fact__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.fact__label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
}
.fact p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #f4faff;
}

/* ---------- Shared Section Architecture ---------- */

.section { padding: 98px 0; position: relative; }
.section--soft {
  background:
    radial-gradient(ellipse 65% 50% at 50% 0%, rgba(0, 174, 239, .045), transparent 70%),
    var(--soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.section h2 {
  font-size: clamp(30px, 3.15vw, 45px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head__aside p {
  font-size: 14.8px;
  line-height: 1.78;
  color: var(--body);
  max-width: 450px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border: 1px solid #cbe0ee;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-800);
  background: var(--blue-050);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.accent { color: var(--blue-700); }

/* ---------- Partners Marquee (Overflow-Safe on Mobile) ---------- */

.partners {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
  overflow: hidden;
}
.partners__inner {
  display: flex;
  align-items: center;
  gap: 38px;
  min-width: 0;
}
.partners__label {
  margin: 0;
  flex: none;
  font-size: 11px;
  white-space: nowrap;
}
.partners__marquee {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.partners__track {
  display: flex;
  width: max-content;
  animation: partner-marquee 38s linear infinite;
  will-change: transform;
}
.partners__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}
.partners__group img {
  width: 106px;
  height: 28px;
  max-width: none;
  object-fit: contain;
  opacity: .76;
  filter: saturate(.85);
  transition: opacity .22s ease, transform .22s var(--ease-out), filter .22s ease;
}
.partners__group img:hover {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-2px);
}
.partners__marquee:hover .partners__track { animation-play-state: paused; }

@keyframes partner-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Spotlight: Volumetric Dark Stage + Floating Chips ---------- */

.spotlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 58% at 86% 12%, rgba(0, 174, 239, .3), transparent 65%),
    radial-gradient(ellipse 50% 52% at 10% 92%, rgba(0, 140, 210, .18), transparent 66%),
    linear-gradient(180deg, #07131f 0%, #091a2a 55%, #07131f 100%);
  color: #fff;
  padding: 88px 0 82px;
  isolation: isolate;
}

/* Ultra-light inline SVG grain noise (0 network requests) */
.spotlight__noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.spotlight__inner { position: relative; z-index: 1; }

.spotlight__head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 50px;
}
.spotlight .eyebrow { color: var(--blue-bright); margin-bottom: 16px; }
.spotlight .eyebrow::before { background: var(--blue-bright); box-shadow: 0 0 10px var(--blue); }

.spotlight h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -.028em;
  font-weight: 800;
  color: #fff;
}
.spotlight .accent { color: var(--blue-bright); }

/* Floating 3D Operational Chips */
.spotlight__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  perspective: 600px;
}
.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #e4f6ff;
  background: linear-gradient(145deg, rgba(20, 48, 74, .78), rgba(10, 26, 42, .88));
  border: 1px solid rgba(82, 207, 255, .32);
  box-shadow:
    0 10px 24px rgba(2, 8, 16, .36),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: chip-float 5.6s ease-in-out infinite;
}
.s-chip--2 { animation-delay: -1.8s; }
.s-chip--3 { animation-delay: -3.6s; }
.s-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue);
}

@keyframes chip-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 8px); }
}

.spotlight__aside p {
  font-size: 14.8px;
  line-height: 1.82;
  color: rgba(230, 242, 252, .82);
  max-width: 470px;
}
.spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.spotlight__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1000px;
}
.spotlight__feature {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 40, 62, .72) 0%, rgba(9, 22, 36, .82) 100%);
  border: 1px solid rgba(110, 204, 248, .2);
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow:
    0 16px 34px rgba(2, 8, 16, .32),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s var(--ease-out);
}
.spotlight__feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: .55;
  transition: opacity .3s ease;
}
.spotlight__feature:hover {
  transform: translate3d(0, -6px, 14px);
  border-color: rgba(82, 207, 255, .52);
  box-shadow:
    0 24px 44px rgba(0, 12, 26, .48),
    0 0 24px rgba(0, 174, 239, .14),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}
.spotlight__feature:hover::before { opacity: 1; }

.spotlight__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 174, 239, .16);
  border: 1px solid rgba(82, 207, 255, .32);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--blue-bright);
  font-variant-numeric: tabular-nums;
}
.spotlight__feature h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #fff;
  margin: 16px 0 10px;
}
.spotlight__feature p {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(226, 240, 250, .78);
}

.spotlight__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(14, 34, 53, .68);
  border: 1px solid rgba(82, 207, 255, .2);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(240, 248, 255, .9);
}
.spotlight__check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 174, 239, .22);
  border: 1px solid rgba(82, 207, 255, .6);
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ---------- Philosophy + 3D Split-Drum Stats ---------- */

.philosophy__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: start;
}

.philosophy__word {
  font-size: clamp(50px, 5.8vw, 84px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-700) 58%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 26px;
}

.philosophy__lead {
  font-size: clamp(18.5px, 1.5vw, 22px);
  line-height: 1.66;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 620px;
}
.philosophy__lead .accent {
  font-weight: 600;
  color: var(--blue-700);
}

/* Balanced Media + Caption Layout (fixes narrow 3-word lines) */
.philosophy__media {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 26px;
  align-items: center;
  margin-top: 42px;
  padding: 16px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.philosophy__photo {
  position: relative;
  margin: 0;
  height: 236px;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe8ef;
  box-shadow: 0 14px 30px rgba(7, 25, 42, .16);
}
.philosophy__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(6, 18, 28, .72), transparent);
  pointer-events: none;
}
.philosophy__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: transform .6s var(--ease-out);
}
.philosophy__media:hover .philosophy__photo img { transform: scale(1.04); }

.philosophy__photo-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 17, 28, .62);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.philosophy__caption {
  font-size: 13.8px;
  line-height: 1.78;
  color: var(--body);
  padding-right: 8px;
}

/* 3D Metric Drum Cards */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  perspective: 900px;
}
.stat {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
  border: 1px solid var(--line);
  box-shadow:
    0 2px 0 #d8e3ed,
    0 14px 30px rgba(7, 19, 30, .06),
    inset 0 1px 0 #fff;
  transform-style: preserve-3d;
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .25s ease;
}
.stat:hover {
  transform: translate3d(0, -4px, 10px);
  border-color: #b7d7eb;
  box-shadow:
    0 3px 0 #c5d9e8,
    0 20px 38px rgba(7, 19, 30, .1),
    inset 0 1px 0 #fff;
}
.stat__num {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(44px, 4.3vw, 60px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--navy-950);
  font-variant-numeric: tabular-nums;
  perspective: 500px;
}
.stat__val {
  display: inline-block;
  transform-origin: 50% 55%;
  backface-visibility: hidden;
}
.stat.is-flipping .stat__val {
  animation: stat-drum-flip .75s var(--ease-spring) both;
}
@keyframes stat-drum-flip {
  0% {
    opacity: 0;
    transform: rotateX(-76deg) translateY(-10px);
  }
  60% {
    opacity: 1;
    transform: rotateX(10deg) translateY(0);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}
.stat__num .plus {
  color: var(--blue-700);
  font-size: .58em;
  font-weight: 700;
  margin-left: 3px;
}
.stat__label {
  display: block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--body);
}

/* ---------- Solutions: Problem -> System Architecture ---------- */

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.solution-row {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  gap: 40px;
  padding: 34px 36px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .25s ease;
}
.solution-row:hover {
  transform: translateY(-3px);
  border-color: #c5daea;
  box-shadow: var(--shadow-md);
}
.solution-row__num {
  font-size: clamp(46px, 4.8vw, 64px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: #b7c8d8;
  font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.solution-row:hover .solution-row__num { color: var(--blue-700); }

.solution-row__answer {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--line-soft);
}

.label-red,
.label-blue {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  margin-bottom: 14px;
}
.label-red {
  color: var(--red);
  background: var(--red-050);
  border: 1px solid rgba(191, 57, 27, .18);
}
.label-blue {
  color: var(--blue-700);
  background: var(--blue-050);
  border: 1px solid rgba(0, 110, 158, .18);
}

.solution-row h3 {
  font-size: 20.5px;
  font-weight: 700;
  letter-spacing: -.016em;
  line-height: 1.38;
  margin-bottom: 10px;
  color: var(--ink);
}
.solution-row p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
}
.solution-row__tags {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 12px !important;
  font-weight: 600;
  color: var(--muted) !important;
}

/* Highlight Card in Row 03: Deep Navy 3D Surface */
.solution-card {
  background:
    radial-gradient(circle at 90% 12%, rgba(0, 174, 239, .28), transparent 60%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  border: 1px solid rgba(82, 207, 255, .32);
  border-radius: 18px;
  padding: 28px 28px 30px;
  box-shadow:
    0 18px 36px rgba(6, 17, 28, .22),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}
.solution-card__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}
.solution-card h3 { font-size: 21px; color: #fff; margin-bottom: 10px; }
.solution-card p { color: rgba(235, 245, 253, .88); }

/* ---------- Consulting & Delivery (#ai) ---------- */

.ai__head {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: 56px;
  align-items: end;
  margin-top: 4px;
  margin-bottom: 44px;
}
.ai__head h2 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.14;
}
.ai__head p {
  font-size: 14.8px;
  line-height: 1.8;
  color: var(--body);
  max-width: 420px;
}

.ai__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.ai__col {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ai__col--right {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  border-color: #cde0ee;
  box-shadow: var(--shadow-md);
}

.ai__col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.ai__col-head h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ai__col-head span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.ai__list { list-style: none; margin-top: 8px; flex: 1; }
.ai__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ai__list li:last-child { border-bottom: 0; }
.ai__idx {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #cbe0ee;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: 0 3px 8px rgba(0, 110, 158, .08);
  font-variant-numeric: tabular-nums;
}
.ai__list--letter .ai__idx {
  background: var(--navy-900);
  border-color: var(--navy-800);
  color: var(--blue-bright);
}
.ai__list h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.ai__list p {
  font-size: 13.8px;
  line-height: 1.74;
  color: var(--body);
}

.ai__summary {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  margin-top: 12px;
}
.ai__big {
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.ai__big--dark { color: var(--navy-900); }
.ai__summary p {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--body);
}

/* ---------- Case Studies: 3D Floating App/Device Cards + Glare ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  perspective: 1200px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d7e3ee;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform:
    perspective(1000px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translate3d(0, var(--ty, 0px), 0);
  box-shadow:
    0 2px 0 #d5e2ed,
    0 16px 36px rgba(8, 24, 40, .08),
    inset 0 1px 0 #fff;
  transition:
    transform .22s ease-out,
    box-shadow .3s var(--ease-out),
    border-color .25s ease;
  will-change: transform;
}
.case-card:hover {
  --ty: -6px;
  border-color: rgba(0, 174, 239, .55);
  box-shadow:
    0 4px 0 #bfd7ea,
    0 28px 56px rgba(6, 20, 36, .16),
    0 0 0 1px rgba(0, 174, 239, .14),
    inset 0 1px 0 #fff;
}

/* Specular Glare Overlay following pointer (--gx, --gy) */
.case-card__glare {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: var(--glare-o, 0);
  background: radial-gradient(
    360px circle at var(--gx, 50%) var(--gy, 25%),
    rgba(255, 255, 255, .36),
    rgba(0, 174, 239, .08) 38%,
    transparent 68%
  );
  transition: opacity .3s ease;
}

/* Top Device Chrome Bar */
.case-card__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-850));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.chrome-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(230, 245, 255, .86);
}
.chrome-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #36c977;
  box-shadow: 0 0 8px #36c977;
}

.case-card__media {
  position: relative;
  height: 212px;
  overflow: hidden;
  background: #0d1f30;
}
.case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s var(--ease-out);
}
.case-card:hover .case-card__media img {
  transform: scale(1.045);
}

.case-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(7, 19, 30, .82);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .26);
}

.case-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}
.case-card__client {
  font-size: 12.3px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.case-card h3 {
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.case-card__desc {
  font-size: 13.6px;
  line-height: 1.78;
  color: var(--body);
  flex: 1;
}
.case-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.case-card__meta dt {
  font-size: 12.8px;
  font-weight: 700;
  color: var(--blue-700);
  line-height: 1.45;
}
.case-card__meta dd {
  font-size: 11.8px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}
.case-card__meta > div:last-child { text-align: right; }

/* ---------- Expertise ---------- */

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.expertise__item {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line-soft);
  transition: transform .28s var(--ease-out), background-color .25s ease, box-shadow .28s var(--ease-out), border-color .25s ease;
}
.expertise__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--blue);
  transition: width .3s var(--ease-out);
}
.expertise__item:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: #c7dceb;
  box-shadow: var(--shadow-md);
}
.expertise__item:hover::before { width: 64px; }

.expertise__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.expertise__item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.018em;
  margin: 14px 0 10px;
  color: var(--ink);
}
.expertise__item p {
  font-size: 13.6px;
  line-height: 1.8;
  color: var(--body);
}

.expertise__industries {
  margin-top: 36px;
  padding: 18px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.2px;
  line-height: 1.78;
  color: var(--body);
}
.expertise__industries .label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-050);
  font-weight: 700;
  font-size: 12px;
  color: var(--blue-800);
  margin-right: 12px;
}

/* ---------- Client Voice: Deep Navy Architectural Stage (AAA Contrast) ---------- */

.voice {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  background:
    radial-gradient(ellipse 56% 68% at 88% 18%, rgba(0, 174, 239, .26), transparent 64%),
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 58%, #0e2a42 100%);
  color: #fff;
  border: 1px solid rgba(82, 207, 255, .24);
  border-radius: 28px;
  padding: 58px 60px 62px;
  display: grid;
  grid-template-columns: .92fr 1.28fr;
  gap: 54px;
  box-shadow:
    0 26px 56px rgba(6, 17, 28, .22),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}
.voice__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue-bright);
}
.voice__label::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-bright);
}
.voice h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 18px 0 20px;
}
.voice__left p {
  font-size: 14px;
  line-height: 1.82;
  color: rgba(228, 241, 252, .84);
  max-width: 330px;
}
.voice__nav { display: flex; gap: 12px; margin-top: 34px; }

.round-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out), border-color .2s ease;
}
.round-btn:hover {
  background: rgba(255, 255, 255, .16);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}
.round-btn:active { transform: translateY(1px) scale(.96); }
.round-btn--solid {
  background: var(--blue);
  color: var(--navy-950);
  border-color: var(--blue-bright);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 174, 239, .32);
}
.round-btn--solid:hover {
  background: var(--blue-bright);
  color: var(--navy-950);
}

.voice__right {
  position: relative;
  padding: 28px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(130, 214, 252, .16);
  backdrop-filter: blur(8px);
}
.voice__quote-mark {
  display: block;
  font-size: 64px;
  line-height: .55;
  font-weight: 800;
  color: var(--blue-bright);
}
.voice blockquote {
  font-size: clamp(20px, 1.95vw, 26px);
  line-height: 1.56;
  letter-spacing: -.012em;
  font-weight: 500;
  color: #f6fbff;
  margin: 18px 0 34px;
  min-height: 152px;
}
.voice__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(130, 214, 252, .18);
  padding-top: 20px;
}
.voice__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-bright), var(--blue));
  color: var(--navy-950);
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 6px 16px rgba(0, 174, 239, .3);
}
.voice__name { font-size: 15px; font-weight: 700; color: #fff; }
.voice__role { font-size: 12.8px; color: rgba(220, 238, 252, .82); margin-top: 3px; }

/* ---------- Commitment / Standards ---------- */

.standards__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.standard {
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s var(--ease-out);
}
.standard:hover {
  transform: translateY(-4px);
  border-color: #b8d8ec;
  box-shadow: var(--shadow-md);
}
.standard h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--navy-950);
}
.standard p {
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  margin-top: 8px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: 68px;
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq__intro h2 { margin-bottom: 16px; }
.faq__intro p { font-size: 14.2px; line-height: 1.8; color: var(--body); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 24px;
  box-shadow: 0 2px 8px rgba(7, 19, 30, .03);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.faq__item[open] {
  border-color: #9ecce8;
  box-shadow: var(--shadow-md);
}

.faq__item summary {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { color: var(--blue-700); }

.faq__num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.faq__q {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color .18s ease;
}

.faq__icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  transition: background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out);
}
.faq__item[open] .faq__icon {
  background: var(--blue-050);
  border-color: #9ecce8;
  transform: rotate(180deg);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq__icon::before { width: 11px; height: 1.6px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.6px; height: 11px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { opacity: 0; }

.faq__a { padding: 0 32px 24px 70px; }
.faq__a p {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--body);
  max-width: 660px;
}

/* ---------- SEO: làm web Tây Ninh ---------- */

.seo-local {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}
.seo-local__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.seo-local__card {
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .25s ease;
}
.seo-local__card:hover {
  transform: translateY(-4px);
  border-color: #9fcbe7;
  box-shadow: var(--shadow-md);
}
.seo-local__card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.seo-local__card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--body);
}
.seo-local__note {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
}
.seo-local__note a {
  color: var(--blue-cta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Offices ---------- */

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.office {
  padding: 26px 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .25s ease;
}
.office:first-child {
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
  border-color: #b7daf0;
}
.office:hover {
  transform: translateY(-4px);
  border-color: #9fcbe7;
  box-shadow: var(--shadow-md);
}
.office__pill {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}
.office:not(:first-child) .office__pill {
  background: var(--blue-050);
  color: var(--blue-800);
  border: 1px solid #c6e2f4;
}
.office h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 16px 0 10px;
  color: var(--ink);
}
.office p {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--body);
}
.office__tel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px !important;
  font-weight: 600;
  color: var(--muted) !important;
}

/* ---------- Contact: Deep Navy Left Stage + Crisp Form ---------- */

.contact { margin-top: 76px; }

.contact__card {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  border: 1px solid #cfdce8;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-3d);
}

.contact__panel {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 15% 12%, rgba(0, 174, 239, .26), transparent 65%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 58%, #0e2b44 100%);
  color: #fff;
  padding: 52px 48px 46px;
  display: flex;
  flex-direction: column;
}
.contact__panel h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.2;
  color: #fff;
  margin: 18px 0 16px;
}
.contact__panel > p {
  font-size: 14px;
  line-height: 1.82;
  color: rgba(228, 242, 252, .86);
}
.contact__list {
  list-style: none;
  margin-top: 26px;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.6px;
  color: #f0f8ff;
  padding: 13px 0;
  border-top: 1px solid rgba(130, 214, 252, .18);
}
.contact__list li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 174, 239, .2);
  border: 1px solid rgba(82, 207, 255, .45);
  color: var(--blue-bright);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.contact__list li:last-child { border-bottom: 1px solid rgba(130, 214, 252, .18); }

.contact__info {
  margin-top: auto;
  padding-top: 38px;
  font-size: 13px;
  line-height: 2;
  color: rgba(230, 243, 253, .9);
}
.contact__tel {
  color: var(--blue-bright);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-variant-numeric: tabular-nums;
}
.contact__tel:hover { color: #fff; }

.contact__form {
  padding: 46px 46px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
}

.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label span:last-child { color: var(--red); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cfdbe6;
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.65; }
.field input::placeholder,
.field textarea::placeholder { color: #7a8896; }
.field input:hover,
.field textarea:hover { border-color: #a9bfd2; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3.5px rgba(0, 174, 239, .18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  background: #fffafa;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Honeypot (off-screen anti-bot trap) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: .72;
  cursor: wait;
  pointer-events: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.6px;
  line-height: 1.7;
  color: var(--body);
  cursor: pointer;
}
.consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue-cta); flex: none; cursor: pointer; }
.consent a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.consent .req { color: var(--red); }

.form-note {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--blue-800);
  min-height: 0;
  margin: 0;
}
.form-note.is-success {
  padding: 11px 14px;
  border-radius: 10px;
  background: #edf9f2;
  border: 1px solid #b5e4c8;
  color: #135e35;
}
.form-note.is-error {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--red-050);
  border: 1px solid rgba(191, 57, 27, .24);
  color: var(--red);
}

/* ---------- Privacy Policy Modal (<dialog>) ---------- */

.privacy-modal {
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 64px rgba(6, 17, 28, .32);
}
.privacy-modal::backdrop {
  background: rgba(6, 17, 28, .58);
  backdrop-filter: blur(6px);
}
.privacy-modal__box {
  padding: 26px 28px 24px;
}
.privacy-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.privacy-modal__head h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.privacy-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.privacy-modal__close:hover {
  background: #e4edf5;
}
.privacy-modal__body {
  padding: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--body);
}
.privacy-modal__foot {
  display: flex;
  justify-content: flex-end;
}

/* ---------- Floating Action Dock (Zalo + Call) & Footer ---------- */

.fab-dock {
  position: fixed;
  z-index: 90;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.fab-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28);
  transition:
    transform .22s var(--ease-out),
    box-shadow .22s var(--ease-out),
    filter .2s ease;
}

.fab-btn--zalo {
  background: linear-gradient(180deg, #1c7bff 0%, #0068ff 58%, #0052cc 100%);
  box-shadow:
    0 10px 24px rgba(0, 82, 204, .38),
    0 2px 6px rgba(6, 17, 28, .22),
    inset 0 1px 0 rgba(255, 255, 255, .36);
}

.fab-btn--call {
  background: linear-gradient(180deg, #19baf7 0%, var(--blue) 45%, var(--blue-cta) 100%);
  box-shadow:
    0 10px 24px rgba(0, 116, 166, .4),
    0 2px 6px rgba(6, 17, 28, .22),
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.fab-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.05);
}
.fab-btn--zalo:hover {
  box-shadow:
    0 14px 30px rgba(0, 104, 255, .48),
    0 4px 10px rgba(6, 17, 28, .24),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.fab-btn--call:hover {
  box-shadow:
    0 14px 30px rgba(0, 174, 239, .48),
    0 4px 10px rgba(6, 17, 28, .24),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

.fab-btn:active {
  transform: translateY(1px) scale(.95);
}

.fab-btn:focus-visible {
  outline: 2.5px solid var(--navy-950);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(82, 207, 255, .65), 0 12px 26px rgba(6, 17, 28, .35);
}

.fab-btn__icon-zalo {
  width: 21px;
  height: 21px;
  display: block;
  flex: none;
  margin-top: 1px;
}
.fab-btn__word {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  margin-top: 2px;
  color: #fff;
}

.fab-btn__icon-call {
  width: 23px;
  height: 23px;
  display: block;
  flex: none;
}

/* Hover / Keyboard Focus Tooltip */
.fab-btn__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate3d(6px, -50%, 0);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 17, 28, .92);
  border: 1px solid rgba(82, 207, 255, .32);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px rgba(6, 17, 28, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .18s ease,
    transform .2s var(--ease-out),
    visibility .18s;
}

.fab-btn:hover .fab-btn__tip,
.fab-btn:focus-visible .fab-btn__tip {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, -50%, 0);
}

.site-footer {
  background: #fbfdff;
  border-top: 1px solid var(--line);
  padding: 54px 0 96px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 30px 48px;
  align-items: start;
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.78;
  color: var(--body);
  max-width: 400px;
  margin-top: 12px;
}
.brand--footer .brand__mark { height: 24px; }
.brand--footer .brand__word { font-size: 21px; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  font-size: 13.6px;
  font-weight: 500;
  color: var(--ink-soft);
}
.footer__nav a { transition: color .18s ease; }
.footer__nav a:hover { color: var(--blue-700); }
.footer__copy {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Progressive Scroll Reveal Stagger ---------- */

html.has-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .65s var(--ease-out),
    transform .65s var(--ease-out);
  transition-delay: calc(var(--reveal-d, 0) * 85ms);
}
html.has-motion [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* =========================================================
   Responsive: Desktop (1280) / Tablet (768) / Mobile (390)
   ========================================================= */

@media (min-width: 1240px) {
  .hero__inner { gap: 64px; }
}

@media (max-width: 1360px) {
  .header__lang { display: none; }
}

@media (max-width: 1120px) {
  :root { --header-h: 70px; }

  /* Disable pointer-driven 3D tilt offsets on tablet/mobile */
  .hero__stage,
  .case-card {
    --rx: 0deg !important;
    --ry: 0deg !important;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 22px;
    box-shadow: 0 22px 40px rgba(7, 19, 30, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s var(--ease-out), visibility .22s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav a {
    width: 100%;
    padding: 13px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { justify-content: space-between; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 44px;
  }
  .hero__content { order: -1; max-width: 680px; }
  .hero__visual { min-height: 430px; max-width: 620px; width: 100%; margin: 0 auto; }
  .hero__stage { height: 430px; }

  .section { padding: 76px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .section-head__aside p { max-width: 580px; }

  .spotlight__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .spotlight__features { grid-template-columns: 1fr 1fr; gap: 20px; }

  .philosophy__grid { grid-template-columns: 1fr; gap: 40px; }

  .solution-row {
    grid-template-columns: 64px 1fr;
    gap: 20px 24px;
    padding: 28px;
  }
  .solution-row__answer {
    grid-column: 2;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .ai__head { grid-template-columns: 1fr; gap: 18px; }
  .ai__head p { max-width: 580px; }
  .ai__cols { grid-template-columns: 1fr; gap: 22px; }

  .case-grid { grid-template-columns: 1fr 1fr; gap: 22px; }

  .expertise__grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .voice { grid-template-columns: 1fr; gap: 30px; padding: 44px 38px; }
  .voice blockquote { min-height: 0; margin-bottom: 26px; }

  .standards__grid { grid-template-columns: repeat(3, 1fr); }

  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__intro { position: static; }

  .office-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .contact__card { grid-template-columns: 1fr; }
  .contact__info { margin-top: 12px; padding-top: 24px; }

  .site-footer { padding-bottom: 108px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 62px 0; }

  /* Compact, balanced Mobile Hero (390px) */
  .hero { padding-top: 28px; }
  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
    margin: 16px 0 16px;
  }
  .hero__lead { font-size: 14.5px; line-height: 1.7; }
  .hero__actions { margin-top: 22px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .hero__inner { gap: 32px; padding-bottom: 34px; }
  .hero__visual { min-height: 360px; }
  .hero__stage { height: 360px; }
  .hero__backdrop { inset: 12px 6px 14px 10px; }

  .hero__shot { width: 78%; height: 56%; }
  .hero__shot--back { transform: translate3d(2%, 2%, -4px) rotateZ(-1.6deg) scale(.94); }
  .hero__shot--front { transform: translate3d(27%, 38%, 18px) rotateZ(1.2deg) scale(1); }
  .hero__stage.is-photo-top .hero__shot--front { transform: translate3d(5%, 34%, 76px) rotateZ(1deg) scale(1.02); }
  .hero__bezel { height: 24px; padding: 0 9px; }
  .bezel-title { font-size: 9.5px; }

  .hero__card {
    width: 204px;
    padding: 15px 15px 16px;
    bottom: 4px;
    transform: translate3d(0, 0, 40px) rotateZ(-1.2deg);
  }
  .hero__year { font-size: 14px; padding: 3px 10px; }
  .hero__card-desc { font-size: 11.5px; margin-top: 9px; line-height: 1.52; }
  .hero__count strong { font-size: 32px; }
  .hero__card-title { font-size: 14.5px; margin: 6px 0 11px; }
  .hero__card .btn--sm { padding: 7px 14px; font-size: 12.5px; }
  .hero__swap-hint { right: 8px; bottom: 6px; top: auto; font-size: 10px; padding: 4px 10px; }

  .hero__facts {
    grid-template-columns: 1fr;
    padding: 12px 18px 20px;
  }
  .fact {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(130, 212, 250, .16);
  }
  .fact:first-child { border-top: 0; padding-top: 6px; }

  /* Mobile Marquee (Zero Horizontal Overflow) */
  .partners { padding: 18px 0; }
  .partners__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partners__group { gap: 26px; padding-right: 26px; }
  .partners__group img { width: 88px; height: 24px; }

  .spotlight { padding: 62px 0 64px; }
  .spotlight__features { grid-template-columns: 1fr; gap: 16px; }
  .spotlight__actions .btn { width: 100%; }
  .spotlight__note { align-items: flex-start; padding: 14px 16px; }

  .philosophy__media { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .philosophy__photo { height: 210px; }
  .philosophy__caption { padding-right: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
  }
  .solution-row__num { font-size: 40px; }
  .solution-row__answer { grid-column: 1; }
  .solution-card { padding: 22px 20px; }

  .ai__col { padding: 24px 20px; }

  .case-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-card__media { height: 196px; }

  .expertise__grid { grid-template-columns: 1fr; gap: 16px; }
  .expertise__industries { padding: 16px 18px; }
  .expertise__industries .label { display: inline-block; margin: 0 0 8px; }

  .voice { padding: 34px 22px; border-radius: 22px; gap: 24px; }
  .voice__right { padding: 22px 20px; }
  .voice blockquote { font-size: 18.5px; }

  .standards__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .standard { padding: 18px 16px; }
  .standard:last-child { grid-column: 1 / -1; }

  .faq__item { padding: 0 16px; }
  .faq__item summary { grid-template-columns: 46px 1fr 28px; gap: 10px; padding: 16px 0; }
  .faq__q { font-size: 15px; }
  .faq__a { padding: 0 4px 20px 0; }

  .office-grid { grid-template-columns: 1fr; gap: 16px; }

  .contact__panel { padding: 34px 24px 30px; }
  .contact__form { padding: 28px 22px 28px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 520px) {
  .header__cta { display: none; }
  .header__inner { gap: 10px; }
  .badge-outline { font-size: 11.5px; padding: 6px 12px; }
  .fab-btn { width: 54px; height: 54px; }
}

/* ---------- Touch / Coarse Pointer Safety ---------- */

@media (hover: none), (pointer: coarse) {
  .hero__stage,
  .case-card {
    --rx: 0deg !important;
    --ry: 0deg !important;
  }
  .case-card__glare { display: none; }
  .btn { --mx: 0px !important; --my: 0px !important; }
}

/* ---------- Mobile/tablet: flat & stable hero stack (no 3D) ---------- */

@media (max-width: 1120px) {
  .hero__visual { perspective: none; }
  .hero__stage {
    perspective: none;
    transform: none !important;
    transform-style: flat;
  }
  .hero__photos { transform-style: flat; }
  .hero__shot {
    transition: border-color .25s ease, filter .25s ease, box-shadow .25s ease, scale .25s ease;
    will-change: auto;
  }
  .hero__photos .hero__shot:nth-child(1) {
    top: 0;
    left: 0;
    width: 80%;
    height: 54%;
    transform: rotate(-1.4deg) !important;
  }
  .hero__photos .hero__shot:nth-child(2) {
    top: 30%;
    left: 26%;
    width: 74%;
    height: 54%;
    transform: rotate(1.2deg) !important;
  }
  .hero__shot--back { z-index: 2; filter: brightness(.9) saturate(.96); }
  .hero__shot--front { z-index: 3; filter: none; }
  .hero__stage.is-photo-top .hero__shot--front { z-index: 7; }
  .hero__stage.is-photo-top .hero__shot--front {
    scale: 1.02;
  }
  .hero__shot:active { scale: .98 !important; }
  .hero__card {
    transform: rotate(-1.4deg) !important;
    box-shadow: 0 18px 40px rgba(2, 10, 20, .5);
    transition: box-shadow .25s ease, scale .25s ease;
  }
  .hero__stage.is-photo-top .hero__card { z-index: 4; scale: 1.008; }
  .hero__card:active { scale: .99 !important; }
}

/* ---------- Accessibility: Prefers Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .partners__track,
  .s-chip { animation: none !important; }
  html.has-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__stage,
  .case-card {
    --rx: 0deg !important;
    --ry: 0deg !important;
  }
}
