:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #2B1B54;
  --color-muted: #6B5AA0;
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 4px 16px -8px rgba(76, 29, 149, 0.18);
  --shadow-md: 0 20px 40px -24px rgba(76, 29, 149, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.center { text-align: center; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--color-neutral-dark); color: #fff; }
.btn-primary:hover { background: #3d1478; color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #0d9668; color: #fff; }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: .5rem;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .75rem; border-radius: 8px;
  color: var(--color-neutral-dark); font-weight: 500;
}
.primary-nav a:hover { background: rgba(139, 92, 246, 0.08); text-decoration: none; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-sm); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; padding: 0; box-shadow: none; background: transparent; }
  .primary-nav ul { flex-direction: row; gap: .25rem; align-items: center; }
  .logo img { height: 96px; }
}

/* === Hero (stacked) === */
.hero { padding-block: 3rem 2.5rem; }
.hero-stacked__inner { max-width: 780px; margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 600; color: var(--color-primary); margin-bottom: .75rem;
}
.hero h1 { text-align: left; margin-bottom: 2rem; }
.hero-stacked__image { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-stacked__image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.5rem; }
.hero__cta { margin-top: 1.5rem; }

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

/* === Sections === */
.section { padding-block: 3rem; }
@media (min-width: 768px) { .section { padding-block: 4.5rem; } }
.section--narrow .container { max-width: 780px; }
.section--tint { background: #fff; }
.section__sub { color: var(--color-muted); max-width: 60ch; margin-bottom: 2rem; font-size: 1.05rem; }
.section__lead-image { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.section__lead-image img { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); }
.prose.center { max-width: 60ch; margin-inline: auto; }

/* === Split section === */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split__image { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.split__image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Cards / Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .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: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__icon {
  color: var(--color-primary);
  background: rgba(139, 92, 246, 0.1);
  padding: .6rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 44px; height: 44px;
  box-sizing: content-box;
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--color-text); font-size: .98rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial-section .container { max-width: 820px; text-align: center; }
.testimonial {
  margin: 0;
  padding: 2rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
  position: relative;
}
.testimonial p { margin-bottom: 1.5rem; font-style: italic; }
.testimonial p::before { content: "“"; font-size: 3rem; color: var(--color-secondary); line-height: 0; vertical-align: -.4em; margin-right: .1em; }
.testimonial cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--color-muted); font-weight: 500; }

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

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::after { content: "+"; color: var(--color-primary); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq p { margin: 1rem 0 0; color: var(--color-text); }

/* === Contact === */
.contact-band-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.contact-grid h3 { margin-bottom: .5rem; }
.contact-grid address { font-style: normal; margin-bottom: .75rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px dashed rgba(76, 29, 149, 0.15); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }

/* === Contact form === */
.contact-form { max-width: 620px; }
.contact-form .field { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: .4rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
}
.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; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); margin: 0 0 1.5rem; font-weight: 400; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: .75rem; font-size: .95rem; color: rgba(255,255,255,0.75); font-family: var(--font-heading); font-style: italic; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-legal { margin-top: 1rem; flex-direction: row; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-copy { padding-top: 1.5rem; text-align: center; font-size: .85rem; color: rgba(255,255,255,0.65); }
.footer-copy p { margin: 0; }

/* === 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 -10px rgba(0,0,0,0.3);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button {
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  font-size: .9rem;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #0d9668; border-color: #0d9668; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }
