/* === Tokens === */
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(15, 23, 42, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(30, 58, 138, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: 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-text); background: var(--color-neutral-light); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 .75rem; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head .lede { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Skip link === */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-primary); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 50; 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 var(--color-border); transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover); }
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .85rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.site-nav { display: none; }
.site-nav a { position: relative; color: var(--color-text); font-weight: 500; padding: .35rem 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.site-nav a:hover, .site-nav a.is-active { text-decoration: none; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-primary); }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); gap: .75rem; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; gap: 1.75rem; }
}

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

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 20% 10%, rgba(202, 138, 4, 0.10), transparent 55%),
  radial-gradient(ellipse at 80% 0%, rgba(59, 130, 246, 0.22), transparent 60%),
  linear-gradient(180deg, rgba(59, 130, 246, 0.08), transparent 70%);
  z-index: -1; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 22ch; }
.hero .lede { max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-block: 1rem 2rem; }
.hero__image { width: 100%; max-width: 1000px; margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero__image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Intro sections === */
.intro { text-align: center; }
.intro.alt { background: rgba(59, 130, 246, 0.05); border-radius: var(--radius-lg); }
.intro h2 { max-width: 24ch; margin-inline: auto; }
.intro p { color: var(--color-muted); font-size: 1.05rem; max-width: 68ch; margin-inline: auto; }

/* === Split === */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split-media img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) {
  .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

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

/* === Cards === */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(30, 58, 138, 0.25); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { color: var(--color-primary); margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, rgba(30, 58, 138, 0.04), rgba(59, 130, 246, 0.08)); border-radius: var(--radius-lg); margin-inline: 1rem; }
.testimonial { text-align: center; margin: 0; padding-inline: 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.65rem); font-weight: 500; color: var(--color-primary); line-height: 1.4; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; text-align: center; margin-block: 3rem; border-radius: var(--radius-lg); margin-inline: 1rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 1rem; }
@media (min-width: 768px) { .cta-band { margin-inline: 2rem; padding-block: 4.5rem; } }

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

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .55rem .25rem; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-primary); font-family: var(--font-heading); }
.hours td { color: var(--color-muted); }

.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact-form label { display: block; font-weight: 500; margin: 1rem 0 .35rem; color: var(--color-primary); font-family: var(--font-heading); }
.contact-form input, .contact-form textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: 10px; font: inherit; background: var(--color-neutral-light); color: var(--color-text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-muted); margin: 1.25rem 0 1rem; font-family: var(--font-body); font-weight: 400; }
.form-consent input { width: auto; margin-top: .2rem; flex-shrink: 0; }
.form-consent span { line-height: 1.5; }

.contact-band { text-align: center; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer .tagline { color: rgba(248, 250, 252, 0.7); margin-top: .75rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal { margin-top: 1rem; font-size: .9rem; }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: .88rem; color: rgba(248, 250, 252, 0.6); }

/* === Reveal === */
.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; } }

/* === 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); box-shadow: 0 20px 60px rgba(0,0,0,0.25); 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; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner__actions .btn-link { color: var(--color-neutral-light); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.2); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
