:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5563;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(30, 27, 75, 0.25);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -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); }
a:hover { color: var(--color-accent); }
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, 4rem); 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; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(79, 70, 229, 0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--color-neutral-light); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(249, 115, 22, 0.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(249, 115, 22, 0.7); color: #fff; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 20px rgba(30, 27, 75, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; color: var(--color-neutral-dark); padding: 0.5rem; cursor: pointer; border-radius: var(--radius-sm); }
.nav-toggle:hover { background: var(--color-neutral-light); }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(30, 27, 75, 0.2); border-bottom: 1px solid var(--color-border); }
.primary-nav a { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; padding: 0.6rem 0; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; margin-top: 0.5rem; text-align: center; }
.primary-nav .nav-cta:hover { color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; box-shadow: none; background: transparent; border: 0; }
  .primary-nav a { padding: 0.4rem 0; }
  .primary-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
  .logo img { height: 96px; }
}

/* === Hero (split) === */
.hero {
  position: relative;
  padding-block: 4rem;
  background: radial-gradient(1200px 500px at 100% 0%, rgba(249, 115, 22, 0.10), transparent 60%),
              linear-gradient(160deg, #ffffff 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.5rem 1rem; }
.hero-meta { font-size: 0.85rem; color: var(--color-muted); }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }

.hero-thanks { padding-block: 6rem; text-align: center; }
.thanks-inner { display: flex; flex-direction: column; align-items: center; }
.thanks-check { display: inline-flex; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.5); }

@media (min-width: 900px) {
  .hero { padding-block: 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.intro { text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.05rem; }

@media (min-width: 900px) {
  .section { padding-block: 5.5rem; }
}

/* === Cards grid === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.cards-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-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-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(30, 27, 75, 0.25); }
.card p { color: var(--color-muted); margin: 0; font-size: 0.95rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-neutral-light), #ffffff);
  color: var(--color-primary);
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial { text-align: center; margin: 0; }
.testimonial .quote-mark { color: var(--color-accent); opacity: 0.35; margin-bottom: 0.5rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; max-width: 60ch; margin: 0 auto 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-neutral-dark) 100%);
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 20%, rgba(249, 115, 22, 0.25), transparent 60%);
}
.cta-band-inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band-meta { font-size: 0.85rem; margin-top: 0.75rem !important; color: rgba(255,255,255,0.7) !important; }
@media (min-width: 900px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
  .cta-band { padding-block: 4.5rem; }
}

/* === Form === */
.form-section .section-head { text-align: left; margin-left: 0; }
.contact-form { display: grid; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: 0.2rem; }

/* === FAQ === */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(238, 242, 255, 0.85); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(238, 242, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .tagline { color: rgba(238, 242, 255, 0.7); font-size: 0.95rem; margin: 0.5rem 0 0; }
.site-footer .footer-logo img { height: 64px; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { font-size: 0.85rem; }
.copyright { padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid rgba(238, 242, 255, 0.12); font-size: 0.85rem; color: rgba(238, 242, 255, 0.6); }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

/* === 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.4rem; border-radius: var(--radius-md);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 500;
  padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(238, 242, 255, 0.2); background: transparent; color: var(--color-neutral-light);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a11; }
.cookie-banner__prefs { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.5rem; background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

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