:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -10px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-primary); opacity: 0.85; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.7);
  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, box-shadow .3s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 24px -16px rgba(76, 29, 149, 0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; position: relative; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; 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); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 8px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--color-neutral-dark); margin: 5px 0; transition: transform .2s; }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid rgba(76, 29, 149, 0.08); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 1rem 1.25rem; }
  .primary-nav li { border-bottom: 1px solid rgba(76, 29, 149, 0.06); }
  .primary-nav a { display: block; padding: 0.9rem 0; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; font-family: var(--font-heading); transition: transform .2s, box-shadow .2s, background .2s; border: 0; cursor: pointer; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(124, 58, 237, 0.7); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1.5px solid rgba(124, 58, 237, 0.4); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero card === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(167, 139, 250, 0.25), transparent 60%), radial-gradient(circle at 80% 90%, rgba(202, 138, 4, 0.12), transparent 55%); pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero-card__box {
  max-width: 880px; margin-inline: auto;
  background: var(--color-neutral-light);
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(124, 58, 237, 0.08);
}
.hero-card__box h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { font-size: 1.15rem; max-width: 52ch; margin: 0 auto 1.75rem; color: rgba(76, 29, 149, 0.78); }
.hero__cta { margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-card__image { margin-top: 1.5rem; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero-card__box { padding: 4rem; }
}

/* === Sections === */
.intro { background: var(--color-neutral-light); }
.intro p { font-size: 1.075rem; }

.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .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); }
}

.card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(124, 58, 237, 0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon { width: 28px; height: 28px; color: var(--color-primary); margin-bottom: 1rem; padding: 0.4rem; background: rgba(124, 58, 237, 0.1); border-radius: 10px; box-sizing: content-box; }
.card p { color: rgba(76, 29, 149, 0.78); margin: 0; }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover { text-decoration: none; }

/* === Testimonial === */
.testimonial blockquote { background: #fff; padding: 2.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent); margin: 0; position: relative; }
.testimonial blockquote p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding: 4rem 0; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250, 245, 255, 0.9); max-width: 52ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--color-neutral-light); color: var(--color-primary); }
.cta-band .btn-primary:hover { background: #fff; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: 16px; border: 1px solid rgba(76, 29, 149, 0.12); background: #fff; display: flex; flex-direction: column; }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card__badge { position: absolute; top: -14px; right: 1.5rem; background: var(--color-accent); color: var(--color-neutral-light); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.pricing-card__plan { font-size: 1.4rem; margin-bottom: 0.5rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin: 0 0 1rem; line-height: 1.1; }
.pricing-card__lede { color: rgba(76, 29, 149, 0.75); margin-bottom: 1.25rem; font-weight: 500; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.pricing-card__features li { display: flex; gap: 0.5rem; padding: 0.4rem 0; color: var(--color-neutral-dark); }
.pricing-card__cta { margin-top: auto; margin-bottom: 0; }
.pricing-card__cta .btn { width: 100%; text-align: center; }

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

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-family: var(--font-heading); }
.field input, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid rgba(124, 58, 237, 0.2); border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.inline-img { border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }

/* === Hours table === */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { text-align: left; padding: 0.85rem 1.25rem; border-bottom: 1px solid rgba(124, 58, 237, 0.08); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-family: var(--font-heading); color: var(--color-neutral-dark); width: 45%; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-top: 3.5rem; margin-top: 3rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(250, 245, 255, 0.85); }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.logo--footer img { height: 64px; margin-bottom: 1rem; }
.legal-links { margin-top: 1.5rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(250, 245, 255, 0.1); padding-block: 1.5rem; font-size: 0.85rem; color: rgba(250, 245, 255, 0.6); text-align: center; }
.copyright p { margin: 0; }
address { font-style: normal; line-height: 1.7; }

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

/* === 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: 16px; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
  max-width: 560px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(250, 245, 255, 0.92); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { padding: 0.6rem 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: 600; cursor: pointer; font-size: 0.9rem; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; justify-self: start; }
