/* ==========================================================================
   SA Marketing Solutions — design system
   Palette: deep navy (trust) + emerald (growth) + slate neutrals
   Type: Sora (headings) / Inter (body)
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #071522;
  --navy-900: #0A1F33;
  --navy-800: #12314F;
  --navy-700: #1B4368;
  --emerald-300: #6EE7B7;
  --emerald-400: #34D399;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065F46;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
  --white: #FFFFFF;

  /* Semantic tokens */
  --bg: var(--white);
  --bg-tint: var(--slate-50);
  --text: var(--slate-900);
  --text-muted: var(--slate-600);
  --heading: var(--navy-900);
  --accent: var(--emerald-600);
  --accent-strong: var(--emerald-700);
  --accent-hover: var(--emerald-800);
  --border: var(--slate-200);

  /* Type */
  --font-heading: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(7, 21, 34, 0.14);
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: inline-block; vertical-align: middle; }

::selection {
  background: rgba(52, 211, 153, 0.35);
  color: var(--navy-950);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.container-narrow { max-width: 780px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--emerald-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color 180ms ease-out, border-color 180ms ease-out,
              color 180ms ease-out, transform 120ms ease-out, box-shadow 180ms ease-out;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  color: var(--white);
  box-shadow: 0 2px 10px rgba(4, 120, 87, 0.25);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 600ms ease-out;
  pointer-events: none;
}
.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(4, 120, 87, 0.38);
  transform: translateY(-1px);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:active { transform: scale(0.98); }

.btn-arrow { transition: transform 200ms ease-out; flex-shrink: 0; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--slate-200);
}
.btn-ghost:hover { border-color: var(--navy-700); background: var(--slate-50); }

.btn-lg { min-height: 54px; padding: 0.85rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-nav { min-height: 44px; padding: 0.5rem 1.25rem; font-size: 0.95rem; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-900), var(--emerald-700) 45%, var(--emerald-400));
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { flex-shrink: 0; border-radius: 9px; }
.brand-accent { color: var(--accent-strong); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  position: relative;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35rem 0;
  transition: color 150ms ease-out;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--emerald-700), var(--emerald-400));
  transition: right 220ms ease-out;
}
.nav-link:hover { color: var(--heading); text-decoration: none; }
.nav-link:hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 200ms ease-out, opacity 150ms ease-out;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(52, 211, 153, 0.12), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(27, 67, 104, 0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}

/* Dot grid texture, faded toward the top-left */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 31, 51, 0.10) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(720px 480px at 18% 12%, black, transparent 75%);
  mask-image: radial-gradient(720px 480px at 18% 12%, black, transparent 75%);
  pointer-events: none;
}

/* Soft drifting glow behind the visual */
.hero::after {
  content: "";
  position: absolute;
  top: 4%;
  right: -6%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22), transparent 65%);
  filter: blur(10px);
  animation: blob-drift 11s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 45px) scale(1.12); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Staggered entrance */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero-copy > * { animation: fade-up 650ms cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 60ms; }
.hero-copy > *:nth-child(2) { animation-delay: 140ms; }
.hero-copy > *:nth-child(3) { animation-delay: 240ms; }
.hero-copy > *:nth-child(4) { animation-delay: 340ms; }
.hero-copy > *:nth-child(5) { animation-delay: 440ms; }
.hero-visual { animation: fade-up 750ms cubic-bezier(0.2, 0.7, 0.3, 1) 380ms both; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--emerald-300); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.underline-accent {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--emerald-800), var(--emerald-600) 55%, #10B981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.underline-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.32em;
  background: rgba(52, 211, 153, 0.28);
  border-radius: 3px;
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-600);
}
.trust-strip svg { color: var(--accent); flex-shrink: 0; }

/* Hero visual: stylized search results */

.hero-visual { min-width: 0; }

.mock-serp {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: serp-float 6.5s ease-in-out infinite;
}

@keyframes serp-float {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50%      { transform: rotate(1.2deg) translateY(-10px); }
}

.mock-serp-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--slate-100);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
}
.mock-serp-bar svg { color: var(--slate-500); }

.mock-result {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
}
.mock-result-you {
  background: rgba(52, 211, 153, 0.1);
  border: 1.5px solid var(--emerald-400);
}

.mock-badge {
  align-self: flex-start;
  background: var(--accent-strong);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.mock-line {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--navy-700);
  width: 70%;
  opacity: 0.85;
}
.mock-line-title { width: 55%; height: 12px; }
.mock-line.dim { background: var(--slate-200); opacity: 1; }

.mock-stars {
  font-size: 0.88rem;
  color: #D97706;
  letter-spacing: 0.05em;
}
.mock-stars em {
  font-style: normal;
  color: var(--slate-600);
  letter-spacing: 0;
}

.mock-arrow {
  position: absolute;
  top: -14px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy-900);
  color: var(--emerald-300);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.mock-arrow svg { width: 18px; height: 18px; }
.mock-arrow { animation: arrow-bob 3.2s ease-in-out infinite; }

@keyframes arrow-bob {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-5px); }
}

/* ---------- Industries ticker ---------- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--slate-50);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.marquee-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.marquee-list li::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  margin: 0 1.5rem;
}

/* ---------- Differentiator band ---------- */

.band {
  position: relative;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(52, 211, 153, 0.12), transparent 55%),
    var(--navy-900);
  color: var(--slate-200);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 67, 104, 0.55), transparent 65%);
  animation: blob-drift 13s ease-in-out infinite alternate;
  pointer-events: none;
}
.band-inner { position: relative; z-index: 1; }

.band-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.band-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px var(--emerald-400);
}

.band h2 { color: var(--white); }
.band p { max-width: 46rem; color: var(--slate-400); font-size: 1.05rem; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--text-muted); font-size: 1.08rem; }

.section-kicker {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--heading);
}

.section-cta {
  margin-top: 2.25rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.section-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  font-weight: 600;
  color: var(--accent-strong);
}
.section-cta a:hover { color: var(--accent-hover); text-decoration: none; }
.section-cta a:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  gap: 1.25rem;
}
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 220ms ease-out, translate 220ms ease-out, border-color 220ms ease-out;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-700), var(--emerald-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease-out;
}
.card:hover {
  box-shadow: 0 14px 34px rgba(7, 21, 34, 0.12);
  translate: 0 -5px;
  border-color: rgba(5, 150, 105, 0.35);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 240ms ease-out;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(52, 211, 153, 0.22);
}

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.step {
  transition: box-shadow 220ms ease-out, translate 220ms ease-out;
}
.step:hover {
  box-shadow: 0 14px 34px rgba(7, 21, 34, 0.1);
  translate: 0 -4px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--emerald-300);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 12px rgba(7, 21, 34, 0.25);
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Recent work ---------- */

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.work-preview {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.work-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 21, 34, 0.18);
}

.work-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate-100);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
.work-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--slate-400);
}
.work-url {
  margin-left: 0.6rem;
  font-size: 0.8rem;
  color: var(--slate-500);
  font-family: var(--font-body);
}

.work-preview-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  aspect-ratio: 16 / 10;
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--emerald-800) 130%);
  padding: 1.5rem;
}
.work-preview-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.08em;
  color: var(--white);
}
.work-preview-sub {
  font-size: 0.85rem;
  color: var(--emerald-300);
  letter-spacing: 0.03em;
}
.work-preview-grid {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.work-chip {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.work-copy p { color: var(--text-muted); margin: 0.75rem 0 1.5rem; }

@media (max-width: 860px) {
  .work-card { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-portrait { text-align: center; }

.portrait-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 300px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(220px 220px at 70% 25%, rgba(52, 211, 153, 0.25), transparent 65%),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.portrait-monogram span {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  color: var(--emerald-300);
}

.portrait-caption {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.about-copy p { color: var(--text-muted); max-width: 36rem; }
.about-copy .btn { margin-top: 0.75rem; }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 180ms ease-out;
}
.faq-item[open] { border-color: rgba(5, 150, 105, 0.4); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  min-height: 48px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--heading);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--slate-50); }
.faq-item summary { transition: background-color 150ms ease-out; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-strong);
  line-height: 1;
  transition: transform 180ms ease-out;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.35rem 1.2rem;
  color: var(--text-muted);
}
.faq-item[open] p { animation: faq-in 280ms ease-out; }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Contact ---------- */

.section-contact {
  position: relative;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(52, 211, 153, 0.1), transparent 55%),
    var(--navy-950);
  color: var(--slate-200);
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.16), transparent 65%);
  animation: blob-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.section-contact .contact-grid { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-copy h2 { color: var(--white); }
.contact-copy > p { color: var(--slate-400); font-size: 1.08rem; max-width: 30rem; }

.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}
.contact-details svg { color: var(--emerald-400); flex-shrink: 0; }
.contact-details a { color: var(--slate-200); font-weight: 500; }
.contact-details a:hover { color: var(--emerald-300); }

.contact-note {
  margin-top: 1.5rem;
  color: var(--slate-500);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.form-field { margin-bottom: 1.15rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.req { color: var(--emerald-700); }

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #DC2626;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.field-error {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #DC2626;
}

.form-privacy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid var(--navy-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand { color: var(--white); margin-bottom: 0.9rem; }
.footer-brand .brand-accent { color: var(--emerald-400); }
.footer-brand p { font-size: 0.93rem; max-width: 22rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h3 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.footer-col a, .footer-col span {
  color: var(--slate-400);
  font-size: 0.93rem;
}
.footer-col a:hover { color: var(--emerald-300); text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--navy-800);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; }
.reveal.is-visible {
  animation: fade-up 600ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

/* Stagger cards/steps inside grids */
.card-grid > .reveal.is-visible:nth-child(2),
.steps > .reveal.is-visible:nth-child(2) { animation-delay: 100ms; }
.card-grid > .reveal.is-visible:nth-child(3),
.steps > .reveal.is-visible:nth-child(3) { animation-delay: 200ms; }
.card-grid > .reveal.is-visible:nth-child(4) { animation-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; }
  .hero-copy > *, .hero-visual { animation: none !important; opacity: 1 !important; }
  .marquee-track, .mock-serp, .mock-arrow,
  .hero::after, .band::before, .section-contact::before {
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .mock-serp { transform: none; }
  .mock-arrow { top: -12px; right: 6px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { order: -1; }
  .portrait-monogram { max-width: 220px; }
  .portrait-monogram span { font-size: 5rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .band-inner { grid-template-columns: 1fr; gap: 0.5rem; text-align: left; }
  .band-number { font-size: 5.5rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-menu.is-open {
    display: flex;
    animation: menu-in 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
  }

  @keyframes menu-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
  }

  .nav-link {
    padding: 0.85rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--slate-100);
  }
  .btn-nav { margin-top: 1rem; }

  .cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}
