:root {
  --navy: #10243c;
  --navy-2: #18395b;
  --green: #65a844;
  --green-dark: #3f7f2d;
  --lime: #cfe9c2;
  --light: #f5f8f3;
  --paper: #ffffff;
  --text: #17202a;
  --muted: #5f6f7a;
  --border: rgba(16, 36, 60, 0.14);
  --shadow: 0 24px 60px rgba(16, 36, 60, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--green));
  font-size: 16px;
  font-weight: 950;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 850;
  color: #2d3b48;
}
.nav a:hover { color: var(--green-dark); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 20px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.05) 68%),
    url("assets/hero-varistop.png") center/cover no-repeat;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 420px;
  gap: 54px;
  align-items: center;
  padding: 90px 0;
}
.hero-copy { max-width: 700px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 950;
}
.light-text { color: #d7f3ca; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
  color: var(--navy);
}
h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
  color: var(--navy);
}
h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--navy);
}
.hero-text {
  color: var(--muted);
  font-size: 21px;
  max-width: 610px;
}
.hero-actions, .trust-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions { margin: 32px 0; }
.trust-row span {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 25px rgba(16,36,60,0.06);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 950;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 14px 30px rgba(101,168,68,0.24);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--green-dark); }
.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn.full { width: 100%; }

.lead-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.lead-card.mini h2 { font-size: 34px; }
.lead-card.large { padding: 34px; }
.lead-form { display: grid; gap: 14px; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: white;
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(101,168,68,0.14);
}
label { font-weight: 850; color: #243447; }
label input, label select, label textarea { margin-top: 7px; font-weight: 500; }
small, .form-note { color: var(--muted); font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.4;
}
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }

.section { padding: 96px 0; }
.light { background: var(--light); }
.green {
  background: linear-gradient(135deg, var(--navy), #173d31);
  color: white;
}
.green h2, .green h3 { color: white; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.intro-grid p:last-child,
.section-head p,
.split-copy p,
.contact-box p,
.policy-panel p {
  color: var(--muted);
}
.green .step p { color: rgba(255,255,255,0.76); }
.intro-grid p:last-child { font-size: 20px; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { text-align: center; margin-inline: auto; }

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(16,36,60,0.08);
}
.card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.card-body { padding: 24px; }
.card-body p { color: var(--muted); }
.card-body strong { color: var(--green-dark); }

.pricing-section { background: linear-gradient(180deg, white, var(--light)); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(16,36,60,0.08);
}
.price-card.featured {
  border-color: rgba(101,168,68,0.45);
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(16,36,60,0.16);
}
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--navy);
  color: white;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-top { min-height: 112px; padding-right: 20px; }
.price-top p { color: var(--muted); }
.price {
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
  margin: 18px 0 24px;
  color: var(--navy);
}
.price span {
  font-size: 18px;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}
.price-card li {
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 950;
}
.pricing-note {
  margin: 26px auto 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 22px;
  color: var(--muted);
  max-width: 940px;
  text-align: center;
}

.split, .lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}
.split-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.feature-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}
.feature-list span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--light);
  color: var(--green-dark);
  font-weight: 950;
}
.feature-list p { margin: 0; }

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 26px;
}
.step strong {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: white;
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.lead-section { background: linear-gradient(180deg, var(--light), white); }
.contact-box {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}
.contact-box p { margin-bottom: 8px; }

.policy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.tab {
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
}
.tab.active { background: var(--navy); color: white; }
.policy-panel {
  display: none;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 40px rgba(16,36,60,0.06);
}
.policy-panel.active { display: block; }

.site-footer {
  background: #091728;
  color: rgba(255,255,255,0.76);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand { color: white; margin-bottom: 14px; }
.site-footer h4 { color: white; margin: 0 0 12px; }
.site-footer a { display: block; margin-bottom: 8px; color: rgba(255,255,255,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .hero-grid,
  .intro-grid,
  .split,
  .process-grid,
  .lead-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78)),
      url("assets/hero-varistop.png") center/cover no-repeat;
  }
  .cards.three,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .section { padding: 66px 0; }
  .hero-grid { padding: 64px 0; gap: 28px; }
  .hero-text { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .lead-card, .lead-card.large { padding: 22px; }
  .split-image img { min-height: 360px; border-radius: 24px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
}
