:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --radius: 12px;
  --max: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; color: var(--color-neutral-dark); margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: color-mix(in srgb, var(--color-neutral-dark) 78%, transparent); max-width: 52ch; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--color-neutral-dark) 8%, transparent); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 1rem 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; }
.nav-toggle span { width: 26px; height: 2px; background: var(--color-neutral-dark); display: block; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; }
.primary-nav a { display: block; padding: .6rem 0; color: var(--color-neutral-dark); font-weight: 700; font-size: .95rem; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-bottom: 1px solid color-mix(in srgb, var(--color-neutral-dark) 8%, transparent); }

/* === Buttons === */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: color-mix(in srgb, var(--color-accent) 80%, black); }

/* === Layout === */
main { display: block; }
.section { padding: 4rem 1.25rem; max-width: var(--max); margin: 0 auto; }
.section--narrow { max-width: 760px; }
.section--narrow h2, .section--narrow p { text-align: left; }
.section--tinted { max-width: none; background: color-mix(in srgb, var(--color-secondary) 22%, var(--color-neutral-light)); }
.section--tinted > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: color-mix(in srgb, var(--color-neutral-dark) 72%, transparent); }

/* === Hero split === */
.hero { padding: 3rem 1.25rem 2rem; max-width: var(--max); margin: 0 auto; }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero-split__text { order: 1; }
.hero-split__media { order: 2; }
.hero-split__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.35); }

/* === Cards === */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card { background: var(--color-neutral-light); border: 1px solid color-mix(in srgb, var(--color-neutral-dark) 10%, transparent); border-radius: var(--radius); padding: 1.75rem; display: block; color: var(--color-neutral-dark); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link { text-decoration: none; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 20px 40px -25px rgba(76, 29, 149, 0.35); border-color: var(--color-primary); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: color-mix(in srgb, var(--color-neutral-dark) 80%, transparent); }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial { margin: 0 auto; max-width: 42rem; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial p { font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--color-primary); font-weight: 700; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: 4rem 1.25rem; margin-top: 2rem; }
.cta-band__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band__meta { font-size: .9rem; opacity: .85; margin-bottom: 1.5rem; }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid color-mix(in srgb, var(--color-neutral-dark) 20%, transparent); border-radius: 8px; background: #fff; color: var(--color-neutral-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: color-mix(in srgb, var(--color-neutral-dark) 82%, transparent); }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: color-mix(in srgb, #fff 88%, transparent); padding: 3rem 1.25rem 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.site-footer__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer__heading { font-family: var(--font-heading); font-size: 1.15rem; color: #fff; margin: 0 0 .75rem; }
.site-footer ul li { margin: .3rem 0; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__tagline { opacity: .8; margin-top: .5rem; }
.site-footer__legal { margin-top: 1rem; font-size: .88rem; opacity: .85; }
.site-footer__copy { max-width: var(--max); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: .85rem; opacity: .75; }
.logo--footer img { height: 60px; filter: brightness(0) invert(1); }

/* === 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: 0 30px 60px -20px rgba(0,0,0,0.35); max-width: 640px; margin-left: auto; margin-right: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; font-size: .85rem; font-weight: 700; }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; font-size: .88rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; padding: .55rem 1rem; border-radius: 999px; background: var(--color-primary); color: #fff; border: 0; font-weight: 700; }

/* === Responsive === */
@media (min-width: 640px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 5rem 1.5rem; }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav ul { flex-direction: row; gap: 1.5rem; padding: 0; }
  .primary-nav a { padding: .5rem 0; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-split__text { order: 1; }
  .hero-split__media { order: 2; }
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .cta-band { padding: 5rem 2rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 6rem 1.5rem 4rem; }
  .section { padding: 6rem 1.5rem; }
}
