:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-border: rgba(30, 64, 175, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.25);
  --shadow-lg: 0 30px 60px -25px rgba(30, 58, 138, 0.35);
  --radius: 16px;
}

/* === Reset & 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: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -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-text); margin: 0 0 1rem; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.65);
}
.btn--primary:hover { box-shadow: 0 14px 32px -10px rgba(59, 130, 246, 0.8); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-primary);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(202, 138, 4, 0.6);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}
.site-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; display: block; }
.logo--footer img { height: 64px; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--color-primary); border-radius: 2px; }

.primary-nav {
  display: none;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
}
.primary-nav a:hover { background: rgba(59, 130, 246, 0.08); color: var(--color-primary); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav__cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff !important;
  text-align: center;
  margin-top: 0.25rem;
}
.primary-nav__cta:hover { background: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 0.25rem;
    align-items: center;
  }
  .primary-nav a { padding: 0.5rem 0.85rem; }
  .primary-nav__cta { padding: 0.6rem 1.25rem; border-radius: 999px; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Hero / spotlight === */
.hero--spotlight {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 3rem;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 30%, rgba(202, 138, 4, 0.10), transparent 60%),
    linear-gradient(180deg, #EEF4FF 0%, var(--color-neutral-light) 100%);
}
.hero__glow {
  position: absolute;
  inset: -20% 30% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto 1rem;
  line-height: 1.1;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin: 0 auto 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero__visual {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: #fff;
}
.hero__visual img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hero--compact { padding-block: 3rem 2rem; }
@media (min-width: 768px) {
  .hero--spotlight { padding-block: 5rem 4rem; }
}

/* === Proof strip === */
.section--proof { padding-block: 1.5rem; border-bottom: 1px solid var(--color-border); }
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.proof-strip span { display: inline-flex; align-items: center; }
.proof-strip span + span::before { content: "•"; color: var(--color-secondary); margin-right: 2rem; margin-left: -1rem; }

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-text-muted); font-size: 1.1rem; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--tight { gap: 1rem; }

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.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(30, 58, 138, 0.1), rgba(59, 130, 246, 0.15));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-text-muted); margin: 0; }

/* === Split block === */
.split-block { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split-block { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-block--reverse .split-block__visual { order: -1; }
@media (min-width: 900px) { .split-block--reverse { grid-template-columns: 1fr 1.2fr; } .split-block--reverse .split-block__visual { order: 0; } }
.split-block__visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* === Quote === */
.section--quote {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.04), rgba(59, 130, 246, 0.06));
}
.quote {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding-block: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band__inner { text-align: center; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 55ch; margin: 0 auto 1.75rem; font-size: 1.1rem; }

/* === Stats === */
.stats .stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.stat p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--color-text-muted); margin: 0.85rem 0 0; }

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  padding: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-card__plan { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--color-text-muted); font-weight: 600; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.pricing-card__cta { margin-top: auto; width: 100%; }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-style: normal;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 0.65rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { font-weight: 600; color: var(--color-text); font-family: var(--font-heading); }
.hours td { color: var(--color-text-muted); text-align: right; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-text); font-family: var(--font-heading); }
.field input, .field textarea {
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.contact-form button { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: #0B1B45;
  color: rgba(248, 250, 252, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; }
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.6);
  text-align: center;
}
.logo--footer { filter: brightness(0) invert(1); margin-bottom: 0.75rem; }

/* === 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: 540px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  font: inherit;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-weight: 600;
  font-size: 0.875rem;
}
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner [data-cookie-accept]:hover { background: #b07604; border-color: #b07604; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.15);
  padding-top: 1rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* === Reveal motion === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.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; }
}
