:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --border: 1px solid rgba(76, 29, 149, 0.12);
}

/* === Reset & base === */
*, *::before, *::after { 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;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
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;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .75rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* === Header === */
.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: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

/* === Nav === */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--color-neutral-dark);
  transition: transform .2s, opacity .2s;
}
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: none; flex-direction: column;
  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;
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open .nav-list { display: flex; }
.nav-list li { padding: .5rem 0; }
.nav-list a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-neutral-dark);
  position: relative;
}
.nav-list a[aria-current="page"] { color: var(--color-primary); }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  font-size: 1rem;
  line-height: 1.2;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 32px -12px rgba(139, 92, 246, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: rgba(76, 29, 149, 0.2);
}
.btn-ghost:hover { background: rgba(139, 92, 246, 0.08); transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(16, 185, 129, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 32px -12px rgba(16, 185, 129, 0.6); }

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3.5rem 3rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), rgba(196, 181, 253, 0.18));
  overflow: hidden;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.hero-copy h1 { margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: rgba(76, 29, 149, 0.85); max-width: 46ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 860px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint {
  background: linear-gradient(180deg, rgba(196, 181, 253, 0.15), rgba(250, 245, 255, 0));
}
.section-sub {
  font-size: 1.1rem;
  color: rgba(76, 29, 149, 0.75);
  max-width: 60ch;
  margin-bottom: 2rem;
}
.section-figure {
  margin: 2.5rem 0 0;
}
.section-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split-figure { display: grid; gap: 2.5rem; align-items: center; }
.split-figure img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) {
  .section { padding-block: 5.5rem; }
  .split-figure { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
}

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .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: 1.75rem;
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.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(139, 92, 246, 0.15), rgba(16, 185, 129, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: rgba(76, 29, 149, 0.8); margin-bottom: 0; font-size: .96rem; }

/* === Testimonial === */
.quote {
  margin: 0;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
  font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
}
.cta-band-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 55ch; }
@media (min-width: 760px) {
  .cta-band-inner { grid-template-columns: 1fr auto; }
}

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 900px) {
  .pricing-grid-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: var(--border);
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.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: -14px; right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .75rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.pricing-card__plan {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: .25rem;
}
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: .75rem;
  line-height: 1;
}
.pricing-card__lede {
  color: rgba(76, 29, 149, 0.75);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.pricing-card__features {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: .55rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex; gap: .5rem;
  font-size: .95rem;
  color: rgba(76, 29, 149, 0.85);
}
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.faq details {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  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-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .75rem 0 0; color: rgba(76, 29, 149, 0.8); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-neutral-dark);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem;
  color: rgba(76, 29, 149, 0.85);
}
.form-consent input { margin-top: .2rem; }
.contact-form .btn { align-self: flex-start; }

/* === Contact band / hours === */
.contact-band { text-align: left; }
.contact-line { font-size: 1.05rem; margin-bottom: 1.5rem; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
}
.hours-table caption {
  text-align: left;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
}
.hours-table th, .hours-table td {
  padding: .75rem 1.25rem;
  border-top: 1px solid rgba(76, 29, 149, 0.08);
  text-align: left;
  font-size: .95rem;
}
.hours-table th { font-family: var(--font-heading); font-weight: 500; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3.5rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}
.site-footer .logo img { filter: brightness(0) invert(1); }
.footer-tagline { margin-top: 1rem; color: rgba(255, 255, 255, 0.7); max-width: 32ch; }
.site-footer nav ul, .legal-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.legal-links { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: .9rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-copy {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.6);
}

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

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  display: none;
  z-index: 9999;
  max-width: 520px;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  font-size: .92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  cursor: pointer;
  font-size: .88rem;
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(250, 245, 255, 0.08); }
.cookie-banner__actions [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions [data-cookie-accept]:hover { background: #0ea371; }
.cookie-banner__prefs {
  display: flex; flex-direction: column; gap: .5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
}
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
}
