/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-accent-2: #0284C7;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-lift: 0 20px 50px -20px rgba(2, 6, 23, 0.25);
  --shadow-hero: 0 30px 80px -30px rgba(2, 6, 23, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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; transition: color .2s var(--ease-io); }
a:hover { color: var(--color-accent-2); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-head { text-align: center; margin: 0 auto 2.5rem; max-width: 640px; }
.section-head .lede { color: var(--color-secondary); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease-io), border-color .2s var(--ease-io), box-shadow .2s var(--ease-io);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.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; background: none; border: 0; cursor: pointer; color: var(--color-primary); padding: .5rem; border-radius: var(--radius-sm); }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { color: var(--color-primary); font-weight: 500; position: relative; padding: .4rem 0; }
.primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-io); }
.primary-nav a:not(.btn):hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.btn::after { display: none; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem; gap: 1rem; box-shadow: var(--shadow-soft); border-top: 1px solid var(--color-border); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease-io), box-shadow .2s var(--ease-io), background .2s var(--ease-io), color .2s var(--ease-io); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), var(--color-primary)); color: #fff; box-shadow: 0 8px 24px -8px rgba(3, 105, 161, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(3, 105, 161, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-accent); color: var(--color-accent); }
.btn-link { background: none; color: var(--color-secondary); padding: .5rem .75rem; }
.btn-link:hover { color: var(--color-accent); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 3.5rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(60% 60% at 50% 40%, rgba(3, 105, 161, 0.14), transparent 70%); z-index: -1; pointer-events: none; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; color: var(--color-accent); font-weight: 600; margin: 0 0 1rem; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-hero); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.hero-thanks { text-align: center; padding-block: 5rem 3rem; }
.hero-thanks .success-icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, rgba(3,105,161,.15), rgba(3,105,161,.05)); color: var(--color-accent); margin-bottom: 1.5rem; }

/* === Intro sections === */
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .intro-grid.reverse { grid-template-columns: 1fr 1.1fr; }
  .intro-grid.reverse .intro-visual { order: 0; }
  .intro-grid.reverse .intro-copy { order: 1; }
}
.intro-copy .lede { color: var(--color-secondary); font-size: 1.1rem; margin-bottom: 1rem; }
.intro-visual img { border-radius: var(--radius-md); box-shadow: var(--shadow-lift); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.intro.alt { background: linear-gradient(180deg, rgba(3,105,161,.04), transparent 60%); }
.intro .narrow h2 { margin-bottom: 1rem; }
.intro .narrow .lede { color: var(--color-secondary); font-size: 1.15rem; margin-bottom: 1.5rem; }
.intro .narrow p { color: var(--color-secondary); font-size: 1.05rem; }

/* === Highlights / cards === */
.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: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease-io), box-shadow .25s var(--ease-io), border-color .25s var(--ease-io); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(3, 105, 161, 0.25); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(3,105,161,.15), rgba(15,23,42,.08)); color: var(--color-accent); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(15,23,42,.03), rgba(3,105,161,.06)); }
.testimonial { max-width: 780px; margin: 0 auto; padding: 2rem 1rem; text-align: center; position: relative; }
.testimonial .quote-mark { color: var(--color-accent); opacity: .3; margin: 0 auto .5rem; }
.testimonial p { font-size: clamp(1.15rem, 2vw, 1.4rem); font-family: var(--font-heading); font-weight: 500; color: var(--color-primary); line-height: 1.45; margin-bottom: 1.25rem; }
.testimonial cite { color: var(--color-secondary); font-style: normal; font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; border-radius: 0; }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; padding-block: 3rem; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin: 0; }
.cta-band .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 10px 26px -10px rgba(0,0,0,0.4); }
.cta-band .btn-primary:hover { color: var(--color-accent); }
.cta-band .contact-line { font-size: .95rem; margin-top: .75rem; }
.cta-band .contact-line a { color: #fff; text-decoration: underline; }
@media (min-width: 768px) { .cta-band-inner { grid-template-columns: 1fr auto; padding-block: 3.5rem; } }

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

/* === Contact page === */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.contact-info address { font-style: normal; line-height: 1.75; color: var(--color-secondary); margin: 1.25rem 0; }
.contact-info address strong { color: var(--color-primary); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours caption { text-align: left; font-weight: 600; color: var(--color-primary); margin-bottom: .5rem; font-family: var(--font-heading); }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; color: var(--color-secondary); }
.hours th { font-weight: 500; color: var(--color-primary); }

/* === Form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.contact-form h2 { margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 500; margin-bottom: .4rem; color: var(--color-primary); font-size: .95rem; }
.form-row input, .form-row textarea { width: 100%; font-family: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); transition: border-color .2s var(--ease-io), box-shadow .2s var(--ease-io); color: var(--color-primary); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(3,105,161,.15); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-secondary); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-accent); text-decoration: underline; }
.contact-form button[type="submit"] { width: 100%; }
@media (min-width: 480px) { .contact-form button[type="submit"] { width: auto; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,.75); padding: 3.5rem 0 1.75rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); }
.site-footer .footer-logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: .75rem; }
.site-footer .tagline { color: rgba(248,250,252,.6); font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(248,250,252,.75); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .88rem; }
.copyright { border-top: 1px solid rgba(248,250,252,.1); padding-top: 1.25rem; margin-top: 2.5rem; font-size: .85rem; color: rgba(248,250,252,.5); }

/* === 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); padding: 1.25rem 1.5rem; border-radius: var(--radius-md); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; color: rgba(248,250,252,.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(248,250,252,.3); }
.cookie-banner__actions .btn-ghost:hover { border-color: #fff; color: #fff; }
.cookie-banner__actions .btn-link { color: rgba(248,250,252,.75); }
.cookie-banner__actions .btn-link:hover { color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,.15); display: flex; flex-direction: column; gap: .6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; }

/* === 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; }
  html { scroll-behavior: auto; }
}
