:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --measure: 65ch;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  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-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(30, 27, 75, 0.08);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(1.2);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 1px solid rgba(30,27,75,0.12);
  border-radius: 8px; padding: 0.5rem;
  color: var(--color-neutral-dark); cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(30,27,75,0.08);
  box-shadow: 0 12px 32px -20px rgba(30,27,75,0.35);
}
.primary-nav a {
  padding: 0.65rem 0;
  text-decoration: none;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; gap: 2rem;
    position: static; padding: 0; background: transparent; box-shadow: none; border: 0;
  }
  .primary-nav a { padding: 0; }
}

/* === Hero (stacked) === */
.hero { padding-block: 3rem; }
.hero__inner { max-width: 780px; margin-inline: auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.hero h1 { margin-bottom: 2rem; }
.hero__figure {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(30,27,75,0.35);
}
.hero__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(30, 27, 75, 0.75);
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero__cta { margin: 0; }

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 0;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(124, 58, 237, 0.6);
}
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); }
.btn--accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(6, 182, 212, 0.55);
}
.btn--accent:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow { padding-block: 3rem; }
.section--narrow .container { max-width: 780px; }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.section__figure {
  margin: 0 0 1.75rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(30,27,75,0.35);
}
.section__figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

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

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(30,27,75,0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(30,27,75,0.35); }
.card h3 { margin: 0.75rem 0 0.5rem; }
.card p { margin: 0; color: rgba(30,27,75,0.8); font-size: 0.98rem; }
.icon { color: var(--color-accent); }

/* === Quote === */
.section--quote { background: #fff; }
.quote {
  max-width: 60ch; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  color: var(--color-neutral-dark);
  padding: 0;
}
.quote p { margin: 0 0 1.25rem; font-style: italic; }
.quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(30,27,75,0.7);
  letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
}
.cta-band__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(250, 245, 255, 0.9); margin-bottom: 1.5rem; }
.cta-band .btn { color: #fff; }

/* === FAQ === */
.faq details {
  border-top: 1px solid rgba(30,27,75,0.12);
  padding: 1.1rem 0;
}
.faq details:last-child { border-bottom: 1px solid rgba(30,27,75,0.12); }
.faq summary {
  cursor: pointer; font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--color-accent); font-size: 1.5rem; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: rgba(30,27,75,0.8); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(30,27,75,0.18);
  border-radius: 8px;
  background: #fff; color: var(--color-neutral-dark);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: rgba(30,27,75,0.8);
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff; font-size: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(250,245,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer__grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250,245,255,0.12);
}
.logo--footer img { height: 72px; filter: brightness(0) invert(1); }
.tagline { color: rgba(250,245,255,0.7); font-size: 0.95rem; margin-top: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__copy {
  padding-top: 1.5rem; font-size: 0.85rem;
  color: rgba(250,245,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);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
  max-width: 640px;
}
.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 button {
  font-family: inherit; font-size: 0.9rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(250,245,255,0.25);
  background: transparent; color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600;
}
.cookie-banner button:hover { background: rgba(250,245,255,0.1); }
.cookie-banner button[data-cookie-accept]:hover { background: #0891b2; }
.cookie-banner__prefs {
  margin-top: 1rem; display: grid; gap: 0.6rem;
  padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15);
}
.cookie-banner__prefs label { display: flex; gap: 0.6rem; font-size: 0.9rem; align-items: center; }
.cookie-banner__prefs button[data-cookie-save] {
  justify-self: start; margin-top: 0.5rem;
  background: var(--color-primary); border-color: var(--color-primary);
}

@media (min-width: 640px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; }
}
