:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1180px;
  --radius: 12px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
button { font: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(30,27,75,0.08); }
.site-header__inner { max-width: var(--max-w); margin: 0 auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.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: 0.5rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.primary-nav a { display: block; padding: 0.5rem 0.75rem; color: var(--color-neutral-dark); text-decoration: none; font-weight: 500; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); background: var(--color-neutral-light); }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(30,27,75,0.08); padding: 1rem 1.25rem; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { flex-direction: row; gap: 0.5rem; }
  .primary-nav.is-open { position: static; padding: 0; border: 0; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #d95c0a; color: #fff; }

/* === Hero (split) === */
.hero { padding: 2.5rem 1.25rem 3rem; }
.hero__grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero__text h1 { max-width: 18ch; }
.hero__sub { font-size: 1.125rem; color: rgba(30,27,75,0.72); max-width: 48ch; margin-bottom: 1.75rem; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.hero--centered { text-align: center; padding: 4rem 1.25rem; background: var(--color-neutral-light); }
.hero--centered .hero__center { max-width: 640px; margin: 0 auto; }
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }

@media (min-width: 900px) {
  .hero { padding: 5rem 1.25rem 6rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding: 3.5rem 1.25rem; }
.section--narrow { max-width: 780px; margin: 0 auto; text-align: left; }
.section--tinted { background: var(--color-neutral-light); }
.section__head { max-width: var(--max-w); margin: 0 auto 2rem; }
.section__sub { color: rgba(30,27,75,0.68); max-width: 60ch; margin-bottom: 1.5rem; font-size: 1.05rem; }
.prose { font-size: 1.05rem; line-height: 1.75; color: rgba(30,27,75,0.85); }

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

/* === Grid & Cards === */
.grid { max-width: var(--max-w); margin: 0 auto; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid rgba(30,27,75,0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 4px 14px -8px rgba(30,27,75,0.15); }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: rgba(30,27,75,0.78); margin: 0; }

/* === Pull quote === */
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.pull-quote { max-width: 780px; margin: 0 auto; text-align: center; }
.pull-quote p { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.4; color: #fff; margin-bottom: 1.25rem; font-style: italic; }
.pull-quote cite { font-style: normal; color: var(--color-secondary); font-size: 0.95rem; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding: 3.5rem 1.25rem; }
.cta-band__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; }
.cta-band__meta { font-size: 0.95rem; }

/* === FAQ === */
.faq details { border-bottom: 1px solid rgba(30,27,75,0.12); padding: 1rem 0; }
.faq summary { font-family: var(--font-heading); font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--color-primary); font-family: var(--font-body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: rgba(30,27,75,0.8); }

/* === Contact page === */
.contact-grid { max-width: var(--max-w); margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h3 { margin-bottom: 0.5rem; }
.contact-grid address { font-style: normal; color: rgba(30,27,75,0.8); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { padding: 0.35rem 0; text-align: left; border-bottom: 1px solid rgba(30,27,75,0.08); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: rgba(30,27,75,0.72); }

/* === Form === */
.contact-form { max-width: 620px; }
.field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.field label { font-weight: 500; margin-bottom: 0.35rem; font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit; color: var(--color-neutral-dark);
  padding: 0.75rem 0.9rem; border-radius: 8px;
  border: 1px solid rgba(30,27,75,0.2); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: transparent; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; margin: 0.5rem 0 1.5rem; color: rgba(30,27,75,0.78); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }
.form-consent a { color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3rem 1.25rem 1.5rem; }
.site-footer__grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; color: var(--color-neutral-light); line-height: 1.7; }
.tagline { color: rgba(238,242,255,0.72); font-size: 0.95rem; margin-top: 0.5rem; }
.legal-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-links li { margin: 0; }
.copyright { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(238,242,255,0.15); font-size: 0.85rem; color: rgba(238,242,255,0.6); }
.logo--footer img { height: 64px; }

@media (min-width: 780px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
}

/* === 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; border-radius: var(--radius);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.35);
  max-width: 520px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button, .cookie-banner__prefs button { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(238,242,255,0.3); background: transparent; color: var(--color-neutral-light); font-size: 0.88rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(238,242,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #d95c0a; }
.cookie-banner__prefs { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; 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; }
