/* ============================================================
   Friendly Fugu Limited — Brand Site Stylesheet
   Design: modern minimal × warm tech (hugoinc-inspired)
   Brand palette: teal / deep navy / neon mint (from logo)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors (oklch, perceptually uniform) */
  --teal:        oklch(62% 0.12 195);
  --teal-deep:   oklch(52% 0.11 198);
  --teal-soft:   oklch(93% 0.045 195);
  --navy:        oklch(33% 0.09 252);
  --navy-deep:   oklch(24% 0.06 255);
  --mint:        oklch(83% 0.12 178);
  --mint-soft:   oklch(95% 0.05 170);

  /* Neutrals (tinted toward teal, never pure gray) */
  --bg:          oklch(98.5% 0.008 95);   /* warm cream */
  --bg-card:     oklch(99% 0.006 95);
  --bg-soft:     oklch(96% 0.012 180);    /* cool section alt */
  --ink:         oklch(30% 0.05 252);     /* body text */
  --ink-strong:  oklch(24% 0.06 255);     /* headings */
  --ink-soft:    oklch(45% 0.04 252);     /* secondary text */
  --line:        oklch(90% 0.015 200);

  /* Macaron accents (hugoinc-style pastel cards) */
  --macaron-teal:   oklch(94% 0.045 195);
  --macaron-mint:   oklch(95% 0.06 165);
  --macaron-sand:   oklch(95% 0.045 92);
  --macaron-lilac:  oklch(94% 0.04 285);
  --macaron-peach:  oklch(94% 0.04 35);

  /* Elevation shadows (soft, subtle) */
  --shadow-sm: 0 1px 2px oklch(24% 0.06 255 / 0.06);
  --shadow-md: 0 10px 30px -12px oklch(24% 0.06 255 / 0.18);
  --shadow-lg: 0 24px 60px -20px oklch(24% 0.06 255 / 0.22);

  /* Radius */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Spacing (4pt base) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Type */
  --font-en: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-zh: "Noto Sans SC", "Microsoft YaHei", "PingFang TC", sans-serif;
  --font-body: var(--font-en), var(--font-zh);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 3vw, 2.25rem);
  --text-hero: clamp(2.5rem, 6vw, 4.25rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Language-specific font loading */
html[lang="zh"] body { font-family: var(--font-zh), var(--font-en); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  color: var(--ink-strong);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-en), var(--font-zh);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  min-height: 46px;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--navy-deep);
  color: oklch(97% 0.01 180);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-strong);
  border-color: oklch(78% 0.03 210);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-2px);
}
.btn-ghost:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.btn-light {
  background: oklch(98% 0.01 180);
  color: var(--navy-deep);
}
.btn-light:hover {
  background: var(--mint-soft);
  transform: translateY(-2px);
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--teal-deep);
  color: oklch(97% 0.01 180);
  text-align: center;
  font-size: var(--text-sm);
  padding: var(--sp-2) var(--sp-4);
  letter-spacing: 0.01em;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--bg) 60%, var(--line));
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-strong);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: var(--sp-1);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--teal-deep); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--bg-card);
}
.lang-switch button {
  border: none;
  background: transparent;
  font-family: var(--font-en), var(--font-zh);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--navy-deep);
  color: oklch(97% 0.01 180);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 46px; height: 46px;
  cursor: pointer;
  color: var(--ink-strong);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 7rem) 0 var(--sp-9);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mint-soft), transparent 65%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--macaron-teal), transparent 65%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--macaron-teal);
  border-radius: var(--r-pill);
  padding: 0.45rem 1rem;
  margin-bottom: var(--sp-5);
}
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-deep);
  font-weight: 600;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.hero-cta { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero-note {
  margin-top: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

/* Hero illustration (inline SVG scene) */
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art svg { width: 100%; max-width: 480px; height: auto; }

/* Fugu fish float animation */
@keyframes fuguFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes fuguPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
.fugu-body { animation: fuguFloat 6s ease-in-out infinite; transform-origin: center; }
.fugu-glow { animation: fuguPulse 3.2s ease-in-out infinite; }

/* ---------- Section base ---------- */
.section { padding-block: var(--sp-9); }
.section-alt { background: var(--bg-soft); }
.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-8);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: var(--sp-3);
  display: block;
}
.section-head h2 { font-size: var(--text-2xl); font-weight: 400; margin-bottom: var(--sp-4); }
.section-head h2 strong { font-weight: 700; color: var(--teal-deep); }
.section-head p { color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border: 1px solid var(--line);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card .icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.service-card h3 { font-size: 1.3rem; font-weight: 600; }
.service-card p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.service-card .card-link {
  font-weight: 600;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.95rem;
}
.service-card .card-link:hover { gap: var(--sp-2); }
.service-card .card-link .arrow { transition: transform 0.25s var(--ease-out); }
.service-card .card-link:hover .arrow { transform: translateX(3px); }

/* Card tint variants */
.tint-teal  { background: var(--macaron-teal); }
.tint-mint  { background: var(--macaron-mint); }
.tint-sand  { background: var(--macaron-sand); }
.tint-lilac { background: var(--macaron-lilac); }
.tint-peach { background: var(--macaron-peach); }
.icon-teal   { color: var(--teal-deep); }
.icon-mint   { color: oklch(55% 0.13 175); }
.icon-navy   { color: var(--navy); }
.icon-lilac  { color: oklch(52% 0.13 285); }
.icon-peach  { color: oklch(60% 0.13 35); }

/* ---------- Feature list (alternating) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  padding-block: var(--sp-7);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse .feature-visual { order: 2; }
.feature h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: var(--sp-4); }
.feature p { color: var(--ink-soft); margin-bottom: var(--sp-5); max-width: 50ch; }
.check-list { display: grid; gap: var(--sp-3); }
.check-list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: 0.98rem;
}
.check-list .tick {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--macaron-mint);
  color: oklch(48% 0.12 170);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.feature-visual {
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  display: grid;
  place-items: center;
}
.feature-visual svg { width: 100%; max-width: 380px; height: auto; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy-deep);
  border-radius: var(--r-lg);
  color: oklch(96% 0.015 190);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
  text-align: center;
}
.stat .num {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat .label {
  margin-top: var(--sp-2);
  font-size: var(--text-sm);
  opacity: 0.85;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--macaron-teal);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
  display: inline-block;
  margin-bottom: var(--sp-4);
}
.step h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: var(--sp-2); }
.step p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Logos wall ---------- */
.logo-wall {
  padding-block: var(--sp-8);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-wall p { text-align: center; font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: var(--sp-5); }
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6) var(--sp-8);
  color: var(--ink-soft);
}
.logo-row span {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.logo-row span:hover { opacity: 1; color: var(--teal-deep); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-strong);
  text-align: left;
  min-height: 56px;
}
.faq-q .chev {
  flex: none;
  transition: transform 0.3s var(--ease-out);
  color: var(--teal-deep);
}
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-deep), var(--navy-deep));
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  color: oklch(97% 0.01 190);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, oklch(85% 0.12 178 / 0.25), transparent 45%),
    radial-gradient(circle at 85% 85%, oklch(85% 0.12 178 / 0.2), transparent 45%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: oklch(97% 0.01 190);
  margin-bottom: var(--sp-4);
}
.cta-banner p { opacity: 0.88; margin-bottom: var(--sp-6); max-width: 52ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: oklch(28% 0.06 255);
  color: oklch(88% 0.02 200);
  margin-top: var(--sp-9);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
}
.footer-brand p { font-size: 0.92rem; opacity: 0.8; margin-top: var(--sp-4); max-width: 34ch; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(96% 0.01 190);
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-2); }
.footer-col a { font-size: 0.92rem; opacity: 0.78; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--mint); }
.footer-bottom {
  border-top: 1px solid oklch(40% 0.04 250);
  padding-block: var(--sp-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  opacity: 0.75;
}
.footer-bottom .legal { display: flex; gap: var(--sp-5); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--macaron-teal), transparent 65%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: var(--sp-4); }
.page-hero h1 strong { font-weight: 700; color: var(--teal-deep); }
.page-hero p { max-width: 60ch; margin-inline: auto; color: var(--ink-soft); font-size: 1.08rem; }
.breadcrumb {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--teal-deep); }

/* ---------- Service detail blocks ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.detail-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.detail-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: var(--sp-2); }
.detail-item p { font-size: 0.94rem; color: var(--ink-soft); }
.detail-item .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--ink-strong); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--macaron-teal);
}
.field textarea { min-height: 130px; resize: vertical; }
.contact-info { display: grid; gap: var(--sp-5); }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.info-card .icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
}
.info-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: var(--sp-1); }
.info-card p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .feature, .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .feature.reverse .feature-visual { order: 0; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-6);
    background: var(--bg);
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section { padding-block: var(--sp-7); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
