: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.12);
  --color-muted: rgba(15, 23, 42, 0.62);
  --font-heading: 'Plus Jakarta Sans', 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-lg: 0 20px 60px -20px rgba(15, 23, 42, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  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: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1rem; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-secondary); margin-bottom: 1rem; }
.body-lg { font-size: 1.075rem; color: rgba(15, 23, 42, 0.82); }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Header / 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 24px -18px rgba(15, 23, 42, 0.4); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo-footer img { height: 64px; }
.nav-toggle { background: none; border: 1px solid var(--color-border); border-radius: 10px; padding: 0.5rem; cursor: pointer; color: var(--color-neutral-dark); }
.primary-nav { display: none; gap: 0.25rem; align-items: center; }
.primary-nav a {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-neutral-dark);
  border-radius: 8px;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem; 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.is-current::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
}
@media (max-width: 899px) {
  .primary-nav.is-open {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--color-neutral-light);
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
  }
  .primary-nav.is-open a { padding: 0.75rem 0.5rem; }
}

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

/* === Hero === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(30, 58, 138, 0.10), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(180, 83, 9, 0.10), transparent 55%),
    linear-gradient(180deg, #EEF2FF 0%, var(--color-neutral-light) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .hero { padding-block: 5.5rem 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}
.hero-copy .lede { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 899px) {
  .hero-grid > .hero-copy { order: 1; }
  .hero-grid > .hero-visual { order: 2; }
  .hero-visual img { aspect-ratio: 16/10; }
}
.proof-strip {
  list-style: none; margin: 0; padding: 1rem 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.proof-strip li { display: flex; flex-direction: column; }
.proof-strip strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); }
.proof-strip span { font-size: 0.85rem; color: var(--color-muted); }

.hero-thanks { text-align: center; padding-block: 5rem; }
.hero-thanks .lede { margin-inline: auto; }
.success-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 999px;
  background: rgba(180, 83, 9, 0.12); color: var(--color-accent);
  margin-bottom: 1.5rem;
}

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 900px) { .section { padding-block: 6rem; } }
.section-tint {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.04), rgba(30, 58, 138, 0.02));
  position: relative;
}
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grids & Cards === */
.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: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .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-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: 0.95rem; }
.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.12), rgba(180, 83, 9, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.testimonial p { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.9rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  margin: 0;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.cta-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.6fr auto; } }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: -0.1rem;
  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; margin-bottom: 0; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--color-border); padding: 1.75rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-neutral-dark);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem !important; font-size: 0.85rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.15rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); display: inline-block; padding: 0.2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .tagline { font-family: var(--font-heading); color: rgba(248, 250, 252, 0.65); margin-top: 0.75rem; max-width: 26ch; }
.site-footer address { font-style: normal; line-height: 1.7; }
.legal-links { margin-top: 1rem; font-size: 0.85rem; }
.copyright { padding-top: 2.5rem; margin-top: 2.5rem; border-top: 1px solid rgba(248, 250, 252, 0.1); font-size: 0.85rem; color: rgba(248, 250, 252, 0.55); }

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

/* === 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 30px 60px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.9rem; margin: 0 0 1rem; color: rgba(248, 250, 252, 0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  font: inherit; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 8px; border: 1px solid rgba(248, 250, 252, 0.25); cursor: pointer;
  background: transparent; color: var(--color-neutral-light);
}
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start; margin-top: 0.5rem;
  font: inherit; font-family: var(--font-heading); font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 8px; border: none; cursor: pointer;
  background: var(--color-neutral-light); color: var(--color-neutral-dark);
}
