/* ==========================================
   OnDiso — 3D scroll-based immersive site
   ========================================== */

:root {
  --bg: #050b0c;
  --bg-2: #07171a;
  --ink: #ecf1f0;
  --ink-dim: #a8b6b3;
  --ink-mute: #6d7c79;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --card: rgba(255,255,255,0.04);
  --card-strong: rgba(255,255,255,0.06);
  --teal: #008374;
  --teal-2: #00b89e;
  --teal-3: #5eead4;
  --teal-soft: #042e2a;
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --maxw: 1240px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ==========================================
   3D BACKDROP
   ========================================== */
#scene-root {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(5,11,12,0.0) 30%, rgba(5,11,12,0.6) 75%, rgba(5,11,12,0.95) 100%);
  pointer-events: none;
}
.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,131,116,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,131,116,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  opacity: 0.5;
}

/* ==========================================
   NAV (Featurebase-inspired)
   ========================================== */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.nav {
  width: 100%;
  max-width: 1180px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 8px 8px 8px 14px;
  background: rgba(7, 23, 26, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 20px 60px -20px rgba(0,0,0,0.7);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 18px;
  white-space: nowrap;
  color: #fff;
}
.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,131,116,0.5));
}
.brand-word { color: #fff; font-weight: 700; }
.brand-tld { color: var(--teal-2); font-weight: 600; }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* Dropdown trigger button */
.nav-dd {
  position: relative;
}
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px 8px 14px;
  border-radius: 999px;
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .2s, background .2s;
  letter-spacing: -0.005em;
}
.nav-dd-trigger svg {
  transition: transform .25s ease;
  opacity: 0.7;
}
.nav-dd:hover .nav-dd-trigger,
.nav-dd.open .nav-dd-trigger {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-dd:hover .nav-dd-trigger svg,
.nav-dd.open .nav-dd-trigger svg {
  transform: rotate(180deg);
}

/* Megamenu panel */
.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 560px;
  background: rgba(10, 22, 24, 0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 80px -20px rgba(0,0,0,0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav-dd:hover .megamenu,
.nav-dd.open .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.megamenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
.mm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mm-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background .2s;
}
.mm-item:hover {
  background: rgba(0,184,158,0.08);
}
.mm-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0,184,158,0.12);
  border: 1px solid rgba(0,184,158,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-2);
  transition: background .2s, border-color .2s;
}
.mm-item:hover .mm-icon {
  background: var(--teal);
  border-color: var(--teal-2);
  color: #fff;
}
.mm-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.mm-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.mm-desc {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.4;
}
.mm-footer {
  margin-top: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mm-foot-text {
  font-size: 12.5px;
  color: var(--ink-dim);
}
.mm-foot-text b { color: #fff; font-weight: 600; }
.mm-foot-link {
  font-size: 12.5px;
  color: var(--teal-2);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mm-foot-link:hover { color: var(--teal-3); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border-color: var(--border-strong);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #00b89e 0%, #008374 100%);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 0 0 1px rgba(0,131,116,0.4),
    0 10px 30px -10px rgba(0,184,158,0.7);
  transition: transform .12s ease, box-shadow .2s ease;
  letter-spacing: -0.005em;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 0 0 1px rgba(0,131,116,0.55),
    0 16px 40px -10px rgba(0,184,158,0.85);
}
.btn-primary.big, .btn-ghost.big {
  padding: 14px 22px;
  font-size: 15px;
}

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 1px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding: 12px;
  background: rgba(14,14,24,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 1180px;
}
.nav-mobile a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink-dim);
  font-weight: 500;
  font-size: 15px;
}
.nav-mobile a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-mobile.open { display: flex; }

/* ==========================================
   SECTIONS — base
   ========================================== */
.section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow.light { color: rgba(255,255,255,0.85); }
.section-title {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 22px;
  color: #fff;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--teal-2);
  letter-spacing: -0.01em;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0 0 18px;
  max-width: 60ch;
}
.lede.narrow { max-width: 56ch; margin-left: auto; margin-right: auto; }
.body { font-size: 16px; color: var(--ink-dim); margin: 0; max-width: 56ch; }
.grad {
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-2) 50%, var(--teal-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head { max-width: 760px; margin-bottom: 70px; }
.section-head.center { text-align: center; margin: 0 auto 70px; }
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 120px;
}
.hero .container { max-width: 1180px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  font-family: var(--mono);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-2);
  box-shadow: 0 0 0 4px rgba(0,184,158,0.22);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,184,158,0.22); }
  50% { box-shadow: 0 0 0 8px rgba(0,184,158,0.06); }
}
.hero-title {
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 28px;
  color: #fff;
  text-wrap: balance;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--teal-2);
  letter-spacing: -0.015em;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 62ch;
  margin: 0 0 36px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.pill span.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-2); display: inline-block; box-shadow: 0 0 0 3px rgba(0,184,158,0.18); }

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--ink-mute), transparent);
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute;
  top: -20px;
  width: 1px;
  height: 20px;
  background: var(--teal-2);
  animation: cueRun 2s ease-in-out infinite;
}
@keyframes cueRun {
  0% { top: -20px; }
  100% { top: 64px; }
}

/* ==========================================
   ABOUT
   ========================================== */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.check-list li:first-child { border-top: 1px solid var(--border); }
.check-list .ch {
  color: var(--teal-2);
  font-family: var(--mono);
  font-weight: 600;
  flex-shrink: 0;
}

/* ==========================================
   SERVICES
   ========================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
  backdrop-filter: blur(8px);
  min-height: 280px;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(0,184,158,0.18), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,184,158,0.35);
}
.card:hover::before { opacity: 1; }
.card.accent {
  background: linear-gradient(180deg, rgba(0,131,116,0.18) 0%, rgba(0,131,116,0.04) 100%);
  border-color: rgba(0,184,158,0.3);
}
.card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-2);
  margin-bottom: 60px;
  letter-spacing: 0.06em;
}
.card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
}
.card p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 18px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-tags span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--ink-dim);
}

/* ==========================================
   WORK / REFERENCES
   ========================================== */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 80px;
}
.ref {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.ref:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ref-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.thumb-mac {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.thumb-mac span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.thumb-mac span:nth-child(1) { background: #ff5f57; }
.thumb-mac span:nth-child(2) { background: #ffbd2e; }
.thumb-mac span:nth-child(3) { background: #28c941; }
.thumb-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.thumb-mark {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.95);
  padding: 8px 14px;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
}
.thumb-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.thumb-1 { background: linear-gradient(135deg, #00b89e 0%, #004d44 100%); }
.thumb-2 { background: linear-gradient(135deg, #5eead4 0%, #0f5e57 100%); }
.thumb-3 { background: linear-gradient(135deg, #008374 0%, #022826 100%); }
.thumb-4 { background: linear-gradient(135deg, #34d399 0%, #064e3b 100%); }
.thumb-5 { background: linear-gradient(135deg, #2dd4bf 0%, #0f3f3a 100%); }
.thumb-6 { background: linear-gradient(135deg, #06b6a4 0%, #044e44 100%); }
.ref-meta { padding: 22px 22px 24px; }
.ref-meta h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.ref-meta p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.ref-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,184,158,0.1);
  border: 1px solid rgba(0,184,158,0.25);
  color: var(--teal-2);
}

/* Testimonials marquee */
.testimonial-marquee {
  position: relative;
  margin: 40px -24px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  animation: marquee 60s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tm {
  flex-shrink: 0;
  width: 380px;
  margin: 0;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.tm p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
}
.tm footer {
  font-size: 13px;
  color: var(--ink-mute);
  border: none;
  padding: 0;
}
.tm footer b { color: var(--ink); font-weight: 600; }

/* ==========================================
   STATS
   ========================================== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,184,158,0.22), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.stat:hover::before { opacity: 1; }
.stat-num {
  font-size: clamp(54px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  font-feature-settings: "tnum";
  display: flex;
  align-items: baseline;
}
.stat-num b {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--teal-2);
  margin-left: 4px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.stat p {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-col { grid-template-columns: 0.9fr 1.2fr; }
.qa {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  transition: padding .2s ease;
}
.qa:first-child { border-top: 1px solid var(--border); }
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.qa-icon::before, .qa-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.qa-icon::before { width: 10px; height: 1.5px; }
.qa-icon::after { width: 1.5px; height: 10px; transition: transform .25s ease; }
.qa[open] .qa-icon { background: var(--teal-2); border-color: var(--teal-2); transform: rotate(180deg); }
.qa[open] .qa-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.qa p {
  margin: 14px 0 0;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,131,116,0.22) 0%, rgba(0,184,158,0.06) 100%);
  backdrop-filter: blur(20px);
}
.contact-left { padding: 56px 48px; }
.contact-left .section-title { font-size: clamp(32px, 4vw, 48px); }
.contact-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 24px;
}
.ci { display: flex; flex-direction: column; gap: 4px; }
.ci-k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ci-v { font-size: 15px; color: #fff; line-height: 1.4; }
.ci-v.link { transition: color .2s; }
.ci-v.link:hover { color: var(--teal-2); }

.contact-form {
  background: rgba(7,7,13,0.5);
  padding: 56px 48px;
  border-left: 1px solid var(--border);
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fields label.full { grid-column: 1 / -1; }
.fields label span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fields input, .fields select, .fields textarea {
  font-family: var(--sans);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.fields input::placeholder, .fields textarea::placeholder { color: var(--ink-mute); }
.fields input:focus, .fields select:focus, .fields textarea:focus {
  border-color: var(--teal-2);
  background: rgba(255,255,255,0.06);
}
.fields select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23a9aac0' stroke-width='1.5' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.fields button { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

.sent { text-align: center; padding: 40px 0; }
.sent-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,184,158,0.15);
  border: 1px solid var(--teal-2);
  color: var(--teal-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.sent h3 { font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.sent p { color: var(--ink-dim); margin: 0; font-size: 14px; }
.sent a { color: var(--teal-2); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  position: relative;
  z-index: 2;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(7,7,13,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.foot-brand .nav-brand.big { font-size: 22px; margin-bottom: 18px; }
.foot-brand p { color: var(--ink-dim); margin: 0 0 6px; font-size: 14px; }
.foot-tag { color: var(--ink-mute) !important; font-family: var(--mono); font-size: 12px !important; margin-top: 14px !important; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.foot-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color .2s;
}
.foot-col a:hover { color: #fff; }
.foot-base {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--mono);
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rv-delay, 0ms);
}
.rv.rv-in {
  opacity: 1;
  transform: translateY(0);
}
.cards .card:nth-child(2) { --rv-delay: 60ms; }
.cards .card:nth-child(3) { --rv-delay: 120ms; }
.cards .card:nth-child(4) { --rv-delay: 180ms; }
.cards .card:nth-child(5) { --rv-delay: 240ms; }
.cards .card:nth-child(6) { --rv-delay: 300ms; }
.ref-grid .ref:nth-child(2) { --rv-delay: 70ms; }
.ref-grid .ref:nth-child(3) { --rv-delay: 140ms; }
.ref-grid .ref:nth-child(4) { --rv-delay: 210ms; }
.ref-grid .ref:nth-child(5) { --rv-delay: 280ms; }
.ref-grid .ref:nth-child(6) { --rv-delay: 350ms; }
.stat-row .stat:nth-child(2) { --rv-delay: 100ms; }
.stat-row .stat:nth-child(3) { --rv-delay: 200ms; }
.stat-row .stat:nth-child(4) { --rv-delay: 300ms; }

.nav.scrolled {
  background: rgba(10, 10, 18, 0.85);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 70px -20px rgba(0,0,0,0.9);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav { grid-template-columns: 1fr auto; }
  .two-col, .faq-col, .contact-card, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .ref-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .contact-left, .contact-form { padding: 36px 28px; }
  .contact-form { border-left: none; border-top: 1px solid var(--border); }
  .section { padding: 90px 0; }
  .hero { padding-top: 140px; }
}
@media (max-width: 620px) {
  .cards, .ref-grid, .stat-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-base { flex-direction: column; gap: 8px; }
}
