:root {
  --green: #1fb321;
  --green-dark: #156f4b;
  --ink: #222;
  --muted: #666;
  --line: #dfe8df;
  --soft: #f4f8f2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(21, 111, 75, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geologica", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
.thank-hero h1 {
  white-space: normal;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container { width: min(100% - 40px, 1240px); margin: 0 auto; }
.section { padding: 90px 0; }
.muted { background: var(--soft); }
.section-dark { color: #fff; background: #13251d; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; max-width: 760px; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { line-height: 1.6; }
.section-head { max-width: 790px; margin-bottom: 34px; }
.section-head p, .section-copy p { color: var(--muted); }
.section-dark p { color: rgba(255,255,255,.82); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(31,179,33,.14);
  backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}
.logo-img-header {
  height: 42px;
}
.logo-img-footer {
  height: 46px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
}
.nav { display: flex; gap: 18px; justify-content: center; color: #334238; font-size: 14px; }
.nav a:hover, .footer-nav a:hover { color: var(--green-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone {
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s;
}
.phone:hover,
.phone:focus-visible,
.phone:active {
  color: var(--green);
}
.menu-toggle { display: none; }
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; margin: 3px auto; }

.button {
  border: 0;
  border-radius: 999px;
  padding: 15px 23px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 12px 24px rgba(31,179,33,.25);
}
.button:hover { background: var(--green-dark); transform: translateY(-2px); }
.button-small { padding: 11px 16px; font-size: 14px; }
.button-ghost { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.button-soft { background: #fff; color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--line); }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 44px 0 50px;
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(7,17,12,.86) 0%, rgba(7,17,12,.64) 48%, rgba(7,17,12,.28) 100%); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 54px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; max-width: 760px; }
.hero-stats div { border-top: 1px solid rgba(255,255,255,.28); padding-top: 14px; }
.hero-stats dt { font-size: 27px; font-weight: 800; }
.hero-stats dd { margin: 4px 0 0; color: rgba(255,255,255,.75); }

.lead-form, .horizontal-form {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.lead-form h2, .lead-form h3 { font-size: 25px; margin-bottom: 8px; }
.lead-form p { color: var(--muted); margin-bottom: 18px; }
.lead-form label, .horizontal-form label { display: grid; gap: 8px; color: #35433a; font-size: 14px; }
.lead-form input, .horizontal-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 52px;
  padding: 0 15px;
  outline: none;
  background: #fff;
}
.lead-form .button, .horizontal-form .button { min-height: 52px; }
.lead-form > .button { width: 100%; }
.lead-form input:focus, .horizontal-form input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,179,33,.1); }
.checkbox { grid-template-columns: auto 1fr; align-items: start; margin: 13px 0; }
.checkbox input { width: 18px; margin-top: 2px; }
.checkbox span { font-size: 12px; line-height: 1.4; color: var(--muted); }
.form-status { display: block; min-height: 20px; margin-top: 12px; color: var(--green-dark); font-weight: 700; }

.hero-form {
  width: min(100%, 430px);
  padding: 30px 26px 28px;
  border-radius: 10px;
}
.hero-form h2 {
  font-size: 27px;
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero-form p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.hero-form label:not(.checkbox) {
  gap: 10px;
  font-size: 15px;
  margin-bottom: 24px;
}
.hero-form input[name="phone"] {
  min-height: 52px;
  border-radius: 8px;
}
.hero-form .button {
  min-height: 54px;
  font-size: 16px;
  margin-bottom: 28px;
}
.hero-form .checkbox {
  width: 78%;
  margin: 0 auto;
  align-items: center;
  gap: 12px;
}
.hero-form .checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.hero-form .checkbox span {
  font-size: 12px;
  line-height: 1.35;
}

.quick-strip { padding: 30px 0; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: start;
}
.strip-icon {
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
}
.strip-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.project-card div { padding: 18px; }
.project-card p { color: var(--muted); font-size: 14px; min-height: 44px; }
.project-card .button { width: 100%; padding: 12px 16px; margin-top: 8px; }
.project-card.hidden { display: none; }
.center-actions { display: flex; justify-content: center; margin-top: 28px; }

.horizontal-form {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, .9fr);
  gap: 24px;
  align-items: end;
}
.horizontal-form h3 { font-size: clamp(22px, 2.1vw, 30px); margin: 0; }
.horizontal-form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}
.horizontal-form .checkbox { grid-column: 1 / -1; margin: 0 0 -2px; }
.horizontal-form .form-status { grid-column: 1 / -1; }
.accent-form {
  border: 1px solid rgba(31,179,33,.28);
  background: linear-gradient(135deg, #ffffff 0%, #f3fbf1 100%);
  box-shadow: 0 22px 54px rgba(31,179,33,.18);
}
.catalog-form {
  position: relative;
  min-height: 360px;
  margin-top: 46px;
  padding: 44px 54px;
  display: grid;
  grid-template-columns: minmax(420px, .48fr) minmax(540px, .52fr);
  gap: 24px;
  align-items: center;
  overflow: visible;
  border-radius: 28px;
  background: #303133;
  color: #fff;
  box-shadow: 0 32px 70px rgba(21,111,75,.14);
}
.catalog-form h3 {
  max-width: 560px;
  margin-bottom: 34px;
  color: #fff;
  font-size: clamp(27px, 2.5vw, 37px);
  line-height: 1.02;
}
.catalog-controls {
  display: grid;
  grid-template-columns: 270px 310px;
  gap: 10px;
  align-items: end;
  margin-bottom: 28px;
}
.catalog-controls label {
  display: grid;
  gap: 14px;
  color: #fff;
  font-size: 18px;
}
.catalog-controls input {
  min-height: 64px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  padding-left: 28px;
}
.catalog-controls input::placeholder { color: rgba(255,255,255,.7); }
.catalog-controls .button {
  min-height: 64px;
  border-radius: 18px;
  font-size: 18px;
}
.catalog-form .checkbox {
  max-width: 610px;
  margin-top: 24px;
  align-items: start;
  gap: 10px;
}
.catalog-form .checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--green);
}
.catalog-form .checkbox span {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  line-height: 1.35;
}
.catalog-form .checkbox a {
  color: var(--green);
  text-decoration: underline;
}
.catalog-form .form-status {
  color: #fff;
  margin-top: 10px;
}
.catalog-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 320px;
  pointer-events: none;
}
.catalog-preview-img {
  position: absolute;
  right: -8px;
  top: -58px;
  width: min(92%, 600px);
  height: auto;
  display: block;
}
.viewing-form {
  position: relative;
  min-height: 360px;
  margin-top: 46px;
  padding: 44px 54px;
  display: grid;
  grid-template-columns: minmax(420px, .48fr) minmax(520px, .52fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: #303133;
  color: #fff;
  box-shadow: 0 32px 70px rgba(21,111,75,.14);
}
.viewing-form h3 {
  max-width: 560px;
  margin-bottom: 34px;
  color: #fff;
  font-size: clamp(24px, 2.25vw, 34px);
  line-height: 1.03;
}
.viewing-controls {
  display: grid;
  grid-template-columns: 270px 310px;
  gap: 10px;
  align-items: end;
  margin-bottom: 28px;
}
.viewing-controls label {
  display: grid;
  gap: 14px;
  color: #fff;
  font-size: 18px;
}
.viewing-controls input {
  min-height: 64px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  padding-left: 28px;
}
.viewing-controls input::placeholder { color: rgba(255,255,255,.7); }
.viewing-controls .button {
  min-height: 64px;
  border-radius: 18px;
  font-size: 18px;
}
.viewing-form .checkbox {
  max-width: 610px;
  margin-top: 24px;
  align-items: start;
  gap: 10px;
}
.viewing-form .checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--green);
}
.viewing-form .checkbox span {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  line-height: 1.35;
}
.viewing-form .checkbox a {
  color: var(--green);
  text-decoration: underline;
}
.viewing-form .form-status {
  color: #fff;
  margin-top: 10px;
}
.viewing-preview {
  position: relative;
  min-height: 310px;
}
.viewing-preview img {
  position: absolute;
  right: -10px;
  bottom: -18px;
  width: min(92%, 540px);
  max-width: none;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,.28));
}
.mortgage-form {
  position: relative;
  min-height: 360px;
  padding: 44px 54px;
  display: grid;
  grid-template-columns: minmax(420px, .48fr) minmax(520px, .52fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background: #303233;
  box-shadow: 0 28px 70px rgba(18,47,31,.18);
}
.mortgage-form .eyebrow {
  color: rgba(255,255,255,.78);
}
.mortgage-form h2 {
  max-width: 620px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(27px, 2.5vw, 37px);
  line-height: 1.05;
}
.mortgage-form p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.9);
  font-weight: 700;
}
.mortgage-controls {
  display: grid;
  grid-template-columns: 270px 310px;
  gap: 10px;
  align-items: end;
  margin-bottom: 28px;
}
.mortgage-controls label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.mortgage-controls input {
  width: 100%;
  min-height: 64px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 0 28px;
  background: rgba(255,255,255,.04);
  color: #fff;
  outline: none;
}
.mortgage-controls input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31,179,33,.18);
}
.mortgage-controls .button {
  min-height: 64px;
  border-radius: 14px;
}
.mortgage-form .checkbox {
  max-width: 610px;
  margin-top: 24px;
  align-items: start;
  gap: 10px;
}
.mortgage-form .checkbox input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  accent-color: var(--green);
}
.mortgage-form .checkbox span {
  color: rgba(255,255,255,.88);
  font-size: 12px;
  line-height: 1.35;
}
.mortgage-form .form-status {
  color: #fff;
  margin-top: 10px;
}
.mortgage-preview {
  position: relative;
  min-height: 320px;
}
.mortgage-preview img {
  position: absolute;
  right: -14px;
  bottom: -48px;
  width: min(94%, 560px);
  max-width: none;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,.28));
}

.gas-orbit {
  position: relative;
  min-height: 620px;
  margin-top: 34px;
  background: radial-gradient(ellipse at center, rgba(218,238,229,.9) 0%, rgba(239,248,243,.72) 42%, rgba(255,255,255,0) 74%);
}
#gas-benefits .section-head {
  max-width: 760px;
}
#gas-benefits .section-head h2 {
  max-width: 100%;
  white-space: normal;
}
.gas-core-img {
  position: absolute;
  left: 50%;
  top: 60px;
  width: min(60vw, 840px);
  max-width: none;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.gas-point {
  position: absolute;
  z-index: 2;
  width: 360px;
  background: #fff;
  border: 1px solid rgba(42,62,52,.24);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 18px 42px rgba(21,111,75,.07);
}
.gas-point h3 {
  margin-bottom: 8px;
  color: #3b3b3d;
  font-size: 20px;
  line-height: 1.18;
}
.gas-point p {
  color: #747474;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.48;
  margin: 0;
}
.p1 { left: 40px; top: 8px; }
.p2 { left: 0; top: 210px; }
.p3 { left: 40px; bottom: 24px; }
.p4 { right: 40px; top: 8px; }
.p5 { right: 0; top: 210px; }
.p6 { right: 40px; bottom: 24px; }

.slider-shell, .offer-slider { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.ready-track, .offer-track, .review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 8px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  touch-action: pan-y pinch-zoom;
}
.ready-track.is-dragging, .offer-track.is-dragging, .review-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.offer-track { grid-auto-columns: calc((100% - 40px) / 3); overflow: hidden; }
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 30px;
  color: var(--green-dark);
}

#ready-houses .slider-shell,
#offers .offer-slider {
  position: relative;
  display: block;
}
#ready-houses .ready-track,
#offers .offer-track {
  width: 100%;
}
#ready-houses .slider-btn,
#offers .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
#ready-houses [data-ready-prev],
#offers [data-slide-prev] {
  left: -70px;
}
#ready-houses [data-ready-next],
#offers [data-slide-next] {
  right: -70px;
}

@media (max-width: 1320px) {
  #ready-houses [data-ready-prev],
  #offers [data-slide-prev] {
    left: 8px;
  }
  #ready-houses [data-ready-next],
  #offers [data-slide-next] {
    right: 8px;
  }
}

.steps-section {
  position: relative;
  margin: 28px 10px;
  padding: 72px 0;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(6,12,10,.68), rgba(6,12,10,.68)), url("assets/steps-bg.png") center / cover no-repeat;
}
.steps-section .container {
  position: relative;
  z-index: 1;
}
.steps-section .section-head {
  max-width: 1120px;
  margin: 0 0 42px;
  text-align: left;
}
.steps-section .eyebrow {
  display: none;
}
.steps-section h2 {
  max-width: 1180px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  white-space: normal;
}
.steps-section .section-head h2 {
  white-space: normal;
}
.steps-subtitle {
  margin-top: 12px;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.35;
}
.timeline { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 34px; }
.timeline li {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 8px;
  padding: 20px 22px;
  min-height: 110px;
  display: block;
  box-shadow: 0 16px 42px rgba(0,0,0,.14);
  backdrop-filter: blur(2px);
}
.timeline span {
  display: inline;
  background: transparent;
  border-radius: 0;
  font-weight: 800;
  color: var(--green);
}
.timeline h3 { display: inline; margin: 0; color: #086016; }
.timeline span::after { content: ". "; }
.timeline p { margin: 8px 0 0; color: #4d5968; }
.about-grid, .contacts-grid, .final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.about-grid { grid-template-columns: .82fr 1.18fr; }
.contacts-grid {
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  align-items: stretch;
}
.icon-list { padding: 0; list-style: none; display: grid; gap: 12px; margin: 22px 0 0; }
.icon-list li { position: relative; padding-left: 32px; color: #34423a; }
.icon-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.video-embed iframe, .video-card iframe, .map-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #dfe8df;
}
.video-embed iframe { aspect-ratio: 16 / 9; box-shadow: var(--shadow); }

#about .about-grid {
  grid-template-columns: .95fr 1.05fr;
  gap: 74px;
  align-items: center;
}
#about .eyebrow {
  color: #4d5960;
  margin-bottom: 16px;
}
#about h2 {
  font-size: clamp(46px, 4vw, 56px);
  line-height: 1.04;
  margin-bottom: 20px;
  white-space: normal;
}
#about .section-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
}
#about .icon-list {
  gap: 12px;
  margin-top: 22px;
}
#about .icon-list li {
  padding-left: 34px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}
#about .icon-list li::before {
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
#about .video-embed iframe {
  width: 100%;
  min-height: 368px;
  border-radius: 8px;
  box-shadow: none;
}
.review-track { grid-auto-columns: calc((100% - 40px) / 3); }
.video-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.video-card iframe { aspect-ratio: 16 / 9; border-radius: 0; }
.video-card figcaption { padding: 14px; color: var(--muted); font-size: 14px; }
.offer-track article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-track img { height: 210px; width: 100%; object-fit: cover; }
.offer-track h3, .offer-track p { margin-left: 20px; margin-right: 20px; }
.offer-track h3 { margin-top: 14px; }
.offer-track p { color: var(--muted); flex: 1; }
.offer-more {
  width: calc(100% - 40px);
  margin: 6px 20px 20px;
  min-height: 46px;
  padding: 12px 18px;
  font-size: 15px;
}
.final-cta { padding: 72px 0 84px; }

.contacts-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 26px;
  box-shadow: var(--shadow);
}
.contacts-intro {
  max-width: 520px;
  color: var(--muted);
  margin-bottom: 36px;
}
.contacts-info {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
}
.contacts-info h3 {
  font-size: 24px;
  margin: 0 0 10px;
}
.contacts-info p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.contacts-info a { color: inherit; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}
.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.map-wrap {
  background: #fff;
  padding: 16px;
}
.map-wrap iframe {
  min-height: 454px;
  height: 100%;
  border-radius: 0;
}
.site-footer { padding: 34px 0; background: #12251d; color: #fff; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.78); font-size: 14px; }

.thank-hero {
  text-align: center;
  padding: 90px 20px 52px;
}
.thank-hero h1 { margin: 0 auto 14px; }
.thank-hero p { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.success-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(31,179,33,.28);
}
.trust-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.yandex-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 34px;
  background: #fff;
}
.yandex-card > div { display: flex; align-items: center; gap: 14px; }
.trust-icon { color: var(--green); font-size: 28px; }
.stars { color: #f4ba22; letter-spacing: 2px; }
.rating-line b { color: #e32222; }
.socials-block { display: flex; align-items: center; gap: 16px; color: var(--muted); }
.thanks-adv-grid {
  display: grid;
  grid-template-columns: 1fr 330px 1fr;
  gap: 38px;
  align-items: center;
}
.thanks-adv-col { display: grid; gap: 24px; }
.thanks-adv-col article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  align-items: start;
}
.thanks-adv-col span {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green-dark);
  font-weight: 800;
}
.thanks-adv-col p { color: var(--muted); margin: 0; }
.center-circle {
  position: relative;
  width: 330px;
  height: 330px;
}
.center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.center-circle::before {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px dashed var(--green);
  border-radius: 50%;
  opacity: .35;
}
.thank-video { max-width: 960px; margin: 0 auto 46px; }
.thanks-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.thanks-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.thanks-stats h3 { color: var(--green-dark); }
.thanks-stats p { color: var(--muted); margin: 0; }

.mobile-bar { display: none; }
.modal {
  border: 0;
  border-radius: 8px;
  width: min(90vw, 760px);
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal::backdrop { background: rgba(5,15,10,.65); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 28px;
  z-index: 2;
}
.modal-content {
  padding: 14px 16px 12px;
  max-height: calc(100dvh - 32px);
  overflow: visible;
}
.project-modal-grid {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  gap: 14px 18px;
  align-items: start;
}
.project-modal-grid > *,
.modal-media {
  min-width: 0;
}
.modal-main-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
}
.project-modal-grid .eyebrow { margin-bottom: 8px; }
.project-modal-grid h2 {
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.05;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.project-modal-grid p:not(.eyebrow) {
  line-height: 1.38;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.thumb-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 56px;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 8px;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.thumb-row button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.thumb-row img {
  aspect-ratio: 1 / 1;
  width: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
}
.thumb-row button.active img { border-color: var(--green); }
.modal-table { width: 100%; border-collapse: collapse; margin: 10px 0 0; }
.modal-table td { border-bottom: 1px solid var(--line); padding: 7px 0; }
.modal-table td:last-child { overflow-wrap: anywhere; }
.modal-lead {
  grid-column: 1 / -1;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  align-items: end;
  padding: 18px 22px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(25,91,62,.08);
}
.modal-lead h3 {
  grid-column: 1 / -1;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 2px;
}
.modal-lead .checkbox, .modal-lead .form-status { grid-column: 1 / -1; }
.modal-lead .checkbox {
  margin: 10px 0 0;
  align-items: center;
}
.modal-lead .checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.modal-lead .button,
.modal-lead input[name="phone"] {
  min-height: 48px;
}
.modal-lead .button {
  padding: 12px 18px;
  font-size: 15px;
  white-space: nowrap;
}
.modal-lead .form-status {
  min-height: 0;
  margin-top: 0;
}
.modal-lead .checkbox span { font-size: 12px; }

.image-zoom {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  padding: 28px;
  margin: 0;
  background: transparent;
  overflow: hidden;
}
.image-zoom[open] {
  display: grid;
  place-items: center;
}
.image-zoom::backdrop {
  background: rgba(5,15,10,.82);
}
.image-zoom img {
  max-width: min(94vw, 1120px);
  max-height: 90dvh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}
.image-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  z-index: 1;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .site-header { grid-template-columns: auto auto 1fr; }
  .nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .header-actions { justify-self: end; }
  .header-actions .button { display: none; }
  .hero-grid, .about-grid, .contacts-grid, .final-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .gas-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 330px;
  }
  .gas-core-img {
    top: 0;
    width: min(74vw, 560px);
  }
  .gas-point {
    position: static;
    width: auto;
  }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .steps-section h2 { font-size: clamp(32px, 5vw, 46px); }
  .ready-track, .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  #ready-houses [data-ready-prev],
  #offers [data-slide-prev] {
    left: -22px;
  }
  #ready-houses [data-ready-next],
  #offers [data-slide-next] {
    right: -22px;
  }
}

@media (min-width: 681px) {
  .section-head { max-width: none; }
  .section-head h2,
  .section-copy h2,
  .final-grid h2,
  .about-grid h2,
  .contacts-card h2,
  .thank-hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1240px); }
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
  }
  .site-header .logo {
    grid-column: 1;
    grid-row: 1;
    gap: 7px;
  }
  .site-header .logo-img-header {
    height: 42px;
  }
  .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .site-header .header-actions .button {
    display: none;
  }
  .site-header .phone {
    font-size: 0;
    font-weight: 800;
  }
  .site-header .phone::after {
    content: "8930 830 22 62";
    font-size: 15px;
  }
  .site-header .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding: 52px 0 42px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7,17,12,.86), rgba(7,17,12,.55)); }
  h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .strip-item { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: 8px; }
  .strip-icon { grid-row: auto; }
  .projects-grid, .timeline, .gas-orbit { grid-template-columns: 1fr; }
  .horizontal-form { grid-template-columns: 1fr; }
  .horizontal-form > div { grid-template-columns: 1fr; }
  .catalog-form {
    min-height: auto;
    margin-top: 44px;
    padding: 30px 20px 0;
    grid-template-columns: 1fr;
    border-radius: 18px;
    overflow: visible;
  }
  .catalog-form h3 { font-size: 28px; }
  .catalog-controls { grid-template-columns: 1fr; }
  .catalog-preview {
    position: relative;
    z-index: 2;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: -18px;
    margin-bottom: -38px;
    overflow: visible;
  }
  .catalog-preview-img {
    position: relative;
    right: auto;
    top: auto;
    width: 112%;
    max-width: none;
    margin-left: -6%;
    margin-bottom: 0;
    display: block;
  }
  .viewing-form {
    min-height: auto;
    margin-top: 44px;
    padding: 30px 20px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .viewing-form h3 { font-size: 28px; }
  .viewing-controls { grid-template-columns: 1fr; }
  .viewing-preview {
    min-height: 210px;
    margin-top: -10px;
  }
  .viewing-preview img {
    right: -18px;
    bottom: -18px;
    width: 102%;
  }
  .mortgage-form {
    min-height: auto;
    padding: 30px 20px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .mortgage-form h2 { font-size: 28px; }
  .mortgage-controls { grid-template-columns: 1fr; }
  .mortgage-preview {
    min-height: 210px;
    margin-top: 10px;
  }
  .mortgage-preview img {
    right: -18px;
    bottom: -18px;
    width: 102%;
  }
  #gas-benefits .section-head {
    max-width: 100%;
  }
  #gas-benefits .section-head h2 {
    font-size: 30px;
    line-height: 1.45;
  }
  .gas-orbit {
    margin-top: 18px;
    padding-top: 270px;
    gap: 12px;
    background: radial-gradient(ellipse at 50% 180px, rgba(218,238,229,.95) 0%, rgba(239,248,243,.76) 48%, rgba(255,255,255,0) 78%);
  }
  .gas-core-img {
    width: min(92vw, 360px);
    top: 0;
  }
  .gas-point {
    border-radius: 22px;
    padding: 18px 18px;
    transform: none;
  }
  .gas-point h3 { font-size: 20px; }
  .gas-point p { font-size: 15px; }
  .gas-point:nth-child(even) { transform: none; }
  #about .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #about .video-embed {
    display: block;
    width: 100%;
    margin-top: 24px;
    opacity: 1;
    transform: none;
    grid-column: 1;
    order: 2;
  }
  #about .video-embed iframe {
    display: block;
    width: 100%;
    min-height: 0;
    height: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    background: #111;
  }
  .slider-shell, .offer-slider { grid-template-columns: 1fr; }
  .slider-btn { display: none; }
  .ready-track, .review-track, .offer-track {
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .ready-track > *, .review-track > *, .offer-track > * { scroll-snap-align: start; }
  .review-track iframe { pointer-events: none; }
  #ready-houses .ready-track {
    grid-auto-columns: 82%;
    gap: 16px;
    padding-right: 18%;
  }
  #offers .offer-more {
    width: calc(100% - 32px);
    margin: 8px 16px 18px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .modal {
    width: min(calc(100vw - 20px), 430px);
    max-height: calc(100dvh - 16px);
    margin: auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10;
  }
  .project-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 14px;
  }
  .modal-content {
    width: 100%;
    padding: 16px;
    max-height: none;
    overflow-x: hidden;
  }
  .modal-media,
  .modal-main-img,
  .modal-table,
  .modal-lead {
    max-width: 100%;
  }
  .thumb-row {
    grid-auto-columns: 54px;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 7px;
  }
  .modal-lead {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 12px;
  }
  .image-zoom {
    padding: 14px;
  }
  .image-zoom img {
    max-width: 94vw;
    max-height: 86dvh;
  }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .contacts-info { grid-template-columns: 1fr; gap: 12px; }
  .contacts-card { padding: 26px 20px; }
  .map-wrap { padding: 8px; }
  .map-wrap iframe { min-height: 360px; }
  .trust-grid, .yandex-card, .yandex-card > div, .socials-block { justify-content: center; text-align: center; }
  .yandex-card { flex-direction: column; }
  .thanks-adv-grid { grid-template-columns: 1fr; }
  .center-circle { width: 250px; height: 250px; margin: 0 auto; grid-row: 1; }
  .thanks-stats { grid-template-columns: 1fr; }
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .mobile-bar a, .mobile-bar button {
    border: 0;
    border-radius: 999px;
    padding: 11px 8px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 13px;
  }
  body { padding-bottom: 150px; }
}
.marquiz-widget__container{
	bottom: 50px!important;
}

/* Catalog request banner */
.catalog-form {
  position: relative;
  min-height: 510px;
  padding: 74px min(18vw, 330px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(7,11,10,.56), rgba(7,11,10,.56)), url("assets/catalog-bg-desktop.png") center / cover no-repeat;
  color: #fff;
}
.catalog-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.catalog-form h3 {
  max-width: 520px;
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(42px, 3.1vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}
.catalog-controls {
  display: grid;
  grid-template-columns: 250px 245px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 0;
}
.catalog-controls label {
  display: block;
  font-size: 0;
}
.catalog-controls input {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #172018;
  font-size: 18px;
  padding: 0 22px;
}
.catalog-controls input::placeholder {
  color: rgba(23,32,24,.62);
}
.catalog-controls .button {
  min-height: 72px;
  border-radius: 10px;
  font-size: 16px;
  text-transform: lowercase;
  box-shadow: 0 16px 34px rgba(31,179,33,.28);
}
.catalog-form .checkbox,
.catalog-preview,
.catalog-preview-img {
  display: none;
}

@media (max-width: 680px) {
  .catalog-form {
    min-height: auto;
    padding: 154px 20px 30px;
    display: block;
    border-radius: 8px;
    background: linear-gradient(rgba(6,8,7,.52), rgba(6,8,7,.52)), url("assets/catalog-bg-mobile.png") center top / cover no-repeat;
  }
  .catalog-copy {
    max-width: none;
  }
  .catalog-form h3 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 28px;
    line-height: 1.08;
  }
  .catalog-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .catalog-controls input,
  .catalog-controls .button {
    min-height: 51px;
    border-radius: 9px;
  }
}

/* Viewing request banner */
.viewing-form {
  position: relative;
  min-height: 510px;
  margin-top: 46px;
  padding: 74px min(18vw, 330px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(7,11,10,.56), rgba(7,11,10,.56)), url("assets/viewing-bg-desktop.png") center / cover no-repeat;
  color: #fff;
}
.viewing-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.viewing-form h3 {
  max-width: 520px;
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(42px, 3.1vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}
.viewing-controls {
  display: grid;
  grid-template-columns: 250px 245px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 0;
}
.viewing-controls label {
  display: block;
  font-size: 0;
}
.viewing-controls input {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #172018;
  font-size: 18px;
  padding: 0 22px;
}
.viewing-controls input::placeholder {
  color: rgba(23,32,24,.62);
}
.viewing-controls .button {
  min-height: 72px;
  border-radius: 10px;
  font-size: 16px;
  text-transform: lowercase;
  box-shadow: 0 16px 34px rgba(31,179,33,.28);
}
.viewing-preview,
.viewing-preview img {
  display: none;
}

.catalog-form .checkbox,
.viewing-form .checkbox {
  display: flex;
  max-width: 520px;
  margin-top: 18px;
  align-items: flex-start;
  gap: 10px;
}
.catalog-form .checkbox input,
.viewing-form .checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.catalog-form .checkbox span,
.viewing-form .checkbox span {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  line-height: 1.35;
}
.catalog-form .checkbox a,
.viewing-form .checkbox a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .viewing-form {
    min-height: auto;
    padding: 154px 20px 30px;
    display: block;
    border-radius: 8px;
    background: linear-gradient(rgba(6,8,7,.52), rgba(6,8,7,.52)), url("assets/viewing-bg-mobile.png") center top / cover no-repeat;
  }
  .viewing-copy {
    max-width: none;
  }
  .viewing-form h3 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 28px;
    line-height: 1.08;
  }
  .viewing-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .viewing-controls input,
  .viewing-controls .button {
    min-height: 51px;
    border-radius: 9px;
  }
  .catalog-form .checkbox,
  .viewing-form .checkbox {
    max-width: none;
    margin-top: 14px;
  }
}

/* Mortgage request banner */
.mortgage-form {
  position: relative;
  min-height: 510px;
  margin-top: 46px;
  padding: 74px min(18vw, 330px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(7,11,10,.5), rgba(7,11,10,.5)), url("assets/mortgage-bg-desktop.png") center / cover no-repeat;
  color: #fff;
}
.mortgage-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.mortgage-form .eyebrow {
  display: none;
}
.mortgage-form h2 {
  max-width: 540px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(42px, 3.1vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}
.mortgage-form p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}
.mortgage-controls {
  display: grid;
  grid-template-columns: 250px 245px;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 0;
}
.mortgage-controls label {
  display: block;
  font-size: 0;
}
.mortgage-controls input {
  width: 100%;
  min-height: 72px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #172018;
  font-size: 18px;
  padding: 0 22px;
}
.mortgage-controls input::placeholder {
  color: rgba(23,32,24,.62);
}
.mortgage-controls .button {
  min-height: 72px;
  border-radius: 10px;
  font-size: 16px;
  text-transform: lowercase;
  box-shadow: 0 16px 34px rgba(31,179,33,.28);
}
.mortgage-form .checkbox {
  display: flex;
  max-width: 520px;
  margin-top: 18px;
  align-items: flex-start;
  gap: 10px;
}
.mortgage-form .checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.mortgage-form .checkbox span {
  color: rgba(255,255,255,.9);
  font-size: 12px;
  line-height: 1.35;
}
.mortgage-form .checkbox a {
  color: #fff;
  text-decoration: underline;
}
.mortgage-preview,
.mortgage-preview img {
  display: none;
}

@media (max-width: 680px) {
  .mortgage-form {
    min-height: auto;
    padding: 154px 20px 30px;
    display: block;
    border-radius: 8px;
    background: linear-gradient(rgba(6,8,7,.5), rgba(6,8,7,.5)), url("assets/mortgage-bg-mobile.png") center top / cover no-repeat;
  }
  .mortgage-copy {
    max-width: none;
  }
  .mortgage-form h2 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.08;
  }
  .mortgage-form p:not(.eyebrow) {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 16px;
  }
  .mortgage-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mortgage-controls input,
  .mortgage-controls .button {
    min-height: 51px;
    border-radius: 9px;
  }
  .mortgage-form .checkbox {
    max-width: none;
    margin-top: 14px;
  }
}

.thank-hero h1 {
  white-space: normal;
}
