:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --maxw: 1160px;
}

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

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 500;
  margin: 0 0 1rem;
}

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

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.12);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo { display: inline-block; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: none;
  color: var(--color-neutral-dark);
  cursor: pointer;
  padding: 0.5rem;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding-block: 1rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.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;
    align-items: center;
    gap: 1.75rem;
    width: auto;
    padding: 0;
  }
  .primary-nav a { border: none; padding: 0; }
  .primary-nav a:hover { color: var(--color-primary); }
  .header-inner { flex-wrap: nowrap; }
}

/* === Hero (stacked) === */
.hero {
  padding-block: 3rem;
  text-align: left;
}
.hero .container { max-width: 720px; }
.hero h1 { margin-block: 0.5rem 1.5rem; }
.hero-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-neutral-dark);
  opacity: 0.85;
  margin-bottom: 1.75rem;
  max-width: 55ch;
}
@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section-quiet { background: #fff; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.section-head p { color: var(--color-neutral-dark); opacity: 0.8; }

.inline-figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.inline-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* === Cards / Grid === */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.section-quiet .card { background: var(--color-neutral-light); }
.card h3 { margin: 0.75rem 0 0.5rem; }
.card p { margin: 0; }
.card-icon { color: var(--color-primary); }
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -18px rgba(76, 29, 149, 0.35);
  color: inherit;
}

/* === Testimonial === */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  padding: 1rem;
}
.testimonial p { font-style: italic; margin-bottom: 1.25rem; }
.testimonial cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding-block: 3.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: var(--color-neutral-light); opacity: 0.95; }

/* === Contact === */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-details { font-style: normal; }
.contact-details p { margin-bottom: 1rem; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(76, 29, 149, 0.12);
}
.hours-table caption {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-neutral-dark);
  text-align: left;
  padding: 0.5rem 0;
  caption-side: top;
}
.hours-table th, .hours-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  font-weight: 400;
}
.hours-table th { color: var(--color-neutral-dark); font-weight: 500; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }

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

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding-block: 3rem 1.5rem;
  margin-top: 2rem;
}
.site-footer h3 {
  color: var(--color-neutral-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  font-weight: 500;
}
.site-footer a { color: var(--color-neutral-light); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; }
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.logo-footer img { height: 64px; }
@media (min-width: 768px) { .logo-footer img { height: 80px; } }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; opacity: 0.85; }
.copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  padding-top: 1.25rem;
  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 20px 40px -20px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(250, 245, 255, 0.35);
  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;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label {
  display: flex; gap: 0.5rem; align-items: center;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
