/* === Tokens === */
:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B95;
  --color-border: rgba(76, 29, 149, 0.12);
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
  --radius-hero: 28px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 40px -20px rgba(76, 29, 149, 0.35);
}

/* === Reset === */
* { 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%; 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.2; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }

/* === Header / nav (glass) === */
.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: background .2s, box-shadow .2s;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px rgba(76,29,149,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(139,92,246,0.08); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 0; }
.primary-nav.is-open { display: flex; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 600; padding: .6rem .25rem; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
    color: #fff; padding: .55rem 1.1rem; border-radius: 999px;
  }
  .primary-nav .nav-cta::after { display: none; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-heading); font-size: 1rem;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.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 12px 30px -12px rgba(139,92,246,0.6);
}
.btn-primary:hover { box-shadow: 0 18px 40px -14px rgba(139,92,246,0.75); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { background: rgba(139,92,246,0.06); border-color: var(--color-primary); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (card archetype) === */
.hero-band {
  position: relative; padding: 3rem 0 4rem;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(80% 60% at 10% 100%, rgba(196,181,253,0.35), transparent 65%),
    linear-gradient(180deg, #F3EDFF, var(--color-neutral-light));
  overflow: hidden;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-hero);
  padding: 2rem 1.5rem;
  max-width: 900px; margin-inline: auto;
  box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: linear-gradient(135deg, rgba(139,92,246,0.4), transparent 50%, rgba(16,185,129,0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: .78rem; font-weight: 700; color: var(--color-primary);
  margin: 0 0 1rem;
}
.hero-card h1 { margin-bottom: 1rem; }
.hero-card .lede { color: var(--color-muted); font-size: 1.1rem; max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2rem; }
.hero-figure { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

@media (min-width: 768px) {
  .hero-band { padding: 5rem 0 6rem; }
  .hero-card { padding: 3.5rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tint {
  background: linear-gradient(180deg, transparent, rgba(196,181,253,0.18) 40%, transparent);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* === Grids === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .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: var(--radius-card); padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(139,92,246,0.3); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(16,185,129,0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; }

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

/* === Quote === */
.section-quote { background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary)); color: #fff; }
.section-quote .quote { color: #fff; }
.quote { position: relative; text-align: center; padding: 1rem; }
.quote-mark { color: var(--color-accent); opacity: .6; margin: 0 auto 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 500; line-height: 1.5; margin-bottom: 1.25rem; }
.quote cite { display: block; font-style: normal; font-size: .95rem; opacity: .85; }

/* === CTA band === */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding: 3.5rem 0; text-align: center; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 40%, rgba(16,185,129,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin-inline: auto; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: #fff; color: var(--color-neutral-dark); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4); }
.cta-band .btn-primary:hover { background: var(--color-neutral-light); }

/* === Contact === */
.contact-band {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: 2rem; box-shadow: var(--shadow-soft);
}
.contact-line { color: var(--color-muted); margin: 1rem 0 1.5rem; }
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li strong { color: var(--color-neutral-dark); }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--color-border); }
.hours-table th { font-weight: 600; color: var(--color-neutral-dark); }
.hours-table td { color: var(--color-muted); }

.contact-form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--color-border); padding: 1.75rem; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; color: var(--color-neutral-dark); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--color-text);
  padding: .75rem .9rem; border-radius: 10px; border: 1.5px solid var(--color-border);
  background: var(--color-neutral-light);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.2);
}
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; }
.contact-figure { margin: 1.5rem 0 0; border-radius: 16px; overflow: hidden; }
.contact-figure img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: rgba(139,92,246,0.4); box-shadow: var(--shadow-soft); }
.faq summary {
  font-family: var(--font-heading); font-weight: 700; color: var(--color-neutral-dark);
  cursor: pointer; list-style: none; padding-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 1.5rem; color: var(--color-primary); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--color-muted); margin: .75rem 0 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-tag { color: rgba(255,255,255,0.7); margin-top: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav h4 { margin-bottom: .75rem; }
.footer-legal { margin-top: 1.25rem; font-size: .9rem; }
.footer-bottom { padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,0.55); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }

/* === 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: 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; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; font-family: var(--font-heading); font-weight: 600;
  padding: .55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.14); color: #fff;
}
.cookie-banner button:hover { background: rgba(255,255,255,0.22); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #05261a; }
.cookie-banner [data-cookie-accept]:hover { background: #34d399; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .55rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-primary); }

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