:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1F1147;
  --color-muted: #6B5AA0;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(31, 17, 71, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === Base === */
*, *::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-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(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* === 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; } }

/* === 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), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; padding: .5rem;
  color: var(--color-neutral-dark); cursor: pointer;
}
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  flex-direction: column; gap: .25rem;
  box-shadow: var(--shadow-sm);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: .75rem .5rem;
  border-radius: 8px;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; flex-direction: row; position: static;
    background: transparent; border: 0; padding: 0; box-shadow: none;
    gap: .5rem; align-items: center;
  }
  .primary-nav a { padding: .5rem .9rem; }
  .primary-nav a::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
    background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
  line-height: 1.2;
}
.btn--sm { padding: .55rem .9rem; font-size: .875rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  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); color: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #052e16;
  box-shadow: 0 12px 30px -12px rgba(34, 197, 94, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(34, 197, 94, 0.7); color: #052e16; }
.btn--ghost {
  background: rgba(255,255,255,0.7);
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Hero (hero-centered) === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(167,139,250,0.14), rgba(250,245,255,0) 60%);
}
.hero__glow {
  position: absolute; inset: -20% 10% auto 10%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.28), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.hero h1 { max-width: 24ch; margin: 0; }
.hero__sub { max-width: 52ch; color: var(--color-muted); font-size: 1.15rem; margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: .5rem; }
.hero__media {
  width: 100%; max-width: 1000px; margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.hero__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero--compact { padding-block: 3.5rem 2rem; }
.hero--compact .hero__inner { gap: 1rem; }

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

.eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, #fff, #F3EBFF); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin: 0 0 1.5rem; }
.intro { text-align: center; }
.intro .prose { text-align: left; }
@media (min-width: 768px) { .intro { text-align: center; } .intro .prose { font-size: 1.075rem; } }
.prose { color: var(--color-ink); line-height: 1.75; }

/* === Figures === */
.figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  background: #fff;
}
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure--wide { margin-bottom: 2.5rem; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .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); }
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column; gap: .75rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.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.14), rgba(167,139,250,0.14));
  color: var(--color-primary);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--color-muted); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote {
  margin: 0;
  padding: 2rem 1rem 0;
  position: relative;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.testimonial cite {
  display: block; margin-top: 1rem;
  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: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(34,197,94,0.25), transparent 45%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 60ch; margin: 0 auto 1.5rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute; top: -12px; right: 1.5rem;
  background: var(--color-accent);
  color: #052e16;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(34,197,94,0.5);
}
.pricing-card__plan { margin: 0; font-size: 1.4rem; color: var(--color-neutral-dark); }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: .5rem 0 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .98rem; }
.pricing-card__features li span { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { margin-top: auto; align-self: stretch; }

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

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

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-top: 0; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .92rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.tagline { color: rgba(255,255,255,0.7); margin-top: .5rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.site-footer__base {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  color: rgba(255,255,255,0.6);
  font-size: .88rem;
  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);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 620px; margin-inline: auto;
  font-size: .95rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: rgba(255,255,255,0.92); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,0.1); }
.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: .92rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; }
