:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 20px 45px -25px rgba(49, 46, 129, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.45);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-neutral-dark);
  background: #ffffff;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn--primary { background: var(--color-primary); color: #ffffff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #ffffff; }
.btn--accent { background: var(--color-accent); color: #ffffff; }
.btn--accent:hover { background: #0e9b70; color: #ffffff; }
.btn--ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(245,243,255,0.4); }
.btn--ghost:hover { background: rgba(245,243,255,0.1); color: var(--color-neutral-light); }

.eyebrow, .section__eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(49,46,129,0.08);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 0; color: var(--color-neutral-dark);
  padding: 0.5rem; cursor: pointer; border-radius: 8px;
}
.site-nav {
  display: none; flex-basis: 100%;
  flex-direction: column; gap: 0.5rem;
  padding: 0.75rem 0 0.25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none; color: var(--color-neutral-dark);
  font-weight: 600; padding: 0.5rem 0;
}
.site-nav a:hover { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; flex-direction: row; flex-basis: auto;
    align-items: center; gap: 1.75rem; padding: 0;
  }
}

/* === Hero (hero-card) === */
.hero {
  padding: 3rem 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(129,140,248,0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(99,102,241,0.14), transparent 55%),
    var(--color-neutral-light);
}
.hero__card {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero__card h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub {
  max-width: 52ch; margin: 1.25rem auto 1.75rem;
  font-size: 1.15rem; color: rgba(49,46,129,0.78);
}
.hero__cta { margin: 0 0 2rem; }
.hero__figure { margin: 2rem 0 0; }
.hero__figure img {
  border-radius: var(--radius);
  aspect-ratio: 16 / 9; object-fit: cover;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 2rem; }
  .hero__card { padding: 4rem 3.5rem; }
}

/* === Sections === */
.section {
  padding: 4rem 1.25rem;
  max-width: 1200px; margin: 0 auto;
}
.section--narrow {
  max-width: 720px; text-align: center;
}
.section--narrow p { margin-inline: auto; max-width: 62ch; text-align: left; }
.section--tinted {
  max-width: none;
  background: var(--color-neutral-light);
}
.section--tinted > * { max-width: 1200px; margin-inline: auto; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub {
  color: rgba(49,46,129,0.75);
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}
.section--narrow .section__sub { text-align: center; }
.section__eyebrow { text-align: center; }

@media (min-width: 768px) {
  .section { padding: 6rem 2rem; }
}

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .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); }
}

.card {
  background: #ffffff;
  border: 1px solid rgba(49,46,129,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.card h3 { margin: 0.75rem 0 0.5rem; }
.card p { margin: 0; color: rgba(49,46,129,0.85); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(99,102,241,0.12);
  color: var(--color-primary);
}

/* === Testimonial === */
.quote {
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
}
.quote p { margin: 0 0 1rem; }
.quote cite {
  display: block; font-family: var(--font-body);
  font-style: normal; font-size: 0.95rem;
  color: var(--color-primary); font-weight: 600;
}

/* === Split section === */
.section--split {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
.split__figure img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5; object-fit: cover;
}
@media (min-width: 900px) {
  .section--split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #ffffff;
  padding: 4rem 1.25rem;
}
.cta-band__inner {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(245,243,255,0.9); font-size: 1.1rem; }

/* === Stats === */
.stat {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(49,46,129,0.08);
  text-align: center;
}
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}
.stat p { margin: 0; color: rgba(49,46,129,0.8); font-size: 0.98rem; }

/* === Contact === */
.contact-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin-bottom: 0.5rem; }
.contact-form {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.form-row { margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-weight: 600; font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit; color: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(49,46,129,0.2);
  border-radius: 10px;
  background: #ffffff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex; gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem; color: rgba(49,46,129,0.85);
  margin: 0.5rem 0 1.25rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.2rem; }
.form-actions { margin: 0; }
.form-success {
  margin: 1rem 0 0; padding: 0.85rem 1rem;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  border-radius: 10px;
  color: #0e6b4e;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}
.logo--footer img { height: 56px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__nav a { text-decoration: none; font-weight: 600; }
.site-footer__contact { font-style: normal; line-height: 1.7; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.site-footer__copy {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,243,255,0.15);
  font-size: 0.88rem; color: rgba(245,243,255,0.7);
  text-align: center;
}

/* === 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.35rem;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.5);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.cookie-banner__actions .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(245,243,255,0.2);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.cookie-banner__prefs label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem;
}
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.5rem; }

.compliance-notice { position: relative; z-index: 1000; background: #f7f4f0; border-bottom: 2px solid #a1887f; color: #4a423c; padding: 0.875rem 1.5rem; }
.compliance-notice p { max-width: 68rem; margin: 0 auto; font-size: 0.8125rem; line-height: 1.6; text-align: center; }
.compliance-notice strong { text-transform: uppercase; letter-spacing: 0.04em; }
.compliance-notice__icon { font-size: 1rem; }
