/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5B4B8A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-lift: 0 20px 60px -20px rgba(76, 29, 149, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 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);
  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.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; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--narrow { padding-block: 3.5rem; }
.section--tinted { background: linear-gradient(180deg, rgba(167,139,250,0.08), rgba(124,58,237,0.04)); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--color-primary); margin: 0 0 0.75rem; }

/* === 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 rgba(76, 29, 149, 0.08);
  transition: background .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 8px 24px -18px rgba(76,29,149,0.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; border-radius: 8px; }
.nav-toggle:hover { background: rgba(124,58,237,0.08); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; inset: 100% 1rem auto 1rem; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lift); padding: 1rem; gap: .5rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .8rem; border-radius: 8px; position: relative; }
.primary-nav a:hover { text-decoration: none; background: rgba(124,58,237,0.08); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.5rem; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-decoration: none; }
.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 10px 30px -12px rgba(124,58,237,0.55); }
.btn--primary:hover { box-shadow: 0 16px 40px -14px rgba(124,58,237,0.7); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: rgba(76,29,149,0.2); }
.btn--ghost:hover { background: rgba(124,58,237,0.06); }
.btn--accent { background: var(--color-accent); color: #052e12; box-shadow: 0 10px 30px -12px rgba(34,197,94,0.55); }
.btn--accent:hover { background: #16a34a; color: #fff; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (centered) === */
.hero { position: relative; padding-block: 4.5rem 3rem; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.10), transparent 60%),
              radial-gradient(ellipse at 20% 30%, rgba(167,139,250,0.25), transparent 55%);
  z-index: -1;
}
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 3rem; }
.hero__image { margin: 0 auto; max-width: 1080px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.card {
  background: #fff; border-radius: var(--radius-md); padding: 1.75rem;
  border: 1px solid rgba(76,29,149,0.08); box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  display: block; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,197,94,0.12));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .97rem; margin: 0; }

/* === Testimonial === */
.testimonial { position: relative; margin: 0; padding: 2.5rem 1rem; text-align: center; }
.testimonial__mark { color: var(--color-secondary); margin: 0 auto 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); max-width: 60ch; margin: 0 auto 1rem; line-height: 1.4; }
.testimonial cite { color: var(--color-muted); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band { padding-block: 3.5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* === Split === */
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split__image { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.split__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === FAQ === */
.faq details { background: #fff; border-radius: var(--radius-md); padding: 1.1rem 1.3rem; border: 1px solid rgba(76,29,149,0.08); margin-bottom: .8rem; box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .8rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); border: 1px solid rgba(76,29,149,0.08); }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; margin-bottom: .35rem; font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { width: 100%; padding: .8rem 1rem; border: 1px solid rgba(76,29,149,0.18); border-radius: 10px; font: inherit; color: var(--color-text); background: var(--color-neutral-light); transition: border-color .2s, background .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,0.12); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-muted); margin: 1rem 0 1.4rem; line-height: 1.5; }
.form-consent input { margin-top: 3px; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Contact grid === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.contact-grid h3 { color: var(--color-neutral-dark); margin-bottom: .5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px dashed rgba(76,29,149,0.12); font-size: .95rem; }
.hours th { color: var(--color-muted); font-weight: 500; }
address { font-style: normal; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,245,255,0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(250,245,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address a { display: inline-block; margin-top: .25rem; }
.legal-links { margin-top: 1rem !important; padding-top: 1rem !important; border-top: 1px solid rgba(250,245,255,0.15); }
.logo--footer img { height: 64px; margin-bottom: .8rem; filter: brightness(0) invert(1); }
.site-footer__bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,245,255,0.12); font-size: .85rem; color: rgba(250,245,255,0.6); }

/* === 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-lift); max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .88rem; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,245,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .section { padding-block: 5.5rem; }
  .hero { padding-block: 6rem 4rem; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner > div { max-width: 62%; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: .25rem; position: static; background: transparent; padding: 0; box-shadow: none; }
  .primary-nav a { padding: .5rem .85rem; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero { padding-block: 7rem 4rem; }
}
