:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-accent-2: #1E40AF;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-border: rgba(9, 9, 11, 0.10);
  --color-muted: #71717A;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px -12px rgba(9,9,11,0.18);
  --shadow-lg: 0 30px 80px -30px rgba(9,9,11,0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; color: var(--color-primary); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--color-secondary); }
button { font-family: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.ta-center { text-align: center; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.scrolled { background: rgba(250, 250, 250, 0.92); box-shadow: 0 8px 30px -20px rgba(0,0,0,0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--color-border);
  border-radius: 12px; background: transparent; color: var(--color-primary);
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
}
.primary-nav a {
  color: var(--color-primary); font-weight: 500; padding: .75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav a:last-child { border-bottom: 0; }
.primary-nav a:hover { text-decoration: none; color: var(--color-accent); }
.primary-nav .nav-cta { color: var(--color-neutral-light); background: var(--color-primary); border-radius: 999px; padding: .65rem 1.1rem; margin-top: .5rem; text-align: center; }
.primary-nav .nav-cta:hover { background: var(--color-accent); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; align-items: center; gap: 2rem; position: static;
    padding: 0; border: 0; background: transparent; flex-direction: row;
  }
  .primary-nav a { padding: 0; border: 0; position: relative; }
  .primary-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
  .primary-nav .nav-cta::after { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  color: var(--color-neutral-light);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.75); }
.btn-ghost { color: var(--color-primary); background: transparent; border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); background: rgba(9,9,11,0.03); }
.btn-link { background: transparent; border: 0; color: var(--color-neutral-light); text-decoration: underline; padding: .5rem 1rem; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 3.5rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(50% 40% at 90% 10%, rgba(37,99,235,0.06), transparent 60%),
    linear-gradient(180deg, #FFFFFF, var(--color-neutral-light));
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .75rem; font-weight: 600; color: var(--color-accent);
  padding: .35rem .75rem; border: 1px solid rgba(37,99,235,0.25);
  border-radius: 999px; background: rgba(37,99,235,0.06);
  margin-bottom: 1.25rem;
}
.hero-copy h1 { max-width: 18ch; }
.lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; }
@media (min-width: 768px) { .lede { font-size: 1.25rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-proof { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.hero-proof li { font-size: .85rem; color: var(--color-muted); line-height: 1.4; }
.hero-proof strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); font-weight: 700; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (max-width: 899px) { .hero-visual img { aspect-ratio: 16/10; } }

/* === Hero: thanks variant === */
.hero-thanks { padding-block: 5rem; }
.success-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: var(--color-neutral-light);
  box-shadow: 0 15px 40px -15px rgba(37,99,235,0.6);
  margin: 0 auto 1.5rem;
}

/* === Intro === */
.intro .narrow { text-align: left; }
.intro h2 { margin-bottom: 1.25rem; }
.intro p { font-size: 1.05rem; color: var(--color-secondary); }

/* === Section head === */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-muted); }

/* === Card grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  color: var(--color-primary);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.35); }
.card p { margin-bottom: 0; }
.card h3 { margin-bottom: .5rem; }
a.card-link { text-decoration: none; }
a.card-link:hover { text-decoration: none; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.04));
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(37,99,235,0.04)); }
.testimonial blockquote {
  margin: 0; text-align: center; position: relative;
  padding: 2.5rem 1rem;
}
.testimonial .quote-mark { color: rgba(37,99,235,0.25); margin-inline: auto; margin-bottom: 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--color-primary); font-weight: 500; margin-bottom: 1.5rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }
.testimonial-visual { border-radius: var(--radius-md); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 2rem; box-shadow: var(--shadow-md); }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  margin-bottom: .75rem; transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  font-size: 1.05rem; padding: .25rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: var(--color-primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--color-accent); font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 1rem; color: var(--color-secondary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 90% 50%, rgba(37,99,235,0.35), transparent 60%);
  pointer-events: none;
}
.cta-inner { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; position: relative; }
@media (min-width: 768px) { .cta-inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .5rem; }
.cta-band p { color: rgba(250,250,250,0.75); margin: 0; }

/* === Contact form === */
.form-section { background: linear-gradient(180deg, rgba(37,99,235,0.04), transparent); }
.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid; gap: 1.25rem;
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-row { display: grid; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font: inherit; padding: .8rem 1rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }

/* === Hours table === */
.hours { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.hours th, .hours td { padding: .85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--color-primary); width: 40%; }
.hours td { color: var(--color-secondary); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,250,250,0.75);
  padding-block: 3.5rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: var(--color-neutral-light); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(250,250,250,0.1); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer .tagline { color: rgba(250,250,250,0.6); font-size: .95rem; margin-top: 1rem; }
.site-footer .logo-footer img { height: 60px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(250,250,250,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.copyright { padding-top: 1.5rem; font-size: .85rem; color: rgba(250,250,250,0.5); }
.copyright p { margin: 0; color: inherit; }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(250,250,250,0.85); margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(250,250,250,0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(250,250,250,0.08); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(250,250,250,0.85); }
.cookie-banner__prefs .btn { justify-self: start; margin-top: .5rem; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
