/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max: 1200px;
  --max-narrow: 720px;
}

/* === Reset === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: var(--max-narrow); }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.site-header__inner {
  max-width: var(--max);
  margin-inline: 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 {
  background: none; border: 0; padding: .5rem;
  color: var(--color-neutral-dark); cursor: pointer;
}
.site-nav {
  display: none;
  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(76, 29, 149, 0.08);
  gap: 0.75rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .35rem 0;
}
.site-nav a[aria-current="page"] { color: var(--color-primary); }

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

/* === Hero fullscreen === */
.hero--fullscreen {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
  text-align: center;
  padding: 4rem 1.25rem;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30, 10, 60, 0.45), rgba(30, 10, 60, 0.7));
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero--fullscreen h1 {
  color: var(--color-neutral-light);
  margin-bottom: 1.25rem;
}
.hero__sub {
  color: rgba(250, 245, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 56ch; margin: 0 auto 2rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--color-primary);
  color: var(--color-neutral-light);
}
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent {
  background: var(--color-accent);
  color: #08351a;
}
.btn--accent:hover { background: #16a34a; color: var(--color-neutral-light); }

/* === Sections === */
.section { padding: 4.5rem 0; }
.section--alt { background: #f3ebff; }
.section--intro { padding-top: 5rem; }
.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section__head p { color: rgba(76, 29, 149, 0.75); }
.section__eyebrow {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.section__figure {
  margin: 2.5rem 0 0;
}
.section__figure img {
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

/* === Cards grid === */
.grid { display: grid; gap: 1.5rem; }
.grid--cards { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(76, 29, 149, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card__icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .75rem; }
.card p { margin: 0; color: rgba(76, 29, 149, 0.85); }
.card-link {
  display: block; color: inherit; text-decoration: none;
}
.card-link:hover .card { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(76, 29, 149, 0.4); }

/* === Testimonial === */
.section--testimonial { padding: 5rem 0; }
.testimonial {
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
  border-left: 0;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  text-align: center;
  padding: 4.5rem 1.25rem;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.9); max-width: 56ch; margin: 0 auto 1.75rem; }
.cta-band__contact { font-size: .95rem; }
.cta-band__contact a { color: var(--color-neutral-light); text-decoration: underline; }

/* === FAQ === */
.faq details {
  border-bottom: 1px solid rgba(76, 29, 149, 0.12);
  padding: 1.25rem 0;
}
.faq summary {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.5rem; line-height: 1; color: var(--color-primary);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 1rem; color: rgba(76, 29, 149, 0.85); }

/* === Contact === */
.contact-card {
  background: var(--color-neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(76, 29, 149, 0.08);
}
.contact-card address { font-style: normal; margin-bottom: 1rem; }
.contact-form {
  display: grid;
  gap: 1.25rem;
}
.contact-form label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-form label span { display: block; margin-bottom: 0.4rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 6px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px;
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; font-weight: 400;
}
.form-consent input { width: auto; margin-top: 0.25rem; }

/* === Thank you === */
.thankyou { text-align: center; padding-top: 6rem; }
.thankyou .lede { font-size: 1.15rem; color: rgba(76, 29, 149, 0.8); margin-bottom: 2.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.footer__tag { color: rgba(250, 245, 255, 0.75); font-size: 0.95rem; margin-top: .75rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a, .footer__contact a { color: var(--color-neutral-light); }
.footer__contact address { font-style: normal; font-size: 0.95rem; margin-bottom: 0.75rem; color: rgba(250, 245, 255, 0.85); }
.footer__legal { font-size: 0.85rem; margin-top: 1rem; color: rgba(250, 245, 255, 0.75); }
.footer__copy {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.12);
  color: rgba(250, 245, 255, 0.6);
  text-align: center;
}

/* === 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: 8px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.cookie-banner__actions button, .cookie-banner__prefs button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(250, 245, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  color: #08351a;
  border-color: var(--color-accent);
  font-weight: 600;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
}
.cookie-banner__prefs button[data-cookie-save] {
  margin-top: 0.5rem; align-self: flex-start;
}
