/* ==========================================================================
   GFX Smart — main stylesheet · Neumorphism (brand blue #3676FE)
   1. Tokens          5. Hero & page hero     9. Work, process, quotes, FAQ
   2. Base            6. Marquee              10. CTA band & forms
   3. Layout          7. Cards & grids        11. About & service pages
   4. Header & nav    8. Section heads        12. Footer, utilities, motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --font-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: clamp(.75rem, .73rem + .08vw, .8125rem);
  --fs-sm: clamp(.875rem, .85rem + .1vw, .9375rem);
  --fs-base: clamp(.9375rem, .91rem + .12vw, 1rem);
  --fs-lead: clamp(1rem, .95rem + .3vw, 1.125rem);
  --fs-h3: clamp(1.0625rem, 1rem + .25vw, 1.2rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-hero: clamp(2.75rem, 1.6rem + 5vw, 5.75rem);
  --fs-stat: clamp(1.5rem, 1.25rem + 1vw, 2rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --nav-h: 4rem;
  --header-h: 4.75rem;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --brand: #3676FE;
  --brand-btn: #2A63EE;
  --brand-glow: rgba(54, 118, 254, .45);
  --on-brand: #ffffff;
}

/* Colour themes. --hi / --lo are the light and dark neumorphic shadows. */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1d23;
  --bg2: #16191e; --hi2: #20242b; --lo2: #0b0c0f;
  --hi: #252932;
  --lo: #0d0f13;
  --text: #f3f5f9;
  --muted: #a9b1bf;
  --faint: #8c95a5;
  --accent-text: #6b9bff;
  --danger: #ff8a80;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #e8ecf3;
  --bg2: #e0e5ed; --hi2: #f7f9fc; --lo2: #b3bdcd;
  --hi: #ffffff;
  --lo: #b9c3d4;
  --text: #0b0d12;
  --muted: #4a5466;
  --faint: #5a6476;
  --accent-text: #1e55d4;
  --danger: #b3261e;
}

/* Neumorphic shadow recipes — re-declared wherever --hi/--lo change. */
[data-theme],
.section--alt,
.site-footer {
  --sh-out-sm: 4px 4px 10px var(--lo), -4px -4px 10px var(--hi);
  --sh-out: 8px 8px 20px var(--lo), -8px -8px 20px var(--hi);
  --sh-out-lg: 16px 16px 40px var(--lo), -16px -16px 40px var(--hi);
  --sh-in-sm: inset 3px 3px 7px var(--lo), inset -3px -3px 7px var(--hi);
  --sh-in: inset 6px 6px 14px var(--lo), inset -6px -6px 14px var(--hi);
}
.section--alt { --bg: var(--bg2); --hi: var(--hi2); --lo: var(--lo2); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

h1, h2, h3, h4 { font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-family: var(--font-body); font-style: normal; font-size: var(--fs-h3); line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -4rem;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  background: var(--brand-btn);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: var(--space-4); }

/* Scroll progress bar (element added by main.js) */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--brand), #7aa6ff);
  box-shadow: 0 0 12px var(--brand-glow);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: min(1320px, 100% - 2 * clamp(1.25rem, 4vw, 2.5rem));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt {
  background: var(--bg);
  box-shadow: inset 0 14px 24px -18px var(--lo), inset 0 -14px 24px -18px var(--lo);
}
.section--flush-top { padding-top: 0; }
.section--flush { padding-block: 0; }

.split {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
.split--center { align-items: center; }

.stack > * + * { margin-top: var(--space-4); }
.text-center { text-align: center; }
.muted { color: var(--muted); }

@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

/* 4. Header & navigation --------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: .75rem;
  animation: drop-in .8s var(--ease) both;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--space-4);
  padding: 0 .6rem 0 .75rem;
  background: var(--bg);
  border-radius: 1.4rem;
  box-shadow: var(--sh-out);
  transition: height .35s var(--ease), box-shadow .35s, background-color .4s;
}
.site-header.is-scrolled .nav { height: 3.5rem; box-shadow: var(--sh-out), 0 10px 30px -12px rgba(0, 0, 0, .35); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1;
}
.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  padding: .2rem;
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  transition: transform .6s var(--spring);
}
.brand:hover img { transform: rotate(120deg); }
.brand b { color: var(--brand); font-weight: 900; margin-left: .28em; }

.nav-links { display: flex; align-items: center; gap: var(--space-1); font-size: var(--fs-sm); font-weight: 600; }
.nav-links > li > a {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: .9rem;
  color: var(--muted);
  transition: color .2s, box-shadow .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links > li > a:hover,
.nav-links > li > a[aria-current] { box-shadow: var(--sh-in-sm); color: var(--accent-text); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-menu .nav-cta-mobile { display: none; }

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 0;
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: box-shadow .25s, color .2s, transform .2s var(--ease);
}
.icon-btn:hover { color: var(--accent-text); }
.icon-btn:active { box-shadow: var(--sh-in-sm); transform: scale(.96); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
#themeBtn svg { animation: spin-in .6s var(--spring); }

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon { display: none; }

.menu-btn { display: none; }
.menu-btn path { transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
.site-header.is-open .menu-btn { box-shadow: var(--sh-in-sm); color: var(--accent-text); }
.site-header.is-open .bar-top { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .bar-mid { opacity: 0; }
.site-header.is-open .bar-bot { transform: translateY(-5px) rotate(-45deg); }

/* Services dropdown */
.has-dropdown { position: relative; display: flex; align-items: center; gap: 0; }
.submenu-toggle {
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.submenu-toggle::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .25s var(--ease);
}
.has-dropdown.is-open .submenu-toggle::before { transform: rotate(225deg); }

.service-dropdown {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  width: 19rem;
  padding: .6rem;
  background: var(--bg);
  border-radius: 1.2rem;
  box-shadow: var(--sh-out), 0 24px 50px -20px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(.98);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.service-dropdown::before { /* hover bridge so the menu doesn't close in the gap */
  content: "";
  position: absolute;
  inset: -1.2rem 0 auto;
  height: 1.2rem;
}
.service-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .9rem;
  border-radius: .8rem;
  font-size: var(--fs-sm);
  line-height: 1.35;
  color: var(--muted);
  transition: box-shadow .2s, color .2s, padding .25s var(--ease);
}
.service-dropdown a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; opacity: .5; transition: opacity .2s, box-shadow .2s; }
.service-dropdown a:hover,
.service-dropdown a[aria-current] { box-shadow: var(--sh-in-sm); color: var(--text); padding-left: 1.1rem; }
.service-dropdown a:hover::before { opacity: 1; box-shadow: 0 0 8px var(--brand); }

@media (min-width: 961px) {
  .has-dropdown:hover .service-dropdown,
  .has-dropdown:focus-within .service-dropdown,
  .has-dropdown.is-open .service-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
}

@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav-actions .nav-cta { display: none; }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-h) + .5rem);
    left: clamp(1.25rem, 4vw, 2.5rem);
    right: clamp(1.25rem, 4vw, 2.5rem);
    max-height: calc(100dvh - var(--header-h) - 1.5rem);
    overflow-y: auto;
    padding: var(--space-4) var(--space-5) var(--space-6);
    background: var(--bg);
    border-radius: 1.4rem;
    box-shadow: var(--sh-out), 0 30px 60px -20px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .site-header.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }

  .nav-links { flex-direction: column; align-items: stretch; gap: .35rem; font-size: var(--fs-base); }
  .nav-links > li > a { display: block; padding: .85rem 1rem; color: var(--text); }
  .has-dropdown { flex-wrap: wrap; }
  .has-dropdown > a { flex: 1; }
  .submenu-toggle { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
  .service-dropdown {
    position: static;
    display: none;
    width: 100%;
    margin: .25rem 0 .5rem;
    padding: .4rem;
    box-shadow: var(--sh-in);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .service-dropdown::before { display: none; }
  .has-dropdown.is-open .service-dropdown { display: block; animation: rise .35s var(--ease) both; }
  .nav-menu .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: var(--space-5); }
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border-radius: 1.1rem;
  border: 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--sh-out-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s, color .2s, background-color .25s;
}
.btn::before { /* light sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 1rem; height: 1rem; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

.btn-primary,
.btn-dark {
  background: var(--brand-btn);
  color: var(--on-brand);
  box-shadow: var(--sh-out-sm), inset 2px 2px 5px rgba(255, 255, 255, .25), inset -3px -3px 8px rgba(0, 0, 0, .22), 0 0 26px -4px var(--brand-glow);
}
.btn-primary:hover,
.btn-dark:hover { box-shadow: var(--sh-out-sm), inset 2px 2px 5px rgba(255, 255, 255, .25), inset -3px -3px 8px rgba(0, 0, 0, .22), 0 0 40px 0 var(--brand-glow); }
.btn-primary:active,
.btn-dark:active { box-shadow: inset 4px 4px 10px rgba(0, 0, 0, .35), inset -2px -2px 6px rgba(255, 255, 255, .15); }

.btn-ghost,
.btn-line { background: var(--bg); color: var(--text); }
.btn-ghost:hover,
.btn-line:hover { color: var(--accent-text); }
.btn-ghost:active,
.btn-line:active { box-shadow: var(--sh-in-sm); }
.btn-block { width: 100%; padding-block: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

/* 5. Hero & page hero ------------------------------------------------------ */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.hero::before,
.page-hero::before { /* soft brand glow */
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -12rem;
  top: -14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 118, 254, .22), transparent 65%);
  pointer-events: none;
  animation: glow-drift 14s ease-in-out infinite alternate;
}
.hero > .container,
.page-hero > .container { position: relative; }

/* Load-in sequence */
.hero-grid > div:first-child > *,
.page-hero > .container > *,
.hero-grid--page > div:first-child > * { animation: rise .9s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(2), .page-hero > .container > :nth-child(2), .hero-grid--page > div:first-child > :nth-child(2) { animation-delay: .1s; }
.hero-grid > div:first-child > :nth-child(3), .page-hero > .container > :nth-child(3), .hero-grid--page > div:first-child > :nth-child(3) { animation-delay: .2s; }
.hero-grid > div:first-child > :nth-child(4), .page-hero > .container > :nth-child(4), .hero-grid--page > div:first-child > :nth-child(4) { animation-delay: .3s; }
.hero-grid > div:first-child > :nth-child(5), .page-hero > .container > :nth-child(5) { animation-delay: .4s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: .45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--sh-in-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(54, 118, 254, .2), 0 0 10px var(--brand);
  animation: pulse 2.4s infinite;
}

.hero h1 { font-size: var(--fs-hero); line-height: .98; font-weight: 900; text-transform: uppercase; margin-block: var(--space-6); }
.page-hero h1 { margin-block: var(--space-5); max-width: 22ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1,
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }

.hl { color: var(--brand); text-shadow: 0 0 34px rgba(54, 118, 254, .45); }
.hero .hl { display: inline-block; animation: hl-glow 3.2s ease-in-out 1.2s infinite; }
.stroke { -webkit-text-stroke: 2px var(--text); color: transparent; }
h1 u { color: var(--brand); text-decoration: none; text-shadow: 0 0 30px rgba(54, 118, 254, .4); }

.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 40rem; }

.hero-grid { display: grid; gap: clamp(var(--space-10), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }

.hero-media {
  position: relative;
  overflow: hidden;
  padding: .8rem;
  border-radius: 2rem;
  background: var(--bg);
  box-shadow: var(--sh-out-lg);
  aspect-ratio: 4 / 3;
  animation: pop-in 1s var(--ease) .25s both, float 7s ease-in-out 1.4s infinite;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.4rem; background: #0a0a0a; }
@media (min-width: 900px) { .hero-media { aspect-ratio: 4 / 4.2; } }

.badge-float {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  right: 1.6rem;
  width: fit-content;
  max-width: calc(100% - 3.2rem);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: .7rem 1rem;
  background: rgba(20, 23, 29, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f3f5f9;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  font-size: var(--fs-xs);
  line-height: 1.4;
  animation: slide-in .8s var(--spring) 1s both;
}
.badge-float .dot {
  flex: none;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .22);
  animation: pulse-green 2s infinite;
}
.badge-float span { display: block; opacity: .82; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 36rem;
  margin-top: var(--space-10);
}
.stats > div {
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: var(--radius-sm);
  box-shadow: var(--sh-out-sm);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.stats > div:hover { box-shadow: var(--sh-in-sm); }
.stats strong { display: block; font-family: var(--font-display); font-style: italic; font-size: var(--fs-stat); font-weight: 900; line-height: 1.1; color: var(--text); }
.stats span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; display: block; margin-top: var(--space-1); }

/* 6. Marquee --------------------------------------------------------------- */
.marquee {
  width: min(1320px, 100% - 2 * clamp(1.25rem, 4vw, 2.5rem));
  margin: var(--space-4) auto 0;
  border-radius: 999px;
  box-shadow: var(--sh-in);
  overflow: hidden;
  padding-block: var(--space-4);
  -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: scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-group li {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-right: var(--space-8);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1rem + .9vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.marquee-group li::after { content: "✦"; color: var(--brand); font-size: .7em; text-shadow: 0 0 10px var(--brand-glow); }

/* 7. Cards & grids --------------------------------------------------------- */
.grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid > .is-wide { grid-column: span 2; }
}
@media (min-width: 960px) {
  .grid { gap: var(--space-8); }
  .grid--3, .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) { .grid--5 { grid-template-columns: repeat(5, 1fr); } }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--sh-out);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .45s var(--ease), box-shadow .35s;
}
.card::after { /* pointer-follow glow (position set by main.js) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), rgba(54, 118, 254, .12), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: perspective(900px) translateY(-6px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card:hover::after { opacity: 1; }
.card--static { transform: none; }
.card--static:hover { transform: none; }
.card--static::after { display: none; }

.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.card h3 a { transition: color .2s; }
.card:hover h3 a { color: var(--accent-text); }

.card p { font-size: var(--fs-sm); color: var(--muted); }
.card p strong { color: var(--text); }
.card .btn { align-self: flex-start; margin-top: var(--space-2); position: relative; z-index: 1; }
.card-tag {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-stat);
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  text-shadow: 0 0 18px rgba(54, 118, 254, .35);
}
.card-foot {
  margin-top: auto;
  padding: .55rem .85rem;
  border-radius: .75rem;
  box-shadow: var(--sh-in-sm);
  font-size: var(--fs-xs);
  color: var(--faint);
  align-self: flex-start;
}
.card-foot:empty { display: none; }

.card--accent {
  background: var(--brand-btn);
  color: #fff;
  justify-content: center;
  box-shadow: var(--sh-out), inset 3px 3px 8px rgba(255, 255, 255, .2), inset -4px -4px 12px rgba(0, 0, 0, .25), 0 0 40px -10px var(--brand-glow);
}
.card--accent::after { background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 60%); }
.card--accent p, .card--accent li { color: rgba(255, 255, 255, .88); }
.card--accent h3 a, .card--accent:hover h3 a { color: #fff; }
.card--accent .btn-dark { background: #fff; color: var(--brand-btn); box-shadow: 4px 4px 12px rgba(0, 0, 0, .25); }
.card--accent .btn-dark:hover { box-shadow: 6px 6px 18px rgba(0, 0, 0, .3), 0 0 24px rgba(255, 255, 255, .35); }

.icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--bg);
  box-shadow: var(--sh-in-sm);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  transition: background-color .35s, color .35s, box-shadow .35s, transform .5s var(--spring);
}
.icon-box svg { width: 1.4rem; height: 1.4rem; }
.card:hover .icon-box { background: var(--brand); color: #fff; box-shadow: 0 0 24px var(--brand-glow); transform: rotate(-8deg) scale(1.06); }
.card--accent .icon-box,
.card--accent:hover .icon-box { background: #fff; color: var(--brand-btn); box-shadow: 4px 4px 10px rgba(0, 0, 0, .2); }

.card-index {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--faint);
  opacity: .5;
}
.card--accent .card-index { color: #fff; opacity: .6; }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); }
.chips li, .chip {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  padding: .3rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg);
  box-shadow: var(--sh-in-sm);
}
.card--accent .chips li { background: rgba(255, 255, 255, .14); box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .18); color: #fff; }
.chips--solid li, .chips--solid .chip { box-shadow: var(--sh-out-sm); color: var(--text); font-weight: 700; }

/* Icon list rows (checklist panels) */
.check-list { display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.check-list svg {
  width: 1.5rem;
  height: 1.5rem;
  padding: .3rem;
  flex: none;
  margin-top: .05rem;
  border-radius: .5rem;
  box-shadow: var(--sh-in-sm);
  color: var(--accent-text);
  stroke-width: 3;
}
.check-list b { display: block; font-weight: 700; }
.check-list small { display: block; font-size: var(--fs-xs); color: var(--muted); }

/* 8. Section heads --------------------------------------------------------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-8);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-head h2 { margin-top: var(--space-4); max-width: 24ch; }
.section-head > p { max-width: 28rem; color: var(--muted); }
.section-head--stack { display: block; max-width: 46rem; }
.section-head--stack > p { margin-top: var(--space-4); max-width: none; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center h2 { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }

.rule {
  width: 4rem;
  height: 6px;
  border-radius: 6px;
  background: var(--brand);
  box-shadow: 0 0 14px var(--brand-glow);
  margin-top: var(--space-5);
}
.prose > * + * { margin-top: var(--space-4); }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--text); }
.link-arrow { color: var(--accent-text); font-weight: 700; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: .2em; }

/* 9. Work, process, quotes, FAQ ------------------------------------------- */
.work-grid { display: grid; gap: var(--space-8); }
.work-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 16rem;
  padding: .7rem;
  border-radius: 1.75rem;
  background: var(--bg);
  box-shadow: var(--sh-out);
  aspect-ratio: 4 / 3;
  transition: transform .45s var(--ease), box-shadow .35s;
}
.work-tile:hover { transform: translateY(-6px); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.2rem; transition: transform .8s var(--ease), filter .5s; }
.work-tile--top img { object-position: center 30%; }
.work-tile:hover img { transform: scale(1.05); }
.work-meta {
  position: absolute;
  inset: auto .7rem .7rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-5) var(--space-5);
  border-radius: 0 0 1.2rem 1.2rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 10, 14, .9));
  transition: padding-bottom .4s var(--ease);
}
.work-tile:hover .work-meta { padding-bottom: var(--space-6); }
.work-meta small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8db3ff; }
.work-meta h3 { margin-top: var(--space-1); }
.work-arrow {
  flex: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-btn);
  color: #fff;
  box-shadow: 0 0 22px var(--brand-glow);
  transition: transform .45s var(--spring);
}
.work-arrow svg { width: 1.05rem; height: 1.05rem; }
.work-tile:hover .work-arrow { transform: rotate(-45deg) scale(1.08); }

@media (min-width: 800px) {
  /* Row 1: wide + narrow. Row 2: narrow + wide. */
  .work-grid { grid-template-columns: repeat(12, 1fr); }
  .work-tile { aspect-ratio: auto; height: clamp(18rem, 32vw, 27rem); }
  .work-tile:nth-child(odd) { grid-column: span 7; }
  .work-tile:nth-child(even) { grid-column: span 5; }
  .work-tile:nth-child(3) { grid-column: span 5; }
  .work-tile:nth-child(4) { grid-column: span 7; }
}

.process { display: grid; gap: var(--space-8); counter-reset: step; }
@media (min-width: 560px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--sh-out);
  transition: transform .4s var(--ease);
}
.step:hover { transform: translateY(-6px); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  box-shadow: var(--sh-in-sm);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-text);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.step:hover::before { background: var(--brand); color: #fff; box-shadow: 0 0 22px var(--brand-glow); }
.step::after {
  content: "";
  position: absolute;
  left: var(--space-6);
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
  transition: width 1s var(--ease) .3s;
}
.step.is-visible::after, .no-reveal .step::after { width: calc(100% - 3rem); }
.step p { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--muted); }

.quote { gap: var(--space-5); padding: var(--space-8) var(--space-6); }
.quote::before {
  content: "\201C";
  position: absolute;
  top: .6rem;
  right: 1.4rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--brand);
  opacity: .25;
}
.quote .stars { color: #f5b301; letter-spacing: .15em; font-size: var(--fs-sm); }
.quote blockquote { font-size: var(--fs-base); color: var(--text); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-sm); font-weight: 700; }
.avatar {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  box-shadow: var(--sh-in-sm);
  color: var(--accent-text);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-xs);
  font-weight: 900;
}

.faq-layout { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: var(--space-16); } }
.faq-intro h2 { margin-top: var(--space-4); }
.faq-intro p { margin-top: var(--space-4); }
.faq-list { max-width: 52rem; display: grid; gap: var(--space-4); }
.faq-layout .faq-list { max-width: none; }
.faq-list--center { margin-inline: auto; }
details {
  padding: var(--space-4) var(--space-5);
  border-radius: 1.1rem;
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  transition: box-shadow .35s;
}
details[open] { box-shadow: var(--sh-in); }
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1.45;
  min-height: 2.4rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  box-shadow: var(--sh-out-sm);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-text);
  transition: transform .35s var(--spring), background-color .3s, color .3s, box-shadow .3s;
}
details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; box-shadow: 0 0 16px var(--brand-glow); }
details p { margin-top: var(--space-3); max-width: 62ch; font-size: var(--fs-sm); color: var(--muted); }
details[open] p { animation: rise .45s var(--ease) both; }

/* 10. CTA band & forms ----------------------------------------------------- */
.cta-band {
  display: grid;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  align-items: center;
  padding: clamp(var(--space-8), 6vw, 5rem);
  background: radial-gradient(36rem 18rem at 50% -4rem, rgba(54, 118, 254, .28), transparent 70%), var(--bg);
  color: var(--text);
  border-radius: 2.25rem;
  box-shadow: var(--sh-out-lg);
  position: relative;
  overflow: hidden;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-top: var(--space-4); }
.cta-band p { color: var(--muted); margin-top: var(--space-4); max-width: 40rem; }
.cta-band .btn-row { margin-top: var(--space-6); }
.cta-band--center { text-align: center; justify-items: center; }
.cta-band--center p { margin-inline: auto; }
.cta-band--center .btn-row { justify-content: center; }
@media (min-width: 900px) { .cta-band:not(.cta-band--center) { grid-template-columns: 1fr 1fr; } }

.contact-layout { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 5fr 7fr; } }

.contact-links { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--sh-out-sm);
  transition: box-shadow .3s, transform .3s var(--ease);
}
a.contact-link:hover { transform: translateX(4px); }
a.contact-link:active { box-shadow: var(--sh-in-sm); }
.contact-link > svg {
  width: 2.6rem;
  height: 2.6rem;
  padding: .65rem;
  flex: none;
  border-radius: .8rem;
  box-shadow: var(--sh-in-sm);
  color: var(--accent-text);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
a.contact-link:hover > svg { background: var(--brand); color: #fff; box-shadow: 0 0 18px var(--brand-glow); }
.contact-link b { display: block; font-size: var(--fs-sm); }
.contact-link small { display: block; font-size: var(--fs-xs); color: var(--muted); overflow-wrap: anywhere; }

.form-card {
  padding: clamp(var(--space-5), 4vw, var(--space-10));
  background: var(--bg);
  border-radius: 1.75rem;
  box-shadow: var(--sh-out-lg);
}
.form-card > h2, .form-card > h3 { margin-bottom: var(--space-5); }

.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field label { display: block; margin-bottom: var(--space-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .75rem 1.1rem;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: var(--sh-in);
  font-size: 1rem; /* 16px minimum prevents iOS zoom-on-focus */
  transition: border-color .25s, box-shadow .25s;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .38rem .38rem; background-repeat: no-repeat; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--sh-in), 0 0 0 4px rgba(54, 118, 254, .2);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); animation: shake .4s; }
.field-error { margin-top: var(--space-1); font-size: var(--fs-xs); font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-status { min-height: 1.4em; font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.form-status.is-ok { color: var(--accent-text); }
.form-status.is-error { color: var(--danger); }
.form-note { font-size: var(--fs-xs); color: var(--faint); text-align: center; }

.btn.is-loading { color: transparent; }
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: spin .7s linear infinite;
}

/* 11. About & service pages ------------------------------------------------ */
.founder { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: .8fr 1.2fr; } }
.founder-photo {
  position: relative;
  overflow: hidden;
  max-width: 26rem;
  width: 100%;
  margin-inline: auto;
  padding: .8rem;
  border-radius: 2rem;
  background: var(--bg);
  box-shadow: var(--sh-out-lg);
  aspect-ratio: 4 / 5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 1.4rem; }
.founder-info { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--bg); border-radius: var(--radius); box-shadow: var(--sh-in); }
.founder-info small, .label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.founder-info p, .founder-info strong { font-size: var(--fs-sm); }
.founder-info .grid { gap: var(--space-4); }

.list-rows { display: grid; gap: var(--space-4); }
.list-row {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.list-row:hover { box-shadow: var(--sh-in-sm); transform: translateX(4px); }
.list-row p { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--space-1); }
.list-row .chip { justify-self: start; }
@media (min-width: 720px) { .list-row { grid-template-columns: 1fr auto; align-items: center; gap: var(--space-8); } }

.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: var(--space-8); font-size: var(--fs-xs); font-weight: 600; }
.trust li { display: flex; gap: var(--space-2); align-items: center; padding: .6rem .75rem; border-radius: .85rem; box-shadow: var(--sh-out-sm); }
.trust svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--accent-text); stroke-width: 3; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.panel {
  padding: var(--space-6);
  background: var(--bg);
  border-radius: 1.75rem;
  box-shadow: var(--sh-out-lg);
  animation: pop-in 1s var(--ease) .3s both;
}
.panel-bar { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); }
.panel-dots { display: flex; gap: .4rem; }
.panel-dots i { width: .7rem; height: .7rem; border-radius: 50%; box-shadow: var(--sh-in-sm); }
.panel-dots i:first-child { background: var(--brand); box-shadow: 0 0 10px var(--brand-glow); }
.panel-title { flex: 1; min-width: 0; padding: .45rem 1rem; border-radius: 999px; box-shadow: var(--sh-in-sm); font-size: var(--fs-xs); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-5); padding: var(--space-4); border-radius: var(--radius-sm); box-shadow: var(--sh-in-sm); font-size: var(--fs-xs); color: var(--muted); }
.panel-foot b { display: block; color: var(--text); font-size: var(--fs-sm); }
.panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); text-align: center; }
.panel-stats > div { padding: var(--space-4) var(--space-2); border-radius: var(--radius-sm); box-shadow: var(--sh-out-sm); }
.panel-stats strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: var(--fs-stat); line-height: 1.1; color: var(--brand); }
.panel-stats span { font-size: var(--fs-xs); color: var(--muted); }
.panel-visual { position: relative; overflow: hidden; margin-bottom: var(--space-5); border-radius: var(--radius-sm); aspect-ratio: 16 / 10; box-shadow: var(--sh-in); background: radial-gradient(circle at 70% 20%, rgba(54, 118, 254, .3), transparent 60%), var(--bg); }
.panel-visual img { width: 100%; height: 100%; object-fit: cover; }

.area-box { padding: var(--space-8) var(--space-6); background: var(--bg); border-radius: var(--radius); box-shadow: var(--sh-out-lg); }
.area-box h3 { margin-block: var(--space-4) var(--space-3); font-size: var(--fs-h3); }
.area-box p { margin-bottom: var(--space-5); font-size: var(--fs-sm); color: var(--muted); }
.area-box .btn { width: 100%; }
.area-box .btn + .btn { margin-top: var(--space-4); }

.work-card { padding: .7rem; overflow: hidden; gap: 0; }
.work-card-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 1.1rem; box-shadow: var(--sh-in); background: radial-gradient(circle at 70% 20%, rgba(54, 118, 254, .3), transparent 60%), var(--bg); }
.work-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card-visual img { transform: scale(1.06); }
.work-card-tag { position: absolute; left: var(--space-3); top: var(--space-3); z-index: 1; padding: .25rem .7rem; border-radius: .6rem; background: var(--brand-btn); color: #fff; font-size: var(--fs-xs); font-weight: 700; box-shadow: 0 0 16px var(--brand-glow); }
.work-card-body { display: flex; flex-direction: column; flex: 1; gap: var(--space-2); padding: var(--space-5) var(--space-4) var(--space-4); }

.callout { padding: var(--space-8) var(--space-6); background: var(--bg); border-radius: var(--radius); box-shadow: var(--sh-in); position: relative; }
.callout::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 4px; border-radius: 4px; background: var(--brand); box-shadow: 0 0 12px var(--brand-glow); }
.callout h3 { margin-bottom: var(--space-2); }
.callout p { font-size: var(--fs-sm); color: var(--muted); }

.thank-you { min-height: 100dvh; display: grid; place-items: center; padding: calc(var(--header-h) + 2rem) 1.25rem 3rem; }
.thank-you-card { width: min(100%, 34rem); padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 3rem); text-align: center; background: var(--bg); border-radius: 2rem; box-shadow: var(--sh-out-lg); animation: pop-in .9s var(--ease) both; }
.tick { width: 5rem; height: 5rem; margin: 0 auto var(--space-6); display: grid; place-items: center; border-radius: 50%; background: var(--brand-btn); color: #fff; box-shadow: var(--sh-out), 0 0 30px var(--brand-glow); animation: pop-in .7s var(--spring) .3s both; }
.tick svg { width: 2.4rem; height: 2.4rem; stroke-width: 3; }
.thank-you-card h1 { font-size: var(--fs-h1); margin-bottom: var(--space-3); }
.thank-you-card p { color: var(--muted); }
.thank-you-card .note { margin-top: var(--space-5); font-size: var(--fs-sm); }
.thank-you-card .note a { color: var(--accent-text); font-weight: 700; }
.thank-you-card .btn-row { justify-content: center; }

/* Service-page helpers */
.hero-grid--page { margin-top: var(--space-4); }
@media (min-width: 900px) { .hero-grid--page { grid-template-columns: 1.15fr .85fr; } }
.grid > .is-full { grid-column: 1 / -1; }
.card--highlight { box-shadow: var(--sh-out), 0 0 0 2px var(--brand), 0 0 30px -6px var(--brand-glow); }
.chips--spaced { margin-top: var(--space-5); }
.extra-note { margin-top: var(--space-4); font-size: var(--fs-sm); }
.lead--center { margin-inline: auto; margin-top: var(--space-4); }
.btn-row--center { justify-content: center; }
.section-head--stack.section-head--center { margin-inline: auto; }
.section-head--center .rule { margin-inline: auto; }

/* About-page helpers */
.hero-cards { margin-top: var(--space-10); }
.card-title { font-family: var(--font-body); font-style: normal; font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.heading-gap { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.block-top { margin-top: clamp(var(--space-8), 4vw, var(--space-12)); }
.icon-box--letter { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.2rem; }

/* 12. Footer, utilities, motion -------------------------------------------- */
.site-footer {
  --bg: #111317;
  --hi: #1b1e25;
  --lo: #060708;
  margin-top: var(--section-y);
  padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0 var(--space-6);
  background: var(--bg);
  color: #a9b1bf;
  box-shadow: inset 0 18px 30px -20px #000;
}
.site-footer .brand { color: #f3f5f9; }
.site-footer .brand img { width: 2.9rem; height: 2.9rem; }
.footer-grid { display: grid; gap: var(--space-10) var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr .9fr 1.2fr 1.2fr; gap: var(--space-12); } }
.footer-brand .brand { margin-bottom: var(--space-5); }
.footer-brand p { max-width: 24rem; font-size: var(--fs-sm); line-height: 1.8; color: #98a1b0; }
.footer-title { margin-bottom: var(--space-4); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #f3f5f9; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .75rem; }
.footer-links a, .footer-contact a, .footer-contact span { font-size: var(--fs-sm); color: #a1a9b7; overflow-wrap: anywhere; }
.footer-links a { display: inline-flex; align-items: center; transition: color .2s; }
.footer-links a::before { content: ""; width: 0; height: 2px; margin-right: 0; border-radius: 2px; background: var(--brand); transition: width .25s var(--ease), margin-right .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: .8rem; margin-right: .5rem; }
.footer-contact a:hover { color: #8db3ff; }
.footer-contact b { color: #dfe4ec; font-weight: 700; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-12);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  box-shadow: var(--sh-in-sm);
  font-size: var(--fs-xs);
  color: #8f98a7;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Scroll reveal: hidden until main.js marks it visible; --i staggers siblings */
.js .reveal:not(.is-visible) { opacity: 0; }
.js:not(.reveal-ready) .reveal:not(.is-visible) { animation: reveal-failsafe .01s 4s forwards; } /* content never stays hidden if the script fails */
.reveal.is-visible { animation: reveal-up .85s var(--ease) calc(var(--i, 0) * 90ms) backwards; }

/* Keyframes */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes reveal-failsafe { to { opacity: 1; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(20px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes glow-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6rem, 4rem) scale(1.15); } }
@keyframes hl-glow { 0%, 100% { text-shadow: 0 0 24px rgba(54, 118, 254, .35); } 50% { text-shadow: 0 0 48px rgba(54, 118, 254, .75); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(54, 118, 254, 0), 0 0 14px var(--brand); } }
@keyframes pulse-green { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-visible) { opacity: 1; }
  .step::after { width: calc(100% - 3rem); }
}

/* 13. Home hero console ---------------------------------------------------- */
.hero-console {
  position: relative;
  width: 100%;
  max-width: 30rem;
  justify-self: center;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 2.25rem;
  background: var(--bg);
  box-shadow: var(--sh-out-lg);
  animation: pop-in 1s var(--ease) .25s both, float 8s ease-in-out 1.6s infinite;
}
.hc-top { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.5rem); }
.hc-dial {
  position: relative;
  flex: none;
  width: clamp(8.5rem, 14vw, 11rem);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--sh-out);
  display: grid;
  place-items: center;
}
.hc-dial::before { /* rotating light arc */
  content: "";
  position: absolute;
  inset: .4rem;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(54, 118, 254, .2) 75%, var(--brand) 96%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 6px var(--brand));
  animation: spin 4.5s linear infinite;
}
.hc-dial-in {
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--sh-in);
  display: grid;
  place-items: center;
}
.hc-dial-in img {
  width: 68%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 34px var(--brand-glow);
  animation: logo-breathe 4s ease-in-out 1.4s infinite;
}
.hc-dial:hover .hc-dial-in img { animation-play-state: paused; transform: rotate(120deg); transition: transform .8s var(--spring); }
.hc-stats { flex: 1; min-width: 0; display: grid; gap: 1rem; }
.hc-stat { padding: .85rem 1.1rem; border-radius: 1rem; box-shadow: var(--sh-out-sm); transition: box-shadow .3s; }
.hc-stat:hover { box-shadow: var(--sh-in-sm); }
.hc-stat strong { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); line-height: 1.1; }
.hc-stat b { color: var(--brand); }
.hc-stat span { display: block; margin-top: .15rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; }

.hc-toggles { padding: .35rem 1.25rem; border-radius: 1.4rem; box-shadow: var(--sh-in); }
.hc-toggles li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; font-size: var(--fs-sm); font-weight: 700; }
.hc-switch {
  position: relative;
  flex: none;
  width: 3.4rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--sh-in-sm);
  animation: switch-track .45s var(--ease) both;
}
.hc-switch::after {
  content: "";
  position: absolute;
  top: .25rem;
  left: .25rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .3);
  animation: switch-knob .5s var(--spring) both;
}
.hc-toggles li:nth-child(1) .hc-switch, .hc-toggles li:nth-child(1) .hc-switch::after { animation-delay: 1.3s; }
.hc-toggles li:nth-child(2) .hc-switch, .hc-toggles li:nth-child(2) .hc-switch::after { animation-delay: 1.65s; }
.hc-toggles li:nth-child(3) .hc-switch, .hc-toggles li:nth-child(3) .hc-switch::after { animation-delay: 2s; }

.hc-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.hc-pills li {
  min-height: 3.1rem;
  display: grid;
  place-items: center;
  padding: .4rem;
  border-radius: 1rem;
  box-shadow: var(--sh-out-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  transition: box-shadow .3s, color .3s;
}
.hc-pills li:hover, .hc-pills .is-on { box-shadow: var(--sh-in-sm); color: var(--accent-text); }

.hero-console { margin-bottom: 1.5rem; }
.hero-console .badge-float { left: 0; right: 0; margin-inline: auto; top: auto; bottom: -1.6rem; max-width: calc(100% - 2.5rem); }

/* 14. Floating WhatsApp button --------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 6rem;
  z-index: 70;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 6px 6px 16px var(--lo), -4px -4px 12px var(--hi), 0 0 24px rgba(37, 211, 102, .45);
  animation: pop-in .6s var(--spring) 1.2s backwards;
  transition: transform .25s var(--ease), opacity .25s;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.4s ease-out infinite;
  pointer-events: none;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.9rem; height: 1.9rem; }
.wa-label {
  position: absolute;
  right: calc(100% + .75rem);
  white-space: nowrap;
  padding: .45rem .8rem;
  border-radius: .7rem;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--sh-out-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s, transform .25s var(--ease);
  pointer-events: none;
}
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }
body:has(.chatbot.is-open) .wa-float { opacity: 0; pointer-events: none; }

/* 15. Chat assistant ------------------------------------------------------- */
.chatbot { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 71; font-family: var(--font-body); }
.cb-launcher {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--brand-btn);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 6px 6px 16px var(--lo), -4px -4px 12px var(--hi), 0 0 26px var(--brand-glow), inset 2px 2px 5px rgba(255, 255, 255, .25);
  animation: pop-in .6s var(--spring) 1s backwards;
  transition: transform .25s var(--ease);
}
.cb-launcher:hover { transform: scale(1.06); }
.cb-launcher:active { transform: scale(.95); }
.cb-launcher::after { /* online dot */
  content: "";
  position: absolute;
  top: .15rem;
  right: .15rem;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid var(--bg);
  transition: opacity .2s;
}
.chatbot.is-open .cb-launcher::after { opacity: 0; }
.cb-launcher svg { grid-area: 1 / 1; width: 1.5rem; height: 1.5rem; transition: transform .35s var(--spring), opacity .2s; }
.cb-ico-close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.chatbot.is-open .cb-ico-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.chatbot.is-open .cb-ico-close { opacity: 1; transform: none; }

.cb-teaser {
  position: absolute;
  right: 4.25rem;
  bottom: .2rem;
  width: 14.5rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 1rem 1rem .3rem 1rem;
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--sh-out);
  text-align: left;
  font-size: var(--fs-xs);
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.95);
  transform-origin: bottom right;
  transition: opacity .3s, transform .4s var(--spring), visibility .3s;
}
.cb-teaser b { display: block; font-size: var(--fs-sm); }
.cb-teaser span { color: var(--muted); }
.chatbot.show-teaser .cb-teaser { opacity: 1; visibility: visible; transform: none; }

.cb-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 1rem);
  width: min(23.5rem, calc(100vw - 2.5rem));
  height: min(36rem, calc(100dvh - 7.5rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  border-radius: 1.6rem;
  box-shadow: var(--sh-out-lg), 0 30px 60px -20px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .28s, transform .32s var(--ease);
}
.cb-panel[hidden] { display: none; }
.chatbot.is-open .cb-panel { opacity: 1; transform: none; }

.cb-head { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; box-shadow: 0 8px 14px -10px var(--lo); }
.cb-avatar { position: relative; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: var(--sh-out-sm); display: grid; place-items: center; }
.cb-avatar img { width: 2.1rem; height: 2.1rem; border-radius: 50%; }
.cb-avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: .7rem; height: .7rem; border-radius: 50%; background: #34d399; border: 2px solid var(--bg); }
.cb-titles { min-width: 0; line-height: 1.3; }
.cb-titles strong { display: block; font-size: var(--fs-sm); font-weight: 800; }
.cb-status { display: block; font-size: var(--fs-xs); color: var(--muted); }
.cb-close {
  margin-left: auto;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  color: var(--muted);
  display: grid;
  place-items: center;
}
.cb-close:hover { color: var(--accent-text); }
.cb-close:active { box-shadow: var(--sh-in-sm); }
.cb-close svg { width: 1rem; height: 1rem; }

.cb-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem 1rem .6rem; }
.cb-msg { max-width: 86%; animation: msg-in .35s var(--ease) both; }
.cb-msg p { padding: .7rem .95rem; border-radius: 1.1rem; font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.cb-msg--bot p { background: var(--bg); box-shadow: var(--sh-out-sm); border-bottom-left-radius: .35rem; }
.cb-msg--user { align-self: flex-end; }
.cb-msg--user p { background: var(--brand-btn); color: #fff; border-bottom-right-radius: .35rem; box-shadow: 3px 3px 8px var(--lo); }
.cb-link { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.cb-list { display: flex; flex-direction: column; gap: .3rem; margin: .45rem 0; }
.cb-typing { display: flex; gap: .3rem; width: fit-content; padding: .85rem 1rem; border-radius: 1.1rem; border-bottom-left-radius: .35rem; box-shadow: var(--sh-out-sm); }
.cb-typing i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; }
.cb-typing i:nth-child(3) { animation-delay: .3s; }

.cb-chips { display: flex; flex-wrap: wrap; gap: .5rem; max-height: 9rem; overflow-y: auto; padding: .4rem 1rem .8rem; }
.cb-chips:empty { display: none; }
.cb-chip {
  min-height: 2.5rem;
  padding: .45rem .9rem;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--sh-out-sm);
  color: var(--accent-text);
  font-size: .8rem;
  font-weight: 700;
  animation: msg-in .35s var(--ease) both;
  transition: box-shadow .2s;
}
.cb-chip:hover { box-shadow: var(--sh-in-sm); }

.cb-form { display: flex; gap: .6rem; padding: .7rem 1rem .5rem; }
.cb-input {
  flex: 1;
  min-width: 0;
  min-height: 2.9rem;
  padding: .55rem 1.1rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--sh-in);
  font-size: 1rem;
}
.cb-input::placeholder { color: var(--faint); }
.cb-input:focus { outline: none; border-color: var(--brand); }
.cb-send {
  flex: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--brand-btn);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-out-sm), 0 0 18px var(--brand-glow);
  transition: transform .2s;
}
.cb-send:active { transform: scale(.92); }
.cb-send svg { width: 1.1rem; height: 1.1rem; }
.cb-foot { padding: 0 1rem .85rem; font-size: .75rem; color: var(--faint); text-align: center; }

@media (max-width: 560px) {
  .chatbot { right: 1rem; bottom: 1rem; }
  .wa-float { right: 1rem; bottom: 5.5rem; width: 3.25rem; height: 3.25rem; }
  .wa-label { display: none; }
  .cb-launcher { width: 3.25rem; height: 3.25rem; }
  .cb-panel { position: fixed; left: .75rem; right: .75rem; bottom: 5rem; width: auto; height: min(72dvh, 34rem); }
  .cb-teaser { width: 12.5rem; right: 4rem; }
}

@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes switch-track { to { background: var(--brand-btn); box-shadow: inset 3px 3px 6px rgba(0, 0, 0, .3), 0 0 16px var(--brand-glow); } }
@keyframes switch-knob { to { transform: translateX(1.5rem); } }
@keyframes logo-breathe { 50% { box-shadow: 0 0 52px rgba(54, 118, 254, .75); transform: scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
  .hc-switch { background: var(--brand-btn); }
  .hc-switch::after { transform: translateX(1.5rem); }
}
