/* === Tokens === */
:root {
  --color-primary: #475569;
  --color-secondary: #64748B;
  --color-accent: #2563EB;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.10);
  --color-surface: #FFFFFF;
  --font-heading: 'Space Grotesk', 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(30, 41, 59, 0.06);
  --shadow-md: 0 12px 40px -20px rgba(30, 41, 59, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(30, 41, 59, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -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); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .75rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.muted { color: var(--color-secondary); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--color-secondary); max-width: 55ch; }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 0.98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #1D4ED8); color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, 0.6); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); background: #1D4ED8; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1rem; font-size: 0.88rem; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 3px; border-radius: 4px; }

/* === 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: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 6px 24px -18px rgba(30,41,59,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; 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); box-shadow: var(--shadow-md); }
.primary-nav a { padding: .65rem .25rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-accent); }
.primary-nav .nav-cta { color: var(--color-accent); font-weight: 600; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; 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 { padding: .5rem 1.1rem; border-radius: 999px; background: var(--color-accent); color: #fff; }
  .primary-nav .nav-cta:hover { background: #1D4ED8; color: #fff; }
  .primary-nav .nav-cta::after { display: none; }
}
@media (min-width: 768px) { .logo img { height: 96px; } }

/* === Hero (card) === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(50% 60% at 85% 30%, rgba(100, 116, 139, 0.12), transparent 70%),
    linear-gradient(180deg, #EEF2FF 0%, var(--color-neutral-light) 90%);
  overflow: hidden;
}
.hero-card__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 2rem 1.5rem 2.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero-card__inner .lead { margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-card__figure { margin: 1.75rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__inner { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-secondary); font-size: 1.05rem; }
.intro h2 { margin-bottom: 1rem; }
.intro p { color: var(--color-primary); font-size: 1.05rem; }
.inline-figure { margin: 1.5rem 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.inline-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

/* === Cards === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; color: inherit; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-primary); font-size: 0.98rem; margin: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-accent); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(37, 99, 235, 0.10); color: var(--color-accent); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial blockquote { text-align: center; margin: 0; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-neutral-dark), #0F172A); color: var(--color-neutral-light); text-align: center; border-radius: 0; }
.cta-band h2, .cta-band p { color: var(--color-neutral-light); }
.cta-band p { max-width: 60ch; margin-inline: auto; opacity: 0.85; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; background: var(--color-surface); padding: 2rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s var(--ease), background .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-accent); background: #fff; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-secondary); }
.form-consent input { margin-top: .25rem; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }

/* === Hours table === */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); font-family: var(--font-body); }
.hours td { color: var(--color-secondary); }

/* === FAQ === */
.faq details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(248, 250, 252, 0.82); }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: rgba(248, 250, 252, 0.6); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid nav { display: flex; flex-direction: column; gap: .4rem; }
.logo--footer img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.footer-legal { margin-top: 1rem; font-size: 0.9rem; }
.copyright { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

/* === 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.25rem; box-shadow: var(--shadow-lg); max-width: 640px; margin-left: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(248, 250, 252, 0.25); }
.cookie-banner__actions .btn-ghost:hover { border-color: #fff; }
.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.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

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