:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #2A1655;
  --color-muted: #6B5B9A;
  --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);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 29, 149, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
button { font: inherit; cursor: pointer; }

/* === Typography === */
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;
  font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 999px;
}
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 52ch; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section-title { text-align: center; margin-bottom: 2.5rem; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: .5rem 1rem; z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

/* === Header / Nav (glass) === */
.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 var(--color-border);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.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;
  padding-block: 0.85rem; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }

.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  color: var(--color-neutral-dark);
  border-radius: 10px; padding: .5rem; display: inline-flex;
}
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column; gap: .25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: .65rem .5rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
  border-radius: 8px;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: #fff;
  padding: .55rem 1rem; border-radius: 999px;
  text-align: center; margin-top: .25rem;
}
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .975rem;
  border: 1px solid transparent;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
  cursor: pointer;
}
.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.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.6); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent); color: #05310f;
  box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.5);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(34, 197, 94, 0.6); color: #05310f; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3.5rem 4rem;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(34, 197, 94, 0.10), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(167, 139, 250, 0.20), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light) 0%, rgba(167, 139, 250, 0.08) 100%);
  overflow: hidden;
}
.hero-split__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.hero-split__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-thank { padding-block: 4rem 3rem; text-align: center; }
.hero-thank .eyebrow { margin-inline: auto; }
.hero-thank .lede { margin-inline: auto; }
.hero-thank .cta-row { justify-content: center; }

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

/* === Subnav for services === */
.subnav {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}
.subnav a {
  padding: .5rem .95rem; border-radius: 999px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--color-neutral-dark); font-weight: 500; font-size: .925rem;
}
.subnav a:hover { background: rgba(124, 58, 237, 0.14); }
.subnav a[aria-current="page"] {
  background: var(--color-primary); color: #fff;
}

/* === Intro / narrow sections === */
.intro h2 { text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.075rem; }

/* === Pillars grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.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-hover), box-shadow .25s var(--ease-hover);
}
.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(34,197,94,0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); font-size: .975rem; margin: 0; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.07)); }
.testimonial {
  margin: 0; text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: .25rem; left: 1.5rem;
  font-family: var(--font-heading); font-size: 5rem; color: var(--color-secondary);
  line-height: 1; opacity: .35;
}
.testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; }
.testimonial cite {
  display: block; margin-top: 1rem;
  font-style: normal; font-weight: 600;
  color: var(--color-neutral-dark); font-size: .95rem;
}

/* === CTA band === */
.cta-band {
  margin-block: 4rem;
  padding-block: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(34, 197, 94, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start;
}
.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: 800px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === Contact page === */
.contact-grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; }
}
.contact-grid address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { padding: .55rem .25rem; border-bottom: 1px solid var(--color-border); text-align: left; font-size: .95rem; }
.hours th { color: var(--color-muted); font-weight: 500; }

.contact-form {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-md);
}
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label {
  display: block; margin-bottom: .35rem;
  font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  font: inherit; color: var(--color-text);
  background: var(--color-neutral-light);
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .85rem; color: var(--color-muted);
  margin-block: .5rem 1.25rem; line-height: 1.5;
}
.form-consent input { margin-top: .25rem; }

.contact-band-section { background: rgba(167, 139, 250, 0.08); }
.contact-band-section h2 { text-align: center; }
.contact-band-section p { text-align: center; font-size: 1.05rem; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 12px; margin-bottom: .75rem;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600;
  color: var(--color-neutral-dark);
  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: -.15rem;
  font-size: 1.5rem; color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: #E9D5FF;
  margin-top: 4rem; padding-block: 3rem 1.5rem;
}
.site-footer a { color: #E9D5FF; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1fr;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer .logo img { height: 72px; filter: brightness(0) invert(1); opacity: .95; }
.footer-tag { margin-top: .75rem; color: rgba(233,213,255,.75); font-size: .95rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; line-height: 1.75; font-size: .95rem; }
.site-footer .legal { margin-top: 1rem; font-size: .875rem; }
.copyright { padding-top: 1.5rem; font-size: .875rem; color: rgba(233,213,255,.7); }

/* === 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; border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .55rem 1rem; border-radius: 999px; border: 0;
  font-size: .875rem; font-weight: 600;
  background: rgba(255,255,255,0.12); color: #fff;
  transition: background .2s var(--ease-hover);
}
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.22); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #05310f; }
.cookie-banner__actions [data-cookie-accept]:hover { background: #16A34A; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { font-size: .9rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: .5rem;
  background: var(--color-primary); color: #fff;
  border: 0; padding: .55rem 1rem; border-radius: 999px;
  font-weight: 600;
}

@media (min-width: 800px) {
  .cookie-banner { left: auto; bottom: 1.5rem; right: 1.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; }
}
