:root {
  --color-primary: #1E3A8A;
  --color-secondary: #1E40AF;
  --color-accent: #B45309;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.10);
  --color-muted: rgba(15, 23, 42, 0.65);
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-secondary); 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); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(30, 58, 138, 0.65); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); background: #92400e; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: rgba(30, 58, 138, 0.25); }
.btn-ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(180, 83, 9, 0.5); outline-offset: 3px; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  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 var(--color-border);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-border); border-radius: 12px; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.primary-nav a { padding: .65rem .25rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { margin-top: .5rem; display: inline-flex; padding: .75rem 1.25rem; border-radius: 999px; background: var(--color-primary); color: #fff; font-weight: 600; text-align: center; justify-content: center; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 3.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(ellipse at 30% 30%, rgba(30, 64, 175, 0.12), transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(180, 83, 9, 0.10), transparent 55%); pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow { font-family: var(--font-heading); font-size: .8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin: 0 0 1rem; }
.hero-copy h1 { font-weight: 800; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* === 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 h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.intro p { font-size: 1.075rem; color: var(--color-muted); }

/* === Grid + Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 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: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; color: var(--color-primary); }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.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(180, 83, 9, 0.10)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.45; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === FAQ === */
.faq details { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); font-size: 1.05rem; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-accent); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .75rem 0 .25rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; margin-block: 2rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.cta-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.25rem; }
.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: .85rem 1rem; border: 1px solid var(--color-border); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; color: var(--color-neutral-dark); background: var(--color-neutral-light); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-band .contact-line { color: var(--color-muted); margin-bottom: 1.5rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer .logo img { height: 60px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.footer-tag { color: rgba(248, 250, 252, 0.6); font-size: .95rem; margin: 0; }
.footer-nav h3, .footer-contact h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a { color: rgba(248, 250, 252, 0.75); padding: .3rem 0; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: rgba(248, 250, 252, 0.85); }
.footer-contact a:hover { color: #fff; }
.footer-contact p { margin: .25rem 0; font-size: .95rem; }
.legal-links { margin-top: 1rem !important; font-size: .85rem; }
.copyright { border-top: 1px solid rgba(248, 250, 252, 0.12); padding-top: 1.25rem; font-size: .85rem; color: rgba(248, 250, 252, 0.55); text-align: center; }

/* === 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: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.25); background: transparent; color: var(--color-neutral-light); font-family: var(--font-heading); font-weight: 600; font-size: .85rem; cursor: pointer; transition: background .2s; }
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #92400e; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 1.75rem; }
  .primary-nav a { padding: .5rem 0; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; margin-left: .5rem; }
  .hero { padding-block: 5rem 5rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
  .section { padding-block: 5.5rem; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
