:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4B7A;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 4px 14px -8px rgba(76, 29, 149, 0.25);
  --shadow-md: 0 20px 50px -30px rgba(76, 29, 149, 0.35);
  --content: 1120px;
}

/* === Base === */
*, *::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: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.75rem; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); margin-bottom: 1.5rem; max-width: 60ch; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-family: var(--font-body); border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s ease, background-color .15s ease, color .15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #06331a; }
.btn-accent:hover { background: #16a34a; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 72px; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: 0.4rem; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; width: 100%; padding: 0.5rem 0 1rem; }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: 0.6rem 0; color: var(--color-neutral-dark); font-weight: 500; border-bottom: 1px solid var(--color-border); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

/* === Hero split === */
.hero { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero-split__text h1 { max-width: 20ch; }
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-split__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: var(--color-neutral-light); }
.section--center { text-align: center; }
.section--center .lede { margin-inline: auto; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.two-col__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.card__icon { color: var(--color-primary); margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-text); margin-bottom: 0; }
a.card-link { display: block; color: inherit; text-decoration: none; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.card__more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-weight: 600; }

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); text-align: center; }
.testimonial { max-width: 42rem; margin: 1.5rem auto 0; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.55; color: var(--color-neutral-dark); font-style: italic; }
.testimonial p { margin-bottom: 1rem; }
.testimonial cite { display: block; font-style: normal; font-family: var(--font-body); font-size: 0.95rem; color: var(--color-muted); font-weight: 600; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 44rem; }
.cta-band__inner { text-align: center; }
.cta-band__inner p { margin-inline: auto; margin-bottom: 1.5rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin-inline: auto; padding: 2.5rem 1.25rem 4rem; }
.article-detail__header .eyebrow { margin-bottom: 1rem; }
.article-detail__sub { font-size: 1.2rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.article-detail__hero { aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-block: 2rem; width: 100%; }
.article-detail h2 { margin-top: 2rem; }
.article-detail p { font-size: 1.1rem; line-height: 1.75; margin-block: 1.25rem; }
.article-detail__cta { margin-top: 3rem; padding: 2rem; background: var(--color-neutral-light); border-radius: var(--radius); text-align: center; }
.article-detail__cta h2 { margin-top: 0; }
.back-link { margin-top: 2.5rem; font-weight: 600; }

/* === Contact block === */
.contact-block { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-weight: 600; margin-bottom: 0.4rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); margin: 1rem 0 1.25rem; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #EFE7FA; padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a, .footer-legal a, .footer-contact a { color: #EFE7FA; }
.footer-nav a:hover, .footer-legal a:hover, .footer-contact a:hover { color: #fff; }
.footer-tagline { color: #EFE7FA; opacity: 0.85; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* === 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 20px 60px -20px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; 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; }

/* === Responsive === */
@media (min-width: 768px) {
  body { font-size: 18px; }
  .logo img { height: 96px; }
  .logo--footer img { height: 80px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; width: auto; gap: 1.75rem; padding: 0; }
  .primary-nav a { border-bottom: 0; padding: 0.25rem 0; }
  .hero { padding-block: 5rem; }
  .hero-split__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .section { padding-block: 5rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
  .footer-legal { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
}
