:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --text: #1A0F3D;
  --text-muted: #5C4B8A;
  --border: rgba(76, 29, 149, 0.12);
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.2);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--color-neutral-light); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
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, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; padding: 0.4rem 0.9rem; background: rgba(124, 58, 237, 0.1); border-radius: 999px; }
.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 52ch; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.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 { box-shadow: 0 14px 32px -8px rgba(124, 58, 237, 0.6); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(34, 197, 94, 0.45); }
.btn-accent:hover { box-shadow: 0 14px 32px -8px rgba(34, 197, 94, 0.55); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }

/* === Header / nav === */
.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 var(--border); transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 20px -10px rgba(76, 29, 149, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.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; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 0.5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.5rem 1.25rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 1rem; }
.primary-nav a { position: relative; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); padding: 0.3rem 0; }
.primary-nav a:not(.btn) { text-decoration: none; }
.primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.primary-nav a:not(.btn):hover::after, .primary-nav a.is-active:not(.btn)::after { transform: scaleX(1); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: none; box-shadow: none; }
  .logo img { height: 96px; }
}

/* === Hero (split) === */
.hero { position: relative; padding-block: 3.5rem 3rem; overflow: hidden; background: radial-gradient(ellipse at top left, rgba(167, 139, 250, 0.18), transparent 55%), radial-gradient(ellipse at bottom right, rgba(34, 197, 94, 0.1), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy h1 { margin-top: 0.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-thankyou { padding-block: 4rem 3rem; }
.success-mark { display: inline-flex; width: 96px; height: 96px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(34, 197, 94, 0.15); color: var(--color-accent); margin-bottom: 1.5rem; }

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

/* === Section shells === */
section { padding-block: 3.5rem; }
@media (min-width: 900px) { section { padding-block: 5rem; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--text-muted); }
.intro .narrow { text-align: left; }
.intro p { font-size: 1.1rem; color: var(--text-muted); }

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

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(167, 139, 250, 0.2)); color: var(--color-primary); margin-bottom: 1.25rem; }

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08)); }
.testimonial h2 { text-align: center; }
.testimonial blockquote { margin: 0; padding: 2rem 0; text-align: center; font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--color-neutral-dark); }
.testimonial blockquote p { max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.testimonial-alt { background: none; }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.testimonial-media img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.testimonial-copy h2 { text-align: left; }
.testimonial-copy blockquote { text-align: left; padding-top: 1rem; }
.testimonial-copy blockquote p { margin-inline: 0; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 56ch; margin-inline: auto; }
.cta-band-address { font-size: 0.95rem; margin-bottom: 1.5rem; }
.cta-band-address a { color: #fff; text-decoration: underline; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 0.75rem; transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--color-neutral-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform 0.2s; font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 1rem; color: var(--text-muted); }

/* === Contact form === */
.contact-details .contact-line { font-size: 1.05rem; line-height: 1.9; background: #fff; padding: 1.5rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--border); border-radius: 10px; background: var(--color-neutral-light); transition: border 0.2s, box-shadow 0.2s; color: var(--text); }
.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: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; accent-color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-family: var(--font-heading); }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.tagline { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; }
.legal-links { margin-top: 1rem !important; font-size: 0.9rem; }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.logo-footer img { filter: brightness(0) invert(1); height: 56px; }
@media (min-width: 900px) { .logo-footer img { height: 64px; } }

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

/* === 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: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs input { accent-color: var(--color-accent); }
