/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5B4B8A;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
  --gradient-accent: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
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; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Header / glass nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 6px 20px -12px rgba(76, 29, 149, 0.25);
  border-bottom-color: var(--color-border);
}
.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; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; gap: 0.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { padding: 0.75rem 0.5rem; color: var(--color-neutral-dark); font-weight: 500; border-radius: var(--radius-sm); }
.primary-nav a:hover { background: rgba(124, 58, 237, 0.08); text-decoration: none; }
.primary-nav .nav-cta { background: var(--gradient-primary); color: #fff; text-align: center; margin-top: 0.5rem; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; flex-direction: row; padding: 0; background: transparent; box-shadow: none; border: 0; gap: 0.25rem; align-items: center; }
  .primary-nav a { position: relative; padding: 0.6rem 0.9rem; }
  .primary-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; padding: 0.6rem 1.1rem; border-radius: 999px; }
  .primary-nav .nav-cta:hover { text-decoration: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; font-size: 1rem; }
.btn:focus-visible { outline: 3px solid rgba(124, 58, 237, 0.4); outline-offset: 3px; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 12px 30px -12px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(124, 58, 237, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid var(--color-border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(34, 197, 94, 0.55); text-decoration: none; }

/* === Hero card === */
.hero { padding-block: 3rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% 40% -10%; background: radial-gradient(60% 60% at 50% 0%, rgba(167, 139, 250, 0.35), transparent 70%); z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-card__inner {
  max-width: 940px; margin-inline: auto;
  background: #fff;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .hero-card__inner { padding: 4rem 3.5rem; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.hero-card__inner h1 { max-width: 22ch; margin-inline: auto; }
.lede { color: var(--color-muted); font-size: 1.125rem; max-width: 52ch; margin: 1rem auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .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-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-accent); color: #fff; margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08)); }
.testimonial { margin: 0; text-align: center; padding: 2rem 1rem; }
.testimonial .quote-mark { color: var(--color-secondary); margin-bottom: 1rem; }
.testimonial p { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; line-height: 1.4; max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite { display: block; color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; }
.cta-band__inner {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem 3rem; } }
.cta-band__inner h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band__inner p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 55ch; }

/* === Stats === */
.stats-band { background: rgba(167, 139, 250, 0.06); }
.stats .stat { text-align: center; padding: 1.5rem; }
.stat-num { display: block; font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-accent); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.stat p { color: var(--color-muted); font-size: 0.98rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.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; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; }

/* === Contact band / hours === */
.contact-band { text-align: center; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.contact-band p { margin: 0; color: var(--color-neutral-dark); font-size: 1.05rem; }
.hours { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours th, .hours td { padding: 0.85rem 1.25rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: #fff; }
.footer-logo { display: inline-block; margin-bottom: 1rem; padding: 0; background: rgba(255,255,255,0.06); border-radius: 12px; }
.footer-logo img { height: 60px; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.8; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.legal-links a { padding: 0; font-size: 0.9rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* === 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-md); box-shadow: var(--shadow-lg); 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-family: var(--font-body); font-size: 0.9rem; padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; 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; }
.cookie-banner__prefs [data-cookie-save] { background: var(--color-primary); border-color: var(--color-primary); margin-top: 0.5rem; justify-self: start; }

/* === Reveal === */
.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; } html { scroll-behavior: auto; } }
