/* ==========================================================================
   Aquarithm — style.css
   Dark, premium, teal-accent design system. Plain CSS, no build step.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Header · 6 Hero
             7 Process · 8 Services · 9 Compare · 10 Promise · 11 How/Chat
             12 Includes · 13 About · 14 Work · 15 Team · 16 FAQ · 17 CTA
             18 Footer · 19 Subpages · 20 Form · 21 Motion · 22 Responsive
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --bg: #070A0B;
  --surface: #101719;
  --card: #131D20;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #20F2D6;
  --accent-2: #12CDB8;
  --text: #F4F7F7;
  --muted: #A7B3B5;
  --accent-soft: rgba(32, 242, 214, 0.1);
  --accent-line: rgba(32, 242, 214, 0.35);

  --font-head: 'Sora', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
p { color: var(--muted); }
::selection { background: var(--accent); color: #04201C; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #04201C; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* 3. LAYOUT ------------------------------------------------------------- */
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 132px); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg), var(--surface) 12%, var(--surface) 88%, var(--bg)); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 0.74rem/1.3 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); flex: none; }

/* subtle grain used on hero and CTA */
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* 4. BUTTONS ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.96rem/1 var(--font-body); white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #04201C; box-shadow: 0 0 0 0 rgba(32, 242, 214, 0); }
.btn-primary:hover { background: #4ff6df; box-shadow: 0 10px 40px -8px rgba(32, 242, 214, 0.55); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.btn-sm { padding: 12px 20px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; transition: gap 0.25s var(--ease); }
.link-arrow:hover { gap: 14px; }

/* 5. HEADER ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.nav-open .site-header {
  background: rgba(7, 10, 11, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.4rem/1 var(--font-head); letter-spacing: -0.03em; position: relative; z-index: 2; }
.logo-wave { width: 30px; height: 18px; color: var(--accent); }
.logo-dot { color: var(--accent); margin-inline: 1px; }
.logo--lg { font-size: 1.7rem; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; display: block; padding: 10px 14px; font-size: 0.93rem; font-weight: 500; color: var(--muted);
  border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); }
.nav-links a[aria-current='page']::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent);
}

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 6. HERO --------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(32, 242, 214, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(18, 205, 184, 0.09), transparent 70%),
    var(--bg);
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; color: var(--accent); opacity: 0.55; }
.hero-lines path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-lines .dash { stroke-dasharray: 4 14; animation: dash 38s linear infinite; opacity: 0.6; }
.hero-lines .solid { opacity: 0.18; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-sub { margin-top: 22px; font: 600 clamp(1.15rem, 2.2vw, 1.6rem)/1.3 var(--font-head); color: var(--text); letter-spacing: -0.01em; }
.hero-copy .lead { margin-top: 18px; max-width: 54ch; }
.hero-copy .btn-row { margin-top: 36px; }
.trust { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--text); }
.trust .ic { color: var(--accent); }

/* abstract video-frame stage (decorative) */
.hero-stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1.05; margin-inline: auto; }
.frame {
  position: absolute; border: 1px solid var(--accent-line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(32, 242, 214, 0.14), rgba(19, 29, 32, 0.75) 55%);
  backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  display: flex; flex-direction: column; animation: float 9s ease-in-out infinite;
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.frame-bar span { margin-left: auto; }
.frame-body { flex: 1; position: relative; display: grid; place-items: center; }
.frame-body::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 40%, rgba(32, 242, 214, 0.22), transparent 70%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 22px);
}
.play { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent-line); background: rgba(7, 10, 11, 0.5); }
.play::after { content: ''; position: absolute; left: 18px; top: 14px; border-left: 12px solid var(--accent); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.timeline { height: 3px; margin: 0 12px 12px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; position: relative; overflow: hidden; }
.timeline b { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--accent); border-radius: 3px; animation: scrub 6s ease-in-out infinite alternate; }
.f-vert { left: 2%; top: 8%; width: 36%; aspect-ratio: 9 / 16; animation-delay: -2s; z-index: 2; }
.f-wide { right: 0; top: 0; width: 66%; aspect-ratio: 16 / 10; animation-delay: -5s; }
.f-square { right: 6%; bottom: 3%; width: 50%; aspect-ratio: 1 / 1; animation-delay: -7s; z-index: 3; }
.chip {
  position: absolute; z-index: 4; padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: rgba(7, 10, 11, 0.85); border: 1px solid var(--accent-line); color: var(--text); animation: float 7s ease-in-out infinite;
}
.c1 { left: 0; bottom: 20%; animation-delay: -1s; }
.c2 { left: 24%; top: -5%; animation-delay: -3s; }
.c3 { right: 0; top: 41%; animation-delay: -4s; }
.c4 { left: 14%; bottom: 3%; animation-delay: -2s; }

/* 7. PROCESS ------------------------------------------------------------ */
.process-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.flow { position: relative; display: grid; gap: 20px; }
.flow::before { content: ''; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(var(--accent-line), var(--border)); }
.flow-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); transition: border-color 0.3s, transform 0.3s var(--ease); }
.flow-step:hover { border-color: var(--accent-line); transform: translateX(4px); }
.flow-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--accent-line); color: var(--accent); position: relative; z-index: 1; }
.flow-icon .ic { width: 28px; height: 28px; }
.flow-step h3 { margin: 4px 0 8px; }
.flow-step p { font-size: 0.98rem; }
.flow-label { font: 600 0.7rem var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }

/* 8. SERVICES ----------------------------------------------------------- */
.cards-4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), #0e1517); border: 1px solid var(--border); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.svc-card::before { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(32, 242, 214, 0.16), transparent 70%); opacity: 0; transition: opacity 0.4s; }
.svc-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.svc-card:hover::before { opacity: 1; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.svc-icon .ic { width: 24px; height: 24px; }
.badge { font: 600 0.68rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.svc-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 18px; }
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.98rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 12px; height: 1px; background: var(--accent); }
.ticks li::after { content: ''; position: absolute; left: 0; top: calc(0.62em - 2px); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.svc-for { margin-top: auto; padding-top: 22px; }
.svc-for p { padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.92rem; }
.svc-for strong { color: var(--text); font-weight: 600; }
.center-cta { margin-top: 44px; display: flex; justify-content: center; }

/* 9. COMPARE ------------------------------------------------------------ */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.compare th, .compare td { padding: 22px 28px; text-align: left; vertical-align: top; }
.compare thead th { font: 600 0.74rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.compare thead th:last-child { color: var(--accent); }
.compare tbody td { border-top: 1px solid var(--border); }
.compare td:first-child { width: 42%; color: var(--muted); }
.compare td:last-child { color: var(--text); font-weight: 500; background: linear-gradient(90deg, rgba(32, 242, 214, 0.07), transparent 80%); }

/* 10. PROMISE ----------------------------------------------------------- */
.promise { position: relative; padding: clamp(36px, 6vw, 72px); border-radius: 28px; border: 1px solid var(--accent); text-align: center; overflow: hidden; background: radial-gradient(60% 90% at 50% 0%, rgba(32, 242, 214, 0.12), transparent 70%), var(--bg); box-shadow: 0 0 80px -30px rgba(32, 242, 214, 0.45), inset 0 0 0 6px rgba(32, 242, 214, 0.04); }
.promise-icon { width: 60px; height: 60px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); }
.promise-icon .ic { width: 28px; height: 28px; }
.promise h2 { margin-bottom: 20px; }
.promise-text { font: 600 clamp(1.25rem, 2.6vw, 2rem)/1.35 var(--font-head); color: var(--text); letter-spacing: -0.015em; max-width: 30ch; margin-inline: auto; }
.promise small { display: block; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }

/* 11. HOW IT WORKS + CHAT MOCKUP --------------------------------------- */
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); transition: border-color 0.3s; }
.step:hover { border-color: var(--accent-line); }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1.2rem var(--font-head); color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); }
.step h3 { margin-bottom: 8px; }

.phone { max-width: 380px; margin-inline: auto; background: linear-gradient(180deg, #0e1618, #0a1012); border: 1px solid var(--border); border-radius: 38px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 0 90px -30px rgba(32, 242, 214, 0.25); }
.phone-bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; border-bottom: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #04201C; font: 800 1.05rem var(--font-head); }
.phone-name { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.phone-sub { font-size: 0.74rem; color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 18px 6px 8px; }
.msg { max-width: 88%; padding: 10px 14px 8px; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; color: var(--text); }
.msg.in { align-self: flex-start; background: var(--card); border: 1px solid var(--border); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: rgba(32, 242, 214, 0.14); border: 1px solid rgba(32, 242, 214, 0.3); border-top-right-radius: 4px; }
.msg time { display: block; margin-top: 4px; text-align: right; font-size: 0.66rem; color: var(--muted); }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; }
.pill { flex: 1; text-align: center; padding: 8px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--accent-line); color: var(--accent); }
.pill.solid { background: var(--accent); color: #04201C; border-color: var(--accent); }
.voice { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.voice-play { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); flex: none; position: relative; }
.voice-play::after { content: ''; position: absolute; left: 11px; top: 8px; border-left: 8px solid #04201C; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.bars { display: flex; align-items: center; gap: 2px; height: 24px; flex: 1; }
.bars i { width: 3px; height: var(--h); border-radius: 2px; background: rgba(32, 242, 214, 0.75); }
.voice-time { font-size: 0.72rem; color: var(--muted); }
.mock-note { margin-top: 16px; text-align: center; font-size: 0.78rem; color: var(--muted); }

/* 12. INCLUDES ---------------------------------------------------------- */
.includes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.include { display: flex; align-items: center; gap: 18px; padding: 28px; background: var(--card); transition: background 0.3s; }
.include:hover { background: #172428; }
.include .ic { width: 28px; height: 28px; color: var(--accent); }
.include span { font-weight: 500; color: var(--text); line-height: 1.4; }

/* 13. ABOUT + VISION ---------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-copy { display: grid; gap: 20px; }
.about-copy p { font-size: 1.05rem; }
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stat { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); }
.stat strong { display: block; font: 700 1.5rem/1.1 var(--font-head); color: var(--accent); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--muted); }
.vm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vm-card { padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, var(--card), #0d1315); }
.vm-card .eyebrow { margin-bottom: 20px; }
.vm-card h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; }
.vm-note { max-width: 780px; margin: 40px auto 0; text-align: center; font-size: 1.05rem; }

/* 14. WORK -------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease); }
.work-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.work-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--surface); overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font: 600 0.68rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; background: rgba(7, 10, 11, 0.85); border: 1px solid var(--border); color: var(--muted); }
.tag--concept { color: var(--accent); border-color: var(--accent-line); }
.tag--pilot { background: var(--accent); color: #04201C; border-color: var(--accent); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.work-type { margin-top: 6px; font: 600 0.74rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.work-did { margin-top: 14px; font-size: 0.95rem; }
.work-did strong { color: var(--text); font-weight: 600; }
.watch { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.watch[aria-disabled='true'] { color: var(--muted); cursor: not-allowed; }
.watch .ic { width: 1.1em; height: 1.1em; }
.work-cta { margin-top: 56px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.work-cta h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); }

/* 15. TEAM -------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin-inline: auto; }
.team-card { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); overflow: hidden; transition: border-color 0.3s; }
.team-card:hover { border-color: var(--accent-line); }
.team-photo { aspect-ratio: 4 / 4.2; background: var(--surface); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px 26px 28px; }
.team-role { margin: 4px 0 12px; font: 600 0.74rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.team-note { margin-top: 36px; text-align: center; color: var(--text); font-weight: 500; }

/* 16. FAQ --------------------------------------------------------------- */
.faq-wrap { max-width: 880px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font: 600 clamp(1.02rem, 1.6vw, 1.2rem)/1.4 var(--font-head); letter-spacing: -0.01em; color: var(--text); transition: color 0.2s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #04201C; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--ease), visibility 0.4s; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 26px 4px; font-size: 1.02rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }
html:not(.js) .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* 17. FINAL CTA --------------------------------------------------------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 8vw, 104px) clamp(24px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--accent-line); background: radial-gradient(70% 100% at 50% 0%, rgba(32, 242, 214, 0.2), transparent 70%), var(--surface); }
.cta h2 { font-size: clamp(2.1rem, 5.2vw, 4rem); max-width: 18ch; margin-inline: auto; }
.cta .lead { margin: 22px auto 0; }
.cta .btn-row { margin-top: 36px; justify-content: center; }
.cta-contact { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; color: var(--text); font-weight: 500; }
.cta-contact a, .cta-contact span { display: inline-flex; align-items: center; gap: 10px; }
.cta-contact .ic { color: var(--accent); }
.cta-contact a:hover { color: var(--accent); }

/* 18. FOOTER ------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { margin-top: 16px; max-width: 30ch; }
.footer-col h4 { font: 600 0.74rem var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: var(--muted); transition: color 0.2s; display: inline-flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-col .ic { color: var(--accent); }
.nav-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--accent); }

.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #04201C; box-shadow: 0 12px 34px -6px rgba(32, 242, 214, 0.55); transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.8s ease-out infinite; }

/* 19. SUBPAGES ---------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 88px); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 85% 0%, rgba(32, 242, 214, 0.15), transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-top: 22px; max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }

.svc-detail { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.svc-detail-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 18px 0 14px; }
.svc-detail-head .svc-icon { margin-bottom: 4px; }
.svc-list { display: grid; gap: 16px; }
.svc-item { padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); transition: border-color 0.3s; }
.svc-item:hover { border-color: var(--accent-line); }
.svc-item header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
.time-pill { font: 600 0.72rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.svc-item dl { margin-top: 14px; display: grid; gap: 8px; font-size: 0.95rem; }
.svc-item dt { font: 600 0.7rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.svc-item dd { margin: 0 0 6px; color: var(--text); }

.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stage { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.stage-num { font: 700 0.82rem var(--font-head); color: var(--accent); letter-spacing: 0.1em; }
.stage h3 { margin: 12px 0 16px; }
.stage .ticks li { font-size: 0.93rem; }

.prose { max-width: 780px; margin-inline: auto; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); font-size: 1.02rem; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; list-style: disc; padding-left: 22px; }
.prose .draft-note { margin-top: 24px; padding: 14px 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: var(--radius-sm); color: var(--text); font-size: 0.92rem; }
.prose a { color: var(--accent); }

/* 20. FORM -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 26px; border: 1px solid var(--border); background: var(--card); }
.form-card h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 8px; }
.form { margin-top: 28px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f7c7e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(32, 242, 214, 0.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' stroke='%2320F2D6' stroke-width='1.6' stroke-linecap='round'><path d='M1 1l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff8a8a; }
.form-note { font-size: 0.86rem; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); transition: border-color 0.3s, transform 0.3s var(--ease); }
a.contact-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.contact-card .svc-icon { flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: 0.8rem; }
.contact-card strong { font-weight: 600; font-size: 1.05rem; word-break: break-word; }

/* 21. MOTION ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scrub { from { width: 18%; } to { width: 86%; } }
@keyframes dash { to { stroke-dashoffset: -1000; } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 22. RESPONSIVE -------------------------------------------------------- */
@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
    padding: calc(var(--header-h) + 16px) var(--gutter) 40px; background: rgba(7, 10, 11, 0.98);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 18px 4px; font: 600 1.5rem var(--font-head); color: var(--text); border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a[aria-current='page'] { color: var(--accent); }
  .nav-links a[aria-current='page']::after { display: none; }
  .nav .btn { width: 100%; padding: 18px; }

  .hero { min-height: 0; padding-bottom: 56px; }
  .hero-grid, .process-grid, .about-grid, .contact-grid, .svc-detail { grid-template-columns: 1fr; }
  .hero-stage { max-width: 420px; margin-top: 12px; }
  .svc-detail-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .cards-4, .vm-grid, .team-grid, .work-grid, .stages { grid-template-columns: 1fr; }
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .flow::before { display: none; }
  .flow-step { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .flow-step:hover { transform: none; }
  .step { grid-template-columns: 1fr; gap: 14px; }

  /* comparison table turns into stacked cards */
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare { border: 0; background: none; border-radius: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare tr { margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
  .compare tbody td { border-top: 0; padding: 16px 20px; }
  .compare td:first-child { width: 100%; }
  .compare td:last-child { border-top: 1px solid var(--border); }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 600 0.68rem var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
  .compare td:first-child::before { color: var(--muted); }
  .compare td:last-child::before { color: var(--accent); }

  .faq-a p { padding-right: 8px; }
  .cta { border-radius: 24px; }
  .cta-contact { flex-direction: column; align-items: center; gap: 14px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .includes { grid-template-columns: 1fr; }
  .hero-stage { aspect-ratio: 1 / 1.15; }
  .trust { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .phone { border-radius: 30px; }
  .wa-float { width: 54px; height: 54px; }
}
