:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-border: rgba(30, 27, 75, 0.10);
  --color-muted: rgba(30, 27, 75, 0.66);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 80px -30px rgba(30, 27, 75, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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; }
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, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section--muted { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08)); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 56ch; margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.muted { color: var(--color-muted); }

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

/* === 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 var(--color-border); transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-neutral-dark); cursor: pointer; }
.site-nav { display: none; flex-direction: column; gap: 0.25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-md); }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.6rem 0; position: relative; }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.site-nav .nav-cta { color: var(--color-primary); font-weight: 600; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .site-nav a { padding: 0.4rem 0; }
  .site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-cta { padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--color-primary); color: #fff; }
  .site-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; 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), #5B21B6); color: #fff; box-shadow: 0 12px 30px -10px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 20px 40px -12px rgba(124, 58, 237, 0.7); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid var(--color-border); }
.btn--ghost:hover { background: rgba(124, 58, 237, 0.08); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); box-shadow: 0 12px 30px -10px rgba(6, 182, 212, 0.55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(6, 182, 212, 0.7); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero (hero-card archetype) === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero-card__glow { position: absolute; inset: 0; background:
  radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.18), transparent 55%),
  radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.22), transparent 60%),
  linear-gradient(180deg, rgba(167, 139, 250, 0.10), transparent 70%);
  z-index: 0; pointer-events: none; }
.hero-card__card { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; background: #fff; border: 1px solid var(--color-border); border-radius: 24px; padding: 2.25rem 1.75rem; box-shadow: var(--shadow-lg); text-align: left; }
.hero-card__card .lede { color: var(--color-muted); font-size: 1.125rem; max-width: 56ch; }
.hero-card__card .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.5rem 2rem; }
.hero-card__figure { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-card__card--compact { padding-bottom: 2.25rem; }
@media (min-width: 768px) {
  .hero { padding-block: 4.5rem 5.5rem; }
  .hero-card__card { padding: 3.5rem 3rem; }
}

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

.card { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; 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: var(--shadow-md); }
.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.14), rgba(6, 182, 212, 0.16)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* === Intro === */
.intro { text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.075rem; }

/* === Testimonial === */
.testimonial { margin: 0; text-align: center; position: relative; padding: 2.5rem 1rem; }
.testimonial .quote-mark { color: var(--color-accent); opacity: 0.5; margin-bottom: 0.5rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; max-width: 62ch; margin: 0 auto 1.25rem; color: var(--color-neutral-dark); }
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 500; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; 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; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; 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: 0.6rem; font-size: 0.875rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.25rem; }
.contact-info h2, .contact-info h3 { margin-top: 0; }
.contact-info h3 { margin-top: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); font-size: 0.95rem; }
.hours li:last-child { border-bottom: 0; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); list-style: none; padding-right: 2rem; position: relative; }
.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; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--color-muted); margin-top: 0.75rem; margin-bottom: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(250, 245, 255, 0.78); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
.site-footer__grid nav { display: flex; flex-direction: column; gap: 0.4rem; }
.tagline { color: rgba(250, 245, 255, 0.7); font-size: 0.95rem; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-links a { font-size: 0.9rem; }
address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.site-footer__base { border-top: 1px solid rgba(250, 245, 255, 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(250, 245, 255, 0.6); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }

/* === 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: 16px; box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.925rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner [data-cookie-reject] { background: rgba(250, 245, 255, 0.12); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.12); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner [data-cookie-save] { background: var(--color-primary); color: #fff; align-self: flex-start; margin-top: 0.35rem; }

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