:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-ink: #0C4A6E;
  --color-muted: #4B6A80;
  --color-line: rgba(12, 74, 110, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 40px -24px rgba(12, 74, 110, 0.25);

  /* Framework token aliases (used by the compliance footer block) */
  --container: 1100px;
  --max-width: 1100px;
  --bg: var(--color-neutral-light);
  --card: #FFFFFF;
  --accent: var(--color-accent);
  --foreground: var(--color-neutral-dark);
  --muted-foreground: var(--color-muted);
  --border: var(--color-line);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Layout: sidebar-nav === */
.layout { display: block; }
.sidebar {
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-line);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.sidebar .logo { display: inline-flex; }
.sidebar .logo img { height: 72px; width: auto; }
.sidebar__nav { display: flex; align-items: center; gap: 1rem; }
.sidebar__foot { display: none; font-size: 0.8rem; color: var(--color-muted); margin: 0; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-neutral-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}
.nav-list.is-open { display: flex; }
.nav-list a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--color-line);
}
.nav-list a[aria-current="page"] { color: var(--color-primary); }

.main { padding: 0; }

@media (min-width: 900px) {
  .layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--color-line);
    border-bottom: none;
    gap: 2rem;
  }
  .sidebar .logo img { height: 96px; }
  .sidebar__nav { width: 100%; align-items: stretch; }
  .nav-toggle { display: none; }
  .nav-list { display: flex !important; gap: 0.1rem; }
  .nav-list a {
    border-bottom: none;
    padding: 0.5rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
  }
  .nav-list a:hover { border-left-color: var(--color-secondary); text-decoration: none; }
  .nav-list a[aria-current="page"] { border-left-color: var(--color-primary); }
  .sidebar__foot { display: block; margin-top: auto; }
  .main { padding: 0 2rem; }
}

@media (min-width: 1200px) {
  .layout { grid-template-columns: 280px 1fr; }
  .main { padding: 0 3rem; }
}

/* === Sections === */
.section { padding: 3.5rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.section--narrow { max-width: 720px; }
.section__head { margin-bottom: 2rem; max-width: 720px; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
}

/* === Hero === */
.hero {
  padding: 3rem 1.25rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 { max-width: 20ch; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 55ch;
  margin-bottom: 1.75rem;
}
.hero__figure {
  margin: 2.5rem 0 0;
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 900px) {
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero .lede { font-size: 1.25rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #f59e0b; text-decoration: none; }

.link-arrow { font-weight: 600; }

/* === Card grid === */
.grid { display: grid; gap: 1.25rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin-top: 0.5rem; }
.card__icon { color: var(--color-primary); }

/* === Split === */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.split__figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* === Quote === */
.section--quote {
  background: var(--color-neutral-light);
  max-width: none;
  padding: 4rem 1.5rem;
}
.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  border: none;
  padding: 0;
}
.quote p {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.quote cite { font-style: normal; font-family: var(--font-body); color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.cta-band h2 { color: #fff; max-width: 30ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-inline: auto; }

/* === FAQ === */
.faq details {
  border-top: 1px solid var(--color-line);
  padding: 1.1rem 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--color-line); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
  border-color: var(--color-secondary);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Hours table === */
.hours { width: 100%; max-width: 480px; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--color-line); font-weight: 400; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer__brand { font-family: var(--font-heading); font-size: 1.4rem; margin: 0 0 0.5rem; }
.footer-nav, .footer-legal { list-style: none; padding: 0; margin: 0; }
.footer-nav li, .footer-legal li { padding: 0.25rem 0; }
.footer-legal { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer__copy {
  text-align: center;
  border-top: 1px solid rgba(240, 249, 255, 0.18);
  padding-top: 1.25rem;
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* === 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 50px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit;
  border: 1px solid rgba(240, 249, 255, 0.35);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  border-color: var(--color-accent);
  font-weight: 600;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font: inherit;
  background: var(--color-accent);
  color: var(--color-neutral-dark);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

/* === Split section text === */
.split__text h2 { margin-top: 0; }
.split__text ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.split__text li { color: var(--color-muted); margin-bottom: .4rem; }

/* === Legal pages === */
.legal-page { background: var(--color-neutral-light); }
.legal-header {
  max-width: 820px; margin: 0 auto; padding: 1.5rem 1.25rem 0;
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
}
.legal-header a { color: var(--color-neutral-dark); text-decoration: none; }
.legal-header a:hover { color: var(--color-primary); }
.legal { max-width: 820px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.legal p, .legal li { color: var(--color-muted); }
.legal-meta { font-size: .9rem; color: var(--color-muted); }
.legal-back { margin-top: 3rem; font-weight: 700; }
.legal-footer {
  background: var(--color-neutral-dark);
  color: rgba(240,249,255,.85);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  font-size: .85rem;
}
.legal-footer p { margin: 0 0 .35rem; }
.legal-footer a { color: rgba(240,249,255,.85); }
.legal-footer .footer-legal { justify-content: center; margin-top: 1.5rem; }

/* === Compliance block: always light-on-dark, never inherits a dark text token === */
[data-compliance-block] { max-width: var(--container); margin: 1.75rem auto 0; }
[data-compliance-block] p { margin: 0 0 .35rem; }
[data-compliance-block] p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { [data-compliance-block] { font-size: .8em; } }

/* === Language switcher === */
.lang-switcher { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; margin-top: .75rem; }
.lang-link { color: var(--color-neutral-dark); font-weight: 500; text-decoration: none; }
.lang-link:hover { color: var(--color-primary); text-decoration: underline; }
.lang-link[aria-current="true"] { color: var(--color-primary); font-weight: 700; }
.lang-sep { opacity: .4; }
.legal-footer .lang-switcher { justify-content: center; margin-top: 1.25rem; }
.legal-footer .lang-link { color: rgba(240,249,255,.8); }
.legal-footer .lang-link:hover { color: #fff; }
