:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B2E;
  --color-text-muted: #5B5473;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.2);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .75rem; color: var(--color-neutral-dark); }
p { margin: 0 0 1rem; }

/* === Layout === */
main { display: block; }
section { padding: 4rem 1.25rem; }
@media (min-width: 768px) { section { padding: 6rem 2rem; } }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.6); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.08); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* === Header === */
.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 4px 20px rgba(76, 29, 149, 0.06); border-bottom-color: var(--color-border); }
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; padding: 10px 8px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.primary-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .7rem .25rem; color: var(--color-neutral-dark); font-weight: 500; border-bottom: 1px solid var(--color-border); position: relative; }
.primary-nav a:last-child { border-bottom: none; }
.primary-nav a.is-current { color: var(--color-primary); }
.primary-nav .nav-cta { margin-top: .5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: 999px; text-align: center; padding: .8rem 1.4rem; border: none; }
.primary-nav .nav-cta:hover { color: #fff; }

@media (min-width: 900px) {
  .primary-nav {
    display: flex; flex-direction: row; align-items: center; gap: 1.75rem;
    position: static; padding: 0; background: transparent; border: none; box-shadow: none;
  }
  .primary-nav a { padding: .3rem 0; border-bottom: none; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; 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.is-current::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin: 0; padding: .65rem 1.25rem; }
}

/* === Hero (centered) === */
.hero { position: relative; padding: 4rem 1.25rem 3rem; text-align: center; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 6rem 2rem 4rem; } }
.hero__glow {
  position: absolute; inset: -20% 10% auto 10%; height: 480px;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.22), transparent 70%),
              radial-gradient(closest-side, rgba(34, 197, 94, 0.10) at 70% 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0; pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(124, 58, 237, 0.08);
  padding: .4rem .9rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 28ch;
  margin: 0 auto 1.25rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 52ch; margin: 0 auto 1.75rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__image { max-width: 1100px; margin: 3rem auto 0; padding: 0 .5rem; position: relative; z-index: 1; }
.hero__image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }

/* === Intro === */
.intro { background: transparent; }
.intro__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.intro__inner h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
.intro__inner p { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.75; }

/* === Section head === */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.section-head p { color: var(--color-text-muted); font-size: 1.05rem; }

/* === Highlights grid === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.25); }
.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(167, 139, 250, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--color-text-muted); font-size: .98rem; margin: 0; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(167, 139, 250, 0.08)); }
.testimonial blockquote {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 0;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-neutral-dark);
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal; font-size: .95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.cta-band .btn--primary { background: #fff; color: var(--color-neutral-dark); }
.cta-band .btn--primary:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }

/* === FAQ === */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(124, 58, 237, 0.2); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark);
  font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem; font-weight: 400;
  color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 1rem 0 0; color: var(--color-text-muted); font-size: .98rem; line-height: 1.65; }

/* === Contact page === */
.contact-grid__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 900px) { .contact-grid__inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info, .contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-info h2, .contact-form h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.contact-info h3 { font-size: 1.05rem; margin: 1.5rem 0 .75rem; color: var(--color-neutral-dark); }
.contact-info p { margin-bottom: .9rem; font-size: .98rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-neutral-dark); }
.hours td { color: var(--color-text-muted); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form label > span { display: block; font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); margin-bottom: .4rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem;
  background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-text-muted); margin: 1.25rem 0 1.5rem; }
.form-consent input { width: auto; margin-top: .2rem; flex-shrink: 0; }
.form-consent span { line-height: 1.5; }
.contact-form .btn { width: 100%; }
@media (min-width: 640px) { .contact-form .btn { width: auto; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.82); padding: 4rem 1.25rem 1.5rem; }
.site-footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.foot-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.foot-col p { color: rgba(255,255,255,0.72); font-size: .95rem; margin-bottom: .75rem; }
.foot-col a { color: rgba(255,255,255,0.82); display: inline-block; padding: .25rem 0; }
.foot-col a:hover { color: #fff; }
.foot-col nav a, nav.foot-col a { display: block; }
.logo--foot { margin-bottom: 1rem; }
.logo--foot img { height: 60px; }
@media (min-width: 768px) { .logo--foot img { height: 72px; } }
.legal-links { margin-top: 1.25rem; font-size: .88rem; color: rgba(255,255,255,0.6); }
.legal-links a { color: rgba(255,255,255,0.7); padding: 0; }
.site-footer__base {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: .85rem; color: rgba(255,255,255,0.6);
  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.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 245, 255, 0.2);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: var(--font-heading); font-weight: 500;
  font-size: .9rem; cursor: pointer;
  transition: background .2s var(--ease);
}
.cookie-banner__actions button:hover { background: rgba(250, 245, 255, 0.1); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent); color: #0a2f14; border-color: var(--color-accent);
}
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); color: #0a2f14; padding: .5rem 1rem; border-radius: 999px; border: none; font-family: var(--font-heading); font-weight: 500; cursor: pointer; }

/* === Reveal (scroll motion) === */
.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; } .site-header { transition: none; } .btn, .card { transition: none; } }
