:root {
  --navy: #0b3d91;
  --navy-dark: #07286b;
  --accent: #ffb703;
  --bg: #f7f9fc;
  --text: #1a1f36;
  --muted: #5b6275;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(11, 61, 145, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }

/* TOP BAR */
.topbar {
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  font-size: 14px;
  flex-wrap: wrap;
}
.topbar__pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.topbar__phone { color: var(--accent); font-weight: 800; }

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 1px solid #eef1f7;
  position: sticky; top: 0; z-index: 50;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 18px; }

/* Visible breadcrumb (sub-pages) */
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { margin: 0 0.2rem; user-select: none; }
.breadcrumb__current { color: var(--text); font-weight: 600; }

/* Homepage service cards: avoid auto-fit row height gaps (stable 3-column → 2 → 1) */
#services .cards {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  #services .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  #services .cards { grid-template-columns: 1fr; }
}
.logo__mark { font-size: 24px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text); font-weight: 600; }
.nav a:hover { color: var(--navy); }

@media (max-width: 760px) {
  .nav { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .08s ease, box-shadow .2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--accent); color: #1a1f36; box-shadow: 0 4px 16px rgba(255, 183, 3, 0.4); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 183, 3, 0.5); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--xl { padding: 16px 32px; font-size: 17px; }
.btn--sm { padding: 8px 16px; font-size: 14px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,183,3,0.12), transparent 50%);
  pointer-events: none;
}
.hero__inner { max-width: 900px; margin: 0 auto; position: relative; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { font-size: clamp(16px, 2vw, 19px); color: #e2e8f5; max-width: 720px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__bullets { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.hero__bullets li { color: #e2e8f5; font-weight: 500; }

/* TRUST STRIP */
.trust {
  background: var(--bg);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  border-bottom: 1px solid #eef1f7;
}
.trust__item { font-weight: 700; color: var(--muted); font-size: 14px; letter-spacing: 0.4px; }

/* SECTIONS */
.section { padding: 80px 24px; }
.section--alt { background: var(--bg); }
.container { max-width: 1100px; margin: 0 auto; }
.container--two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .container--two { grid-template-columns: 1fr; } }
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; color: var(--navy); }
.section__lead { color: var(--muted); font-size: 18px; margin-bottom: 40px; max-width: 700px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid #eef1f7;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11, 61, 145, 0.12); }
.card__icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--muted); font-size: 15px; }
a.card {
  color: inherit;
  display: block;
  text-decoration: none;
}
a.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: 1.35rem; color: var(--navy); margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; color: var(--text); }
.prose ul { margin: 0 0 1.25rem 1.1rem; color: var(--text); }
.prose li { margin-bottom: 0.4rem; }
.prose-cta { background: var(--bg); border-left: 4px solid var(--navy); padding: 1.25rem 1.5rem; border-radius: var(--radius); margin: 2rem 0; }
.faq__list { list-style: none; margin: 0; padding: 0; }
.faq__list li { margin-bottom: 1.25rem; border-bottom: 1px solid #eef1f7; padding-bottom: 1.25rem; }
.faq__list h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.svc-footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.svc-footer-links a { text-decoration: underline; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 0.5rem; }
.post-eat { font-size: 14px; color: var(--muted); margin: 0.4rem 0 1.25rem; line-height: 1.55; }
.post-lead { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 1.5rem; }
.blog-cta { background: var(--bg); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; border: 1px solid #eef1f7; }
.blog-cta .btn { margin-top: 0.5rem; }

/* Lead form (homepage) */
.lead-form { margin-top: 1rem; }
.lead-form__field { margin-bottom: 1.1rem; }
.lead-form__field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.lead-form input,
.lead-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  border: 1px solid #c9d2e0;
  border-radius: 10px;
  min-height: 44px;
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form__hint { display: block; font-size: 13px; color: var(--muted); margin-top: 0.25rem; }
.lead-form__err { display: block; font-size: 13px; color: #b42318; min-height: 1.1em; margin-top: 0.2rem; }
.lead-form__success { background: #ecfdf3; border: 1px solid #6ee7b7; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1.25rem; color: #065f46; }
.accent-link { color: var(--navy); font-weight: 800; }
.estimate { max-width: 640px; margin: 0 auto; }
.estimate .section__title, .estimate .section__lead { text-align: center; }
.estimate .section__lead { margin-left: auto; margin-right: auto; }
#lead-submit { width: 100%; margin-top: 0.5rem; }

/* Mobile tap minimums (44×44) */
.topbar a,
.site-header .btn--sm { min-height: 44px; min-width: 44px; align-items: center; }
.sticky-call { min-height: 48px; display: flex; align-items: center; justify-content: center; }

/* STATS */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 28px; color: var(--navy); font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* AREA GRID */
.area-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.area-grid li {
  background: var(--bg);
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  border-left: 4px solid var(--navy);
}

/* FINAL CTA */
.cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta p { color: #d6e0f5; font-size: 18px; margin-bottom: 28px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
.footer { background: #0a1530; color: #c9d2e7; padding: 48px 24px 0; }
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.footer strong { color: var(--white); display: block; margin-bottom: 12px; font-size: 16px; }
.footer p { font-size: 14px; margin-bottom: 4px; }
.footer a { color: var(--accent); }
.footer__legal {
  text-align: center;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid #1c2950;
  font-size: 13px;
  color: #7d8aaa;
}

/* STICKY MOBILE CALL BAR */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #1a1f36;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  font-size: 17px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
@media (max-width: 760px) {
  .sticky-call { display: block; }
}
