:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1235;
  --color-muted: #5B4A7A;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-md: 0 12px 40px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, 0.35);
  --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; }
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%; 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); letter-spacing: -0.02em; line-height: 1.2; 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: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1rem; }

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

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.7);
  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 4px 20px rgba(76, 29, 149, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(76, 29, 149, 0.2); border-radius: 10px; color: var(--color-neutral-dark); padding: .5rem; cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: flex; }
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: .25rem;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
}
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .6rem .25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.06); }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.site-nav .nav-cta {
  margin-top: .5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center; padding: .7rem 1rem; border-radius: 999px;
  border-bottom: none;
}
.site-nav .nav-cta:hover { text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; flex-direction: row; align-items: center;
    position: static; padding: 0; background: transparent; box-shadow: none; border: none; gap: 1.75rem;
  }
  .site-nav a { padding: .25rem 0; border: none; position: relative; }
  .site-nav a:not(.nav-cta)::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-hover);
  }
  .site-nav a:not(.nav-cta):hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav .nav-cta { margin-top: 0; padding: .55rem 1.1rem; }
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s;
  font-size: 1rem;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); }
.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: #fff;
  box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.6);
}
.btn-accent:hover { box-shadow: 0 15px 40px -10px rgba(249, 115, 22, 0.7); }

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 3rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.1), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(167, 139, 250, 0.18), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.eyebrow {
  font-family: var(--font-heading); font-weight: 500;
  font-size: .8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-tinted {
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.05), transparent 60%),
    #fff;
}
.section-intro { background: var(--color-neutral-light); }
.section-quote { background: linear-gradient(180deg, #fff, var(--color-neutral-light)); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.1rem; }

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

/* === Cards === */
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(76, 29, 149, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-link { color: inherit; }
.card-link:hover { text-decoration: none; }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); 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;
}

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

/* === Quote === */
.section-quote blockquote {
  margin: 0;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}
.section-quote blockquote p {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
}
.section-quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(249, 115, 22, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); }

/* === FAQ === */
.faq details {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: .75rem;
  border: 1px solid rgba(76, 29, 149, 0.08);
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-neutral-dark);
  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.5rem; color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-layout {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.contact-details { font-style: normal; line-height: 1.9; color: var(--color-muted); }
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid; gap: 1rem;
}
.contact-form label { display: block; }
.contact-form label span { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid rgba(76, 29, 149, 0.15);
  border-radius: 10px; font-family: inherit; font-size: 1rem;
  background: var(--color-neutral-light);
  color: var(--color-text);
  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(124, 58, 237, 0.15);
}
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--color-muted); }
.form-consent input { width: auto; margin-top: .2rem; }
.form-consent span { flex: 1; }

.contact-card {
  background: #fff; padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); max-width: 640px; margin-inline: auto;
  text-align: center;
}
.contact-card address { font-style: normal; line-height: 1.9; margin-bottom: 1.5rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
}
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.footer-tag { color: rgba(255, 255, 255, 0.7); margin-top: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.legal-links { margin-top: 1.25rem; font-size: .875rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.25rem; margin-top: 2rem; font-size: .875rem; color: rgba(255, 255, 255, 0.6); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-header .logo img { height: 84px; }
  .site-footer .logo img { height: 68px; }
}

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

/* === 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);
  box-shadow: var(--shadow-lg);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 500;
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: var(--color-neutral-light);
  font-size: .9rem;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }
