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

/* === Reset === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-ink); line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(30, 64, 175, 0.08); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 8px 30px -20px rgba(15, 27, 61, 0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; color: var(--color-ink); padding: .5rem; cursor: pointer; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; gap: 0.5rem; }
.primary-nav.is-open { display: flex; position: absolute; left: 1rem; right: 1rem; top: 100%; margin-top: .5rem; background: #fff; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.primary-nav a { color: var(--color-ink); font-weight: 500; padding: .5rem .25rem; position: relative; }
.primary-nav a:not(.btn):hover { text-decoration: none; color: var(--color-primary); }
.primary-nav a[aria-current="page"]:not(.btn) { color: var(--color-primary); }
.btn--nav { text-align: center; }

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

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 99, 235, 0.55); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.7); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a12; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(37,99,235,0.25); }
.btn--ghost:hover { border-color: var(--color-primary); background: rgba(37,99,235,0.06); }
.btn:focus-visible { outline: 3px solid rgba(37,99,235,0.35); outline-offset: 2px; }

/* === Hero card === */
.hero-card-wrap { position: relative; padding-block: 3rem 2rem; background: radial-gradient(circle at 20% 0%, rgba(249,115,22,0.10), transparent 55%), linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); overflow: hidden; }
.hero-card-wrap::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 60%; background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 60%); pointer-events: none; }
.hero-card { position: relative; max-width: 880px; margin-inline: auto; padding: 2.5rem 1.75rem; border-radius: 24px; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.6); text-align: left; }
.eyebrow { font-family: var(--font-heading); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); margin: 0 0 1rem; }
.hero-card__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-card__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-card--slim { padding-block: 3rem; }

@media (min-width: 768px) {
  .hero-card-wrap { padding-block: 5rem 3rem; }
  .hero-card { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--tinted { background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%); }
.section__header { text-align: center; margin-bottom: 2.25rem; }
.section__header h2 { max-width: 30ch; margin-inline: auto; }
.intro h2 { margin-bottom: 1rem; }
.intro p { font-size: 1.05rem; color: var(--color-muted); }

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

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

/* === Cards === */
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid rgba(30, 64, 175, 0.08); 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__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(249,115,22,0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .95rem; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(249,115,22,0.05)); border: 1px solid rgba(37,99,235,0.10); text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.5; color: var(--color-ink); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 500; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { margin-block: 2rem; padding-block: 3rem; background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details { background: #fff; border: 1px solid rgba(30,64,175,0.10); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; padding-right: 1.5rem; position: relative; color: var(--color-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--color-primary); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; color: var(--color-ink); }
.field input, .field textarea { font: inherit; padding: .75rem .9rem; border: 1px solid rgba(30,64,175,0.20); border-radius: 10px; background: #fff; color: var(--color-ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: .25rem; }
.contact-line { font-size: 1.05rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 2rem; border-top: 1px solid rgba(30,64,175,0.08); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--color-neutral-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--color-ink); }
.site-footer address { font-style: normal; color: var(--color-ink); font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.site-footer__tagline { color: var(--color-muted); font-size: .95rem; margin-top: .5rem; }
.logo--footer img { height: 64px; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.site-footer__base { border-top: 1px solid rgba(30,64,175,0.10); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: var(--color-muted); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

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

/* === 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; 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; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font-size: .88rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(255,255,255,0.12); color: var(--color-neutral-light); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; 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 [data-cookie-save] { background: var(--color-neutral-light); color: var(--color-neutral-dark); margin-top: .5rem; justify-self: start; }
