:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1033;
  --color-muted: #5B4A7A;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(76, 29, 149, 0.22);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Base === */
*, *::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%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.02em; color: var(--color-neutral-dark); margin: 0 0 .75rem; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); max-width: 68ch; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem 1.4rem; font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(249, 115, 22, .55); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, .08); transform: translateY(-2px); }
.btn--sm { padding: .55rem .95rem; font-size: 0.85rem; }
.btn--nav { padding: .5rem 1rem; font-size: 0.85rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === 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-border); box-shadow: 0 4px 20px -12px rgba(76, 29, 149, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-border); background: transparent; color: var(--color-neutral-dark); border-radius: 12px; cursor: pointer; }
.primary-nav { display: none; align-items: center; gap: 1.25rem; }
.primary-nav a { position: relative; font-weight: 500; color: var(--color-neutral-dark); padding: .25rem 0; }
.primary-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:not(.btn):hover::after,
.primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .logo img { height: 96px; }
}
@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
  .primary-nav a:last-child { border-bottom: none; margin-top: .5rem; }
}

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 3rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top left, rgba(249, 115, 22, 0.10), transparent 55%), radial-gradient(ellipse at bottom right, rgba(167, 139, 250, 0.20), transparent 60%); pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__text h1 { margin-top: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__proof { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: 1.75rem; color: var(--color-muted); font-size: 0.95rem; }
.hero__proof strong { display: block; font-family: var(--font-heading); font-size: 1.75rem; color: var(--color-neutral-dark); font-weight: 700; letter-spacing: -0.02em; }
.hero__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

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

.hero--stacked { padding-block: 4rem 3rem; text-align: center; }
.hero--stacked .eyebrow { display: inline-block; }
.hero--stacked .lede { margin-inline: auto; }

/* === Sections === */
.section { padding-block: 3.5rem; position: relative; }
.section--narrow { padding-block: 3rem; }
.section--narrow .container { max-width: 780px; }
.section--tint { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin: 0; }

@media (min-width: 900px) {
  .section { padding-block: 5rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 1.5rem; } }

.card {
  display: block;
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  color: var(--color-text);
}
.card h3 { margin-top: .75rem; }
.card p { margin-bottom: 0; color: var(--color-muted); font-size: 0.98rem; }
.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, .12), rgba(249, 115, 22, .12)); color: var(--color-primary); }
a.card-link { text-decoration: none; color: inherit; }
a.card-link:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* === Split feature section === */
.section--split .split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .section--split .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Quote === */
.quote { max-width: 780px; margin: 0 auto; padding: 2rem 1.5rem; text-align: center; position: relative; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin: 0 0 1rem; }
.quote cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3rem; margin-block: 1rem; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; grid-template-columns: 1fr; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); }
.cta-band .btn--accent { justify-self: center; }
@media (min-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr auto; text-align: left; }
  .cta-band .btn--accent { justify-self: end; }
}

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease-hover); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); 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.4rem; color: var(--color-accent); line-height: 1; transition: transform .2s var(--ease-hover); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .85rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.contact-list li { padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.contact-list strong { color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; font-size: 0.95rem; }
.hours caption { text-align: left; caption-side: top; padding: 0 0 .5rem; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); }
.hours th, .hours td { padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours th { color: var(--color-muted); font-weight: 500; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.contact-form h2 { margin-top: 0; }
.contact-form label { display: grid; gap: .35rem; font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-neutral-light); color: var(--color-text); 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, .18); background: #fff; }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: .55rem; font-size: 0.85rem; color: var(--color-muted); flex-wrap: wrap; font-weight: 400; }
.form-consent input { margin-top: .2rem; }
.form-consent a { text-decoration: underline; }
.form-success { padding: 1rem; background: rgba(124, 58, 237, .08); border-radius: var(--radius-sm); color: var(--color-neutral-dark); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; 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; gap: 3rem; } }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-accent); }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); }
.footer__tag { margin-top: 1rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 30ch; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__contact address { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,0.10); }
.footer__base { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  max-width: 520px; margin-inline: auto;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.4rem; border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: rgba(255,255,255,0.92); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__prefs { display: grid; gap: .5rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; font-size: 0.9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .35rem; }

/* === Reveal (scroll animation) === */
.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; }
}
