:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px 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);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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); letter-spacing: -0.02em; margin: 0 0 .75rem; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
p { margin: 0 0 1rem; }

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

/* === 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: 0 4px 20px -8px rgba(76, 29, 149, 0.15); }
.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-toggle { background: transparent; border: 1px solid rgba(76, 29, 149, 0.15); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-bottom: 1px solid rgba(76, 29, 149, 0.1); padding: 1rem 1.25rem 1.5rem; flex-direction: column; gap: .25rem; box-shadow: var(--shadow-md); }
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .75rem .5rem; color: var(--color-neutral-dark); font-weight: 500; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); background: rgba(124, 58, 237, 0.06); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; text-align: center; margin-top: .5rem; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

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

/* === Hero (split) === */
.hero { position: relative; overflow: hidden; padding-block: 3rem 3.5rem; background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(167, 139, 250, 0.12)); }
.hero::before { content: ''; position: absolute; inset: -20% -20% auto auto; width: 60%; height: 60%; background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 60%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-primary); font-weight: 600; margin-bottom: .75rem; }
.hero__sub { font-size: 1.15rem; color: rgba(76, 29, 149, 0.85); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(124, 58, 237, 0.65); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid rgba(76, 29, 149, 0.25); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: rgba(76, 29, 149, 0.75); }
.intro .container.narrow { text-align: left; }
.intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.intro p { font-size: 1.05rem; color: rgba(76, 29, 149, 0.88); }

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

.card { background: #fff; padding: 1.75rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--color-primary); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(34, 197, 94, 0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { transition: color .2s; }
.card p { color: rgba(76, 29, 149, 0.82); margin: 0; font-size: .97rem; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; padding: 2rem 1rem; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 600; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-primary); font-weight: 500; font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: 0; margin: 0; }
.cta-band .container { padding-block: 1rem; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .9; max-width: 60ch; margin-inline: auto; }
.cta-band .btn--primary { background: #fff; color: var(--color-primary); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }
.cta-band__meta { font-size: .95rem; }
.cta-band__meta a { color: #fff; text-decoration: underline; }

/* === FAQ === */
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border-radius: 14px; padding: 1.1rem 1.35rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .85rem 0 0; color: rgba(76, 29, 149, 0.82); }

/* === Contact === */
.contact-details .card h3 { margin-bottom: .75rem; }
.contact-details address { font-style: normal; line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid rgba(76, 29, 149, 0.08); font-weight: 400; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.hours td { color: rgba(76, 29, 149, 0.75); text-align: right; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(76, 29, 149, 0.06); }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .92rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid rgba(76, 29, 149, 0.15); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row 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; align-items: flex-start; gap: .6rem; font-size: .88rem; color: rgba(76, 29, 149, 0.85); line-height: 1.5; }
.form-consent input { margin-top: .25rem; }
.form-success { padding: 1rem; background: rgba(34, 197, 94, 0.12); border-radius: 10px; color: var(--color-neutral-dark); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(250, 245, 255, 0.1); }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; }
.site-footer a { color: rgba(250, 245, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.footer__tag { font-family: var(--font-heading); font-size: 1rem; color: rgba(250, 245, 255, 0.7); margin-top: .5rem; }
.logo--footer img { height: 64px; filter: brightness(0) invert(1); opacity: .95; }
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a { padding: .15rem 0; }
.footer__contact address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }
.footer__copy { text-align: center; padding-top: 1.5rem; font-size: .85rem; color: rgba(250, 245, 255, 0.6); }
.footer__copy p { margin: 0; }

/* === 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: 14px; box-shadow: 0 20px 50px -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: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-size: .88rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(250, 245, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s, transform .2s; }
.cookie-banner button:hover { transform: translateY(-1px); background: rgba(250, 245, 255, 0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; border-color: #16a34a; }
.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 [data-cookie-save] { margin-top: .5rem; align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* === 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; } html { scroll-behavior: auto; } }
