:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1E1633;
  --color-muted: #6B5B8A;
  --border: rgba(76, 29, 149, 0.14);
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 12px 32px rgba(76, 29, 149, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.28);
  --radius: 16px;
  --radius-lg: 24px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
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.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === 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(--border);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.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 {
  border: 1px solid var(--border); background: transparent; color: var(--color-neutral-dark);
  padding: 0.5rem; border-radius: 10px; cursor: pointer; display: inline-flex;
}
.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light); border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem; flex-direction: column; gap: 0.25rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  padding: 0.75rem 0.5rem; color: var(--color-neutral-dark); font-weight: 500;
  border-radius: 8px; position: relative;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--color-primary); }
.primary-nav .btn-nav { margin-top: 0.5rem; text-align: center; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important; position: static; flex-direction: row; align-items: center;
    gap: 0.25rem; background: transparent; border: none; padding: 0;
  }
  .primary-nav a { padding: 0.5rem 0.9rem; }
  .primary-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.btn):hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
  .primary-nav .btn-nav { margin: 0 0 0 0.5rem; }
}

/* === 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-body); font-weight: 600;
  font-size: 0.98rem; cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -6px rgba(124, 58, 237, 0.5); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); 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 -6px rgba(249, 115, 22, 0.5); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(249, 115, 22, 0.6); background: #ea6a10; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.06); color: var(--color-primary); }

/* === Hero === */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% -20%, rgba(249, 115, 22, 0.12), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(167, 139, 250, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(250, 245, 255, 1), rgba(250, 245, 255, 0.6));
  padding-block: 3.5rem 4rem; text-align: center;
}
@media (min-width: 768px) { .hero { padding-block: 6rem 5rem; } }
.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 600; color: var(--color-primary);
  background: rgba(124, 58, 237, 0.08); padding: 0.4rem 0.9rem; border-radius: 999px;
  margin: 0 0 1.25rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 700;
  max-width: 22ch; margin-inline: auto; margin-bottom: 1.25rem;
}
.hero-sub {
  max-width: 52ch; margin: 0 auto 2rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--color-muted);
}
.hero-cta { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.hero-figure {
  margin: 3.5rem auto 0; max-width: 960px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Intro === */
.intro { text-align: center; }
.intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.intro p { color: var(--color-muted); font-size: 1.08rem; line-height: 1.75; }
.intro.alt { background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.08)); }

/* === Grid / Cards === */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { 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: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  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 h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
.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(249, 115, 22, 0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.team-card { text-align: left; }
.team-portrait { margin: -1.75rem -1.75rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.team-portrait img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05)); }
.testimonial {
  position: relative; margin: 0; padding: 2.5rem 1rem; text-align: center;
  color: var(--color-neutral-dark);
}
.testimonial p {
  font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5; font-weight: 500; color: var(--color-neutral-dark);
}
.testimonial cite {
  display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
}
.quote-mark { color: var(--color-accent); opacity: 0.55; margin-bottom: 0.5rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  margin-inline: 1.25rem; padding: 3rem 1.5rem;
}
@media (min-width: 768px) { .cta-band { margin-inline: auto; max-width: 1140px; padding: 4rem 2rem; } }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 1.75rem; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--color-neutral-dark);
  font-family: var(--font-heading); font-size: 1.05rem; 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: '+'; color: var(--color-primary); font-size: 1.5rem; line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; color: var(--color-ink); background: var(--color-neutral-light);
  transition: border-color .15s, box-shadow .15s;
}
.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); background: #fff;
}
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; accent-color: var(--color-primary); }

.contact-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info .card h3 { margin-top: 1.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); }
.contact-info .card h3:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; border-bottom: 1px dashed var(--border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }
.map-block {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; background: rgba(167, 139, 250, 0.15); box-shadow: var(--shadow-sm);
}
.map-block img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.map-pin {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
.contact-band { text-align: center; }
.contact-band h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.contact-band p { color: var(--color-muted); max-width: 52ch; margin: 0 auto 1.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.82);
  padding-block: 3rem 1.5rem; margin-top: 3rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-col h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col .logo img { filter: brightness(0) invert(1); }
.footer-tag { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-top: 0.75rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-legal a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--color-accent); }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.footer-col address a { color: rgba(255, 255, 255, 0.9); }
.footer-legal { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; text-align: center;
}

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

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