:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B2E;
  --color-muted: #5B5673;
  --border-subtle: rgba(76, 29, 149, 0.12);
  --shadow-card: 0 30px 60px -30px rgba(76, 29, 149, 0.28);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* === Base === */
* { 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;
}
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(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }

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

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

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #052e1b; }
.btn--accent:hover { background: #16a34a; color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(250,245,255,.4); }
.btn--ghost:hover { background: rgba(250,245,255,.12); }

/* === Hero card === */
.hero-card-section {
  padding-block: 3rem 2rem;
  background: linear-gradient(160deg, var(--color-neutral-light) 0%, #efe6ff 100%);
}
.hero-card {
  max-width: 880px; margin-inline: auto;
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem; box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  color: var(--color-primary); font-weight: 600; margin-bottom: 1rem;
}
.hero-card__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; background: var(--color-neutral-light); }
.hero-card__figure img { width: 100%; height: 100%; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: #efe6ff; }
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head h2 { margin-bottom: .75rem; }
.section__sub { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.section--quote .section__sub { color: rgba(250,245,255,.75); }
.lede { font-size: 1.1rem; color: var(--color-text); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid { gap: 1.75rem; }
}

.card {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(124,58,237,.1); color: var(--color-primary);
  margin-bottom: .5rem;
}
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); text-decoration: none; }

/* === Testimonial === */
.testimonial { max-width: 720px; margin-inline: auto; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-style: italic; line-height: 1.5; margin-bottom: 1.5rem; }
.testimonial cite { font-style: normal; font-weight: 500; opacity: .8; }
.section--quote .testimonial p { color: #fff; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  list-style: none; padding-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--color-primary); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--border-subtle); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }
.contact-card { background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 2rem; margin-top: 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(250,245,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; margin-bottom: .75rem; color: rgba(250,245,255,.85); }
.legal-links { font-size: .9rem; margin-top: 1rem; }
.tagline { color: rgba(250,245,255,.8); margin: 0; }
.logo--footer img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer__copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,245,255,.15); font-size: .9rem; color: rgba(250,245,255,.7); }

/* === 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-md);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(250,245,255,.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.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; color: rgba(250,245,255,.9); }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }
