:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --border: rgba(76, 29, 149, 0.14);
  --muted: rgba(76, 29, 149, 0.7);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--color-neutral-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}
.lede { color: var(--muted); font-size: 1.1rem; }

/* === Layout === */
.container { max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 720px; }
.section { padding-block: 3.5rem; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--color-neutral-light);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--color-neutral-dark);
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; width: 100%; padding-top: 1rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a {
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.98rem;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; gap: 2rem; width: auto; padding: 0;
  }
  .primary-nav a { border: none; padding: 0; }
}

/* === Hero (stacked) === */
.hero {
  padding-block: 3rem 4rem;
  background: linear-gradient(180deg, var(--color-neutral-light) 0%, #F3EBFB 100%);
}
.hero .container { max-width: 820px; }
.hero h1 { margin-block: 0.4rem 2rem; }
.hero-image {
  margin: 0 0 2rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}
.hero-cta { margin: 0; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero h1 { margin-block: 0.6rem 2.5rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: #0e9e73; color: #fff; }

/* === Intro section === */
.intro-section { padding-block: 3.5rem; }
.intro-section.alt { background: #F3EBFB; }
.intro-section h2 { margin-bottom: 1rem; }
.intro-section .lede { margin-bottom: 1.5rem; }

/* === Grid section (cards) === */
.grid-section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.98rem; }
.card-icon { color: var(--color-primary); margin-bottom: 0.9rem; }
a.card-link { text-decoration: none; display: block; color: inherit; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(76, 29, 149, 0.35); }

/* === Testimonial === */
.testimonial-section { padding-block: 3.5rem; text-align: center; }
.section-title-small {
  font-size: 1.1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
}
.quote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--color-neutral-dark);
}
.quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn-accent { background: #fff; color: var(--color-primary); }
.cta-band .btn-accent:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === Contact band === */
.contact-band { text-align: center; background: #F3EBFB; }
.contact-band p { max-width: 60ch; margin-inline: auto; }

/* === Contact form === */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }
.form-consent a { color: var(--color-primary); }

/* === Article === */
.article {
  max-width: 65ch;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.article-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.5rem; }
.article-hero {
  margin: 2rem 0;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-foot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.back-link { font-weight: 700; text-decoration: none; color: var(--color-primary); }
.back-link:hover { text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.site-footer a { color: rgba(250, 245, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer nav a { display: block; padding: 0.25rem 0; }
.site-footer .logo img { height: 60px; }
.tagline { color: rgba(250, 245, 255, 0.7); font-size: 0.95rem; margin-top: 0.5rem; }
.contact-block { font-style: normal; }
.contact-block p { margin-bottom: 0.4rem; font-size: 0.92rem; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(250, 245, 255, 0.65);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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: 10px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: grid;
  gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs [data-cookie-save] {
  margin-top: 0.5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
