:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 29, 149, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.35);
}

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

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

/* === Header (glass 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: background .2s, box-shadow .2s;
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }

.primary-nav { display: none; }
.primary-nav a {
  position: relative;
  font-weight: 500;
  color: var(--color-neutral-dark);
  padding: .35rem 0;
  margin-left: 1.75rem;
}
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  background: transparent; border: 0;
  color: var(--color-neutral-dark);
  padding: .5rem; cursor: pointer;
}
.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open a { margin: .25rem 0; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 12px 32px -12px rgba(16, 185, 129, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1.5px solid rgba(76, 29, 149, 0.2);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* === Hero === */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(40% 40% at 80% 30%, rgba(16, 185, 129, 0.10), transparent 70%),
    var(--color-neutral-light);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero .lede {
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 1rem auto 2rem;
  color: rgba(76, 29, 149, 0.82);
}
.hero-ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-visual {
  max-width: 980px;
  margin: 2rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tint {
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.14), rgba(196, 181, 253, 0.04));
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(76, 29, 149, 0.7); }
.body-lg { font-size: 1.075rem; line-height: 1.75; }

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

/* === Cards grid === */
.grid-cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(76, 29, 149, 0.08);
  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-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(16, 185, 129, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin: .25rem 0 .5rem; }
.card p { margin: 0; color: rgba(76, 29, 149, 0.85); }

/* === Testimonial === */
.testimonial {
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--color-neutral-dark);
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .95rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }

/* === FAQ === */
.faq details {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(76, 29, 149, 0.08);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  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;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--color-primary);
  font-size: 1.4rem; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: rgba(76, 29, 149, 0.85); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label {
  display: flex; flex-direction: column;
  gap: .4rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
}
.contact-form input, .contact-form textarea {
  font: inherit;
  padding: .8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(76, 29, 149, 0.15);
  background: #fff;
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}
.form-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 400 !important;
  color: rgba(76, 29, 149, 0.85);
}
.form-consent input { margin-top: .2rem; }
.contact-form button { align-self: flex-start; }

.contact-card { text-align: center; }
.contact-card p { margin: .75rem 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.88);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(250, 245, 255, 0.88); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .5rem; }
.footer-tag { margin-top: .75rem; color: rgba(250, 245, 255, 0.7); }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; }
.copyright {
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  text-align: center;
  font-size: .875rem;
  color: rgba(250, 245, 255, 0.65);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

/* === 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: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  background: rgba(250, 245, 255, 0.14);
  color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(250, 245, 255, 0.24); }
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner button[data-cookie-accept]:hover { background: #0ea371; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 245, 255, 0.14);
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Scroll 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-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
