:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #6B6693;
  --color-line: rgba(30, 27, 75, 0.1);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-hover: 0 20px 40px -18px rgba(30, 27, 75, 0.28);
  --shadow-card: 0 20px 60px -28px rgba(30, 27, 75, 0.25);
  --font-heading: 'Space Grotesk', 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);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; 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; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === 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 transparent;
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover), border-color .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  border-bottom-color: var(--color-line);
  box-shadow: 0 4px 20px -8px rgba(30, 27, 75, 0.1);
}
.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 { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: none; padding: .5rem;
  color: var(--color-neutral-dark); cursor: pointer;
  border-radius: 8px;
}
.primary-nav {
  display: none;
  flex-direction: column; gap: .25rem;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 20px 30px -20px rgba(30, 27, 75, 0.2);
}
.primary-nav.open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500;
  padding: .6rem .25rem;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, var(--color-primary), #5B21B6);
  color: #fff; border-radius: 999px;
  padding: .6rem 1.1rem; text-align: center;
  margin-top: .5rem;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.5); }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-family: var(--font-body); font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #5B21B6);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.6);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.65); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border-color: var(--color-line);
}
.btn-ghost:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #0891B2);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(6, 182, 212, 0.6);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(6, 182, 212, 0.7); }

/* === Hero === */
.hero {
  position: relative; overflow: hidden;
  padding: 4rem 1.25rem 3rem;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: radial-gradient(ellipse at 30% 30%, rgba(6, 182, 212, 0.12), transparent 55%),
              radial-gradient(ellipse at 70% 40%, rgba(124, 58, 237, 0.12), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner, .hero-split-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero-inner { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: .35rem .85rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .lede {
  max-width: 56ch; margin: 1.25rem auto 2rem;
  font-size: 1.15rem; color: var(--color-muted);
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
  margin-top: 1rem;
}
.hero-visual {
  margin: 3rem auto 0; max-width: 1000px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.proof-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin: 2.5rem auto 0; max-width: 900px;
  color: var(--color-muted); font-size: .9rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

/* Hero split (inner pages) */
.hero-split-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-split .eyebrow { }
.hero-split h1 { max-width: 20ch; }
.hero-split .lede { max-width: 50ch; margin-left: 0; margin-right: 0; }
.hero-split .cta-row { justify-content: flex-start; }
.hero-split .hero-visual { margin: 0; aspect-ratio: 4 / 5; }

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

.thankyou { text-align: center; padding: 5rem 1.25rem 4rem; }
.success-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* === Sections === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section.narrow { max-width: 780px; }
.section.narrow h2 { text-align: left; }
.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.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.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;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover);
  display: flex; flex-direction: column; gap: .5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(124, 58, 237, 0.25); }
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }
.card h3 { margin: .25rem 0 .25rem; }
.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.15), rgba(6, 182, 212, 0.15));
  color: var(--color-primary);
  margin-bottom: .5rem;
}
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { color: inherit; }
a.card-link:hover h3 { color: var(--color-primary); }

/* === Quote / testimonial === */
.quote-section { max-width: 900px; }
.quote-section blockquote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.quote-section blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-weight: 500;
  max-width: 46ch; margin: 0 auto 1.25rem;
}
.quote-section cite {
  font-style: normal; font-size: .9rem;
  color: var(--color-muted); letter-spacing: 0.02em;
}

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  overflow: hidden; position: relative;
}
.cta-band-inner {
  max-width: 900px; margin: 0 auto;
  padding: 3rem 1.5rem; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; }

/* === Contact page === */
.contact-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
}
.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .875rem; color: var(--color-muted);
  line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-details h3 { margin-top: 1.5rem; }
.contact-details h3:first-child { margin-top: 0; }
.contact-details address { font-style: normal; color: var(--color-muted); line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .5rem 0; text-align: left; border-bottom: 1px solid var(--color-line); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

/* === Contact card (About page) === */
.contact-card {
  display: grid; gap: 2rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 720px) {
  .contact-card { grid-template-columns: 1.5fr 1fr; align-items: center; }
}
.contact-card address { font-style: normal; color: var(--color-muted); line-height: 1.7; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.faq details[open] { border-color: rgba(124, 58, 237, 0.3); box-shadow: var(--shadow-soft); }
.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: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.8);
  padding: 4rem 1.25rem 2rem;
  margin-top: 4rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; }
}
.site-footer h3 {
  color: #fff; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(250, 245, 255, 0.75); }
.site-footer a:hover { color: var(--color-accent); }
.footer-logo img { height: 60px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.tagline { color: rgba(250, 245, 255, 0.7); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; font-size: .9rem; }
.copyright {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.12);
  font-size: .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);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: inherit; font-size: .9rem; font-weight: 600;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent; color: var(--color-neutral-light);
  transition: background .2s var(--ease-hover), border-color .2s var(--ease-hover);
}
.cookie-banner button:hover { border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #0891B2; border-color: #0891B2; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: .5rem;
  background: var(--color-accent); border-color: var(--color-accent); color: #fff;
}

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