:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #CA8A04;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4A78;
  --font-heading: 'Manrope', 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 12px 30px -12px rgba(76, 29, 149, 0.2);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.3);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.65;
  font-size: 17px;
  -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); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; color: var(--color-neutral-dark); }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  box-shadow: 0 6px 24px -12px rgba(76, 29, 149, 0.15);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none;
  border: none;
  color: var(--color-neutral-dark);
  cursor: pointer;
  padding: 0.5rem;
  display: inline-flex;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    gap: 2rem;
  }
  .primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    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); }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1px solid rgba(76, 29, 149, 0.25);
}
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); text-decoration: none; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero === */
.hero-centered {
  position: relative;
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(202, 138, 4, 0.10), transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(167, 139, 250, 0.25), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub {
  max-width: 52ch;
  margin: 1.25rem auto 2rem;
  font-size: 1.15rem;
  color: var(--color-muted);
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-image {
  max-width: 1100px;
  margin: 3rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero-centered { padding: 6rem 2rem 4rem; }
}

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow {
  max-width: 760px;
  text-align: left;
}
.section.narrow h2 { text-align: left; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.section-sub {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-top: -0.25rem;
}
@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
}

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

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  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: 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.12), rgba(167, 139, 250, 0.18));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(76, 29, 149, 0.06);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(202, 138, 4, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; font-size: 1.1rem; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.faq 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;
  gap: 1rem;
  align-items: center;
}
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.contact-card {
  display: grid;
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(76, 29, 149, 0.06);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .contact-card { grid-template-columns: 1fr 1fr; padding: 2.75rem; }
}
.contact-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.contact-hours dt { color: var(--color-neutral-dark); font-weight: 600; }
.contact-hours dd { margin: 0; color: var(--color-muted); }

.contact-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--color-text);
}
.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.9rem;
  color: var(--color-muted);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250, 245, 255, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; }
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col a {
  color: rgba(250, 245, 255, 0.85);
  display: inline-block;
  padding: 0.2rem 0;
}
.footer-col a:hover { color: #fff; }
.footer-col p { color: rgba(250, 245, 255, 0.75); margin: 0.35rem 0; }
.footer-col .logo img { filter: brightness(0) invert(1); height: 72px; }
.legal-links { margin-top: 1rem !important; font-size: 0.9rem; }
.copyright {
  text-align: center;
  color: rgba(250, 245, 255, 0.6);
  font-size: 0.85rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 255, 0.1);
}

/* === 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: var(--shadow-lg);
  max-width: 620px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 245, 255, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s;
}
.cookie-banner button:hover { background: rgba(250, 245, 255, 0.1); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #a86f00; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 245, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

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