:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5A4A85;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow-sm: 0 2px 20px rgba(76,29,149,0.08);
  --shadow-md: 0 10px 40px -12px rgba(76,29,149,0.22);
  --shadow-lg: 0 30px 60px -30px rgba(76,29,149,0.35);
}

/* === Base === */
*, *::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: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(76,29,149,0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: 1160px; margin-inline: auto;
  padding: .75rem 1.25rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(76,29,149,0.15);
  color: var(--color-neutral-dark); border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer;
}
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76,29,149,0.08);
  padding: .75rem 1.25rem 1rem;
}
.primary-nav a {
  padding: .75rem .25rem; color: var(--color-neutral-dark);
  font-weight: 500; border-bottom: 1px solid rgba(76,29,149,0.06);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  margin-top: .5rem; background: var(--color-primary); color: #fff;
  border-radius: var(--radius-btn); border-bottom: none; text-align: center;
  padding: .75rem 1rem;
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static;
    padding: 0; background: transparent; border: none; align-items: center;
    gap: 1.75rem;
  }
  .primary-nav a {
    padding: .5rem 0; border: none; position: relative;
  }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(124,58,237,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(124,58,237,0.6); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: rgba(76,29,149,0.2);
}
.btn-ghost:hover { background: rgba(124,58,237,0.06); transform: translateY(-2px); }
.btn-on-dark { box-shadow: 0 8px 30px -6px rgba(0,0,0,0.35); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero card === */
.hero-band {
  position: relative; overflow: hidden;
  padding: 3rem 1rem 4rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(34,197,94,0.10), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(167,139,250,0.25), transparent 55%),
    linear-gradient(180deg, #F3EBFF 0%, var(--color-neutral-light) 100%);
}
.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(76,29,149,0.06);
}
.hero-card .eyebrow {
  font-family: var(--font-heading); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-primary); margin-bottom: .75rem;
}
.hero-card h1 { margin-bottom: 1rem; }
.hero-card .lede {
  font-size: 1.15rem; color: var(--color-muted); max-width: 60ch;
  margin-bottom: 1.75rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-card__figure { margin: 0; }
.hero-card__figure img {
  border-radius: 16px; aspect-ratio: 16/9; object-fit: cover;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .hero-band { padding: 5rem 1.5rem 6rem; }
  .hero-card { padding: 3.5rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; max-width: 720px; margin-inline: auto; }
.section-head p { color: var(--color-muted); }
.band-soft {
  background: linear-gradient(180deg, #ffffff 0%, #F5EEFF 100%);
  border-block: 1px solid rgba(76,29,149,0.05);
}

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #ffffff;
  border: 1px solid rgba(76,29,149,0.08);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-link { color: inherit; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,197,94,0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Pull quote === */
.pull-quote {
  margin: 0; padding: 2rem;
  background: #ffffff;
  border-radius: var(--radius-card);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.pull-quote p {
  font-family: var(--font-heading); font-size: 1.25rem;
  color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1rem;
}
.pull-quote cite {
  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: #ffffff;
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(34,197,94,0.25), transparent 45%);
  pointer-events: none;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-primary {
  background: #ffffff; color: var(--color-neutral-dark);
}
.cta-band .btn-primary:hover { background: var(--color-accent); color: #fff; }

/* === Contact grid === */
.contact-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info address { font-style: normal; color: var(--color-muted); margin-bottom: 1.25rem; }
.contact-info h3 { margin-top: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(76,29,149,0.08); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Form === */
.contact-form label {
  display: block; margin-bottom: 1rem;
}
.contact-form label > span {
  display: block; font-weight: 600; font-size: .9rem;
  color: var(--color-neutral-dark); margin-bottom: .35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%; font: inherit; color: var(--color-text);
  padding: .75rem .9rem; border: 1px solid rgba(76,29,149,0.18);
  border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; color: var(--color-muted); margin: 1rem 0 1.25rem;
}
.form-consent input { margin-top: .2rem; }

/* === FAQ === */
details {
  background: #ffffff;
  border: 1px solid rgba(76,29,149,0.08);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
}
details summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  color: var(--color-neutral-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s;
}
details[open] summary::after { content: "−"; }
details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.tagline { color: rgba(255,255,255,0.7); font-size: .95rem; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); opacity: .95; }
.legal-links { margin-top: 1rem; font-size: .85rem; }
.copyright {
  text-align: center; margin: 2rem 0 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-size: .85rem;
}

/* === 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: 16px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  max-width: 560px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .9rem; color: rgba(255,255,255,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff;
  padding: .55rem .9rem; border-radius: 10px; cursor: pointer;
  transition: background .2s, transform .2s;
}
.cookie-banner button:hover { transform: translateY(-1px); 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: #16a34a; border-color: #16a34a; }
.cookie-banner__prefs { margin-top: .9rem; display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Reveal on scroll === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
