:root {
  --color-primary: #0F172A;
  --color-secondary: #1E3A8A;
  --color-accent: #CA8A04;
  --color-neutral-dark: #020617;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(2, 6, 23, 0.10);
  --color-muted: #475569;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(2, 6, 23, 0.20);
  --shadow-lg: 0 30px 60px -20px rgba(2, 6, 23, 0.30);
  --radius: 16px;
  --radius-lg: 24px;
}

/* === 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: 17px;
  line-height: 1.65;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
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); border: 0; }

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

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 250, 252, 0.72);
  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 6px 30px -20px rgba(2,6,23,0.25); border-bottom-color: var(--color-border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { position: relative; color: var(--color-primary); font-weight: 500; font-size: 0.98rem; padding-block: 0.25rem; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; height: 2px; background: var(--color-primary); border-radius: 2px; }

.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 8px); background: var(--color-neutral-light); padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-md); align-items: flex-start; gap: 1rem; }

@media (min-width: 860px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .primary-nav.is-open { position: static; flex-direction: row; background: transparent; padding: 0; border: 0; box-shadow: none; }
}

/* === Hero === */
.hero { position: relative; padding-block: 4rem 3rem; overflow: hidden; text-align: center; }
.hero__glow { position: absolute; inset: -20% 10% auto 10%; height: 60%; background: radial-gradient(closest-side, rgba(202,138,4,0.16), transparent 70%); filter: blur(20px); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0.75rem auto 1.75rem; font-size: 1.125rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero__media { margin-top: 3rem; }
.hero__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .hero { padding-block: 6rem 4rem; } }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); box-shadow: 0 10px 28px -12px rgba(30,58,138,0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(30,58,138,0.7); color: var(--color-neutral-light); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { transform: translateY(-2px); background: #a56f03; color: var(--color-neutral-light); box-shadow: 0 14px 30px -12px rgba(202,138,4,0.6); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, rgba(30,58,138,0.04), rgba(202,138,4,0.04)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }

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

/* === Cards === */
.card { display: block; background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(2,6,23,0.16); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(30,58,138,0.10), rgba(202,138,4,0.10)); color: var(--color-secondary); margin-bottom: 1rem; }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
a.card-link { text-decoration: none; }
a.card-link:hover h3 { color: var(--color-secondary); }

/* === Testimonial === */
.testimonial { text-align: center; }
.testimonial blockquote { margin: 0; padding: 2rem 0; position: relative; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--color-primary); margin-bottom: 1.5rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-weight: 500; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { padding-block: 4rem; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 200%; background: radial-gradient(closest-side, rgba(202,138,4,0.35), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(248,250,252,0.85); margin: 0; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } .cta-band__inner > div { max-width: 60ch; } }

/* === FAQ === */
.faq details { border-top: 1px solid var(--color-border); padding: 1.25rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--color-border); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--color-primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--color-accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Form === */
.form { display: grid; gap: 1.25rem; background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form__row { display: grid; gap: 0.4rem; }
.form__row label { font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }
.form__row input, .form__row textarea { width: 100%; font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-primary); 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(30,58,138,0.12); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 3px; flex-shrink: 0; }
.contact-details { font-size: 1.05rem; line-height: 1.75; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.75); padding-block: 4rem 1.5rem; margin-top: 4rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.site-footer a { color: rgba(248,250,252,0.75); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer__logo img { height: 60px; filter: brightness(0) invert(1) opacity(0.85); }
.footer__tagline { margin-top: 0.75rem; font-size: 0.95rem; }
.site-footer address { font-style: normal; font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer__legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.10); }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(248,250,252,0.10); font-size: 0.85rem; color: rgba(248,250,252,0.55); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 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; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; color: rgba(248,250,252,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.30); }
.cookie-banner .btn--ghost:hover { border-color: var(--color-neutral-light); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; color: rgba(248,250,252,0.9); }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.25rem; }
@media (min-width: 640px) { .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; } }

/* === Reveal (scroll 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; } html { scroll-behavior: auto; } }
