:root {
  --bg-main: #f3f3ee;
  --paper: #fffef9;
  --surface: #ffffff;
  --surface-2: #f6f8f3;
  --ink: #202620;
  --ink-soft: #4f5a52;
  --line: #d8ddd4;
  --accent: #1e6a4c;
  --accent-2: #c9b16b;
  --accent-deep: #184f3b;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 40px rgba(22, 40, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.62;
  background:
    radial-gradient(circle at 0% 0%, rgba(205, 217, 204, 0.65), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(230, 218, 184, 0.55), transparent 34%),
    var(--bg-main);
}

h1,
h2,
h3,
h4,
.brand {
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background:
    radial-gradient(circle at 8% 18%, rgba(122, 238, 183, 0.48), transparent 30%),
    radial-gradient(circle at 92% 76%, rgba(255, 217, 112, 0.4), transparent 32%),
    linear-gradient(150deg, rgba(33, 124, 86, 0.96), rgba(16, 68, 49, 0.94));
  border-bottom: 1px solid rgba(236, 248, 240, 0.38);
  box-shadow: 0 12px 30px rgba(7, 33, 24, 0.3);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: #f7fffb;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topnav a {
  color: rgba(242, 251, 246, 0.95);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.topnav a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f3fff8;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar-link span:first-child {
  font-size: 0.9rem;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px auto auto -120px;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(30, 106, 76, 0.13), rgba(30, 106, 76, 0));
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  border-radius: 40px;
  transform: rotate(32deg);
  background: linear-gradient(180deg, rgba(201, 177, 107, 0.22), rgba(201, 177, 107, 0.02));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.55rem);
  line-height: 1.12;
}

.hero-text {
  margin-top: 18px;
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  background: var(--accent);
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.73);
  color: var(--accent-deep);
  border: 1px solid #bdd2c4;
}

.btn-ghost:hover {
  background: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--accent-deep);
}

.btn-light:hover {
  background: #f4f7f2;
}

.hero-panel {
  padding: 30px;
  border: 1px solid #dae2da;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 243, 0.92)),
    repeating-linear-gradient(45deg, rgba(30, 106, 76, 0.03) 0 10px, rgba(30, 106, 76, 0.01) 10px 20px);
  box-shadow: var(--shadow-soft);
}

.hero-panel h2 {
  font-size: 1.22rem;
  line-height: 1.35;
}

.hero-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.hero-panel li + li {
  margin-top: 8px;
}

.hero-metrics {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics div {
  border: 1px solid #cfdad0;
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-metrics strong {
  display: block;
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1.1;
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.section {
  position: relative;
  padding: 84px 0;
}

.services-section {
  padding: 36px 0 58px;
}

.section h2 {
  font-size: clamp(1.45rem, 3.5vw, 2.3rem);
  line-height: 1.2;
}

.section-lead {
  margin-top: 14px;
  max-width: 780px;
  color: var(--ink-soft);
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.title-with-icon.small {
  gap: 10px;
}

.brand-pro {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74em;
  letter-spacing: 0.08em;
  font-weight: 800;
  vertical-align: middle;
  color: #0f5b3f;
  background: linear-gradient(145deg, rgba(141, 227, 184, 0.88), rgba(201, 239, 220, 0.92));
  box-shadow: 0 2px 8px rgba(30, 106, 76, 0.18);
}

.icon-3d {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(18, 38, 29, 0.28));
}

.title-with-icon.small .icon-3d {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 85% 88%, rgba(183, 203, 186, 0.46), rgba(183, 203, 186, 0) 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(231, 240, 229, 0.9)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.22) 0 2px,
      rgba(190, 204, 188, 0.22) 2px 4px
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.34) 0 12px,
      rgba(206, 220, 204, 0.34) 12px 24px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.2) 0 10px,
      rgba(190, 204, 188, 0.2) 10px 20px
    );
  background-size: auto, auto, auto, 14px 14px, 48px 48px, 20px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(167, 186, 165, 0.72);
  z-index: -1;
}

.services-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(153, 173, 151, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 173, 151, 0.22) 1px, transparent 1px),
    radial-gradient(circle at 25% 30%, rgba(151, 173, 151, 0.28) 0 2px, transparent 2.5px),
    radial-gradient(circle at 72% 64%, rgba(151, 173, 151, 0.22) 0 2px, transparent 2.5px);
  background-size: 34px 34px, 34px 34px, 120px 120px, 140px 140px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.service-grid,
.review-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

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

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.22rem;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.features article {
  background: linear-gradient(160deg, #f8f9f4, #edf2eb);
  border: 1px solid #d8dfd6;
  border-radius: var(--radius-md);
  padding: 22px;
}

.features span {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  color: #b4c8b5;
  font-weight: 700;
}

.features h4 {
  margin-top: 8px;
  font-size: 1.03rem;
}

.features p {
  margin-top: 6px;
  color: var(--ink-soft);
}

.calculator-section {
  overflow: hidden;
  color: #f7fff9;
}

.calculator-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(177, 255, 210, 0.5), transparent 38%),
    radial-gradient(circle at 86% 84%, rgba(255, 216, 123, 0.38), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(120, 240, 184, 0.24), transparent 36%),
    linear-gradient(140deg, #2d9b6d 0%, #167650 55%, #0c4f37 100%);
  z-index: -1;
}

.calculator-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(227, 255, 236, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 255, 236, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
}

.calc-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.calc-intro {
  font-weight: 700;
  color: #edfff3;
}

.lead-form {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 249, 238, 0.36);
  background: rgba(8, 50, 35, 0.3);
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 40px rgba(6, 36, 25, 0.35);
  display: grid;
  gap: 14px;
}

.lead-form--calculator {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.calc-col {
  display: grid;
  gap: 14px;
}

.calc-side {
  align-content: start;
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4fff8;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(236, 250, 242, 0.48);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  color: #1b2a21;
  font: inherit;
  padding: 12px 13px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #a6e2be;
  box-shadow: 0 0 0 3px rgba(166, 226, 190, 0.35);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
}

.switch {
  position: relative;
  width: 74px;
  height: 40px;
  flex: 0 0 74px;
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(234, 247, 239, 0.45);
  transition: background-color 0.2s ease;
}

.slider::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: #ace8c3;
}

.switch input:checked + .slider::before {
  transform: translateX(34px);
}

.calc-submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: min(420px, 100%);
  background: linear-gradient(140deg, #ffb11d, #ff9100);
  color: #fff;
  box-shadow: 0 12px 24px rgba(131, 65, 0, 0.3);
}

.calc-submit:hover {
  background: linear-gradient(140deg, #ffbd42, #ff9800);
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    linear-gradient(150deg, rgba(193, 217, 203, 0.2), rgba(255, 255, 255, 0));
}

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

.review {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 245, 0.96));
  border: 1px solid #d2ddd2;
}

.review::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -26px;
  width: 128px;
  height: 128px;
  border-radius: 24px;
  transform: rotate(28deg);
  background: linear-gradient(145deg, rgba(143, 228, 187, 0.32), rgba(143, 228, 187, 0));
}

.review-stamp {
  position: absolute;
  left: -26px;
  top: 52px;
  z-index: 2;
  width: 176px;
  text-align: center;
  padding: 7px 0;
  border-radius: 999px;
  border: 2px solid rgba(42, 126, 89, 0.62);
  color: rgba(25, 93, 63, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-45deg);
  transform-origin: top left;
  background: rgba(235, 255, 243, 0.9);
  backdrop-filter: blur(1px);
  box-shadow: 0 6px 14px rgba(28, 84, 59, 0.18);
  pointer-events: none;
}

.review p {
  color: var(--ink-soft);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)),
    linear-gradient(155deg, #4cae7f, #2d7f5a);
  box-shadow: 0 8px 16px rgba(25, 64, 47, 0.26);
}

.review h3 {
  font-size: 1.07rem;
  line-height: 1.3;
}

.review-company {
  margin-top: 3px;
  font-size: 0.88rem;
  color: #557062;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f6c4a;
  background: rgba(150, 228, 190, 0.24);
  border: 1px solid rgba(122, 192, 157, 0.45);
}

.video-section {
  background: #f8f8f3;
}

.video-placeholder {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed #aec0b3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 237, 0.92));
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--ink-soft);
}

.problem-section {
  color: #f5faf6;
  background:
    radial-gradient(circle at 8% 12%, rgba(102, 222, 167, 0.5), transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(245, 208, 104, 0.42), transparent 30%),
    linear-gradient(155deg, #2a8b64 0%, #186646 55%, #0f3f2f 100%);
}

.problem-section .section-lead {
  color: rgba(245, 250, 246, 0.88);
}

.problem-section .icon-3d {
  box-shadow:
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 10px 18px rgba(5, 22, 16, 0.35);
}

.cta {
  padding-top: 14px;
  padding-bottom: 12px;
  background:
    radial-gradient(circle at 10% 18%, rgba(122, 214, 171, 0.22), rgba(122, 214, 171, 0) 34%),
    radial-gradient(circle at 90% 82%, rgba(224, 200, 130, 0.2), rgba(224, 200, 130, 0) 32%),
    linear-gradient(145deg, rgba(39, 126, 90, 0.18), rgba(201, 177, 107, 0.16)),
    #eef3ea;
}

.cta .container {
  width: min(100%, calc(100vw - 28px));
  max-width: none;
}

.cta-card {
  position: relative;
  overflow: visible;
  padding: clamp(16px, 2.2vw, 24px) clamp(22px, 3vw, 34px) clamp(16px, 2.2vw, 24px)
    clamp(156px, 18vw, 228px);
  color: var(--ink);
}

.cta-coin {
  position: absolute;
  left: clamp(12px, 1.8vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(120px, 13vw, 186px);
  height: auto;
  pointer-events: none;
}

.cta-kicker {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a7a59;
  font-size: 0.82rem;
}

.cta-card h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  line-height: 1.15;
  color: #184f3b;
}

.cta-lead {
  margin-top: 16px;
  margin-bottom: 28px;
  max-width: 760px;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.cta-btn {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid rgba(24, 79, 59, 0.2);
}

.cta-btn:hover {
  background: var(--accent-deep);
  color: #ffffff;
}

.footer {
  overflow: hidden;
  padding-top: 16px;
  padding-bottom: 12px;
  background:
    radial-gradient(circle at 8% 12%, rgba(86, 195, 145, 0.42), transparent 34%),
    radial-gradient(circle at 92% 84%, rgba(230, 193, 92, 0.36), transparent 30%),
    linear-gradient(155deg, #1a6548 0%, #0b2f23 55%, #071f17 100%);
  border-top: 1px solid rgba(215, 225, 216, 0.18);
}

.footer .container {
  width: min(1280px, 96vw);
}

.footer::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.footer-card {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 2.4vw, 28px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  grid-template-areas: "brand nav contacts";
  gap: 26px;
}

.footer-brand {
  grid-area: brand;
}

.footer-nav {
  grid-area: nav;
}

.footer-col h3.title-with-icon.small {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-col h3.title-with-icon.small span {
  line-height: 1;
}

.footer-col h3.title-with-icon.small .icon-3d {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  transform: none;
}

.footer-contacts {
  grid-area: contacts;
}

.footer-title {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: #ffffff;
}

.footer-col h3 {
  margin: 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 1rem;
  color: #e9f2ed;
}

.footer-text {
  margin-top: 10px;
  color: rgba(236, 245, 240, 0.82);
  max-width: 320px;
}

.footer h2 {
  color: #ffffff;
}

.footer .icon-3d {
  box-shadow: none;
}

.contacts-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contacts-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #f4fbf7;
  transition: color 0.2s ease;
}

.contacts-list a:hover {
  color: #ffffff;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.contact-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.contacts-list a:hover .contact-icon {
  background: rgba(255, 255, 255, 0.24);
}

.footer-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-nav .footer-links {
  padding-left: 54px;
}

.footer-links a {
  color: rgba(241, 247, 243, 0.92);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(235, 243, 238, 0.88);
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.callback-modal[hidden] {
  display: none;
}

.callback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 22, 0.58);
  backdrop-filter: blur(2px);
}

.callback-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(164, 203, 186, 0.72);
  background:
    radial-gradient(circle at 15% 12%, rgba(229, 247, 234, 0.92), rgba(229, 247, 234, 0) 36%),
    linear-gradient(155deg, #f9fcf8, #edf5ef);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 24px 48px rgba(14, 43, 31, 0.24);
}

.callback-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  color: #204b37;
  background: rgba(32, 75, 55, 0.12);
  cursor: pointer;
}

.callback-modal h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  color: #164c38;
}

.callback-modal p {
  margin: 10px 0 0;
  color: #4b6256;
}

.callback-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.callback-form label {
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
  color: #355247;
  font-weight: 700;
}

.callback-form input {
  width: 100%;
  border: 1px solid #bfd1c4;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #1d3127;
  background: rgba(255, 255, 255, 0.92);
}

.callback-form input:focus {
  outline: none;
  border-color: #69b28e;
  box-shadow: 0 0 0 3px rgba(105, 178, 142, 0.22);
}

.callback-form__submit {
  width: fit-content;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .hero-grid,
  .service-grid,
  .review-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .section {
    padding: 68px 0;
  }

  .cta-card {
    padding: 18px 18px 20px;
  }

  .cta-coin {
    position: static;
    transform: none;
    display: block;
    width: 112px;
    margin: 0 0 10px;
  }

  .footer {
    padding-top: 74px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav contacts";
  }

  .topnav {
    display: none;
  }

  .lead-form--calculator {
    grid-template-columns: 1fr;
  }

  .callback-form__submit {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 64px;
  }

  .brand {
    font-size: 0.9rem;
  }

  .topbar-link {
    font-size: 0.86rem;
    padding: 7px 11px;
  }

  .hero-panel,
  .card,
  .lead-form {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "contacts";
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

}
