/* === Tokens === */
:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-muted: #475569;
  --color-border: rgba(2, 6, 23, 0.10);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(2, 6, 23, 0.25);
  --shadow-lg: 0 30px 80px -30px rgba(2, 6, 23, 0.35);
}

/* === 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; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5.5rem; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--color-secondary); font-weight: 700; margin-bottom: 1rem; }
.lede { font-size: 1.1rem; color: var(--color-muted); }
.muted { color: var(--color-muted); }

/* === Header === */
.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: box-shadow .3s, background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 6px 30px -20px rgba(2, 6, 23, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { color: var(--color-primary); font-weight: 500; font-size: 0.95rem; position: relative; padding-block: 0.35rem; }
.primary-nav a:hover { text-decoration: none; color: var(--color-secondary); }
.primary-nav a::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); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: var(--color-neutral-light); padding: 0.6rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 0.6rem; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
[data-nav].is-open .primary-nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: 0.4rem; align-items: stretch; }
[data-nav].is-open .primary-nav a { padding: 0.7rem 0; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}

/* === Hero (hero-card) === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(60% 60% at 50% 40%, rgba(202, 138, 4, 0.14), transparent 70%), linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(15, 23, 42, 0.06)); z-index: -1; pointer-events: none; }
.hero-card__card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 2.25rem 1.5rem; text-align: center; max-width: 880px; margin-inline: auto; border: 1px solid var(--color-border); }
@media (min-width: 768px) { .hero-card__card { padding: 4rem 3.5rem; } }
.hero-card__card h1 { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin: 0 auto 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 0 0 2rem; }
.hero-card__figure { margin: 2rem 0 0; }
.hero-card__figure img { border-radius: 16px; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; object-fit: cover; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.55); }
.btn-primary:hover { box-shadow: 0 14px 38px -12px rgba(30, 58, 138, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); background: rgba(2, 6, 23, 0.04); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Intro sections === */
.intro { text-align: center; }
.intro .container.narrow { text-align: left; }
.intro h2 { text-align: center; }
.intro .lede { text-align: center; margin-bottom: 1.5rem; }
.intro.alt { background: rgba(30, 58, 138, 0.04); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.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), box-shadow .25s var(--ease), border-color .25s; display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(30, 58, 138, 0.2); 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(30, 58, 138, 0.12), rgba(202, 138, 4, 0.12)); color: var(--color-secondary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { text-decoration: none; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, rgba(15, 23, 42, 0.02), rgba(202, 138, 4, 0.06)); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--color-neutral-dark); line-height: 1.4; font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); text-align: center; border-radius: 0; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(248, 250, 252, 0.8); }
.cta-band .btn-primary { background: var(--color-accent); box-shadow: 0 10px 30px -12px rgba(202, 138, 4, 0.6); color: var(--color-neutral-dark); }
.cta-band .btn-primary:hover { background: #eab308; color: var(--color-neutral-dark); }

/* === FAQ === */
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-neutral-dark); padding-right: 2rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-secondary); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-family: var(--font-heading); font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }

/* === Hours table === */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.hours-table th, .hours-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; width: 45%; }
.hours-table td { color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75); padding-block: 3.5rem 1.5rem; margin-top: 0; }
.site-footer .logo img { height: 64px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.8; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.6); }

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

/* === 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: 16px; padding: 1.25rem 1.4rem; box-shadow: var(--shadow-lg); max-width: 560px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-size: 0.85rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner [data-cookie-save] { background: var(--color-neutral-light); color: var(--color-neutral-dark); align-self: flex-start; margin-top: 0.25rem; }
