/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B8A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 18px;
  --radius-btn: 12px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 40px -20px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.sub { color: var(--color-muted); font-size: 1.125rem; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  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: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--color-neutral-dark);
  cursor: pointer;
  padding: 0.5rem;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: 0 10px 20px rgba(76, 29, 149, 0.1);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-neutral-dark);
  padding: 0.65rem 0;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta {
  background: var(--color-primary);
  color: var(--color-neutral-light) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px;
  margin-top: 0.5rem;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    gap: 1.5rem;
  }
  .primary-nav a { padding: 0.4rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    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); }
  .nav-cta { margin-top: 0; }
  .nav-cta:hover { background: var(--color-neutral-dark); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  color: var(--color-neutral-light);
}
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: rgba(76, 29, 149, 0.25);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent {
  background: var(--color-accent);
  color: #0b3b1e;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(34, 197, 94, 0.6); color: #0b3b1e; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* === Hero — split === */
.hero {
  position: relative;
  padding-block: 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(167, 139, 250, 0.25), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(34, 197, 94, 0.12), transparent 55%),
    var(--color-neutral-light);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 0.75rem; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.thank-you-hero { text-align: center; padding-block: 5rem; }

/* === Sections === */
.section { padding-block: 4rem; }
.section.narrow { max-width: 760px; margin-inline: auto; padding-inline: 1.25rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: 0.5rem; }

/* === Cards / Grid === */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(76, 29, 149, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }
.card h3 { transition: color .2s var(--ease); }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.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(167, 139, 250, 0.2));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.1)); }
.testimonial {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  margin: 3rem 1rem;
  padding: 3rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.85); margin-bottom: 1.5rem; }
@media (min-width: 900px) {
  .cta-band { margin: 4rem auto; max-width: 1140px; padding: 4rem 3rem; }
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info .hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}
.hours caption { text-align: left; font-weight: 600; padding-bottom: 0.5rem; color: var(--color-neutral-dark); }
.hours th, .hours td {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  text-align: left;
}
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }
.contact-band {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* === Form === */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  color: var(--color-muted) !important;
  flex-wrap: wrap;
}
.form-consent input { width: auto; margin-top: 3px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.site-footer .tagline { margin-top: 0.75rem; opacity: 0.75; }
.footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a, .footer-contact a {
  color: rgba(250, 245, 255, 0.85);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-secondary); }
.footer-contact address { font-style: normal; line-height: 1.75; }
.legal-links { margin-top: 1rem; font-size: 0.88rem; opacity: 0.75; }
.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  font-size: 0.85rem;
  opacity: 0.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: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  background: rgba(250, 245, 255, 0.15);
  color: var(--color-neutral-light);
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #0b3b1e; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  justify-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
}

/* === Reveal === */
.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; }
}

/* === Focus === */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}
