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

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

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

/* === Header === */
.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 transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(76, 29, 149, 0.2);
}
.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; display: block; }

.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: .5rem; }
.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(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .5rem 0; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  display: inline-block; background: var(--color-primary); color: #fff !important;
  padding: .55rem 1.1rem; border-radius: 999px; text-align: center;
}

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: none; box-shadow: none; border: 0; }
  .primary-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; 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[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta::after { display: none; }
  .primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff !important; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff !important;
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(124, 58, 237, 0.7); color: #fff !important; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); transform: translateY(-2px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* === Hero split === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 3rem; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto auto; width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: auto auto -40% -20%; width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 48ch; }
.hero-media 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: 5.5rem 4.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-copy { padding-right: 1rem; }
}

/* === Intro === */
.intro { padding-block: 3rem; }
.intro p { font-size: 1.08rem; color: var(--color-text); }
@media (min-width: 900px) { .intro { padding-block: 4rem; } }

/* === Section head === */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 55ch; margin-inline: auto; }

/* === Highlights / cards === */
.highlights { padding-block: 3rem; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.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);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(34, 197, 94, 0.1));
  color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { color: inherit; }

/* === Testimonial === */
.testimonial { padding-block: 3.5rem; }
.testimonial blockquote {
  margin: 0; text-align: center; position: relative;
  background: #fff; border-radius: var(--radius-lg); padding: 3rem 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
}
.testimonial .quote-mark { color: var(--color-secondary); opacity: .35; margin-inline: auto; }
.testimonial p { font-size: 1.2rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); max-width: 60ch; margin-inline: auto; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { padding-block: 3.5rem; }
.cta-band .container {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 3rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-primary {
  background: #fff; color: var(--color-neutral-dark) !important;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,0.35);
}
.cta-band .btn-primary:hover { background: var(--color-accent); color: #fff !important; }

/* === Contact === */
.contact-section { padding-block: 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; } }
.contact-info p { color: var(--color-muted); font-size: 1.05rem; }
.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font: inherit; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--color-border); background: var(--color-neutral-light);
  color: var(--color-text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-muted); line-height: 1.45; }
.form-consent input { margin-top: .25rem; }

/* === Thank you === */
.thank-you-hero { padding-block: 5rem 3rem; text-align: center; }
.success-badge {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #16A34A);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; box-shadow: 0 20px 40px -20px rgba(34, 197, 94, 0.55);
}

/* === Footer === */
.site-footer {
  margin-top: 3rem; padding-block: 3rem 1.5rem;
  background: var(--color-neutral-dark); color: #E9DDFF;
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #E9DDFF; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-grid nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.logo-footer img { height: 60px; margin-bottom: .5rem; filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .85rem; color: rgba(233, 221, 255, 0.7); text-align: center; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

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

/* === 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);
  box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  background: transparent; color: #fff; cursor: pointer; transition: background .2s, transform .2s;
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #16A34A; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  margin-top: .5rem; background: #fff; color: var(--color-neutral-dark); border-color: #fff;
  align-self: flex-start;
}
