/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1233;
  --color-muted: #6B5A85;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Lora', serif;
  --font-body: 'Inter', 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.4);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; 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; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { padding: 0; margin: 0; list-style: none; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding: 4rem 0; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }
.section-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.section-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.section-cta { margin-top: 2rem; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin-bottom: 0.75rem; }

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

/* === 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); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; padding: 0.5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.25rem; background: #fff; border-top: 1px solid var(--color-border); }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; display: block; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; position: static; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: transparent; border: 0; }
  .primary-nav a { padding: 0; }
  .logo img { height: 96px; }
}

/* === Hero (centered) === */
.hero { padding: 4rem 0 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
.hero h1 { max-width: 28ch; margin: 0 auto 1.25rem; font-weight: 600; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; color: var(--color-muted); font-size: 1.15rem; }
.hero__cta { margin-bottom: 3rem; }
.hero__figure { max-width: 100%; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

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

/* === Cards / grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.97rem; }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-style: italic; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1rem; line-height: 1.5; }
.testimonial cite { font-style: normal; font-size: 0.95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: var(--color-neutral-dark); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band a { color: #fff; }

/* === FAQ === */
.faq details { border-bottom: 1px solid var(--color-border); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.1rem; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-primary); transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-info address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours caption { text-align: left; font-weight: 600; color: var(--color-neutral-dark); padding-bottom: 0.5rem; }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours td { color: var(--color-muted); }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); }
.contact-form h2 { margin-top: 0; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 0.4rem; }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 8px; font: inherit; color: inherit; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--color-muted); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer .logo--footer img { height: 60px; filter: brightness(0) invert(1); }
.site-footer .tagline { font-family: var(--font-heading); font-style: italic; margin-top: 1rem; color: rgba(255,255,255,0.75); }
.footer-heading { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); text-align: center; }

/* === 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.4rem; border-radius: var(--radius); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5); max-width: 640px; margin: 0 auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { padding: 0.55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: 600; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255,255,255,0.14); color: #fff; }
.cookie-banner [data-cookie-settings] { background: transparent; color: #fff; text-decoration: underline; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] { background: var(--color-primary); color: #fff; align-self: flex-start; margin-top: 0.5rem; }
