/* === Tokens === */
:root {
  --color-primary: #8B5CF6;
  --color-secondary: #C4B5FD;
  --color-accent: #10B981;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #5B4B8A;
  --color-border: rgba(76, 29, 149, 0.14);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 2px 20px rgba(76, 29, 149, 0.08);
  --shadow-card-hover: 0 24px 48px -18px rgba(76, 29, 149, 0.28);
}

/* === Reset === */
*, *::before, *::after { 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; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-neutral-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .5rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
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; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--color-neutral-dark); color: #fff; padding: .5rem .75rem; border-radius: 6px; z-index: 100; }

/* === Nav === */
.site-nav { position: sticky; top: 0; z-index: 50; 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), box-shadow .3s var(--ease); }
.site-nav.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px -12px rgba(76, 29, 149, 0.18); }
.site-nav__inner { max-width: 1200px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px 9px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; align-items: stretch; justify-content: center; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); padding: 1rem 1.25rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(76, 29, 149, 0.25); }
.primary-nav a { padding: .75rem .25rem; text-decoration: none; color: var(--color-text); font-weight: 500; border-bottom: 1px solid rgba(76, 29, 149, 0.06); position: relative; }
.primary-nav a:last-child { border-bottom: 0; }
.primary-nav a[aria-current="page"] { color: var(--color-neutral-dark); }
.primary-nav .nav-cta { margin-top: .5rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding: .65rem 1.1rem; border-radius: 999px; text-align: center; border-bottom: 0; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .primary-nav a { padding: .25rem 0; border-bottom: 0; }
  .primary-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); }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
  .logo img { height: 96px; }
}

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

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 3.5rem 1.25rem 3rem; }
.hero__glow { position: absolute; inset: -20% 30% auto -20%; height: 60vh; background: radial-gradient(closest-side, rgba(16, 185, 129, 0.14), transparent 70%), radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 70%); filter: blur(20px); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin: 0 auto 1.25rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin: 0 auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.hero__visual { position: relative; z-index: 1; max-width: 1080px; margin: 3rem auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(76, 29, 149, 0.4); border: 1px solid var(--color-border); background: #fff; }
.hero__visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero--sub { padding-top: 2.5rem; padding-bottom: 2rem; }
.hero--sub h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
@media (min-width: 768px) { .hero { padding: 6rem 2rem 4rem; } }

/* === Proof strip === */
.proof { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: rgba(255,255,255,0.6); }
.proof__inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; font-size: .9rem; color: var(--color-muted); font-weight: 500; }
.proof__inner span { position: relative; }
.proof__inner span::before { content: "◆"; color: var(--color-accent); margin-right: .5rem; }

/* === Section === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section--narrow { max-width: 780px; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head h2 { margin-bottom: .75rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; max-width: 56ch; margin: 0 auto; }
.section__actions { display: flex; justify-content: center; margin-top: 1.5rem; }
.prose { font-size: 1.05rem; color: var(--color-text); }
.section--narrow .prose { text-align: left; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }

/* === Grid & Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(16, 185, 129, 0.14)); color: var(--color-neutral-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }

/* === Quote === */
.quote { max-width: 780px; margin: 0 auto; text-align: center; padding: 2rem 1rem; position: relative; }
.quote::before { content: "„"; font-family: var(--font-heading); font-size: 5rem; color: var(--color-secondary); line-height: 1; display: block; margin-bottom: -1.5rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--color-neutral-dark); line-height: 1.4; font-weight: 500; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { max-width: 1200px; margin: 3rem auto; padding: 0 1.25rem; }
.cta-band__inner { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: var(--radius-lg); padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.45); }
.cta-band__inner h2 { color: #fff; margin-bottom: .5rem; }
.cta-band__inner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band__meta { margin-top: .75rem !important; font-size: .9rem; color: rgba(255,255,255,0.75) !important; }
.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 { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; } }

/* === Form === */
.contact-form { display: grid; gap: 1.25rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-card); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }
.contact-form .btn { justify-self: start; }
@media (min-width: 700px) {
  .contact-form { padding: 2.5rem; }
}

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); margin-top: 4rem; padding: 3.5rem 1.25rem 1.5rem; }
.site-footer__cols { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__tag { color: rgba(255,255,255,0.7); margin: .75rem 0 0; }
.site-footer__legal { margin-top: 1.25rem; }
.logo--footer img { height: 60px; }
.site-footer__copy { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); font-size: .85rem; }
@media (min-width: 800px) { .site-footer__cols { grid-template-columns: 1.2fr 1fr 1.4fr; } }

/* === 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: 0 30px 60px -20px 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; color: rgba(255,255,255,0.9); font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; cursor: pointer; transition: background .2s; }
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #08331f; }
.cookie-banner button[data-cookie-accept]:hover { background: #0ea36f; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); display: grid; gap: .6rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .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; } }
