:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #201436;
  --color-muted: #6B5B8B;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 6px 20px -12px rgba(76,29,149,0.25);
  --shadow-md: 0 20px 45px -25px rgba(76,29,149,0.35);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* === 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 rgba(76,29,149,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; flex-direction: column; gap: 0.75rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; right: 1rem; left: 1rem; background: var(--color-neutral-light); padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(76,29,149,0.08); }
.primary-nav a { text-decoration: none; font-weight: 500; color: var(--color-neutral-dark); padding: 0.35rem 0; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; gap: 2rem; position: static; padding: 0; box-shadow: none; background: none; border: 0; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #0e9b73; color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(76,29,149,0.25); color: var(--color-neutral-dark); }
.btn-ghost:hover { background: rgba(139,92,246,0.08); }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem; text-align: center; }
@media (min-width: 768px) { .hero { padding-block: 6rem; } }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 1rem auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__cta { margin: 0 0 2.5rem; }
.hero__figure { margin: 2.5rem auto 0; max-width: 100%; }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split__figure img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-2 { gap: 2rem; } .grid-3 { gap: 1.75rem; } }
.card { background: #fff; border: 1px solid rgba(76,29,149,0.08); border-radius: var(--radius); padding: 1.75rem; display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(139,92,246,0.12); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-link { cursor: pointer; }
.card-link:hover { transform: translateY(-2px); border-color: rgba(139,92,246,0.35); }
.card__more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; }

/* === Pull quote === */
.section-quote { padding-block: 3rem; }
.pull-quote { margin: 0; text-align: center; }
.pull-quote p { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.4; color: var(--color-neutral-dark); font-style: italic; }
.pull-quote cite { display: block; margin-top: 1.5rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 52ch; margin-inline: auto; }

/* === Contact === */
.contact-form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid rgba(76,29,149,0.18); border-radius: 10px; background: #fff; color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; margin-top: 0.5rem; }

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid h3 { color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.contact-grid address { font-style: normal; color: var(--color-muted); }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; color: var(--color-muted); font-size: 0.95rem; }
.hours dt { font-weight: 600; color: var(--color-text); }
.hours dd { margin: 0; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding-inline: 1rem; padding-block: 3rem 4rem; }
.article-detail__head { margin-bottom: 2rem; }
.article-detail__head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.article-detail__sub { font-size: 1.2rem; color: var(--color-muted); }
.article-detail__hero img { aspect-ratio: 16/9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article-detail h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-detail__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(76,29,149,0.12); }
.back-link { text-decoration: none; font-weight: 600; color: var(--color-primary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.footer-tag { color: rgba(255,255,255,0.7); font-style: italic; }
.logo-footer img { filter: brightness(0) invert(1); height: 64px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer address { font-style: normal; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.footer-legal { margin-top: 1rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
.copyright p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }

/* === 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.4);
  max-width: 680px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn-primary { background: var(--color-accent); }
.cookie-banner__actions .btn-primary:hover { background: #0e9b73; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }

.legal-disclaimer { position: relative; z-index: 1000; background: #f4f6f8; border-bottom: 2px solid #64748b; color: #33404d; padding: 0.875rem 1.5rem; }
.legal-disclaimer p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.legal-disclaimer strong { text-transform: uppercase; letter-spacing: 0.04em; }
.legal-disclaimer__icon { font-size: 1rem; }
