:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F59E0B;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(30, 58, 138, 0.35);
}

/* === Base === */
*, *::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.6;
  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); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 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: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 780px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-align: center;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); box-shadow: 0 10px 24px -12px rgba(30, 64, 175, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(30, 64, 175, 0.8); color: #fff; }
.btn-ghost { color: var(--color-primary); background: transparent; border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(59, 130, 246, 0.08); }
.btn-accent { color: var(--color-neutral-dark); background: var(--color-accent); box-shadow: 0 10px 24px -12px rgba(245, 158, 11, 0.7); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(245, 158, 11, 0.85); color: var(--color-neutral-dark); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(248, 250, 252, 0.7);
  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), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; gap: 1rem; }
.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); color: var(--color-neutral-dark); padding: 0.5rem; border-radius: 10px; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(248, 250, 252, 0.98); backdrop-filter: blur(16px); padding: 1rem 1.25rem; gap: 0.25rem; border-bottom: 1px solid var(--color-border); }
.primary-nav a { position: relative; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); padding: 0.65rem 0.25rem; }
.primary-nav a.is-active { color: var(--color-primary); }

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; padding: 0; gap: 1.75rem; background: transparent; border: none; }
  .primary-nav a::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:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
}

/* === Hero === */
.hero { position: relative; padding: 4rem 0 3rem; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 30% auto 30%; height: 400px; background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.14), transparent 70%); z-index: 0; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent 60%); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub { max-width: 52ch; margin-inline: auto; font-size: 1.15rem; color: var(--color-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 2rem 0 0; }
.hero-image { margin-top: 3rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); position: relative; }
.hero-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

/* === Sections === */
.section { padding: 4rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section-head { text-align: center; margin: 0 auto 2.5rem; max-width: 640px; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; margin: 0; }
.section-intro .container.narrow { text-align: center; }
.section-intro p { color: var(--color-muted); font-size: 1.05rem; }

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

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

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(59, 130, 246, 0.3); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(30, 64, 175, 0.12), rgba(245, 158, 11, 0.18)); color: var(--color-primary); margin-bottom: 1rem; }
a.card-link { color: inherit; }
a.card-link:hover { color: inherit; }
.stat-card h3 { font-size: 1.75rem; color: var(--color-primary); }

/* === Testimonial === */
.section-testimonial { padding: 4rem 0; }
.section-testimonial blockquote { margin: 0; padding: 2.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); position: relative; text-align: center; }
.section-testimonial .quote-mark { color: rgba(59, 130, 246, 0.18); position: absolute; top: 1rem; left: 1.25rem; }
.section-testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; margin: 0 0 1.25rem; }
.section-testimonial cite { font-style: normal; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding: 4rem 0; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: -50% -20% auto auto; width: 500px; height: 500px; background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 60%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0 auto 1.75rem; }
.cta-band--soft { background: linear-gradient(135deg, #EEF3FF, #F8FAFC); color: var(--color-neutral-dark); }
.cta-band--soft h2 { color: var(--color-neutral-dark); }
.cta-band--soft p { color: var(--color-muted); }
.cta-band--soft .contact-line { font-family: var(--font-heading); font-weight: 500; margin-bottom: 1.5rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-soft); transition: box-shadow .2s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-lift); }
.faq-item summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--color-muted); margin: 0.75rem 0 0; }

/* === Contact card === */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); }
.contact-grid { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.contact-grid h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); margin-bottom: 0.5rem; }
.contact-grid p { color: var(--color-text); margin: 0; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
.form-consent a { text-decoration: underline; }
.form-success { padding: 1rem 1.25rem; background: rgba(59, 130, 246, 0.1); border-radius: 12px; color: var(--color-primary); font-weight: 500; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-tag { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); padding: 0.25rem 0; }
.footer-nav a:hover { color: var(--color-accent); }
.footer-contact p { margin: 0.25rem 0; color: rgba(255, 255, 255, 0.85); }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-legal { margin-top: 1rem !important; font-size: 0.9rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.75); }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.footer-copy p { margin: 0; }

/* === 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 25px 60px -15px rgba(0, 0, 0, 0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font: inherit; font-family: var(--font-heading); font-weight: 500; padding: 0.55rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; transition: background .2s; }
.cookie-banner__actions button:hover { background: rgba(255, 255, 255, 0.16); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); border-color: transparent; }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #FBBF24; }
.cookie-banner__prefs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; font: inherit; font-family: var(--font-heading); font-weight: 500; padding: 0.5rem 1rem; border-radius: 999px; border: none; background: var(--color-accent); color: var(--color-neutral-dark); cursor: pointer; }

/* === Reveal motion === */
.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; }
  * { scroll-behavior: auto !important; }
}
