:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B8A;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(76,29,149,0.08);
  --shadow-md: 0 20px 60px -20px rgba(76,29,149,0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .75rem; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-neutral-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,245,255,0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(76,29,149,0.08);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250,245,255,0.92); box-shadow: 0 4px 20px rgba(76,29,149,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; align-items: center; gap: 1.25rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding: .35rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }
.nav-toggle { background: transparent; border: 1px solid rgba(76,29,149,0.15); color: var(--color-neutral-dark); border-radius: 10px; padding: .45rem; cursor: pointer; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
}

.primary-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid rgba(76,29,149,0.08); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .primary-nav.is-open { position: static; padding: 0; box-shadow: none; flex-direction: row; align-items: center; } }

/* === Hero (centered, gradient) === */
.hero {
  position: relative;
  padding-block: 4rem;
  text-align: center;
  background: radial-gradient(1200px 500px at 50% -100px, rgba(167,139,250,0.35), transparent 60%),
              linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(34,197,94,0.10), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin: 1.25rem auto 1.75rem; color: var(--color-muted); font-size: 1.125rem; }
.hero-cta { margin: 0 0 3rem; }
.hero-image { max-width: 1000px; margin: 3rem auto 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; padding: .85rem 1.6rem; border-radius: 999px; border: none; cursor: pointer; text-align: center; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 30px -10px rgba(124,58,237,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124,58,237,0.65); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(34,197,94,0.5); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.intro { text-align: center; }
.intro h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.intro p { color: var(--color-text); font-size: 1.05rem; max-width: 62ch; margin-inline: auto; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(76,29,149,0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(76,29,149,0.25); }
.card-link { text-decoration: none; }
.card-link:hover h3 { color: var(--color-primary); }
.card h3 { margin-bottom: .5rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); font-size: .97rem; margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,197,94,0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(167,139,250,0.08) 50%, transparent); }
.testimonial { text-align: center; margin: 0; padding: 0 1rem; position: relative; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin: 0 auto 1.5rem; }

/* === Contact band === */
.contact-band h2 { text-align: center; }
.contact-band p { text-align: center; max-width: 60ch; margin-inline: auto; }
.contact-band-inner { display: grid; gap: 1.5rem; }
.contact-band-image img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 720px) { .contact-band-inner { grid-template-columns: 1fr 1fr; align-items: center; } }

/* === Contact form === */
.contact-form-section h2 { text-align: center; }
.form-lede { text-align: center; max-width: 60ch; margin: 0 auto 2rem; color: var(--color-muted); }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .7rem .9rem; border: 1px solid rgba(76,29,149,0.15); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-muted); line-height: 1.4; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Hours table === */
.hours-table { width: 100%; max-width: 480px; margin: 1.5rem auto 0; border-collapse: collapse; font-size: .95rem; }
.hours-table caption { font-weight: 600; color: var(--color-neutral-dark); margin-bottom: .5rem; }
.hours-table th, .hours-table td { padding: .55rem .75rem; text-align: left; border-bottom: 1px solid rgba(76,29,149,0.08); }
.hours-table th { color: var(--color-neutral-dark); font-weight: 500; }

/* === FAQ === */
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq details { background: #fff; border-radius: 12px; margin-bottom: .75rem; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76,29,149,0.06); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; font-size: 1.3rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; 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 img { height: 64px; filter: brightness(0) invert(1); }
.footer-tag { margin-top: 1rem; color: rgba(255,255,255,0.7); font-size: .95rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: rgba(255,255,255,0.85); font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact { font-style: normal; font-size: .95rem; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: #fff; }
.legal-links { margin-top: 1rem; font-size: .85rem; }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .85rem; color: rgba(255,255,255,0.6); }

/* === 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 -10px rgba(0,0,0,0.35); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1.1rem; font-size: .9rem; }
.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: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { margin-top: .5rem; align-self: flex-start; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
