:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1E1B2E;
  --color-muted: #5B4B85;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 36px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hover-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  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 var(--hover-ease), box-shadow .3s var(--hover-ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: var(--shadow-sm); }
.site-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; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  background: transparent; border: 0; color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle:hover { background: rgba(124, 58, 237, 0.08); }

.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  padding: 1rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-radius: 8px;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  text-align: center;
  margin-top: 0.5rem;
}
.primary-nav .nav-cta:hover { color: #fff; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    align-items: center; gap: 0.25rem; padding: 0; background: transparent;
    box-shadow: none; border: 0;
  }
  .primary-nav a { padding: 0.5rem 0.85rem; position: relative; }
  .primary-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
    height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--hover-ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .primary-nav .nav-cta { padding: 0.55rem 1.1rem; border-radius: 999px; margin-top: 0; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--hover-ease), box-shadow .2s var(--hover-ease), background .2s var(--hover-ease), color .2s var(--hover-ease);
  text-align: center;
  line-height: 1.2;
}
.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.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.7); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1.5px solid rgba(76, 29, 149, 0.25);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(202, 138, 4, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px -8px rgba(202, 138, 4, 0.7); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (hero-centered) === */
.hero { position: relative; padding-block: 4rem; text-align: center; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% 0 auto 0; height: 70%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 60% at 50% 20%, rgba(167, 139, 250, 0.35), transparent 70%),
    radial-gradient(40% 40% at 80% 40%, rgba(202, 138, 4, 0.12), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 600; margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  max-width: 22ch;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 52ch; font-size: 1.15rem; color: var(--color-muted); margin: 0 auto 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }
.hero__image {
  width: 100%; max-width: 1000px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(76, 29, 149, 0.08);
}
.hero__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

/* === Sections === */
.section { padding-block: 4rem; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; 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); }
  .grid { gap: 1.5rem; }
}

/* === Cards === */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--hover-ease), box-shadow .25s var(--hover-ease), border-color .25s var(--hover-ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.25); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; 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;
}
a.card-link { color: inherit; }
a.card-link:hover { color: inherit; }
a.card-link h3 { color: var(--color-neutral-dark); transition: color .2s var(--hover-ease); }
a.card-link:hover h3 { color: var(--color-primary); }

/* === Intro paragraph === */
.intro__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.intro__inner p { font-size: 1.1rem; color: var(--color-muted); line-height: 1.75; }

/* === Testimonial === */
.testimonial blockquote {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial blockquote::before {
  content: '"'; position: absolute; top: 0.5rem; left: 1.5rem;
  font-family: var(--font-heading); font-size: 5rem; color: var(--color-secondary); opacity: 0.4; line-height: 1;
}
.testimonial p { font-size: 1.15rem; color: var(--color-ink); margin-bottom: 1.25rem; font-style: italic; }
.testimonial cite { color: var(--color-neutral-dark); font-weight: 600; font-style: normal; }

/* === CTA band === */
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band__inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 80% 30%, rgba(202, 138, 4, 0.35), transparent 70%);
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; }

/* === Stats === */
.stat { text-align: center; padding: 2rem 1.25rem; }
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800; color: var(--color-accent);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.stat__label { color: var(--color-muted); margin: 0; }

/* === Contact === */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact__info address { font-style: normal; line-height: 1.9; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid rgba(76, 29, 149, 0.1); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.2fr; } }

/* === Form === */
.form { background: #fff; padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(76, 29, 149, 0.08); box-shadow: var(--shadow-sm); }
.form label { display: block; font-weight: 500; margin: 1rem 0 0.4rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form label:first-of-type { margin-top: 0; }
.form input, .form textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-ink);
  background: var(--color-neutral-light);
  transition: border-color .2s var(--hover-ease), box-shadow .2s var(--hover-ease);
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}
.form button { margin-top: 1.5rem; }

/* === FAQ === */
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(76, 29, 149, 0.1);
  padding: 1.1rem 1.25rem;
  transition: box-shadow .2s var(--hover-ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(124, 58, 237, 0.25); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  list-style: none; 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; color: var(--color-primary); font-weight: 400; line-height: 1;
  transition: transform .2s var(--hover-ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.85rem 0 0; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding-top: 3.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__grid ul, .site-footer__grid .legal-links { list-style: none; padding: 0; margin: 0; }
.site-footer__grid li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.9; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(255,255,255,0.12); }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem; font-size: 0.9rem; color: rgba(250, 245, 255, 0.6); }
.site-footer__base p { margin: 0; }
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}

/* === 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: var(--shadow-lg);
  max-width: 640px; margin-left: 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__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.3); }
.cookie-banner__actions .btn--ghost:hover { color: #fff; border-color: #fff; }
.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: 0.5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }

/* === Reveal on scroll === */
.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; } }
