:root {
  --ink: #123f2e;
  --muted: #5f625d;
  --paper: #fffaf0;
  --paper-strong: #fffef9;
  --green: #2c7a4f;
  --green-deep: #0f3d2c;
  --sage: #dff3d0;
  --water: #0f9ec1;
  --sun: #ffe04f;
  --pink: #ff8cc6;
  --lime: #9ee85f;
  --bright-green: #29c94f;
  --line: rgba(18, 63, 46, 0.14);
  --shadow: 0 24px 80px rgba(18, 63, 46, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 30;
  width: min(1560px, calc(100% - 56px));
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 14px 28px;
  transform: translateX(-50%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 251, 244, 0.9);
  box-shadow: 0 24px 70px rgba(28, 25, 20, 0.2);
  backdrop-filter: blur(24px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 251, 244, 0.96);
  box-shadow: 0 14px 48px rgba(26, 44, 37, 0.2);
  border-color: rgba(24, 35, 31, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand img {
  width: 196px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: filter 0.25s ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  color: var(--water);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 14px rgba(18, 63, 46, 0.22));
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.phone-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("../phone.svg") center / contain no-repeat;
}

.phone-icon::before {
  content: none;
}

.mobile-phone-link {
  display: none;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  color: #fff;
  font-weight: 750;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(18, 63, 46, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: var(--bright-green);
  box-shadow: 0 20px 46px rgba(41, 201, 79, 0.34);
}

.button-small {
  min-height: 42px;
  padding: 11px 28px;
  font-size: 14px;
  white-space: nowrap;
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(18, 63, 46, 0.12), inset 0 0 0 1px rgba(18, 63, 46, 0.08);
}

.button-ghost:hover {
  color: #fff;
  background: var(--bright-green);
  box-shadow: 0 20px 42px rgba(41, 201, 79, 0.3);
}

.button-light {
  color: var(--green-deep);
  background: #fff;
  box-shadow: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: rgba(19, 50, 40, 0.06);
  box-shadow: inset 0 0 0 1px rgba(19, 50, 40, 0.06);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 860px;
  isolation: isolate;
  color: var(--ink);
  background: #f8e9c7;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 72%, rgba(255, 250, 240, 0.92) 100%);
}

.hero-inner {
  min-height: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 146px 0 120px;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 48px rgba(18, 63, 46, 0.16);
  backdrop-filter: blur(16px);
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--water);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contacts .eyebrow {
  color: var(--water);
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(36px, 4.1vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(31px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  margin-left: 0;
  margin-right: 0;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 26px);
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.section-overlap {
  position: relative;
  z-index: 4;
  margin-top: -88px;
}

.request-card {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.form-copy {
  grid-row: span 3;
  padding-right: 10px;
}

.form-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.form-copy p,
.section-head p,
.section-copy > p {
  color: var(--muted);
  font-size: 17px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--water);
  box-shadow: 0 0 0 4px rgba(47, 111, 123, 0.13);
}

.wide {
  grid-column: span 3;
}

.policy {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.policy a {
  color: var(--water);
  font-weight: 700;
}

.section {
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.benefit-grid article,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.benefit-grid article {
  padding: 22px;
}

.benefit-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--water);
  font-weight: 800;
}

.benefit-grid p,
.info-card p,
.service-card p {
  color: var(--muted);
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.photo-pair img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-pair img:nth-child(2) {
  width: 78%;
  height: 300px;
  margin: -90px 0 0 auto;
  border: 8px solid var(--paper);
}

.houses {
  background: #eef3ed;
}

.about,
.services {
  background:
    linear-gradient(rgba(255, 250, 240, 0.46), rgba(255, 250, 240, 0.5)),
    url("../back.png") center / cover no-repeat;
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-head.compact {
  max-width: 720px;
}

.house-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.68fr);
  gap: 28px;
  align-items: stretch;
}

.house-gallery {
  display: grid;
  gap: 14px;
}

.gallery-main {
  width: 100%;
  height: 610px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 3px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 42, 33, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--water);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(18, 42, 33, 0.18);
}

.gallery-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.info-card {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

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

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright-green);
}

.specs {
  display: grid;
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  background: #fff;
}

.specs dt,
.specs dd {
  margin: 0;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  font-weight: 800;
  text-align: right;
}

.price-box {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun), var(--lime));
}

.price-box p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: rgba(18, 63, 46, 0.82);
}

.price-box span {
  font-weight: 800;
  text-align: right;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 46, 0.08);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 46px rgba(18, 63, 46, 0.12);
}

.service-image {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 24px;
}

.service-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.service-facts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.icon-users::before {
  width: 12px;
  height: 12px;
  top: 3px;
  border-radius: 50%;
}

.icon-users::after {
  width: 20px;
  height: 11px;
  bottom: 3px;
  border-radius: 10px 10px 3px 3px;
}

.icon-count::before {
  inset: 4px;
  border-radius: 3px;
}

.icon-count::after {
  width: 9px;
  height: 9px;
  top: 9px;
  left: 9px;
  background: #fff;
  box-shadow: 7px 0 0 #fff, 0 7px 0 #fff, 7px 7px 0 #fff;
}

.icon-time::before {
  inset: 3px;
  border-radius: 50%;
}

.icon-time::after {
  width: 10px;
  height: 3px;
  top: 12px;
  left: 12px;
  transform-origin: left center;
  transform: rotate(-45deg);
  background: #fff;
}

.icon-fish::before {
  width: 22px;
  height: 13px;
  border-radius: 50% 45% 45% 50%;
  transform: translateX(-2px);
}

.icon-fish::after {
  width: 10px;
  height: 10px;
  right: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.icon-child::before {
  width: 12px;
  height: 12px;
  top: 3px;
  border-radius: 50%;
}

.icon-child::after {
  width: 16px;
  height: 12px;
  bottom: 3px;
  border-radius: 8px 8px 4px 4px;
}

.icon-weight::before {
  width: 19px;
  height: 18px;
  bottom: 3px;
  border-radius: 4px 4px 8px 8px;
}

.icon-weight::after {
  width: 10px;
  height: 8px;
  top: 3px;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  background: transparent;
}

.service-card h3 {
  margin-bottom: 22px;
  font-size: clamp(26px, 3vw, 36px);
}

.service-card p {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.42;
}

.service-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 30px;
}

.service-bottom strong {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  white-space: nowrap;
}

.service-bottom .button {
  min-width: 200px;
  border-radius: 999px;
}

.gallery .section-head {
  margin-bottom: 22px;
}

.gallery-slider {
  position: relative;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin: -70px 0 38px;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 24px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  color: #fff;
  background: var(--bright-green);
  transform: translateY(-2px);
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 32%);
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-card {
  position: relative;
  min-height: 496px;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
  background: var(--ink);
}

.slider-card img {
  width: 100%;
  height: 100%;
  min-height: 496px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.slider-card:hover img {
  transform: scale(1.04);
}

.slider-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  padding: 20px;
  color: #fff;
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(18px);
}

.slider-card h3 {
  margin-bottom: 10px;
  color: #fff;
}

.slider-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.reviews-widget {
  position: relative;
  width: min(560px, 100%);
  height: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-widget iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
}

.reviews-widget a {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
  color: #b3b3b3;
  font-family: "YS Text", Montserrat, sans-serif;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contacts {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}

.contacts-video,
.contacts-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contacts-video {
  z-index: -2;
  object-fit: cover;
}

.contacts-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 30, 24, 0.86) 0%, rgba(9, 30, 24, 0.62) 48%, rgba(9, 30, 24, 0.28) 100%),
    rgba(0, 0, 0, 0.12);
}

.contacts-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.64fr);
  gap: 44px;
  align-items: center;
  padding: 110px 0;
}

.contacts-copy p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.contact-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.contact-list dd {
  margin-top: 4px;
  font-weight: 800;
}

.map-card {
  height: 520px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #d7e1de;
}

.site-footer {
  padding: 74px 0 26px;
  color: var(--ink);
  background: var(--paper-strong);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 26px;
}

.footer-inner p {
  margin: 0;
  color: rgba(18, 63, 46, 0.62);
}

.footer-inner a {
  font-weight: 650;
  white-space: nowrap;
}

.footer-menu {
  display: grid;
  gap: 16px;
}

.footer-menu a,
.footer-legal-links a {
  transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-legal-links a:hover {
  color: var(--water);
}

.footer-contacts {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-phone {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 850 !important;
  line-height: 1;
}

.footer-phone.secondary {
  font-size: clamp(22px, 2.4vw, 32px);
}

.footer-contacts p {
  max-width: 420px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.footer-legal-note {
  grid-column: 1 / -1;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.footer-legal-note p + p {
  margin-top: 8px;
}

.footer-legal-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  color: rgba(18, 63, 46, 0.62);
}

.legal-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 224, 79, 0.3), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(255, 140, 198, 0.24), transparent 28%),
    var(--paper);
}

.legal-main {
  padding: 160px 0 80px;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px;
  border-radius: 28px;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.96;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 22px;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin: 30px 0;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 224, 79, 0.34), rgba(191, 245, 255, 0.5));
}

.legal-back {
  margin-bottom: 24px;
}

@media (max-width: 1080px) {
  .site-header {
    width: min(1180px, calc(100% - 28px));
    gap: 12px;
  }

  .main-nav {
    gap: 12px;
    font-size: 13px;
  }

  .header-phone {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-inner,
  .split,
  .house-layout,
  .contacts-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: center;
    gap: 28px;
  }

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

  .form-copy {
    grid-column: span 2;
    grid-row: auto;
  }

  .request-card .wide {
    grid-column: span 2;
  }

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

  .photo-pair img,
  .photo-pair img:nth-child(2) {
    width: 100%;
    height: 320px;
    margin: 0;
    border: 0;
  }

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

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

  .service-image {
    height: 420px;
  }

  .map-card {
    height: 420px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
    min-height: 66px;
    border-radius: 10px;
  }

  .brand img {
    width: 170px;
    height: 48px;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .brand {
    grid-column: 2;
  }

  .header-actions {
    display: none !important;
  }

  .mobile-phone-link {
    display: inline-flex;
    grid-column: 1;
    justify-self: start;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .site-header > .button {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .site-header.is-scrolled .nav-toggle {
    background: rgba(19, 50, 40, 0.08);
  }

  .hero-inner {
    padding-top: 130px;
    padding-bottom: 96px;
  }

  .section {
    padding: 82px 0;
  }

  .slider-controls {
    justify-content: flex-start;
    margin: 0 0 24px;
  }

  .slider-track {
    grid-auto-columns: minmax(300px, 78vw);
    gap: 18px;
  }

  .slider-card,
  .slider-card img {
    min-height: 430px;
  }

  .benefit-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .house-gallery {
    gap: 10px;
  }

  .gallery-main {
    height: 470px;
  }

  .gallery-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .gallery-strip img {
    height: 110px;
  }

  .service-image {
    height: 340px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-legal-note,
  .footer-legal-links {
    grid-column: auto;
  }

  .footer-legal-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 10px;
  }

  .site-header > .button {
    display: none;
  }

  .legal-main {
    padding: 110px 0 52px;
  }

  .legal-card {
    padding: 26px;
    border-radius: 18px;
  }

  .hero,
  .hero-inner {
    min-height: 790px;
  }

  .hero-inner {
    padding: 112px 0 72px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .slider-track {
    grid-auto-columns: 88vw;
  }

  .slider-card,
  .slider-card img {
    min-height: 390px;
  }

  .slider-card div {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }

  .reviews-widget {
    height: 680px;
  }

  .hero-actions,
  .service-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-overlap {
    margin-top: 0;
    padding-top: 20px;
  }

  .request-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .form-copy,
  .request-card .wide {
    grid-column: auto;
  }

  .photo-pair {
    grid-template-columns: 1fr;
  }

  .photo-pair img,
  .photo-pair img:nth-child(2) {
    height: 260px;
  }

  .check-list.columns {
    grid-template-columns: 1fr;
  }

  .specs div,
  .price-box p {
    display: grid;
  }

  .specs dd,
  .price-box span {
    text-align: left;
  }

  .gallery-main {
    height: 360px;
  }

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

  .gallery-strip img {
    height: 145px;
  }

  .service-body,
  .info-card {
    padding: 22px;
  }

  .contacts {
    min-height: auto;
  }

  .contacts-inner {
    padding: 86px 0;
  }

  .map-card {
    height: 330px;
  }
}
