:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B2E;
  --color-muted: #6B5B95;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(76, 29, 149, 0.25);
}

/* === Reset === */
*, *::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(--color-text); 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 var(--ease); }
a:hover { color: var(--color-neutral-dark); }
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; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }

/* === 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 transparent; transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 8px 30px -20px rgba(76, 29, 149, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding-block: .25rem; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav a.is-current { color: var(--color-primary); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem 1.5rem 2rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); gap: 1rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .875rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -10px rgba(124, 58, 237, 0.5); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(124, 58, 237, 0.6); }
.btn-ghost { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.14); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(202, 138, 4, 0.6); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(202, 138, 4, 0.7); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero { position: relative; padding-block: 3.5rem 2rem; text-align: center; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-block: 6rem 3rem; } }
.hero-glow { position: absolute; inset: -20% 10% auto 10%; height: 60%; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.14), transparent 70%); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; padding: .35rem .9rem; background: rgba(202, 138, 4, 0.1); border-radius: 999px; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero .lede { max-width: 52ch; margin-inline: auto; font-size: 1.15rem; color: var(--color-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero-image { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.intro { text-align: center; }
.intro p:not(.section-sub) { font-size: 1.05rem; text-align: left; }
@media (min-width: 640px) { .intro p:not(.section-sub) { text-align: center; } }

/* === Grids / cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .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-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(76, 29, 149, 0.25); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.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.12), rgba(202, 138, 4, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.person h3 { margin-bottom: .5rem; }

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

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { max-width: 720px; margin: 2rem auto 0; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); position: relative; }
.testimonial blockquote::before { content: '"'; position: absolute; top: -0.5rem; left: 1.5rem; font-family: var(--font-heading); font-size: 5rem; color: var(--color-accent); opacity: .3; line-height: 1; }
.testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; }
.testimonial cite { display: block; margin-top: 1rem; color: var(--color-muted); font-style: normal; font-weight: 500; font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: -30% 20% auto 20%; height: 80%; background: radial-gradient(closest-side, rgba(202, 138, 4, 0.28), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; font-size: 1.05rem; }

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

/* === Contact info === */
.hours { list-style: none; padding: 0; margin: .5rem 0 0; }
.hours li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--color-border); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours span:first-child { color: var(--color-muted); }
.map-card { padding: 0; overflow: hidden; }
.map-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* === Contact form === */
.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-sm); }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font: inherit; padding: .75rem .95rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.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.15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; flex-direction: row; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--color-muted); font-weight: 400; }
.form-consent input { margin-top: .2rem; }
.form-consent span { flex: 1; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 4rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-heading); margin-bottom: 1rem; }
.site-footer .tagline { color: rgba(255, 255, 255, 0.7); margin-top: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
.legal-links { margin-top: 1.25rem; font-size: .9rem; }
.copyright { text-align: center; padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.6); font-size: .85rem; }

/* === 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-md); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { padding: .55rem 1rem; border: 0; border-radius: 999px; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background .2s var(--ease); }
.cookie-banner button:hover { background: rgba(255, 255, 255, 0.2); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #a67104; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); }

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