:root {
  --green: #174c2b;
  --green-dark: #0d3820;
  --green-deep: #082c19;
  --olive: #7ea21c;
  --yellow: #ffb51b;
  --cream: #f5f4ef;
  --line: #e5e7e4;
  --ink: #171a18;
  --muted: #68706b;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.symbol-sheet,
.honeypot {
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

.icon-25 {
  width: 25px;
  height: 25px;
}

.icon-34 {
  width: 34px;
  height: 34px;
}

.icon-40 {
  width: 40px;
  height: 40px;
}

.container {
  width: min(1540px, calc(100% - 80px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 30;
  height: 81px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #e6e6e6;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #153f25;
}

.brand-mark {
  width: 58px;
  height: 43px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.brand span {
  display: flex;
  flex-direction: column;
  margin-left: 7px;
  line-height: 0.82;
  letter-spacing: 1.8px;
}

.brand strong {
  font-size: 25px;
  font-weight: 500;
}

.brand small {
  font-size: 20px;
  font-weight: 500;
  margin-top: 7px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 48px);
  margin-left: 55px;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 30px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--green);
  transition: right 0.25s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.nav-messengers {
  display: none;
}

.header-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.header-messengers {
  display: flex;
  align-items: center;
  gap: 7px;
}

.messenger-link {
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.messenger-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.messenger-link img {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.header-messengers .messenger-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e4e9e5;
  border-radius: 12px;
  background: #f7f9f7;
  box-shadow: 0 5px 14px rgba(19, 62, 34, 0.08);
}

.header-messengers .messenger-link img {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
}

.location,
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 14px;
}

.location {
  color: #4e5650;
}

.location svg,
.header-phone svg {
  color: var(--green);
}

.header-phone {
  font-size: 16px;
  font-weight: 700;
}

.header-call {
  min-width: 165px;
  height: 41px;
  border: 0;
  border-radius: 6px;
  background: #1c5030;
  color: white;
  transition: background 0.2s, transform 0.2s;
}

.header-call:hover,
.button-green:hover {
  background: #123e24;
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 615px;
  background-color: #496844;
  background-image: url("images/hero-cadastral.png");
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 52, 29, 0.97) 0%, rgba(7, 56, 31, 0.9) 22%, rgba(10, 60, 31, 0.56) 43%, rgba(13, 45, 23, 0.05) 66%),
    linear-gradient(0deg, rgba(1, 35, 17, 0.08), rgba(1, 35, 17, 0.02));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 615px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 62px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  padding-top: 6px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.25;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 4.2vw, 67px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 29px 0 35px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-points i,
.hero-trust i {
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 42px;
  border: 0;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.button:hover,
.header-call:hover {
  transform: translateY(-2px);
}

.button-yellow {
  background: linear-gradient(135deg, #ffbb27, #ffad0e);
  color: #131313;
  box-shadow: 0 10px 24px rgba(255, 177, 15, 0.16);
}

.button-yellow:hover {
  box-shadow: 0 13px 28px rgba(255, 177, 15, 0.28);
}

.button-outline {
  border: 2px solid rgba(255, 255, 255, 0.88);
  color: #fff;
  background: rgba(15, 74, 42, 0.25);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-green {
  background: var(--green);
  color: #fff;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-trust svg {
  margin-right: 3px;
}

.calculator {
  align-self: center;
  width: 390px;
  min-height: 428px;
  padding: 26px 27px 22px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 48px rgba(18, 32, 20, 0.18);
  color: var(--ink);
}

.calculator h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.calc-intro {
  margin: 0 0 15px;
  color: #747b76;
  font-size: 12px;
  line-height: 1.45;
}

.calculator label,
.modal label {
  display: block;
  margin: 12px 0 6px;
  color: #6f7470;
  font-size: 13px;
}

.calculator input,
.calculator select,
.modal input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #cfd2cf;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  color: #424743;
}

.calculator input:focus,
.calculator select:focus,
.modal input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(126, 162, 28, 0.11);
}

.calc-submit {
  width: 100%;
  min-height: 53px;
  margin-top: 20px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #87a91c, #789a16);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: filter 0.2s, transform 0.2s;
}

.calc-submit:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.privacy {
  margin: 16px 0 0;
  color: #858c87;
  font-size: 11px;
  line-height: 1.6;
}

.privacy span {
  margin-right: 9px;
}

.calc-result {
  min-height: 35px;
  margin: 11px 0 0;
  color: #667164;
  font-size: 12px;
  line-height: 1.45;
}

.quick-services {
  position: relative;
  z-index: 3;
  padding: 32px 0 23px;
  background: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 31px;
}

.quick-card {
  min-height: 191px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 19px;
  padding: 32px 25px 25px;
  border: 1px solid #eceeec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 45, 28, 0.07);
}

.quick-icon {
  color: var(--green);
}

.quick-card h3 {
  margin: 7px 0 10px;
  font-size: 18px;
}

.quick-card p {
  min-height: 48px;
  margin: 0 0 17px;
  color: #737975;
  font-size: 13px;
  line-height: 1.55;
}

.quick-card strong {
  color: #2b5938;
  font-size: 25px;
  font-weight: 400;
  white-space: nowrap;
}

.quick-link {
  color: #2b5938;
  font-size: 14px;
  font-weight: 700;
}

.trust-section {
  padding: 38px 0;
  background: #f4f5f1;
}

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

.trust-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 80px;
  border-right: 1px solid #daddd8;
}

.trust-grid > div:last-child {
  border: 0;
}

.trust-grid strong {
  color: var(--green);
  font-size: 31px;
}

.trust-grid span {
  color: #626965;
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding: 105px 0;
}

.section-kicker {
  margin: 0 0 17px;
  color: #729018;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.section-kicker.light {
  color: #b3cf67;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
}

.section h2,
.engineer-cta h2,
.contacts-section h2 {
  margin: 0;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.section-heading > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-section {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 300px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #d0d8cf;
  box-shadow: 0 18px 38px rgba(26, 61, 36, 0.09);
}

.service-top,
.service-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf2e8;
  color: var(--green);
}

.service-top > span {
  color: #d8dcd7;
  font-size: 34px;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.service-card > p {
  min-height: 52px;
  margin: 0 0 19px;
  color: var(--muted);
  line-height: 1.6;
}

.service-bottom strong {
  color: var(--green);
  font-size: 21px;
}

.service-bottom button,
.service-bottom a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd8cf;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  transition: background 0.2s, color 0.2s;
}

.service-bottom button:hover,
.service-bottom a:hover {
  background: var(--green);
  color: #fff;
}

.prices-section {
  background: #f3f3ee;
}

.price-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.price-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 25px 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-guarantee {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 35px;
  color: var(--green);
}

.price-guarantee span {
  color: #5f6660;
  line-height: 1.5;
}

.price-guarantee strong {
  color: var(--ink);
}

.price-table {
  padding: 27px 38px 34px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(31, 49, 35, 0.07);
}

.price-row {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e8eae6;
}

.price-row strong {
  color: var(--green);
  font-size: 18px;
  white-space: nowrap;
}

.price-table .button {
  width: 100%;
  margin-top: 26px;
}

.process-section {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.step {
  position: relative;
  min-height: 245px;
  padding: 31px;
  border-top: 3px solid var(--green);
  background: #f5f6f2;
}

.step > span {
  display: inline-block;
  margin-bottom: 31px;
  color: #91aa55;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.step h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.engineer-cta {
  padding: 75px 0;
  background: var(--green-deep);
  color: #fff;
}

.engineer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.engineer-inner > div:first-child > p:last-child {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.engineer-actions {
  min-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.engineer-actions > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.engineer-actions a span {
  display: flex;
  flex-direction: column;
  font-size: 22px;
  font-weight: 700;
}

.engineer-actions a small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 400;
}

.reviews-section {
  background: #f5f5f1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  min-height: 310px;
  padding: 32px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 48, 30, 0.05);
}

.stars {
  color: #e8a914;
  letter-spacing: 3px;
}

.review-card > p {
  min-height: 140px;
  color: #454c47;
  font-size: 16px;
  line-height: 1.75;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.review-author div {
  display: flex;
  flex-direction: column;
}

.review-author small {
  margin-top: 4px;
  color: #7c827e;
}

.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.faq-layout > div:first-child > p:last-child {
  max-width: 380px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid #dfe3de;
}

.faq-list details {
  border-bottom: 1px solid #dfe3de;
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--green);
  font-size: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  margin: -2px 50px 25px 0;
  color: var(--muted);
  line-height: 1.7;
}

.contacts-section {
  padding: 83px 0;
  background: #15462a;
  color: #fff;
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr auto;
  align-items: end;
  gap: 60px;
}

.contacts-inner .brand {
  margin-bottom: 35px;
  color: #fff;
}

.contacts-inner h2 {
  max-width: 650px;
}

.contacts-inner > div:first-child > p {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-cards a {
  display: flex;
  flex-direction: column;
}

.contact-cards small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-cards strong {
  font-size: 19px;
}

.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 5px;
}

.contact-cards .contact-messengers a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.contact-messengers .messenger-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-dock-wrap {
  display: none;
}

footer {
  padding: 25px 0;
  background: #0c301d;
  color: rgba(255, 255, 255, 0.57);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 24, 14, 0.72);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden],
.modal form[hidden],
.success[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-icon .icon {
  width: 58px;
  height: 58px;
}

.service-icon .icon {
  width: 38px;
  height: 38px;
}

.calc-result[hidden] {
  display: none;
}

.form-error {
  margin: 14px 0 0;
  color: #a12626;
  font-size: 13px;
  line-height: 1.5;
}

.form-error a {
  color: var(--green);
}

button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.modal {
  position: relative;
  width: min(480px, 100%);
  min-height: 460px;
  padding: 43px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f2ef;
  color: #425046;
}

.modal h2 {
  margin: 0 0 18px;
  font-size: 37px;
  line-height: 1.1;
}

.modal form > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.6;
}

.modal .button {
  width: 100%;
  margin-top: 18px;
}

.modal form > small {
  display: block;
  margin-top: 14px;
  color: #858c87;
  font-size: 11px;
  line-height: 1.5;
}

.success {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success > div {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #eaf2e4;
  color: var(--green);
}

.success p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.success .button {
  margin-top: 25px;
}

@media (max-width: 1450px) {
  .container {
    width: min(1320px, calc(100% - 60px));
  }

  .main-nav {
    margin-left: 25px;
    gap: 27px;
  }

  .location {
    display: none;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .quick-card {
    grid-template-columns: 65px 1fr;
    padding-left: 22px;
    padding-right: 20px;
  }
}

@media (max-width: 1150px) {
  .site-header {
    height: 72px;
  }

  .container {
    width: min(100% - 40px, 1040px);
  }

  .main-nav {
    margin-left: 20px;
    gap: 20px;
  }

  .main-nav > a:nth-of-type(n + 5) {
    display: none;
  }

  .header-phone svg {
    display: none;
  }

  .header-call {
    display: none;
  }

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

  .hero h1 {
    font-size: 48px;
  }

  .hero-points {
    font-size: 16px;
  }

  .calculator {
    width: 350px;
  }

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

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

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

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

  .contacts-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contacts-inner > .button {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .brand-mark {
    width: 49px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 17px;
  }

  .header-meta {
    margin-left: auto;
  }

  .header-messengers {
    display: none;
  }

  .header-phone {
    font-size: 14px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px 20px;
    border-top: 1px solid #e8eae8;
    background: #fff;
    box-shadow: 0 14px 30px rgba(12, 40, 22, 0.12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .main-nav a:nth-last-child(-n + 2) {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #eceeec;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 14px;
  }

  .main-nav .nav-messengers .messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 12px 6px 6px;
    border: 1px solid #e2e7e3;
    border-radius: 999px;
    color: #234b31;
    font-size: 12px;
    font-weight: 700;
  }

  .nav-messengers .messenger-link img {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
  }

  .contact-dock-wrap {
    position: fixed;
    z-index: 70;
    right: 10px;
    bottom: 8px;
    left: 10px;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .contact-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    max-width: 590px;
    margin: 0 auto;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(8, 43, 24, 0.96);
    box-shadow: 0 15px 40px rgba(5, 29, 15, 0.28);
    backdrop-filter: blur(12px);
  }

  .contact-dock a {
    min-width: 0;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 16px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
  }

  .contact-dock a:hover,
  .contact-dock a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
  }

  .contact-dock img,
  .contact-dock .icon {
    width: 29px;
    height: 29px;
    max-width: 29px;
    max-height: 29px;
    flex: 0 0 29px;
    object-fit: contain;
  }

  .contact-dock .icon {
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    background: #76a21b;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(6, 48, 26, 0.97), rgba(7, 55, 29, 0.78));
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 65px;
    padding-bottom: 55px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(39px, 8vw, 54px);
  }

  .calculator {
    width: 100%;
    min-height: auto;
  }

  .quick-services {
    padding-top: 22px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 20px;
  }

  .price-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .engineer-inner {
    display: block;
  }

  .engineer-actions {
    min-width: 0;
    margin-top: 45px;
  }

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

  .review-card > p {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  .container {
    width: calc(100% - 30px);
  }

  .site-header {
    height: 66px;
  }

  .brand-mark {
    width: 42px;
    height: 36px;
  }

  .brand span {
    margin-left: 4px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    margin-top: 6px;
    font-size: 14px;
  }

  .header-phone {
    font-size: 0;
  }

  .header-phone::after {
    content: "Позвонить";
    font-size: 13px;
    font-weight: 700;
  }

  .main-nav {
    top: 65px;
  }

  .hero {
    background-position: 60% center;
  }

  .hero-grid {
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-points {
    display: block;
    margin: 22px 0 27px;
    line-height: 1.7;
  }

  .hero-points span {
    display: block;
  }

  .hero-points i {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    font-size: 15px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 4px 8px;
    margin-top: 27px;
  }

  .hero-trust i {
    display: none;
  }

  .hero-trust span {
    grid-column: 2;
  }

  .calculator {
    padding: 23px 18px;
  }

  .quick-grid,
  .trust-grid,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 170px;
  }

  .trust-grid {
    row-gap: 0;
  }

  .trust-grid > div {
    justify-content: flex-start;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid #daddd8;
  }

  .section {
    padding: 62px 0;
  }

  .section h2,
  .engineer-cta h2,
  .contacts-section h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .service-card {
    min-height: 280px;
  }

  .price-table {
    padding: 20px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 14px 0;
  }

  .steps {
    gap: 14px;
  }

  .engineer-cta {
    padding: 60px 0;
  }

  .engineer-actions > a {
    justify-content: flex-start;
  }

  .engineer-actions a span {
    font-size: 19px;
  }

  .contacts-inner {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .contacts-inner > .button {
    grid-column: auto;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .modal {
    padding: 38px 23px 28px;
  }

  .modal h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
