/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F0E45;
  --color-muted: #6B5B95;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 20px 40px -20px rgba(76, 29, 149, 0.25);
  --maxw: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-neutral-dark);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
@media (min-width: 768px) {
  .logo img { height: 96px; }
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  flex-direction: column;
  gap: 0.35rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(76, 29, 149, 0.06);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.75rem;
    padding: 0;
    border: none;
    background: transparent;
  }
  .primary-nav a { border: none; padding: 0; }
  .primary-nav a:hover { color: var(--color-primary); text-decoration: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: #6D28D9; }
.btn--accent { background: var(--color-accent); color: #062B12; }
.btn--accent:hover { background: #16A34A; color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(76, 29, 149, 0.25); color: var(--color-neutral-dark); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

/* === Hero fullscreen === */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-neutral-light);
  overflow: hidden;
  isolation: isolate;
}
.hero-full__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.75), rgba(0, 0, 0, 0.55));
  z-index: -1;
}
.hero-full__content { padding-block: 6rem 5rem; max-width: 820px; }
.hero-full__content h1 {
  color: #fff;
  max-width: 22ch;
  font-weight: 600;
}
.hero-full__content .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero-full__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 52ch;
  margin-block: 1rem 2rem;
}
@media (min-width: 768px) {
  .hero-full__content { padding-block: 8rem 7rem; }
  .hero-full__sub { font-size: 1.35rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tall { padding-block: 6rem; }
.section--muted { background: var(--color-neutral-light); }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head-center { text-align: center; }
.section__lede { color: var(--color-muted); font-size: 1.1rem; margin: 0; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; 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 === */
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .icon {
  color: var(--color-primary);
  background: rgba(124, 58, 237, 0.1);
  padding: 10px;
  border-radius: 12px;
  box-sizing: content-box;
  width: 28px; height: 28px;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.4rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; font-size: 0.97rem; }

/* === Quote === */
.quote {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  border-left: none;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin: 0 0 1.25rem;
}
.quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
}

/* === Contact card === */
.contact-card {
  display: grid;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { color: var(--color-neutral-dark); margin-bottom: 0.4rem; }
.contact-card p { color: var(--color-muted); margin: 0; }
@media (min-width: 768px) {
  .contact-card { grid-template-columns: repeat(3, 1fr); padding: 2.5rem; gap: 2.5rem; }
}

/* === Form === */
.contact-form {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.15rem;
}
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: transparent;
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.25rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 0;
}
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
.site-footer__tagline { color: rgba(255, 255, 255, 0.7); font-style: italic; margin-top: 0.75rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__nav a { font-size: 0.95rem; }
.site-footer__legal { margin-top: 1rem; font-size: 0.85rem; }
.site-footer__legal a { color: rgba(255, 255, 255, 0.7); }
.site-footer__copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 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;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.cookie-banner__actions .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.cookie-banner__prefs {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-banner__prefs label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.cookie-banner__prefs button { justify-self: start; margin-top: 0.35rem; }
