:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #162235;
  --muted: #5e6b80;
  --primary: #e64c2e;
  --primary-dark: #cb3f25;
  --accent: #1c9fb8;
  --line: #d8e0ec;
  --radius: 16px;
  --shadow: 0 14px 42px rgba(10, 41, 78, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #eef7ff 0, transparent 45%), var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  background: #0d223e;
  color: #dce8f6;
  font-size: 0.95rem;
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.topbar p {
  margin: 0;
}

.phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #20b358;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(32, 179, 88, 0.35);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo span {
  color: #20b358;
}

.menu {
  display: flex;
  gap: 1.1rem;
}

.menu a {
  color: #2d3d56;
  text-decoration: none;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-call {
  background: #20b358;
  color: #fff;
  border-color: #20b358;
  box-shadow: 0 10px 24px rgba(32, 179, 88, 0.35);
}

.btn-call:hover {
  background: #19964a;
}

.btn-service {
  background: #4aae66;
  color: #fff;
  border-color: #4aae66;
}

.btn-service:hover {
  background: #429a5b;
}

.btn-outline {
  border-color: #1f3554;
  color: #1f3554;
}

.btn-ghost {
  border-color: #8da0bc;
  color: #30425d;
}

.hero {
  padding: 4.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.eyebrow {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 12ch;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.trust-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: 700;
}

.lead-card {
  background: var(--surface);
  border: 1px solid #d2dcea;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.lead-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.offers-mobile {
  display: none;
  margin-bottom: 1rem;
}

.lead-card p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 0.8rem;
}

.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #c2d0e4;
  border-radius: 10px;
  padding: 0.75rem;
  font: inherit;
}

.lead-form small {
  color: #6d7890;
}

.form-status {
  display: none;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.full {
  width: 100%;
}

.stats {
  padding-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.stats-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 1.4rem;
  color: #0e2c4d;
}

.stats-grid span {
  color: #5c6980;
}

.section {
  padding: 3.2rem 0;
}

.section-muted {
  background: #edf3fa;
}

h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.cards {
  display: grid;
  gap: 1rem;
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.two {
  grid-template-columns: repeat(2, 1fr);
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: #58657b;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.steps strong {
  min-width: 120px;
}

.quote p {
  font-size: 1.02rem;
}

.quote span {
  display: block;
  margin-top: 0.8rem;
  color: #637188;
  font-weight: 600;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-grid span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd8e8;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  color: #334a69;
}

.faq {
  max-width: 760px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.8rem 1rem;
}

details + details {
  margin-top: 0.7rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: #5d6a80;
}

.cta {
  padding: 3.4rem 0;
}

.cta-wrap {
  background: linear-gradient(130deg, #0e2746 0%, #1b4a78 100%);
  border-radius: 18px;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.cta-wrap p {
  color: #deebfa;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  background: #f1f5fb;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-wrap p {
  margin: 0;
  color: #5e6b80;
}

.footer-wrap a {
  color: #3a4f70;
}

.footer-wrap span {
  color: #5e6b80;
  text-align: right;
}

.mobile-scroll-cta {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 40;
  background: #f7f9fc;
  border: 1px solid #d3ddec;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(10, 41, 78, 0.2);
  padding: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-scroll-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-scroll-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
  background: #20b358;
  color: #fff;
  font-weight: 800;
  font-size: 1.75rem;
  border-radius: 12px;
  padding: 1rem 0.85rem;
}

.mobile-scroll-cta-arrow {
  font-size: 2rem;
  line-height: 1;
}

.mobile-scroll-cta p {
  margin: 0.65rem 0 0.1rem;
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: #14223a;
}

.mobile-scroll-cta p a {
  color: #20b358;
  text-decoration: none;
}

.scroll-top-btn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 35;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #1f3554;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(10, 41, 78, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .menu {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .four {
    grid-template-columns: repeat(2, 1fr);
  }

  .three {
    grid-template-columns: repeat(2, 1fr);
  }

  .two {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 9rem;
  }

  .topbar-wrap {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .three,
  .two,
  .four,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .offers-desktop {
    display: none;
  }

  .offers-mobile {
    display: block;
  }

  .steps li {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .scroll-top-btn {
    display: none;
  }
}

@media (min-width: 641px) {
  .mobile-scroll-cta {
    display: none;
  }
}
