:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1147;
  --color-muted: #5B4B7A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --radius: 16px;
  --radius-lg: 22px;
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 1rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(124, 58, 237, 0.7); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent);
  color: #06280f;
  box-shadow: 0 12px 28px -12px rgba(34, 197, 94, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(34, 197, 94, 0.7); color: #06280f; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 8px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 245, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.9); border-bottom-color: var(--color-border); box-shadow: 0 6px 24px -18px rgba(76, 29, 149, 0.3); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease); }
.primary-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}
.primary-nav a.is-current { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .primary-nav > a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav > a:not(.btn):hover::after,
  .primary-nav > a.is-current::after { transform: scaleX(1); }
}

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3.5rem 3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 197, 94, 0.10), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(167, 139, 250, 0.35), transparent 45%),
    linear-gradient(180deg, #F3EBFF 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}
.hero-copy .sub { font-size: 1.15rem; color: var(--color-muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.5rem 2rem; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-proof li { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--font-heading); font-size: 1.6rem; color: var(--color-neutral-dark); font-weight: 700; }
.hero-proof span { font-size: 0.85rem; color: var(--color-muted); }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.hero-thanks {
  text-align: center;
  padding-block: 5rem 3rem;
}
.hero-thanks h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-thanks .sub { color: var(--color-muted); font-size: 1.15rem; max-width: 52ch; margin-inline: auto; }
.success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

/* === Contact hero variant === */
.hero-contact .form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  aspect-ratio: auto;
}
.hero-contact .form-card h2 { margin-top: 0; }
.contact-facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; }
.contact-facts li { color: var(--color-muted); }
.contact-facts strong { color: var(--color-neutral-dark); font-family: var(--font-heading); margin-right: 0.35rem; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head .sub { color: var(--color-muted); font-size: 1.05rem; }
.section-intro .container.narrow { text-align: left; }
.section-intro.alt { background: #fff; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-lg { padding: 2rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(167, 139, 250, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }

/* === Process === */
.process-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.process-visual img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Testimonial === */
.section-testimonial { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.10)); }
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin: 0;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial p { font-size: 1.15rem; color: var(--color-ink); font-family: var(--font-heading); font-weight: 500; line-height: 1.5; }
.testimonial cite { display: block; margin-top: 1.25rem; color: var(--color-muted); font-style: normal; font-size: 0.95rem; }
.quote-mark { color: var(--color-secondary); opacity: 0.35; margin-bottom: 0.5rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 720px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  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.3rem;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact page === */
.contact-band { background: #fff; border-top: 1px solid var(--color-border); }
.contact-line { color: var(--color-muted); }
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.hours { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours caption { text-align: left; font-family: var(--font-heading); color: var(--color-muted); padding-bottom: 0.5rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; }
.map-visual img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Form === */
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0.5rem 0 1.25rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.15rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem 2rem;
  margin-top: 4rem;
}
.site-footer h4 { color: #fff; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
}
.footer-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.tagline { color: rgba(255,255,255,0.75); margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-legal { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* === 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);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { color: rgba(255,255,255,0.9); font-size: 0.92rem; margin-bottom: 0.85rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.35rem; }

/* === Reveal (scroll animations) === */
.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; }
}
