:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4A7A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Poppins', 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 -18px rgba(76, 29, 149, 0.35);
  --shadow-lg: 0 30px 60px -25px rgba(76, 29, 149, 0.4);
  --radius: 18px;
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  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 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; margin: 0 0 .75rem; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; padding: 0 1.25rem; }
.section { padding-block: 4rem; }
.section--tint { background: linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(250, 245, 255, 0)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); }

/* === Header / 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 var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.25); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: .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 { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.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: .65rem .25rem; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1rem; border-radius: 999px; text-align: center; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: 1.5rem; position: static; padding: 0; background: none; box-shadow: none; border: 0; }
  .primary-nav a { padding: .35rem 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); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.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--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); transform: translateY(-2px); }
.btn--link { background: transparent; color: var(--color-primary); padding: .5rem .75rem; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 4rem; background: linear-gradient(180deg, #F5EEFF 0%, #FAF5FF 100%); }
.hero--spotlight .hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.22), transparent 60%), radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.18), transparent 55%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 1rem auto 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__visual { max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero--inner { padding-block: 3rem 3.5rem; }

/* === Proof strip === */
.proof-strip { border-block: 1px solid var(--color-border); background: #fff; }
.proof-strip__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding-block: 1.25rem; justify-content: center; align-items: center; color: var(--color-muted); font-size: .95rem; }
.proof-strip__inner strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.15rem; margin-right: .25rem; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column; gap: .5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.35); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(34, 197, 94, 0.14)); color: var(--color-primary); margin-bottom: .5rem; }
.card h3 { margin: 0; }
.card p { color: var(--color-muted); margin: 0; }
a.card-link, a.card-link:hover { color: inherit; text-decoration: none; }

/* === Split section === */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* === Quote === */
.quote { margin: 0; padding: 2rem; background: #fff; border-left: 4px solid var(--color-primary); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.15rem; font-style: italic; color: var(--color-text); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { text-align: center; max-width: 720px; margin: 0 auto; padding-inline: 1.25rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }
.cta-band__meta { font-size: .95rem; margin-bottom: 1.5rem; }
.cta-band__meta a { color: #fff; text-decoration: underline; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }

/* === Contact page === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; line-height: 1.8; }
.contact-card h3 { margin-top: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--color-border); }
.hours li:last-child { border-bottom: 0; }
.contact-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; font: inherit;
  border: 1.5px solid var(--color-border); border-radius: 12px; background: var(--color-neutral-light);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }
.form-success { margin-top: 1rem; padding: 1rem; background: rgba(34, 197, 94, 0.12); color: #14532D; border-radius: 12px; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.tagline { color: rgba(250, 245, 255, 0.7); }
.legal-links { margin-top: 1rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer__copy { border-top: 1px solid rgba(250, 245, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(250, 245, 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);
  padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(250, 245, 255, 0.35); }
.cookie-banner .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cookie-banner .btn--link { color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.2); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }

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