/* ==========================================================================
   Kanaiya Infotech — Redesign · v2 refinement pass
   Single stylesheet · mobile-first · no framework
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — navy / white / gold */
  --navy-950: #06111F;
  --navy-900: #0B1F33;
  --navy-800: #10294A;
  --navy-700: #163A63;
  --blue-700: #1B5686;
  --blue-600: #23689D;
  --blue-500: #2E7FBF;
  --blue-400: #5AA0D6;
  --blue-300: #8FC1E8;
  --blue-100: #E6F0F8;
  --blue-50:  #F1F6FB;
  --gold-700: #C2770B;   /* gold for text on light surfaces */
  --gold-600: #D9840F;
  --gold-500: #F29C1F;   /* brand accent */
  --gold-400: #F7B84A;
  --gold-300: #FFD489;
  --gold-200: #FFE7B8;
  --green-500: #16A34A;
  --wa-green:  #25D366;
  --red-500:   #DC2626;

  /* Surfaces & text */
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --text: #0D1B2A;
  --text-2: #4A5A6A;
  --text-3: #75838F;
  --border: rgba(13, 27, 42, .07);
  --border-strong: rgba(13, 27, 42, .13);
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .52);
  --border-dark: rgba(255, 255, 255, .1);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #FFC85C 0%, #F29C1F 55%, #E28A12 100%);
  --grad-gold-text: linear-gradient(90deg, #FFD27A 0%, #F2A93B 55%, #F7B84A 100%);
  --grad-blue: linear-gradient(135deg, #2E7FBF 0%, #23689D 60%, #1B5686 100%);
  --grad-navy: linear-gradient(180deg, #0B1F33 0%, #071628 100%);

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2.75rem, 1.55rem + 4.9vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .75rem;

  /* Layout */
  --nav-h: 64px;
  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(80px, 9vw, 128px);

  /* Radii — three tiers only */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Elevation — three tiers only */
  --shadow-card: 0 1px 2px rgba(13, 27, 42, .04), 0 10px 28px -14px rgba(13, 27, 42, .12);
  --shadow-hover: 0 2px 4px rgba(13, 27, 42, .04), 0 22px 44px -18px rgba(13, 27, 42, .22);
  --shadow-float: 0 4px 8px -4px rgba(13, 27, 42, .08), 0 30px 60px -24px rgba(13, 27, 42, .3);
  --shadow-gold: 0 10px 28px -8px rgba(242, 156, 31, .5);
  --shadow-blue: 0 12px 28px -10px rgba(35, 104, 157, .45);

  /* Motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --dur: .35s;
}

@media (min-width: 768px) {
  :root { --nav-h: 72px; --gutter: 32px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 40px; }
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open,
body.drawer-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid rgba(35, 104, 157, .5);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Icons (inline sprite) */
.ic {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Layout helpers */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section > .container { position: relative; z-index: 1; }
.accent { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   3. Components — chip, buttons, section head, reveal
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid rgba(35, 104, 157, .14);
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}
.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(242, 156, 31, .18);
}
.chip--dark {
  background: rgba(255, 255, 255, .06);
  color: var(--gold-300);
  border-color: rgba(255, 255, 255, .12);
}
.chip--gold {
  background: rgba(242, 156, 31, .12);
  color: var(--gold-700);
  border-color: rgba(242, 156, 31, .28);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur), filter var(--dur);
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .1s; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), var(--shadow-gold);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 16px 36px -10px rgba(242, 156, 31, .65);
  filter: saturate(1.06) brightness(1.02);
}

.btn--glass {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .34); }

.btn--dark {
  background: var(--navy-900);
  color: #fff;
}
.btn--dark:hover { background: var(--blue-600); box-shadow: var(--shadow-blue); }

/* Section headings — one pattern everywhere: chip → h2 → lead */
.section__head { max-width: 700px; }
.section__head .chip { margin-bottom: 20px; }
.section__head p {
  margin-top: 18px;
  font-size: var(--fs-lead);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 58ch;
}
.section__head--center { margin-inline: auto; text-align: center; margin-bottom: clamp(44px, 5vw, 64px); }
.section__head--center p { margin-inline: auto; }
.section__head--dark h2 { color: #fff; }
.section__head--dark p { color: var(--on-dark-2); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav {
  --nav-fg: #fff;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  color: var(--nav-fg);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, box-shadow .35s, border-color .35s, color .35s;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}
.nav__logo img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter .35s;
}
.nav__links { display: none; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  opacity: .82;
  transition: opacity .25s, background-color .25s, color .25s;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }
.nav__call {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.nav__call:hover { transform: translateY(-2px) rotate(-8deg); }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color .25s, border-color .25s;
}
.nav__burger .ic { width: 22px; height: 22px; }
.nav__burger:hover { background: rgba(255, 255, 255, .1); }

/* scrolled / drawer-open: solid glass bar */
.is-scrolled .nav,
.drawer-open .nav {
  --nav-fg: var(--text);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(13, 27, 42, .18);
}
.is-scrolled .nav__logo img,
.drawer-open .nav__logo img { filter: none; }
.is-scrolled .nav__link:hover, .is-scrolled .nav__link.is-active { background: var(--blue-50); color: var(--blue-600); }
.is-scrolled .nav__burger, .drawer-open .nav__burger { border-color: var(--border-strong); }
.is-scrolled .nav__burger:hover, .drawer-open .nav__burger:hover { background: var(--surface-2); }

@media (min-width: 1024px) {
  .nav__links { display: flex; align-items: center; gap: 2px; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__call { width: 44px; height: 44px; }
  .nav__logo img { height: 38px; }
  .nav .btn--dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
  .nav .btn--dark:hover { background: rgba(255, 255, 255, .18); }
  .is-scrolled .nav .btn--dark { background: var(--navy-900); border-color: transparent; }
  .is-scrolled .nav .btn--dark:hover { background: var(--blue-600); box-shadow: var(--shadow-blue); }
}

/* --------------------------------------------------------------------------
   4b. Mobile drawer — right-side slide-in panel + overlay
   -------------------------------------------------------------------------- */
.drawer-overlay {
  position: fixed; inset: 0;
  z-index: 150;
  background: rgba(6, 17, 31, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 160;
  width: min(84vw, 380px);
  display: flex;
  flex-direction: column;
  padding: 0 24px calc(24px + env(safe-area-inset-bottom));
  background: var(--navy-900);
  color: #fff;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
  transform: translateX(104%);
  visibility: hidden;
  overscroll-behavior: contain;
  overflow-y: auto;
  transition: transform .45s var(--ease-out), visibility 0s .45s;
}
.drawer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(242, 156, 31, .16), transparent 60%),
    radial-gradient(420px 320px at 0% 100%, rgba(35, 104, 157, .35), transparent 60%);
  pointer-events: none;
}
.drawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.drawer > * { position: relative; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  border-bottom: 1px solid var(--border-dark);
}
.drawer__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.drawer__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  transition: background-color .25s, transform .25s;
}
.drawer__close .ic { width: 20px; height: 20px; }
.drawer__close:hover { background: rgba(255, 255, 255, .1); transform: rotate(90deg); }
.drawer__links { display: grid; gap: 4px; padding: 20px 0; }
.drawer__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, .86);
  transition: background-color .25s, color .25s, padding-left .25s;
}
.drawer__links a .ic { width: 18px; height: 18px; opacity: .45; transition: opacity .25s, transform .25s; }
.drawer__links a:hover, .drawer__links a.is-active { background: rgba(255, 255, 255, .07); color: var(--gold-300); padding-left: 18px; }
.drawer__links a:hover .ic, .drawer__links a.is-active .ic { opacity: 1; transform: translateX(2px); }
.drawer__cta { margin-top: auto; width: 100%; }
.drawer__foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--on-dark-3);
  text-align: center;
}
@media (min-width: 1024px) {
  .drawer, .drawer-overlay { display: none; }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-950);
  color: #fff;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(64px, 11vh, 120px)) 0 clamp(200px, 26vh, 236px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(1000px 620px at 12% -10%, rgba(35, 104, 157, .55), transparent 62%),
    radial-gradient(760px 520px at 92% 8%, rgba(242, 156, 31, .2), transparent 60%),
    linear-gradient(180deg, #0C2137 0%, #06111F 100%);
}
.hero__photo {
  position: absolute; inset: 0; z-index: -3;
  background: url("https://images.unsplash.com/photo-1661956602116-aa6865609028?w=1200&q=45") center 30% / cover no-repeat;
  opacity: .1;
  mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero__orb {
  position: absolute; z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  pointer-events: none;
  animation: float 16s ease-in-out infinite;
}
.hero__orb--1 { width: 420px; height: 420px; left: -160px; top: 18%; background: radial-gradient(circle, rgba(46, 127, 191, .75), transparent 65%); }
.hero__orb--2 { width: 460px; height: 460px; right: -180px; top: 40%; background: radial-gradient(circle, rgba(242, 156, 31, .42), transparent 65%); animation-delay: -7s; }
.hero::after {
  /* clean landing zone for the stats card */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 240px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(6, 17, 31, .92));
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, -28px, 0) scale(1.07); }
}

.hero__inner { position: relative; max-width: 960px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-200);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.live-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero__title {
  margin: 28px auto 0;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -.032em;
  color: #fff;
  max-width: 21ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  background: var(--grad-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-inline: .06em;
  margin-inline: -.06em;
}
.hero__sub {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem);
  line-height: 1.65;
  color: var(--on-dark-2);
}
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__ctas {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 12px;
  margin-top: 36px;
}
.hero__ctas .btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 44px -12px rgba(242, 156, 31, .7); }
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin: 44px auto 0;
  max-width: 1000px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-dark-2);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; text-align: left; }
.hero__trust .ic { width: 18px; height: 18px; color: var(--gold-400); }

@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; justify-content: center; gap: 14px; }
  .hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; }
  .hero__trust li { padding: 0 18px; }
  .hero__trust li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
}

/* --------------------------------------------------------------------------
   6. Stats — bridges the dark hero and the light page
   -------------------------------------------------------------------------- */
.stats { position: relative; z-index: 3; margin-top: -132px; }
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.stats__grid::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold);
}
.stat {
  padding: 26px 16px 22px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.stat:nth-child(odd) { border-right: 1px solid var(--border); }
.stat:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.7rem + 1.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}
.stat__num sup {
  font-size: .5em;
  vertical-align: top;
  line-height: 1.5;
  margin-left: 2px;
  color: var(--gold-500);
}
.stat__label {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (min-width: 768px) {
  .stats { margin-top: -84px; }
  .stats__grid { grid-template-columns: repeat(5, 1fr); }
  .stat { padding: 34px 16px 30px; border-bottom: 0 !important; border-right: 1px solid var(--border) !important; }
  .stat:last-child { grid-column: auto; border-right: 0 !important; }
}

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
.services { background: var(--bg); overflow: hidden; }
.mesh { display: none; }
.services__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.svc {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(35, 104, 157, .18); }
.svc__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.svc__media img, .svc__media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.svc:hover .svc__media img, .svc:hover .svc__media svg { transform: scale(1.04); }
.svc__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 44px 26px 26px; flex: 1; }
.svc__head { display: block; }
.svc__icon {
  position: absolute;
  top: -28px; left: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 0 0 4px var(--surface), var(--shadow-blue);
  transition: transform var(--dur) var(--ease-spring);
}
.svc__icon .ic { width: 24px; height: 24px; }
.svc:hover .svc__icon { transform: translateY(-3px) rotate(-4deg); }
.svc__body h3 { font-size: 1.25rem; }
.svc__body p { color: var(--text-2); line-height: 1.7; font-size: 15px; }
.svc__list { display: grid; gap: 8px; margin-top: 2px; }
.svc__list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px; line-height: 1.5;
  color: var(--text-2);
}
.svc__list .ic {
  width: 16px; height: 16px; margin-top: 2px; flex: none;
  color: var(--green-500);
  stroke-width: 2.8;
}
.svc__go {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 700;
  color: var(--blue-600);
  transition: color var(--dur);
}
.svc__go .ic { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.svc:hover .svc__go { color: var(--blue-700); }
.svc:hover .svc__go .ic { transform: translateX(4px); }

.svc__tag {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 700;
  color: var(--text);
}
.svc__tag .ic {
  width: 20px; height: 20px; padding: 3px;
  border-radius: 50%;
  background: rgba(22, 163, 74, .12);
  color: var(--green-500);
  stroke-width: 2.8;
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc__body { padding: 46px 28px 28px; }
  .svc__icon { left: 28px; }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding: 17px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-2);
  white-space: nowrap;
}
.marquee__item .ic { color: var(--gold-400); width: 18px; height: 18px; }
.marquee__item::after {
  content: "";
  width: 5px; height: 5px;
  margin-left: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   9. Why Choose Us — image · stat · benefits · pricing as one story
   -------------------------------------------------------------------------- */
.why { background: var(--surface); overflow: hidden; }
.why__grid { display: grid; gap: 56px; align-items: center; }
.why__media { position: relative; padding: 24px 0 52px; }
.why__blob { display: none; }
.why__media::before {
  /* soft brand panel behind the photo */
  content: "";
  position: absolute; inset: 0 -8% 10% 10%;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(35, 104, 157, .14), rgba(242, 156, 31, .12));
  z-index: 0;
}
.why__img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
.why__float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
}
.why__float--1 { left: 16px; bottom: 12px; }
.why__float--1 strong { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 800; color: var(--text); }
.why__float--1 span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.why__float-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; flex: none;
  border-radius: var(--r-sm);
  background: var(--blue-100);
  color: var(--blue-600);
}
.why__float--2 {
  right: 12px; top: 0;
  flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 16px 20px;
  background: var(--navy-900);
  border-color: transparent;
  color: #fff;
}
.why__float-num {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why__float-lbl { font-size: var(--fs-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }

.why__content .section__head { margin-bottom: 28px; }
.why__points { display: grid; }
.why__pt {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.why__pt:last-child { border-bottom: 1px solid var(--border); }
.why__pt-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  border: 1px solid rgba(35, 104, 157, .12);
  color: var(--blue-600);
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-spring);
}
.why__pt-icon .ic { width: 22px; height: 22px; }
.why__pt:hover .why__pt-icon { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.06); }
.why__pt h4 { margin-bottom: 6px; font-size: 1.0625rem; }
.why__pt p { font-size: 15px; color: var(--text-2); line-height: 1.65; }

.why__pills {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  overflow: hidden;
}
.pill { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.pill + .pill { border-top: 1px solid var(--border); }
.pill__pct {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--gold-700);
}
.pill__txt { font-size: 14px; font-weight: 600; color: var(--text-2); line-height: 1.3; }

@media (min-width: 480px) {
  .why__pills { grid-template-columns: 1fr 1fr; }
  .pill + .pill { border-top: 0; border-left: 1px solid var(--border); }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: 1.05fr 1fr; gap: 84px; }
  .why__media { padding: 32px 32px 56px 0; }
  .why__float--1 { left: -24px; bottom: 20px; }
  .why__float--2 { right: 0; top: 0; }
}

/* --------------------------------------------------------------------------
   10. Portfolio — screenshot first, metrics easy to scan
   -------------------------------------------------------------------------- */
.cases { background: var(--bg); }
.cases__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.case {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(35, 104, 157, .18); }
.case__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease-out); }
.case:hover .case__media img { transform: scale(1.04); }
.case__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, .18) 0%, rgba(6, 17, 31, 0) 30%, rgba(6, 17, 31, .35) 100%);
}
.case__logo {
  position: absolute; left: 18px; top: 18px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: rgba(6, 17, 31, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
}
.case__body { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex: 1; }
.case__meta {
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-700);
}
.case__body h3 { margin-top: -8px; font-size: 1.375rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 12.5px; font-weight: 600;
}
.tag .ic { display: none; }
.case__body > p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.case__results {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  overflow: hidden;
}
.result { padding: 16px 18px; }
.result + .result { border-left: 1px solid var(--border); }
.result__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.4rem + .9vw, 2.1rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--gold-700);
}
.result__lbl {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
}
@media (min-width: 768px) {
  .cases__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .case__body { padding: 28px; }
}

/* --------------------------------------------------------------------------
   11. Process — a clear journey with numbered nodes
   -------------------------------------------------------------------------- */
.process {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  color: #fff;
}
.process__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 8% 8%, rgba(35, 104, 157, .35), transparent 60%),
    radial-gradient(600px 400px at 95% 92%, rgba(242, 156, 31, .16), transparent 60%);
}
.steps {
  position: relative;
  display: grid;
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas: "circle num" "circle title" "circle text";
  column-gap: 18px;
  padding: 6px 0 30px;
}
.step:last-child::before { display: none; }
.step__num {
  grid-area: num;
  align-self: start; justify-self: start;
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(242, 156, 31, .14);
  border: 1px solid rgba(242, 156, 31, .32);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.step__circle {
  grid-area: circle;
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: background var(--dur), color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease-spring);
}
.step__circle .ic { width: 24px; height: 24px; }
.step__circle::after {
  /* step numeral node */
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -8px; right: -8px;
  min-width: 26px; height: 26px; padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--grad-gold);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--navy-900);
}
.step:hover .step__circle { background: var(--grad-gold); color: var(--navy-950); border-color: transparent; box-shadow: var(--shadow-gold); transform: scale(1.05); }
.step h4 { grid-area: title; color: #fff; margin-top: 10px; font-size: 1.125rem; }
.step p { grid-area: text; margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--on-dark-2); }

.process__cta {
  position: relative;
  display: grid; gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  text-align: center;
  overflow: hidden;
}
.process__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(520px 200px at 0% 0%, rgba(242, 156, 31, .16), transparent 60%);
  pointer-events: none;
}
.process__cta > * { position: relative; }
.process__cta h3 { color: #fff; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; }
.process__cta p { margin-top: 8px; color: var(--on-dark-2); }
.process__cta .btn { justify-self: center; }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    justify-content: center;
    padding: 24px 14px 28px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: background-color var(--dur), border-color var(--dur), transform var(--dur) var(--ease-out);
  }
  .step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); transform: translateY(-4px); }
  .step::before {
    /* horizontal connector passing behind the node (desktop) */
    display: block;
    left: -9px; right: -9px; top: 100px; bottom: auto;
    width: auto; height: 2px;
    background: linear-gradient(90deg, rgba(242, 156, 31, .55), rgba(90, 160, 214, .45));
  }
  .step:first-child::before { left: 50%; }
  .step:last-child::before { display: block; right: 50%; }
  .step__circle { width: 68px; height: 68px; margin: 16px 0 16px; }
  .step h4 { margin-top: 0; }
  .step p { margin-top: 8px; font-size: 14.5px; }
  .process__cta { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .process__cta .btn { justify-self: end; }
}
@media (min-width: 1024px) {
  .steps { gap: 20px; }
  .step { padding: 28px 18px 30px; }
  .step::before { left: -11px; right: -11px; top: 104px; }
}

/* --------------------------------------------------------------------------
   12. Global reach
   -------------------------------------------------------------------------- */
.reach { background: var(--surface); }
.reach__grid { display: grid; gap: 48px; align-items: center; }
.reach .section__head { margin-bottom: 28px; }
.reach__flags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.flag {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur), background-color var(--dur);
}
.flag:hover { transform: translateY(-3px); background: var(--surface); box-shadow: var(--shadow-card); border-color: rgba(35, 104, 157, .25); }
.flag__icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
  transition: background var(--dur), color var(--dur);
}
.flag:hover .flag__icon { background: var(--grad-blue); color: #fff; }
.reach__media { position: relative; padding: 0 0 20px 20px; }
.reach__media::before {
  content: "";
  position: absolute; inset: 12% 0 0 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(35, 104, 157, .14), rgba(242, 156, 31, .12));
  z-index: 0;
}
.reach__img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
}
@media (min-width: 640px) {
  .reach__flags { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .reach__grid { grid-template-columns: 1.1fr 1fr; gap: 84px; }
}

/* --------------------------------------------------------------------------
   13. Reviews / carousel
   -------------------------------------------------------------------------- */
.reviews { background: var(--bg); overflow: hidden; }
.reviews__head {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.carousel__controls { display: flex; gap: 10px; }
.c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur), opacity var(--dur), border-color var(--dur);
}
.c-btn .ic { width: 20px; height: 20px; }
.c-btn:hover:not(:disabled) { background: var(--navy-900); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: transparent; }
.c-btn:disabled { opacity: .35; cursor: default; }

.container--carousel { position: relative; z-index: 1; }
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 32px;
  margin: -8px -4px 0;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.review {
  position: relative;
  flex: 0 0 min(100%, 360px);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.review::before {
  content: "\201C";
  position: absolute; top: 10px; right: 22px;
  font-family: var(--font-display);
  font-size: 84px; font-weight: 800; line-height: 1;
  color: var(--gold-500);
  opacity: .16;
  pointer-events: none;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(35, 104, 157, .18); }
.review__stars { display: flex; gap: 3px; color: var(--gold-500); }
.review__stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.review__txt { font-size: 15.5px; line-height: 1.7; color: var(--text-2); flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.reviewer__av {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--grad-blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800; font-size: 16px;
}
.reviewer__meta h4 { font-size: 15px; }
.reviewer__meta span { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }

@media (min-width: 640px) {
  .review { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 768px) {
  .reviews__head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
@media (min-width: 1024px) {
  .carousel { gap: 24px; }
  .review { flex-basis: calc((100% - 48px) / 3); padding: 30px 28px; }
}

/* --------------------------------------------------------------------------
   14. FAQ — one container, hairline dividers
   -------------------------------------------------------------------------- */
.faq { background: var(--surface); }
.faq__list {
  max-width: 820px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq__item { border-top: 1px solid var(--border); transition: background-color var(--dur); }
.faq__item:first-child { border-top: 0; }
.faq__item.open { background: #FAFBFD; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  font-weight: 700;
  color: var(--text);
  transition: color var(--dur);
}
.faq__q:hover { color: var(--blue-600); }
.faq__q .ic {
  width: 30px; height: 30px; padding: 7px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  transition: transform .4s var(--ease-out), background var(--dur), color var(--dur);
}
.faq__item.open .faq__q { color: var(--navy-900); }
.faq__item.open .faq__q .ic { transform: rotate(45deg); background: var(--navy-900); color: #fff; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 24px 22px;
  font-size: 15.5px; line-height: 1.75;
  color: var(--text-2);
  max-width: 68ch;
}
.faq__item.open .faq__a { grid-template-rows: 1fr; }

/* --------------------------------------------------------------------------
   15. Contact — final CTA + form
   -------------------------------------------------------------------------- */
.contact { background: var(--bg); }
.contact__card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
}
.contact__left {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--navy-900);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
}
.contact__left > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .18;
  mix-blend-mode: luminosity;
}
.contact__left::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(35, 104, 157, .6), transparent 60%),
    radial-gradient(500px 400px at 100% 100%, rgba(242, 156, 31, .28), transparent 60%),
    linear-gradient(180deg, rgba(11, 31, 51, .6), rgba(6, 17, 31, .92));
}
.contact__left h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem); }
.contact__left-content > p { margin-top: 16px; color: var(--on-dark-2); line-height: 1.7; max-width: 46ch; font-size: var(--fs-lead); }
.perks { display: grid; gap: 12px; margin-top: 28px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.perk__check {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-950);
}
.perk__check .ic { width: 14px; height: 14px; stroke-width: 3; }

.contact__right { padding: clamp(28px, 4.5vw, 52px) clamp(20px, 4vw, 48px); }
.contact__right h3 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); font-weight: 800; }
.contact__sub { margin-top: 8px; color: var(--text-3); font-size: 15px; }
.form { margin-top: 24px; display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: 500 15px/1.4 var(--font-body);
  color: var(--text);
  background: #F8FAFC;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #98A4B3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(13, 27, 42, .26); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(35, 104, 157, .14);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .is-invalid { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #98A4B3; }
.select__chevron {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-3);
  pointer-events: none;
}
.form__submit { margin-top: 4px; }
.form__submit.is-success { background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; box-shadow: 0 12px 32px -8px rgba(22, 163, 74, .5); }
.form__submit.is-error { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; box-shadow: 0 12px 32px -8px rgba(220, 38, 38, .5); }
.form__submit:disabled { cursor: default; transform: none; }
.form__submit .ic-spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__privacy {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-3);
}
.form__privacy .ic { width: 15px; height: 15px; color: var(--green-500); }

@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact__card { grid-template-columns: 5fr 7fr; }
  .contact__left { display: flex; align-items: center; }
}

/* --------------------------------------------------------------------------
   16. Explore / sitelinks
   -------------------------------------------------------------------------- */
.sitelinks { background: var(--surface); padding-bottom: clamp(56px, 7vw, 96px); }
.sl__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.sl {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur), background-color var(--dur);
}
.sl:hover { transform: translateY(-5px); background: var(--surface); box-shadow: var(--shadow-hover); border-color: rgba(35, 104, 157, .22); }
.sl__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 6px;
  transition: background var(--dur), color var(--dur), transform var(--dur) var(--ease-spring);
}
.sl__icon .ic { width: 22px; height: 22px; }
.sl:hover .sl__icon { background: var(--grad-blue); color: #fff; transform: scale(1.06); }
.sl h4 { font-size: 1.0625rem; }
.sl p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.sl__arrow {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue-600);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out);
}
.sl__arrow .ic { width: 16px; height: 16px; }
.sl:hover .sl__arrow { opacity: 1; transform: none; }
@media (min-width: 640px) { .sl__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sl__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: var(--navy-950);
  color: var(--on-dark-2);
  padding: clamp(56px, 7vw, 80px) 0 28px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 300px at 0% 0%, rgba(35, 104, 157, .22), transparent 60%);
}
.footer .container { position: relative; }
.footer__grid { display: grid; gap: 40px; }
.footer__logo { height: 38px; width: auto; filter: brightness(0) invert(1); }
.footer__desc { margin-top: 20px; max-width: 42ch; line-height: 1.7; font-size: 15px; }
.footer__loc { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; }
.footer__loc .ic { width: 18px; height: 18px; color: var(--gold-400); margin-top: 3px; }
.footer__loc strong { display: block; color: #fff; font-family: var(--font-display); font-size: 14.5px; }
.footer__loc span { display: block; font-size: 13.5px; margin-top: 2px; color: var(--on-dark-3); }
.footer__contact h4 {
  color: #fff;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.fc-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: var(--r-md);
  transition: background-color var(--dur), transform var(--dur) var(--ease-out);
}
.fc-link + .fc-link { margin-top: 4px; }
.fc-link:hover { background: rgba(255, 255, 255, .05); transform: translateX(4px); }
.fc-link__icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-dark);
  color: var(--gold-400);
}
.fc-link__icon .ic { width: 21px; height: 21px; }
.fc-link__body > span { display: block; color: #fff; font-weight: 600; font-size: 15.5px; }
.fc-link__body small { display: block; font-size: 13px; color: var(--on-dark-3); margin-top: 2px; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  font-size: 13.5px;
  color: var(--on-dark-3);
}
.footer__bottom strong { color: #fff; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr .9fr 1.1fr; gap: 48px; align-items: start; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   18. Floating WhatsApp, sticky bar, exit popup
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .55);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.wa-float .ic { width: 30px; height: 30px; stroke-width: 1.8; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 36px -6px rgba(37, 211, 102, .65); }

.sticky-bar { display: none; }
@media (max-width: 600px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(90px + env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; }
  .sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px -12px rgba(13, 27, 42, .18);
  }
  .sticky-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 0;
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700;
    transition: transform .2s var(--ease-out);
  }
  .sticky-bar__btn:active { transform: scale(.97); }
  .sticky-bar__btn--wa { background: var(--wa-green); color: #fff; }
  .sticky-bar__btn--quote { background: var(--grad-gold); color: var(--navy-950); }
}

/* Exit popup */
.exit {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(6, 17, 31, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
}
.exit.show { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.exit__modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5);
  transform: translateY(20px) scale(.97);
  transition: transform .4s var(--ease-out);
}
.exit.show .exit__modal { transform: none; }
.exit__modal::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad-gold);
}
.exit__close {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  transition: background var(--dur), color var(--dur), transform var(--dur);
}
.exit__close:hover { background: var(--navy-900); color: #fff; transform: rotate(90deg); }
.exit__close .ic { width: 18px; height: 18px; }
.exit__content { padding: 40px 24px 28px; text-align: center; }
.exit__content h2 { margin-top: 16px; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.exit__content > p { margin-top: 10px; color: var(--text-2); }
.form--compact { margin-top: 24px; text-align: left; gap: 12px; }
.form--compact .form__row { gap: 12px; }
.form--compact input, .form--compact select { padding: 13px 14px; }
.exit__guarantee {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: 13px; color: var(--text-3);
}
.exit__guarantee .ic { width: 15px; height: 15px; color: var(--green-500); }
@media (min-width: 560px) {
  .exit__content { padding: 44px 40px 32px; }
}

/* --------------------------------------------------------------------------
   19. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   20. Multi-technology expansion
   Navigation dropdown · technology showcase · technology pages
   Reuses the tokens, radii, shadows and type scale defined above.
   ========================================================================== */

/* --------------------------------------------------------------------------
   20a. Header dropdown (desktop) + drawer disclosure (mobile)
   -------------------------------------------------------------------------- */
.nav__item { position: relative; display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: inherit;
  opacity: .82;
  transition: opacity .25s, background-color .25s, color .25s;
}
.nav__toggle .ic { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.nav__toggle:hover, .nav__item.open .nav__toggle { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav__item.open .nav__toggle .ic { transform: rotate(180deg); }
.is-scrolled .nav__toggle:hover, .is-scrolled .nav__item.open .nav__toggle { background: var(--blue-50); color: var(--blue-600); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  z-index: 20;
  width: 320px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.nav__item.open .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s; }
.nav__dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  color: var(--text);
  transition: background-color .2s, transform .2s var(--ease-out);
}
.nav__dd-link:hover { background: var(--bg); transform: translateX(3px); }
.nav__dd-link .ic { width: 22px; height: 22px; flex: none; }
.nav__dd-link b { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; }
.nav__dd-link span { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 1px; }
@media (min-width: 1024px) { .nav__item { display: block; } }

/* Drawer disclosure */
.drawer__group { display: grid; }
.drawer__group > .drawer__sub-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 15px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: rgba(255, 255, 255, .86);
  text-align: left;
  transition: background-color .25s, color .25s;
}
.drawer__sub-toggle .ic { width: 18px; height: 18px; opacity: .45; transition: transform .3s var(--ease-out), opacity .25s; }
.drawer__group.open > .drawer__sub-toggle { background: rgba(255, 255, 255, .07); color: var(--gold-300); }
.drawer__group.open .drawer__sub-toggle .ic { transform: rotate(180deg); opacity: 1; }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.drawer__group.open .drawer__sub { grid-template-rows: 1fr; }
.drawer__sub > div { overflow: hidden; }
.drawer__sub a {
  justify-content: flex-start;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  padding: 12px 14px 12px 26px !important;
  color: rgba(255, 255, 255, .7) !important;
}
.drawer__sub a::before {
  content: "";
  width: 5px; height: 5px; margin-right: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}
.drawer__sub a > .ic { display: none; }

/* --------------------------------------------------------------------------
   20b. Technology showcase (inside the Services section)
   -------------------------------------------------------------------------- */
.techs { margin-top: clamp(48px, 6vw, 72px); }
.techs__head {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.techs__head h3 { font-size: 1.25rem; font-weight: 800; }
.techs__head p { font-size: 15px; color: var(--text-2); }
.techs__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tech-card {
  --brand: var(--blue-600);
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.tech-card__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--brand) 12%, #fff);
  color: var(--brand);
  transition: transform var(--dur) var(--ease-spring);
}
.tech-card__mark .ic { width: 25px; height: 25px; }
.tech-card:hover .tech-card__mark { transform: scale(1.07); }
.tech-card h4 { font-size: 1.0625rem; }
.tech-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); flex: 1; }
.tech-card__go {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 700;
  color: var(--brand);
}
.tech-card__go .ic { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.tech-card:hover .tech-card__go .ic { transform: translateX(4px); }
@media (min-width: 560px) { .techs__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .techs__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .techs__head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; }
}

/* Supporting technologies — compact chips */
.stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
  align-items: center;
}
.stack__lbl {
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3);
  margin-right: 4px;
}
.stack span:not(.stack__lbl) {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   20c. Technology pages — breadcrumb + hero
   -------------------------------------------------------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px;
  color: var(--on-dark-3);
}
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-2); transition: color .25s; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs .ic { width: 14px; height: 14px; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.crumbs__sep { opacity: .4; }

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-950);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 64px)) 0 clamp(56px, 8vw, 88px);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 8% -20%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 62%),
    radial-gradient(700px 460px at 95% 10%, rgba(242, 156, 31, .16), transparent 60%),
    linear-gradient(180deg, #0C2137 0%, #06111F 100%);
}
.page-hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 40% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 40% 30%, #000 20%, transparent 78%);
}
.page-hero__inner { display: grid; gap: 40px; align-items: center; margin-top: 28px; }
.page-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
}
.page-hero__badge .ic { width: 20px; height: 20px; color: var(--brand-on-dark, var(--gold-300)); }
.page-hero h1 {
  margin-top: 22px;
  font-size: clamp(2.125rem, 1.45rem + 2.9vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #fff;
  max-width: 18ch;
}
.page-hero h1 .accent { color: var(--gold-400); }
.page-hero__sub {
  margin-top: 20px;
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--on-dark-2);
}
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero__points { display: grid; gap: 10px; margin-top: 30px; }
.page-hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--on-dark-2); }
.page-hero__points .ic { width: 18px; height: 18px; color: var(--gold-400); }

/* Interface mockup beside the hero copy */
.page-hero__mock {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .75);
  overflow: hidden;
}
.page-hero__mock-inner { aspect-ratio: 4 / 3; }
.page-hero__mock svg { width: 100%; height: 100%; display: block; }
.page-hero__mock-tag {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(6, 17, 31, .55);
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700;
  color: var(--on-dark-2);
}
.page-hero__mock-tag .ic { width: 17px; height: 17px; color: var(--brand-on-dark, var(--gold-300)); }
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: 1.25fr .75fr; gap: 64px; }
}

/* --------------------------------------------------------------------------
   20d. Technology pages — content blocks
   -------------------------------------------------------------------------- */
.intro { background: var(--surface); }
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__body p + p { margin-top: 16px; }
.intro__body p { color: var(--text-2); line-height: 1.75; font-size: var(--fs-lead); }
.intro__panel {
  display: grid; gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--border);
  overflow: hidden;
}
.intro__stat { background: var(--surface); padding: 22px 24px; }
.intro__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}
.intro__stat span { display: block; margin-top: 5px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.intro__stat .ic { width: 22px; height: 22px; color: var(--brand); margin-bottom: 12px; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } }

/* Service checklist grid */
.checks { display: grid; gap: 16px; grid-template-columns: 1fr; }
.check-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.check-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.check-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--brand) 11%, #fff);
  color: var(--brand);
}
.check-card__icon .ic { width: 22px; height: 22px; }
.check-card h3 { font-size: 1.125rem; }
.check-list { display: grid; gap: 9px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.check-list .ic { width: 17px; height: 17px; margin-top: 2px; flex: none; color: var(--green-500); stroke-width: 2.8; }
@media (min-width: 640px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .checks { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Capability feature grid */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature {
  display: flex; gap: 16px;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--brand) 28%, transparent); }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--brand) 11%, #fff);
  color: var(--brand);
}
.feature__icon .ic { width: 21px; height: 21px; }
.feature h4 { margin-bottom: 5px; font-size: 1rem; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Used where we have no published work yet - honest, but not an empty box */
.note {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 940px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.note__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.note__media img { width: 100%; height: 100%; object-fit: cover; }
.note__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 36%, transparent), transparent 62%);
}
.note__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 26px; }
.note__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 10px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  color: color-mix(in srgb, var(--brand) 72%, #000);
  font-family: var(--font-display);
  font-size: var(--fs-label); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.note__chip .ic { width: 15px; height: 15px; }
.note p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.note a:not(.btn) { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .note { grid-template-columns: .85fr 1.15fr; }
  .note__media { aspect-ratio: auto; height: 100%; }
  .note__body { padding: 32px 34px; justify-content: center; }
}

/* Cross-links to the other technology pages */
.siblings { background: var(--surface); }
.siblings__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.sibling {
  --brand: var(--blue-600);
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur), background-color var(--dur);
}
.sibling:hover { transform: translateY(-3px); background: var(--surface); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--brand) 32%, transparent); }
.sibling .ic { width: 26px; height: 26px; flex: none; color: var(--brand); }
.sibling b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.sibling span { display: block; font-size: 13px; color: var(--text-3); margin-top: 1px; }
@media (min-width: 640px) { .siblings__grid { grid-template-columns: repeat(3, 1fr); } }

/* Brand accents per technology page */
.t-shopify   { --brand: #5E8E3E; --brand-on-dark: #95BF47; }
.t-wordpress { --brand: #21759B; --brand-on-dark: #6FB6D8; }
.t-hubspot   { --brand: #E8613C; --brand-on-dark: #FF7A59; }
.t-webflow   { --brand: #146EF5; --brand-on-dark: #7FB0FF; }

/* Footer technology links column */
.footer__links { display: grid; align-content: start; }
.footer__links h4 {
  color: #fff;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__links a {
  padding: 7px 0;
  font-size: 15px;
  color: var(--on-dark-2);
  transition: color .25s, transform .25s var(--ease-out);
}
.footer__links a:hover { color: var(--gold-300); transform: translateX(4px); }

/* Portfolio platform badge */
.case__metarow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case__tech {
  --brand: var(--blue-600);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  color: color-mix(in srgb, var(--brand) 78%, #000);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: .01em;
}
.case__tech .ic { width: 14px; height: 14px; }
.t-custom { --brand: #5B6B7C; }

/* ==========================================================================
   21. Mobile responsive fixes
   ========================================================================== */

/* A full-width button must be allowed to wrap. `.btn` sets white-space:nowrap
   for pill buttons, but on a narrow column that min-content width pushed
   .contact__right (and its card) wider than the viewport. */
.btn--block {
  white-space: normal;
  text-align: center;
}

/* Grid/flex items default to min-width:auto, so any child's min-content can
   blow out the track. Let the form and its fields shrink to the column. */
.contact__right,
.contact__left,
.form,
.form__row,
.field { min-width: 0; }
.field input,
.field select,
.field textarea { min-width: 0; }
.form__submit { max-width: 100%; }

/* Section grids: a grid item defaults to min-width:auto, so a child's
   min-content can force the TRACK wider than the grid box (the image then
   sits past the right gutter). Let every section grid item shrink. */
.reach__grid > *,
.why__grid > *,
.intro__grid > *,
.contact__card > *,
.services__grid > *,
.cases__grid > *,
.checks > *,
.features > * { min-width: 0; }
.flag { min-width: 0; }
.flag span { overflow-wrap: break-word; }

/* Industries: the offset padding and layered panel are a desktop device.
   On smaller screens they pushed the image past the right gutter. */
@media (max-width: 1023px) {
  .reach__media { padding: 0; }
  .reach__media::before { display: none; }
  .why__media::before { inset: 0 0 8% 0; }
}

/* Keep long words (emails, URLs) from forcing horizontal overflow anywhere. */
.contact__left-content p,
.note p,
.fc-link__body > span { overflow-wrap: anywhere; }

/* List markers align to the FIRST line of text, not the centre of a wrapped
   block. Negative/positive nudge optically centres the marker on that line
   (marker height vs the 1.6 line box). */
.perks li { align-items: flex-start; }
.perk__check { margin-top: -1px; }

.page-hero__points li { align-items: flex-start; }
.page-hero__points .ic { margin-top: 3px; }

.hero__trust li { align-items: flex-start; }
.hero__trust .ic { margin-top: 3px; }

/* Wrapped buttons and inline notices: keep the icon on the FIRST line rather
   than floating at the centre of a two-line label. Nudge values optically
   centre each icon on that line (icon height vs its line box). */
.btn--block { align-items: flex-start; }
.btn--block .ic { margin-top: 1px; }

.form__privacy,
.exit__guarantee { align-items: flex-start; }
.form__privacy .ic,
.exit__guarantee .ic { margin-top: 3px; }

/* Chrome paints autofilled fields with its own blue background and text
   colour. There is no background-color override, so flood the field with an
   inset shadow instead and force the text colour back to ours. */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field select:-webkit-autofill,
.field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #F8FAFC inset;
  box-shadow: 0 0 0 1000px #F8FAFC inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  border-color: var(--border-strong);
  /* Chrome animates its highlight in; park it far in the future. */
  transition: background-color 100000s ease-out 0s;
}
.field input:-webkit-autofill:focus,
.field select:-webkit-autofill:focus,
.field textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(35, 104, 157, .14);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(35, 104, 157, .14);
  border-color: var(--blue-600);
}
