:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1033;
  --color-muted: #5B4B7A;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --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);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -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-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  text-decoration: none;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 25px -10px rgba(124, 58, 237, 0.55);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.65); }
.btn--ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: rgba(76, 29, 149, 0.18);
}
.btn--ghost:hover { background: rgba(124, 58, 237, 0.08); transform: translateY(-2px); }

/* === 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 rgba(76, 29, 149, 0.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 20px -8px rgba(76, 29, 149, 0.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid rgba(76,29,149,.15); border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76,29,149,.08);
  box-shadow: var(--shadow-md);
}
.primary-nav a { padding: .65rem .25rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Hero (split) === */
.hero { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 70%;
  background: radial-gradient(circle at center, rgba(202, 138, 4, 0.14), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.hero__text .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero--compact { padding: 3rem 0 2rem; text-align: center; }
.hero--compact .eyebrow { justify-content: center; }

/* === Sections === */
.section { padding: 4rem 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #fff 0%, #F3ECFF 100%); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

/* === Card === */
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  display: block; color: inherit; text-decoration: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(202, 138, 4, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.card-link { position: relative; }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Quote === */
.section--quote { background: #fff; }
.section--quote blockquote {
  margin: 0; padding: 2.5rem 1.5rem; text-align: center;
  position: relative;
}
.section--quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.section--quote cite { color: var(--color-muted); font-style: normal; font-size: .95rem; font-weight: 500; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3.5rem 0;
  margin: 2rem 0;
}
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .btn--primary { background: var(--color-accent); box-shadow: 0 10px 25px -10px rgba(202, 138, 4, 0.5); }
.cta-band .btn--primary:hover { background: #A67300; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-info { font-style: normal; line-height: 1.7; color: var(--color-muted); }
.contact-info a { color: var(--color-primary); }
.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid rgba(76,29,149,.18);
  border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem;
  background: #fff; color: var(--color-text);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--color-muted); margin: 1rem 0 1.25rem; line-height: 1.4; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1rem; }
.footer__tagline { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: .75rem; }
.footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; font-size: .85rem; }
.footer__copy { padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.logo--footer img { height: 56px; 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.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(255,255,255,.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,.1); }
.cookie-banner__actions .btn--primary { background: var(--color-accent); box-shadow: none; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner > div { flex: 1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; gap: 1.5rem; align-items: center;
    position: static; padding: 0; background: transparent; box-shadow: none; border: 0;
  }
  .primary-nav a { padding: .35rem 0; }
  .primary-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease-hover);
  }
  .primary-nav a:not(.btn):hover::after, .primary-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .hero { padding: 5rem 0 6rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .section { padding: 5rem 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
  .cookie-banner { padding: 1.5rem 1.75rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: clamp(2.75rem, 4.5vw, 4.25rem); }
}
