:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4F7A;
  --color-border: rgba(49, 46, 129, 0.14);
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 30px -18px rgba(49, 46, 129, 0.35);
  --shadow-hero: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
}

/* === 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: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; 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-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; }
.logo img { height: 72px; width: auto; display: block; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: none; flex-direction: column; gap: 0.5rem;
}
.site-nav.is-open ul { display: flex; }
.site-nav a {
  display: block; padding: 0.5rem 0.75rem;
  color: var(--color-neutral-dark); font-weight: 500;
  border-radius: 8px;
}
.site-nav a:hover { background: var(--color-neutral-light); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle {
  background: none; border: 1px solid var(--color-border);
  border-radius: 8px; padding: 0.5rem;
  display: inline-flex; flex-direction: column; gap: 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-neutral-dark); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; flex-direction: row; gap: 0.25rem; }
}

/* === Hero card === */
.hero { padding-block: 2.5rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-card__box {
  max-width: 880px; margin-inline: auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-hero);
  border: 1px solid var(--color-border);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.hero-card__box h1 { margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-cta { margin: 0 0 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.hero-card__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(99, 102, 241, 0.5); }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-accent { background: var(--color-accent); color: #ffffff; }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--muted { background: var(--color-neutral-light); }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

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

/* === Card === */
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.icon { color: var(--color-primary); }

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2rem;
  max-width: 780px; margin-inline: auto;
  text-align: center;
  border-left: 3px solid var(--color-accent);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.testimonial p { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-neutral-dark); font-weight: 500; line-height: 1.5; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #ffffff; padding-block: 3.5rem; }
.cta-band__inner { text-align: center; max-width: 720px; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  list-style: none; padding-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.4rem; line-height: 1; color: var(--color-primary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-details p { color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.95rem; }
.hours caption { text-align: left; font-weight: 600; color: var(--color-neutral-dark); padding-bottom: 0.5rem; }
.hours th, .hours td { padding: 0.5rem 0; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

.contact-form {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.contact-form label { display: block; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 0.35rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 10px;
  background: #ffffff;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin-bottom: 1rem; flex-wrap: wrap; }
.form-consent input { width: auto; margin-top: 0.25rem; }
.form-consent span { flex: 1; min-width: 220px; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer__brand { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.4rem; color: #ffffff; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer address { font-style: normal; }
.site-footer p { color: rgba(238, 242, 255, 0.75); margin-bottom: 0.4rem; font-size: 0.95rem; }
.legal-links { margin-top: 0.75rem; }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }
.copyright { text-align: center; margin-top: 2rem; font-size: 0.85rem; color: rgba(238, 242, 255, 0.6); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; } }

/* === 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 45px -20px rgba(0, 0, 0, 0.45);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(238, 242, 255, 0.9); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  font: inherit; cursor: pointer;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(238, 242, 255, 0.35);
  background: transparent; color: var(--color-neutral-light);
  font-weight: 500;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; justify-self: start; background: var(--color-primary); border-color: var(--color-primary); color: #ffffff; }
