:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E3A8A;
  --color-neutral-light: #EFF6FF;
  --color-text: #0F1E4A;
  --color-muted: #4B5B8A;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(15, 30, 74, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 30, 74, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 30, 74, 0.28);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
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); font-weight: 700; color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1rem; }
.muted { color: var(--color-muted); font-size: .95rem; }
.center { text-align: center; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 246, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 6px 24px -12px rgba(15, 30, 74, 0.15); }
.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 rgba(30, 58, 138, 0.15); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(30, 58, 138, 0.08); box-shadow: var(--shadow-sm); }
.primary-nav.is-open { display: flex; }
.primary-nav a { position: relative; padding: .6rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: transparent; padding: 0; border: 0; box-shadow: none; gap: 2rem; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::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: .95rem; cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -12px rgba(30, 64, 175, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(30, 64, 175, 0.7); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border: 1px solid rgba(30, 64, 175, 0.25); }
.btn-ghost:hover { background: rgba(30, 64, 175, 0.06); transform: translateY(-2px); }
:focus-visible { outline: 3px solid rgba(249, 115, 22, 0.4); outline-offset: 3px; border-radius: 4px; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem; background: linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(59, 130, 246, 0.08)); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% 40% auto -20%; height: 60%; background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.12), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; position: relative; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-secondary); font-weight: 600; margin: 0 0 .75rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.hero-media img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }

@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-copy .lede { font-size: 1.25rem; }
}

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

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

.card { background: #fff; border: 1px solid rgba(30, 58, 138, 0.08); border-radius: var(--radius); 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: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
.card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(249, 115, 22, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial { background: linear-gradient(135deg, var(--color-neutral-light), #fff); }
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; 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: auto -20% -50% -20%; height: 100%; background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }
.cta-band .muted, .cta-band a { color: rgba(255, 255, 255, 0.9); }
.cta-band a:hover { color: #fff; }

/* === FAQ === */
.faq details { border: 1px solid rgba(30, 58, 138, 0.1); border-radius: 12px; padding: 1rem 1.25rem; background: #fff; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; 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%); color: var(--color-accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Form === */
.contact-form { background: #fff; border: 1px solid rgba(30, 58, 138, 0.08); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--color-neutral-dark); }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(30, 58, 138, 0.18); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; color: var(--color-text); background: #fff; 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(30, 64, 175, 0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); margin-bottom: 1.25rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer .logo img { height: 64px; margin-bottom: .75rem; }
.site-footer .muted { color: rgba(255, 255, 255, 0.65); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: .95rem; }
.legal-links { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem; margin-top: 1rem; }
.copyright { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .85rem; color: rgba(255,255,255,0.6); text-align: center; }

@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }

/* === 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: 14px; 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: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { border: 0; border-radius: 999px; padding: .55rem 1.1rem; font-family: var(--font-heading); font-weight: 600; font-size: .85rem; cursor: pointer; background: rgba(255,255,255,0.1); color: #fff; transition: background .2s var(--ease); }
.cookie-banner button:hover { background: rgba(255,255,255,0.2); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; background: var(--color-accent); }

/* === 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; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
