:root {
  --ink: #111514;
  --soft-ink: #2c312e;
  --muted: #6a706c;
  --accent: #3e8b2f;
  --accent-dark: #2f7425;
  --accent-ink: #fff;
  --gold: #b4975b;
  --sand-icon: #b4975b;
  --cream: #f7f8f5;
  --line: #dfe3df;
  --shadow: 0 12px 28px rgba(18, 24, 20, 0.15);
  --soft-shadow: 0 8px 19px rgba(18, 24, 20, 0.12);
  --radius: 8px;
  --max: 1218px;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.28;
}

img {
  display: block;
  max-width: 100%;
}

.icon-color-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

img[src*="icons/provided-v2/"] {
  filter: none;
}

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

button,
input,
select {
  font: inherit;
}

strong,
b {
  font-weight: 500;
}

.container {
  width: min(var(--max), calc(100% - 220px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.trust-bar {
  background: #071013;
  color: #f3f6f0;
  font-size: 15px;
  font-weight: 500;
  height: 45px;
  display: flex;
  align-items: center;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  gap: 73px;
  align-items: center;
  white-space: nowrap;
}

.trust-bar img {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 9px;
  vertical-align: -5px;
  object-fit: contain;
}

.site-header {
  height: 99px;
  background: #fff;
  border-bottom: 1px solid #e7e9e5;
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .container {
  width: min(1320px, calc(100% - 120px));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo--image {
  gap: 0;
}

.logo__image {
  display: block;
  width: auto;
  height: 88px;
  object-fit: contain;
}

.logo__image--footer {
  height: 82px;
}

.logo-mark {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  flex: 0 0 58px;
}

.logo-mark img {
  height: 58px;
  width: auto;
  max-width: none;
}

.logo-type {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-type strong {
  color: #101414;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1.6px;
}

.logo-type span {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 0;
}

.header-phone img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 55px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 31px;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.btn img.btn__phone-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.btn--primary {
  color: var(--accent-ink);
  background: linear-gradient(180deg, #499938, #3a862c);
  box-shadow: 0 8px 14px rgba(51, 121, 39, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #438f33, #307324);
}

.btn--outline {
  color: #fff;
  background: rgba(7, 13, 13, 0.26);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.btn--large {
  min-height: 55px;
  min-width: 265px;
}

.btn--block {
  width: 100%;
  min-height: 48px;
  font-size: 17px;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #070d0f;
  color: #fff;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 14, 0.98) 0%, rgba(5, 12, 14, 0.88) 32%, rgba(5, 12, 14, 0.32) 58%, rgba(5, 12, 14, 0) 100%),
    url("../img/hero-bg-source-match.jpg") center top / cover no-repeat;
  filter: saturate(1.04);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 690px 430px;
  gap: 98px;
  align-items: center;
  min-height: 680px;
  padding: 30px 0;
}

.hero__copy {
  max-width: 690px;
}

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

h1 {
  font-size: clamp(50px, 4.2vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 10px;
  max-width: 640px;
}

h1 span,
.estimate-card h2 span {
  color: var(--accent);
}

.hero__copy > p {
  max-width: 625px;
  font-size: 21px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

.hero__actions {
  display: flex;
  gap: 19px;
  flex-wrap: nowrap;
  margin-bottom: 32px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 685px;
}

.hero-features span {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  align-items: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
}

.hero-features img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.estimate-card {
  width: 430px;
  min-height: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 29px 28px 25px;
}

.estimate-card h2 {
  font-size: 31px;
  line-height: 1.04;
  font-weight: 500;
  text-align: center;
  margin-bottom: 15px;
}

.estimate-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e8e5;
  margin-bottom: 17px;
}

.estimate-progress__bar {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.28s ease;
}

.estimate-step[hidden] {
  display: none;
}

.estimate-step__intro {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.estimate-step__intro strong {
  color: var(--accent-dark);
  font-size: 13px;
  white-space: nowrap;
}

.estimate-step__intro span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-align: right;
}

.field {
  margin-bottom: 13px;
  position: relative;
}

.estimate-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.estimate-field-pair .field {
  min-width: 0;
}

.estimate-field-pair input {
  padding-left: 12px;
  padding-right: 35px;
  font-size: 13px;
}

.field label,
.mini-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #c9cfca;
  border-radius: 6px;
  background: #fff;
  color: #333;
  padding: 0 42px 0 15px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

select.native-select--enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__button {
  position: relative;
  width: 100%;
  height: 44px;
  border: 1px solid #c9cfca;
  border-radius: 6px;
  background: #fff;
  color: #333;
  padding: 0 43px 0 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.custom-select__button::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8e6a17;
  border-bottom: 1.5px solid #8e6a17;
  transform: translateY(-62%) rotate(45deg);
}

.custom-select.is-open .custom-select__button,
.custom-select.has-error .custom-select__button {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 139, 47, 0.18);
}

.custom-select.is-open .custom-select__button::after {
  transform: translateY(-25%) rotate(225deg);
}

.custom-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 35;
  display: grid;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(62, 139, 47, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 20, 16, 0.14);
}

.custom-select__list[hidden] {
  display: none;
}

.custom-select__option {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #34312a;
  padding: 7px 11px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.custom-select__option:hover,
.custom-select__option:focus {
  background: rgba(62, 139, 47, 0.1);
  color: #182415;
  outline: none;
}

.custom-select__option.is-selected {
  background: rgba(62, 139, 47, 0.16);
  color: #182415;
}

.custom-select__option.is-placeholder {
  color: #706d66;
}

.custom-select--multi .custom-select__list {
  gap: 3px;
}

.custom-select__hint {
  padding: 6px 10px 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.custom-select--multi .custom-select__option {
  display: flex;
  align-items: center;
  gap: 9px;
}

.custom-select--multi .custom-select__option::before {
  content: "";
  display: grid;
  place-items: center;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1.5px solid rgba(180, 151, 91, 0.78);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.custom-select--multi .custom-select__option.is-selected::before {
  content: "\2713";
  background: var(--accent);
  border-color: var(--accent);
}

.custom-select--multi.has-limit .custom-select__list {
  border-color: rgba(163, 58, 43, 0.4);
}

.custom-select__done {
  width: calc(100% - 10px);
  min-height: 31px;
  margin: 4px 5px 3px;
  border: 0;
  border-radius: 5px;
  background: rgba(62, 139, 47, 0.1);
  color: var(--accent-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.custom-select__done:hover,
.custom-select__done:focus {
  background: rgba(62, 139, 47, 0.16);
  outline: none;
}

.field--select-open {
  z-index: 26;
}

.estimate-card .field::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  background: center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.estimate-card .field[data-icon="user"]::after {
  background-image: url("../img/icons/users.svg");
}

.estimate-card .field[data-icon="phone"]::after {
  background-image: url("../img/icons/phone.svg");
}

.estimate-card .field[data-icon="location"]::after,
.estimate-card .field[data-icon="address"]::after {
  background-image: url("../img/icons/map-pin.svg");
}

.estimate-card .field[data-icon="service"]::after {
  background-image: url("../img/icons/check.svg");
  right: 34px;
}

.estimate-card .field[data-icon="email"]::after {
  background-image: url("../img/icons/mail.svg");
}

.estimate-card .field[data-icon="date"]::after {
  background-image: url("../img/icons/calendar.svg");
}

.estimate-card .field[data-icon="stories"]::after {
  background-image: url("../img/icons/stories.svg");
}

.estimate-card .field[data-icon="square-feet"]::after {
  background-image: url("../img/icons/square-feet.svg");
}

.field--date {
  z-index: 12;
}

.date-picker {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  padding: 11px;
  border: 1px solid rgba(62, 139, 47, 0.24);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 20, 16, 0.18);
}

.date-picker[hidden] {
  display: none;
}

.date-picker__header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.date-picker__header strong {
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

.date-picker__nav {
  width: 34px;
  height: 30px;
  border: 1px solid #e4ded1;
  border-radius: 7px;
  background: #fff8e4;
  color: var(--accent-dark);
  cursor: pointer;
}

.date-picker__weekdays,
.date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-picker__weekdays {
  margin-bottom: 5px;
}

.date-picker__weekdays span {
  color: #6f6757;
  font-size: 10px;
  text-align: center;
}

.date-picker__days button,
.date-picker__empty {
  height: 31px;
  border-radius: 7px;
}

.date-picker__days button {
  border: 1px solid transparent;
  background: #fff;
  color: #201b12;
  cursor: pointer;
  font-size: 12px;
}

.date-picker__days button:hover,
.date-picker__days button:focus {
  border-color: rgba(62, 139, 47, 0.54);
  background: #f1f8ef;
  outline: none;
}

.date-picker__days button.is-today {
  border-color: rgba(62, 139, 47, 0.54);
}

.date-picker__days button.is-selected {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 7px 16px rgba(51, 121, 39, 0.24);
}

.estimate-card textarea {
  display: block;
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 1px solid #c9cfca;
  border-radius: 6px;
  background: #fff;
  color: #333;
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  outline: none;
}

input:focus,
select:focus,
.custom-select__button:focus,
.estimate-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(62, 139, 47, 0.18);
}

.has-field-error input,
.has-field-error textarea,
.has-field-error .custom-select__button {
  border-color: #a33a2b;
  box-shadow: 0 0 0 3px rgba(163, 58, 43, 0.12);
}

.field-error {
  position: relative;
  margin: 6px 2px 0;
  padding-left: 18px;
  color: #a33a2b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
}

.field-error::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #a33a2b;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

.form-status {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(163, 58, 43, 0.22);
  border-radius: 7px;
  background: rgba(163, 58, 43, 0.07);
  color: #873025;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}

.form-status[data-type="success"] {
  border-color: rgba(62, 139, 47, 0.24);
  background: rgba(62, 139, 47, 0.08);
  color: var(--accent-dark);
}

.estimate-continue {
  margin-top: 3px;
}

.estimate-secure-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  color: #505852;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
  margin-top: 14px;
}

.estimate-secure-note img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.photo-upload {
  margin-top: 2px;
}

.photo-upload__heading {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
  text-align: left;
}

.photo-upload__heading strong {
  font-size: 12px;
}

.photo-upload__heading strong span,
.photo-upload__heading small {
  color: var(--muted);
  font-size: 10px;
}

.drop-zone {
  position: relative;
  min-height: 100px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px dashed #c8ccc7;
  border-radius: 7px;
  background: #fbfcfa;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.drop-zone:hover,
.drop-zone.is-dragover {
  border-color: var(--accent);
  background: #f5fbf3;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.drop-zone img {
  width: 25px;
  height: 25px;
}

.drop-zone span {
  color: #353a37;
  font-size: 11px;
}

.drop-zone small {
  color: var(--muted);
  font-size: 9px;
}

.photo-upload__error {
  min-height: 0;
  color: #a33a2b;
  font-size: 10px;
  margin-top: 5px;
}

.photo-upload__error:empty {
  display: none;
}

.photo-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.photo-preview {
  position: relative;
  height: 57px;
  overflow: hidden;
  border: 1px solid #e1e2de;
  border-radius: 6px;
  background: #f1f2ef;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview__file {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--accent-dark);
  font-size: 11px;
  background: #fff8df;
}

.photo-preview button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 16, 19, 0.82);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.estimate-step__actions {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
}

.estimate-step__actions .btn {
  padding-inline: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.estimate-step__actions .btn img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.estimate-back {
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
}

.privacy {
  color: #505852;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  margin-top: 13px;
}

.privacy img {
  display: inline-block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  margin-right: 5px;
  vertical-align: -3px;
}

.metrics {
  padding: 29px 0 26px;
}

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

.metric-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 15px;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e4df;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  padding: 19px 22px;
}

.round-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  line-height: 1;
}

.round-icon img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.metric-card strong {
  display: block;
  font-size: 30px;
  line-height: 0.95;
  font-weight: 500;
}

.metric-card b {
  display: block;
  font-size: 17px;
  line-height: 1.1;
  margin-top: 5px;
}

.metric-card p {
  color: #202521;
  font-size: 14px;
  font-weight: 500;
  margin-top: 11px;
  line-height: 1.2;
}

.section {
  padding: 4px 0 19px;
}

.section h2,
.service-area h2 {
  text-align: center;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 21px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 249px;
  background: #fff;
  border: 1px solid #dfe4df;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  text-align: center;
}

.service-card img {
  width: 100%;
  height: 109px;
  object-fit: cover;
}

.service-icon {
  position: absolute;
  top: 88px;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #dfe5dd;
  border-radius: 10px;
  box-shadow: 0 7px 14px rgba(18, 24, 20, 0.12);
}

.service-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.service-card h3 {
  padding: 39px 15px 0;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 500;
}

.service-card p {
  padding: 9px 14px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
}

.how {
  padding-top: 11px;
  padding-bottom: 18px;
}

.how h2,
.why h2,
.projects h2,
.reviews h2 {
  margin-bottom: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
  align-items: center;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 91px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 78px;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 3px;
  right: -63px;
  top: 50%;
  background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 12px);
}

.step__num {
  position: absolute;
  top: 2px;
  left: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  z-index: 2;
}

.step__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-left: 24px;
  background: #fff;
  border: 1px solid #e0e4df;
  border-radius: 50%;
  box-shadow: var(--soft-shadow);
}

.step__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.step h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.why {
  padding-top: 10px;
}

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

.why-card {
  min-height: 113px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4df;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  padding: 17px 22px;
}

.why-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.why-card span img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 7px;
}

.why-card p {
  font-size: 13px;
  line-height: 1.18;
  font-weight: 500;
}

.projects {
  padding-top: 13px;
}

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

.project-card {
  appearance: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  position: relative;
  height: 135px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  background: #111;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.04);
}

.compare-card {
  --before-width: 50%;
  --handle-left: 50%;
}

.compare-card[data-state="1"] {
  --before-width: 100%;
  --handle-left: 100%;
}

.compare-card[data-state="2"] {
  --before-width: 0%;
  --handle-left: 0%;
}

.compare-card__after {
  position: absolute;
  inset: 0;
}

.compare-card__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--before-width)) 0 0);
  transition: width 1.5s ease-in-out;
  z-index: 1;
  transition: clip-path 1.5s ease-in-out;
}

.compare-card__before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
}

.project-card i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--handle-left);
  width: 2px;
  background: rgba(255, 255, 255, 0.68);
  z-index: 2;
  transition: left 1.5s ease-in-out;
}

.project-card i::after {
  content: "\2194";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.75);
  color: #8f908c;
  font-size: 13px;
  font-style: normal;
}

.project-card__label {
  position: absolute;
  left: 20px;
  bottom: 15px;
  z-index: 3;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.text-link {
  display: table;
  margin: 16px auto 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
}

.reviews {
  padding-top: 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 242px repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.google-card,
.review-card {
  background: #fff;
  border: 1px solid #e0e4df;
  border-radius: 8px;
}

.google-card {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 15px;
  row-gap: 8px;
}

.google-logo {
  width: 146px;
  height: auto;
}

.google-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  line-height: 1;
}

.google-star {
  display: block;
  width: 18px;
  height: 18px;
  background: #fbbc04;
  clip-path: polygon(50% 3%, 61% 35%, 96% 35%, 68% 55%, 79% 89%, 50% 68%, 21% 89%, 32% 55%, 4% 35%, 39% 35%);
}

.google-star--half {
  background: linear-gradient(90deg, #fbbc04 0 50%, #dadce0 50% 100%);
}

.google-stars--large {
  gap: 4px;
}

.google-stars--large .google-star {
  width: 24px;
  height: 24px;
}

.google-card strong {
  font-size: 29px;
  line-height: 1;
}

.google-card p {
  font-size: 15px;
  font-weight: 500;
}

.review-card {
  position: relative;
  min-height: 155px;
  padding: 18px 44px 18px 23px;
  box-shadow: var(--soft-shadow);
}

.review-card p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.24;
  font-weight: 500;
}

.review-card b {
  display: block;
  margin-top: 15px;
  font-size: 15px;
}

.review-google-icon {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 26px;
  height: 26px;
}

.service-area {
  padding: 4px 0 22px;
}

.service-area__inner {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border-top: 1px solid #e0e4df;
  padding-top: 13px;
}

.service-area h2 {
  text-align: left;
  margin-bottom: 10px;
  font-size: 29px;
}

.service-area p {
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 18px;
}

.service-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 50px;
  font-weight: 500;
}

.service-area li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  margin-right: 9px;
  box-shadow: 0 3px 7px rgba(51, 121, 39, 0.24);
}

.service-area .text-link {
  margin: 18px 0 0 128px;
  font-size: 17px;
}

.map-card {
  position: relative;
  height: 330px;
  overflow: hidden;
  border: 0;
  background: transparent;
  -webkit-mask-image: radial-gradient(ellipse 98% 96% at center, #000 70%, rgba(0, 0, 0, 0.92) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 98% 96% at center, #000 70%, rgba(0, 0, 0, 0.92) 82%, transparent 100%);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  box-shadow: inset 0 0 26px 14px #fff;
}

.map-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.radius {
  display: none;
}

.bottom-cta {
  position: relative;
  overflow: visible;
  background: #071013;
  color: #fff;
  padding: 24px 0 21px;
}

.bottom-cta::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 32%;
  background:
    linear-gradient(90deg, #071013 0%, rgba(7, 16, 19, 0.65) 35%, rgba(7, 16, 19, 0.15) 100%),
    url("../img/hero-bg-source-match.jpg") right center / cover no-repeat;
  opacity: 0.88;
}

.bottom-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 380px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.bottom-cta h2 {
  font-size: 29px;
  line-height: 1.03;
  font-weight: 500;
  margin-bottom: 12px;
}

.bottom-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  white-space: nowrap;
}

.mini-form {
  display: grid;
  grid-template-columns:
    minmax(145px, 1.05fr)
    minmax(155px, 1.08fr)
    minmax(112px, 0.78fr)
    minmax(170px, 1.18fr)
    minmax(178px, 0.95fr);
  gap: 10px;
  align-items: start;
  padding-top: 5px;
}

.mini-form label {
  position: relative;
  min-width: 0;
}

.mini-form label.has-field-error {
  z-index: 50;
}

.mini-form select.native-select--enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
}

.mini-form input,
.mini-form select,
.mini-form .custom-select__button {
  height: 39px;
  border-radius: 5px;
  font-size: 12px;
  padding-left: 13px;
  padding-right: 24px;
  text-overflow: ellipsis;
}

.mini-form .custom-select__list {
  top: auto;
  right: 0;
  bottom: calc(100% + 8px);
  left: auto;
  width: 270px;
  z-index: 45;
  min-width: 240px;
  max-width: calc(100vw - 32px);
}

.mini-form .custom-select__button {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.mini-form .btn {
  height: 39px;
  min-height: 39px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.mini-form .privacy {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.45);
}

.mini-form .field-error {
  position: absolute;
  left: 0;
  top: calc(100% + 5px);
  z-index: 55;
  width: max-content;
  max-width: 260px;
  margin: 0;
  padding: 6px 9px 6px 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(7, 16, 19, 0.96);
  color: #ffd6cf;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.mini-form .field-error::before {
  left: 8px;
  top: 7px;
}

.footer {
  background: #071013;
  color: #e5ebe4;
  padding: 27px 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 250px 145px 200px 260px 190px;
  gap: 28px;
}

.footer h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer p,
.footer a,
.footer span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 8px;
  font-style: normal;
}

.footer nav a {
  position: relative;
  padding-left: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.84;
}

.footer nav a:hover,
.footer nav a:focus {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.logo--footer .logo-type strong {
  color: #fff;
}

.logo--footer .logo-mark img {
  height: 58px;
}

.logo--footer .logo-type span {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 24px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0;
}

.socials img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.socials a.socials__link--instagram {
  width: 31px;
  height: 31px;
}

.socials a.socials__link--instagram img {
  width: 31px;
  height: 31px;
}

.footer address a,
.footer address span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer address img {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.footer-hours {
  white-space: nowrap;
}

.footer-badges > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  max-width: 190px;
}

.credential-badge {
  width: 168px;
  height: auto;
  display: block;
  margin: 0;
}

.credential-badge--wide {
  width: 190px;
  justify-self: start;
}

.footer .copyright {
  text-align: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin: 20px 0 -18px;
}

.mobile-sticky {
  display: none;
}

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

  .hero .container {
    width: min(1130px, calc(100% - 64px));
  }

  .trust-bar__inner {
    gap: 42px;
  }

  .hero__inner {
    grid-template-columns: 630px 430px;
    gap: 70px;
  }

  .service-grid {
    gap: 16px;
  }
}

@media (max-width: 1040px) {
  .trust-bar {
    height: auto;
    padding: 9px 0;
  }

  .trust-bar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-size: 14px;
  }

  .site-header {
    height: 86px;
  }

  .logo img {
    width: auto;
  }

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

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 46px 0;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 620px;
  }

  .estimate-card {
    width: min(460px, 100%);
  }

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

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

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .reviews__grid,
  .service-area__inner,
  .bottom-cta__inner,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    height: auto;
    aspect-ratio: 1695 / 928;
  }

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

  .mini-form .btn {
    min-height: 46px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .hero .container {
    width: min(100% - 32px, 560px);
  }

  .site-header__inner {
    gap: 14px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-phone {
    display: none;
  }

  .header-actions .btn {
    min-height: 42px;
    min-width: 158px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.15;
    text-align: center;
  }

  .logo img {
    width: auto;
  }

  .logo__image {
    height: 66px;
  }

  .logo__image--footer {
    height: 72px;
  }

  .logo-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .logo-mark img {
    height: 50px;
  }

  .logo-type strong {
    font-size: 19px;
    letter-spacing: 1px;
  }

  .logo-type span {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero__photo {
    background:
      linear-gradient(90deg, rgba(5, 12, 14, 0.96), rgba(5, 12, 14, 0.66)),
      url("../img/hero-bg-source-match.jpg") center top / cover no-repeat;
  }

  .hero__inner {
    min-height: auto;
    gap: 30px;
    padding: 42px 0 78px;
  }

  h1 {
    font-size: 44px;
  }

  .hero__copy > p {
    font-size: 18px;
  }

  .hero__actions {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
  }

  .btn--large {
    min-width: 0;
    width: 100%;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 18px;
  }

  .hero-features span {
    grid-template-columns: 38px 1fr;
    gap: 9px;
    font-size: 13px;
  }

  .hero-features img {
    width: 38px;
    height: 38px;
  }

  .estimate-card {
    padding: 26px 20px 23px;
  }

  .estimate-card h2,
  .section h2,
  .service-area h2 {
    font-size: 29px;
  }

  .estimate-step__intro {
    align-items: flex-start;
  }

  .estimate-step__intro span {
    max-width: 190px;
  }

  .metrics__grid,
  .service-grid,
  .why-grid,
  .project-grid,
  .mini-form {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 125px;
  }

  .service-card {
    min-height: 0;
  }

  .service-card img {
    height: 176px;
  }

  .service-icon {
    top: 144px;
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .service-icon img {
    width: 46px;
    height: 46px;
  }

  .service-card h3 {
    padding: 50px 22px 0;
    font-size: 22px;
    line-height: 1.14;
  }

  .service-card p {
    padding: 10px 22px 30px;
    font-size: 16px;
    line-height: 1.25;
  }

  .services {
    padding-bottom: 34px;
  }

  .steps {
    gap: 30px;
  }

  .step {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    min-height: 88px;
  }

  .step__num {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .step__icon {
    width: 78px;
    height: 78px;
    margin-left: 34px;
  }

  .step__icon img {
    width: 53px;
    height: 53px;
  }

  .step h3 {
    font-size: 19px;
    line-height: 1.16;
    margin-bottom: 5px;
  }

  .step p {
    font-size: 16px;
    line-height: 1.23;
  }

  .how {
    padding-bottom: 88px;
  }

  .service-area ul {
    grid-template-columns: 1fr;
  }

  .service-area .text-link {
    margin-left: 0;
  }

  .bottom-cta::after {
    width: 100%;
    opacity: 0.24;
  }

  .bottom-cta p {
    white-space: normal;
  }

  .footer__grid {
    gap: 26px;
  }

  .footer-badges > div {
    max-width: 260px;
  }

  .mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #071013;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-sticky a {
    display: grid;
    place-items: center;
    min-height: 54px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
  }

  .mobile-sticky a:last-child {
    background: var(--accent);
  }
}

@media (max-width: 430px) {
  .trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    text-align: center;
  }

  .trust-bar img {
    display: none;
  }

  .site-header {
    height: 76px;
  }

  .logo img {
    width: auto;
  }

  .logo__image {
    height: 52px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .metric-card,
  .why-card {
    grid-template-columns: 64px 1fr;
  }

  .hero__copy > p {
    font-size: 17px;
  }

  .hero__actions .btn {
    min-height: 55px;
  }

  .hero-features {
    gap: 14px 12px;
  }

  .hero-features span {
    grid-template-columns: 34px 1fr;
    gap: 8px;
    font-size: 12px;
  }

  .hero-features img {
    width: 34px;
    height: 34px;
  }

  .service-grid {
    gap: 24px;
  }

  .service-card img {
    height: 166px;
  }

  .service-icon {
    top: 136px;
  }

  .service-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .step {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }

  .step__icon {
    width: 74px;
    height: 74px;
    margin-left: 32px;
  }

  .step__icon img {
    width: 50px;
    height: 50px;
  }

  .step h3 {
    font-size: 18px;
  }

  .step p {
    font-size: 15px;
  }

  .round-icon {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}
