:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5FA0;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 60px -20px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
*, *::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); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
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; }

/* === Header / 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 rgba(76, 29, 149, 0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 4px 20px rgba(76, 29, 149, 0.08);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent; border: 0; color: var(--color-neutral-dark);
  cursor: pointer; padding: .5rem; border-radius: 8px;
}
.primary-nav { display: none; gap: 0.25rem; align-items: center; }
.primary-nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  color: var(--color-neutral-dark);
  font-weight: 500; font-size: 0.95rem;
  border-radius: 8px;
  transition: color .2s;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 2px; background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: #fff;
  padding: 0.6rem 1.1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

.primary-nav.is-open {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer; border: 0;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-align: center;
}
.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.7); text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1.5px solid rgba(76, 29, 149, 0.2);
}
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); transform: translateY(-2px); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero (split) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(202, 138, 4, 0.08), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(167, 139, 250, 0.18), transparent 50%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.hero-inner.single { grid-template-columns: 1fr; }
.hero-slim { padding-block: 3rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1rem;
}
.hero-text .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.hero-text.centered { text-align: center; margin-inline: auto; max-width: 720px; }

@media (min-width: 900px) {
  .hero { padding: 6rem 1.5rem 6rem; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow { max-width: 780px; }
.section.narrow p { font-size: 1.1rem; color: var(--color-text); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
@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;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(76, 29, 149, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(76, 29, 149, 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.2));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial-section { padding-block: 3rem; }
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.12);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--color-neutral-dark);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.testimonial cite {
  font-style: normal; font-weight: 600;
  color: var(--color-muted); font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  padding: 4rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  margin: 3rem auto;
  max-width: 1200px;
  border-radius: var(--radius-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary {
  background: #fff; color: var(--color-neutral-dark);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}
.cta-band .btn-primary:hover { background: var(--color-neutral-light); }
.cta-meta { font-size: 0.9rem; opacity: 0.8; margin-bottom: 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;
  padding: 2.25rem;
  border-radius: 16px;
  border: 1px solid rgba(76, 29, 149, 0.12);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: 0 20px 50px -20px rgba(202, 138, 4, 0.3);
}
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: #fff;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-card__plan { margin: 0 0 0.5rem; font-size: 1.35rem; }
.pricing-card__price {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700; font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  margin: 0 0 0.75rem; letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); margin: 0 0 1.25rem; font-size: 0.95rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.pricing-card__features li {
  display: flex; gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(76, 29, 149, 0.06);
  color: var(--color-text); font-size: 0.95rem;
}
.pricing-card__cta { display: block; text-align: center; }

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

.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.95rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px;
  background: #fff; color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; font-size: 0.85rem; font-weight: 400 !important; color: var(--color-muted) !important; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

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

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 4rem 1.25rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 1rem; letter-spacing: 0.03em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(250, 245, 255, 0.75); }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-col .logo img { height: 72px; margin-bottom: 1rem; filter: brightness(1) contrast(1); }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.copyright {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.12);
  font-size: 0.85rem; color: rgba(250, 245, 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: 0 20px 60px -20px rgba(0,0,0,0.5);
  max-width: 640px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(250, 245, 255, 0.12); color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(250, 245, 255, 0.2); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #b57603; }
.cookie-banner__prefs { margin-top: 1rem; 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 [data-cookie-save] { align-self: flex-start; margin-top: 0.5rem; }

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