:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow-sm: 0 4px 14px -6px rgba(30,27,75,0.15);
  --shadow-md: 0 20px 40px -20px rgba(30,27,75,0.25);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }

/* === 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(30,27,75,0.08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.logo:hover { text-decoration: none; }
.primary-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.primary-nav__list a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; }
.primary-nav__list a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .primary-nav__list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--color-neutral-light);
    border-bottom: 1px solid rgba(30,27,75,0.08);
    padding: 1rem 1.25rem;
    display: none;
  }
  .primary-nav.is-open .primary-nav__list { display: flex; }
  .primary-nav__list li { padding-block: .5rem; }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Hero fullscreen === */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--color-neutral-light);
  text-align: center;
}
.hero-full--short { min-height: 60vh; }
.hero-full__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-full__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(30,27,75,0.55), rgba(30,27,75,0.75));
  z-index: 1;
}
.hero-full__overlay--solid { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); }
.hero-full__content {
  position: relative; z-index: 2;
  padding-block: 6rem;
  max-width: 800px;
}
.hero-full h1 { color: var(--color-neutral-light); max-width: 22ch; margin-inline: auto; }
.hero-full__sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(250,245,255,0.9);
  max-width: 48ch; margin: 0 auto 2rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .95rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: #6d28d9; }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); }
.btn--accent:hover { background: #0891b2; color: var(--color-neutral-light); }

/* === Sections === */
.section { padding-block: 4.5rem; }
.section--narrow > .container { max-width: 760px; }
.section--narrow h2 { text-align: center; }
.section--narrow .lead { font-size: 1.1rem; text-align: left; }
.section--tinted { background: #fff; }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__sub { color: rgba(30,27,75,0.72); font-size: 1.05rem; max-width: 55ch; margin-inline: auto; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Cards grid === */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(30,27,75,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: rgba(30,27,75,0.8); }
.card-link { color: inherit; display: block; }
.card-link:hover { text-decoration: none; }
.card-link h3 { color: var(--color-primary); }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

/* === Quote === */
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.section--quote blockquote { max-width: 720px; margin: 0 auto; text-align: center; padding: 0 1rem; }
.section--quote blockquote p {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  font-style: italic;
  color: var(--color-neutral-light);
  margin-bottom: 1.5rem;
}
.section--quote cite { color: var(--color-secondary); font-style: normal; font-size: .95rem; letter-spacing: .02em; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
}
.cta-band__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,245,255,0.85); font-size: 1.05rem; margin-bottom: 1.75rem; }

/* === Contact grid === */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card { background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-top: 1.25rem; color: var(--color-primary); }
.contact-card h3:first-child { margin-top: 0; }
.contact-card address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid rgba(30,27,75,0.08); font-weight: 400; }
.hours th { font-weight: 500; }
.contact-map { background: rgba(124,58,237,0.08); border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* === Contact form === */
.contact-form { background: var(--color-neutral-light); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 720px; margin-inline: auto; }
.contact-form h3 { color: var(--color-primary); margin-bottom: 1.25rem; }
.form-row { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-row label { font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(30,27,75,0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--color-neutral-dark);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .875rem; margin: 1rem 0 1.5rem; color: rgba(30,27,75,0.85); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }
.form-success { background: rgba(6,182,212,0.15); border: 1px solid var(--color-accent); padding: 1rem; border-radius: 8px; margin-top: 1rem; }

/* === Article detail === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 4rem 1.25rem 2rem;
}
.article__header { margin-bottom: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--color-accent); font-weight: 600; margin-bottom: .75rem; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__sub { font-size: 1.2rem; color: rgba(30,27,75,0.75); }
.article__hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-block: 2rem; border-radius: 8px; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(30,27,75,0.1); }
.back-link { color: var(--color-primary); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,245,255,0.85); padding-block: 3.5rem 2rem; margin-top: 4rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(250,245,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer__grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer__grid ul li { margin-bottom: .5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.site-footer__tagline { color: rgba(250,245,255,0.7); margin-top: .5rem; }
.logo--footer img { height: 60px; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.site-footer__copy { border-top: 1px solid rgba(250,245,255,0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .875rem; color: rgba(250,245,255,0.6); }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px; margin-inline: auto;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
  font-size: .9rem;
  line-height: 1.5;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font-family: inherit; font-size: .875rem;
  padding: .55rem 1rem; border: 1px solid rgba(250,245,255,0.25);
  border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--color-neutral-light);
}
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent); font-weight: 600; }
.cookie-banner__actions button:hover { background: rgba(250,245,255,0.1); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #0891b2; color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15); display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; padding: .5rem 1rem; border: 0; background: var(--color-accent); color: var(--color-neutral-dark); border-radius: 999px; cursor: pointer; font-weight: 600; }
