/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --color-text: #1E1B4B;
  --color-muted: #4B4570;
  --color-border: rgba(30, 27, 75, 0.12);
  --color-surface: #ffffff;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, 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);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  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; transition: color .2s var(--ease-hover); }
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 .75rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }

/* === Header === */
.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 transparent;
  transition: background .3s var(--ease-hover), border-color .3s var(--ease-hover), box-shadow .3s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(250, 245, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -18px rgba(30, 27, 75, 0.35);
}
.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 {
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark);
  cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav a {
  display: block; padding: .9rem 1.25rem;
  color: var(--color-neutral-dark); font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-neutral-light); border-top: 1px solid var(--color-border); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; position: static; background: transparent; }
  .primary-nav a { padding: 0; border: none; position: relative; }
  .primary-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -6px;
    height: 2px; width: 100%; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease-hover);
  }
  .primary-nav a:not(.btn):hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
  text-align: center;
}
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #5b21b6); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124, 58, 237, 0.65); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.55); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(6, 182, 212, 0.65); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: rgba(124, 58, 237, 0.08); color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 2rem; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 80%;
  background: radial-gradient(closest-side, rgba(6, 182, 212, 0.18), transparent 70%),
              radial-gradient(closest-side at 70% 40%, rgba(124, 58, 237, 0.22), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: left; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero-title { font-size: clamp(2.25rem, 5vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--color-muted); max-width: 56ch; margin-block: 1rem 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.5rem; }
.hero-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-visual img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.hero-inner-page { padding-block: 3rem 1.5rem; }
.proof-strip {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: 2rem; padding: 1rem 1.25rem;
  border-radius: var(--radius); background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-border);
  font-size: .92rem; color: var(--color-muted); font-weight: 500;
}

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3rem; }
  .hero-inner { text-align: center; }
  .hero-title { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .proof-strip { justify-content: center; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-alt { background: linear-gradient(180deg, #fff 0%, rgba(167, 139, 250, 0.08) 100%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.15));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Split === */
.split-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split-inner { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }

/* === Quote === */
.quote { border-left: 4px solid var(--color-accent); padding: 1.25rem 1.5rem; margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.15rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-weight: 600; }
.quote-figure { display: grid; gap: 1.5rem; align-items: center; margin: 0; }
@media (min-width: 720px) { .quote-figure { grid-template-columns: 200px 1fr; } }
.quote-photo { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-sm); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding-block: 3.5rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(closest-side at 80% 30%, rgba(6, 182, 212, 0.35), transparent 60%);
  pointer-events: none;
}
.cta-inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 800px) { .cta-inner { grid-template-columns: 1fr auto; gap: 2rem; } }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-bottom: .75rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; 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 var(--ease-hover); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .85rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.contact-dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0 0 1.5rem; }
.contact-dl dt { font-weight: 600; color: var(--color-neutral-dark); }
.contact-dl dd { margin: 0; color: var(--color-muted); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--color-border); }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); }

/* === Form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .4rem; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 12px;
  font-family: inherit; font-size: 1rem; background: var(--color-neutral-light);
  color: var(--color-text);
  transition: border-color .2s var(--ease-hover), box-shadow .2s var(--ease-hover);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-muted); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .25rem; }
.form-success { padding: 1rem; background: rgba(6, 182, 212, 0.12); border-radius: 12px; color: var(--color-neutral-dark); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.82); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .85rem; }
.site-footer a { color: rgba(250, 245, 255, 0.82); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.footer-nav a { display: block; }
.logo-footer img { height: 60px; filter: brightness(0) invert(1); }
.tagline { margin-top: .75rem; color: rgba(250, 245, 255, 0.7); font-size: .95rem; }
.legal-links { margin-top: 1rem; font-size: .88rem; }
.legal-links a { display: inline; }
.copyright { border-top: 1px solid rgba(250, 245, 255, 0.14); margin-top: 2rem; padding-top: 1.25rem; 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);
  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: .92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  padding: .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: .88rem; cursor: pointer;
  transition: background .2s var(--ease-hover), color .2s var(--ease-hover);
}
.cookie-banner button:hover { background: rgba(250,245,255,0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #0891b2; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); border-color: var(--color-primary); }

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