:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F0F4A;
  --color-muted: #6B5AA5;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 30px -18px rgba(76, 29, 149, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-neutral-light);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--color-accent); font-weight: 600; margin: 0 0 0.75rem; }
.muted { color: var(--color-muted); font-size: 0.9rem; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.primary-nav a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--color-neutral-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); }
.primary-nav { display: none; width: 100%; padding-block: 0.75rem; }
.primary-nav.is-open { display: block; }
.nav-toggle { background: none; border: 1px solid rgba(76, 29, 149, 0.2); border-radius: 8px; padding: 0.55rem 0.7rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--color-neutral-dark); display: block; }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; width: auto; padding-block: 0; }
  .primary-nav ul { flex-direction: row; gap: 0.25rem; }
}

/* === Hero split === */
.hero { padding-block: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center; }
.hero-copy h1 { margin-top: 0; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-media img { border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.hero-split--single { padding-block: 4rem 2rem; }
.hero-grid--single { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; text-align: center; }
.hero-grid--single .lede { margin-inline: auto; }

@media (min-width: 900px) {
  .hero { padding-block: 5.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-copy { order: 1; }
  .hero-media { order: 2; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .sub { color: var(--color-muted); max-width: 55ch; margin: 0.5rem auto 0; }
.section-intro { text-align: left; }
.section-intro .narrow h2 { text-align: center; }
.section-intro p { font-size: 1.05rem; color: #2a1a5a; }

/* === Cards grid === */
.grid { display: grid; gap: 1.25rem; }
.grid-cards { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .grid-cards { grid-template-columns: repeat(4, 1fr); }
  .grid-cards--3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card h3 { margin: 0.25rem 0 0.25rem; }
.card p { margin: 0; color: #2a1a5a; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(124, 58, 237, 0.1); color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* === Testimonial === */
.section-testimonial { background: rgba(167, 139, 250, 0.08); }
.testimonial { margin: 0; text-align: center; padding-inline: 0; }
.testimonial p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; 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: 3rem;
}
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

/* === FAQ === */
.faq {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--color-accent); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0.75rem 0 0; color: #2a1a5a; }

/* === Split about section === */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-media img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }

/* === Contact === */
.contact-card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.contact-card p { max-width: 60ch; margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-block { background: #fff; border: 1px solid rgba(76, 29, 149, 0.1); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-block h3 { margin-top: 0; }
.contact-block address { font-style: normal; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { padding: 0.35rem 0; text-align: left; border-bottom: 1px dotted rgba(76,29,149,0.15); }
.hours-table th { font-weight: 500; color: var(--color-neutral-dark); }
.hours-table td { color: var(--color-muted); text-align: right; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--color-ink);
}
.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); line-height: 1.5; flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === 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; margin: 0 0 0.75rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.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; grid-template-columns: 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-tagline { max-width: 30ch; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-legal { margin-top: 1rem !important; flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; font-size: 0.85rem; }
.logo--footer img { height: 60px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; margin-bottom: 0.5rem; }
.copyright { margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 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: var(--radius);
  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.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: 0.9rem;
}
.cookie-banner button:hover { border-color: #fff; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #a3720a; border-color: #a3720a; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; 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] { align-self: flex-start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }
