@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #2fae9b;
  --primary-hover: #269482;
  --accent: #d93b72;
  --dark: #202833;
  --text: #4b5563;
  --bg: #f4f8f8;
  --card: #ffffff;
  --border: #e2ecec;
  --white: #ffffff;
  --shadow-sm: 0 10px 34px rgba(32, 40, 51, 0.07);
  --shadow-md: 0 20px 55px rgba(32, 40, 51, 0.12);
  --radius: 16px;
  --container: 1240px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

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

img,
svg {
  display: block;
}

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

h1,
h2,
h3 {
  color: var(--dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
  letter-spacing: -0.035em;
}

:focus-visible {
  outline: 3px solid rgba(47, 174, 155, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--dark);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(226, 236, 236, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease;
}

.site-header[data-scrolled] {
  box-shadow: 0 8px 28px rgba(32, 40, 51, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.brand__mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 0 0 auto;
  gap: 2px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border: 1px solid rgba(47, 174, 155, 0.25);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(47, 174, 155, 0.13), rgba(217, 59, 114, 0.1));
}

.brand__mark span {
  border-radius: 2px;
  background: var(--primary);
}

.brand__mark span:nth-child(2),
.brand__mark span:nth-child(3) {
  background: var(--accent);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.brand__name b {
  color: var(--accent);
  font-weight: inherit;
}

.brand__note {
  margin-top: 4px;
  color: #849095;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.3vw, 36px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(47, 174, 155, 0.2);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background: var(--primary-hover);
  box-shadow: 0 14px 30px rgba(38, 148, 130, 0.24);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--header {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 14px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--dark);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: #e7f0ef;
  background-image:
    linear-gradient(90deg, rgba(244, 248, 248, 0.96) 0%, rgba(244, 248, 248, 0.84) 45%, rgba(244, 248, 248, 0.18) 100%),
    linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-photo-assets="ready"] .hero {
  background-image:
    linear-gradient(90deg, rgba(244, 248, 248, 0.96) 0%, rgba(244, 248, 248, 0.84) 45%, rgba(244, 248, 248, 0.18) 100%),
    url("assets/photo-04-master-installation.jpg"),
    linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
  background-position: center, 65% 55%, center;
}

.hero::after {
  position: absolute;
  top: 9%;
  right: -4%;
  width: 34%;
  height: 82%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px 0 0 18px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.08);
  content: "";
  opacity: 0.36;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 72px 78px;
}

.hero__content {
  width: min(830px, 75%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(217, 59, 114, 0.1);
}

.hero h1 {
  max-width: 810px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.05vw, 68px);
  line-height: 1.03;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #4a5961;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  position: relative;
  padding-left: 25px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.hero__benefits li::before {
  position: absolute;
  top: 0.16em;
  left: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

.lead-form {
  width: min(900px, 100%);
  padding: 12px 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.lead-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 9px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 9px 14px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field:focus-within {
  border-color: rgba(47, 174, 155, 0.75);
  box-shadow: 0 0 0 3px rgba(47, 174, 155, 0.1);
}

.field[data-invalid="true"] {
  border-color: rgba(217, 59, 114, 0.72);
  box-shadow: 0 0 0 3px rgba(217, 59, 114, 0.09);
}

.field__label {
  color: #748087;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--dark);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.field input::placeholder {
  color: #a1aaae;
  opacity: 1;
}

.field__error {
  display: none;
  margin-top: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.field__error:not(:empty) {
  display: block;
}

.button--form {
  align-self: start;
  gap: 12px;
  min-height: 58px;
  padding-inline: 24px;
  white-space: nowrap;
}

.button--form svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.lead-form__consent {
  margin: 7px 5px 0;
  color: #889397;
  font-size: 10px;
  line-height: 1.35;
}

.lead-form__consent a {
  text-decoration: underline;
  text-decoration-color: rgba(136, 147, 151, 0.5);
  text-underline-offset: 2px;
}

.lead-form__status {
  display: none;
  margin: 10px 5px 2px;
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 700;
}

.lead-form__status:not(:empty) {
  display: block;
}

.section {
  padding-block: 110px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: end;
  gap: 48px;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.06;
}

.section-heading > p {
  margin-bottom: 5px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading--stacked {
  grid-template-columns: minmax(0, 880px);
  align-items: start;
  gap: 0;
}

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

.section-heading .section-title--green {
  color: var(--primary-hover);
}

.section-heading__lead {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading__lead strong {
  color: var(--dark);
}

.accent-word {
  color: var(--accent);
  font-weight: 750;
}

.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  --fallback-start: #72817f;
  --fallback-end: #283436;
  position: relative;
  display: flex;
  min-height: 410px;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background-color: var(--dark);
  background-image: linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

html[data-photo-assets="ready"] .service-card--replacement {
  background-image:
    url("assets/photo-08-broken-glass-unit.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

html[data-photo-assets="ready"] .service-card--repair {
  background-image:
    url("assets/photo-03-window-repair.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

html[data-photo-assets="ready"] .service-card--fogging {
  background-image:
    url("assets/photo-06-fogged-glass-unit.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

html[data-photo-assets="ready"] .service-card--installation {
  background-image:
    url("assets/photo-07-tempered-glass-installation.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

html[data-photo-assets="ready"] .service-card--energy {
  background-image:
    url("assets/photo-04-master-installation.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

html[data-photo-assets="ready"] .service-card--balcony {
  background-image:
    url("assets/photo-01-balcony-cracked.jpg"),
    linear-gradient(145deg, var(--fallback-start), var(--fallback-end));
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 30, 34, 0.03) 15%, rgba(22, 29, 34, 0.4) 52%, rgba(19, 25, 30, 0.97) 100%);
  content: "";
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card--replacement {
  background-position: center 58%;
}

.service-card--repair {
  background-position: center 29%;
}

.service-card--fogging {
  background-position: center 48%;
}

.service-card--installation {
  background-position: center 47%;
}

.service-card--balcony {
  background-position: center 35%;
}

.service-card--energy {
  background-position: 45% 34%;
}

.service-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--white);
  background: rgba(24, 32, 36, 0.2);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card__content {
  width: 100%;
  padding: 27px;
}

.service-card h3 {
  margin-bottom: 9px;
  color: var(--white);
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.12;
}

.service-card p {
  min-height: 0;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.service-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-card__bottom strong {
  color: var(--white);
  font-size: 19px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.service-card__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 6px 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  text-align: right;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.service-card__bottom a span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.service-card__bottom a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(47, 174, 155, 0.42);
}

.service-card__bottom a:hover span {
  color: var(--white);
  background: var(--primary);
  transform: rotate(45deg);
}

.advantages {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.advantages::before {
  position: absolute;
  top: 80px;
  right: 0;
  width: 28%;
  height: 220px;
  background: radial-gradient(circle at right, rgba(47, 174, 155, 0.09), transparent 70%);
  content: "";
  pointer-events: none;
}

.section-heading--compact {
  margin-bottom: 38px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, 285px);
  gap: 18px;
}

.advantage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.advantage-card--photo {
  background-color: #60706e;
  background-image: linear-gradient(135deg, #738481, #263437);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

html[data-photo-assets="ready"] .advantage-card--master {
  background-image:
    url("assets/photo-04-master-installation.jpg"),
    linear-gradient(135deg, #738481, #263437);
}

html[data-photo-assets="ready"] .advantage-card--standards {
  background-image:
    url("assets/photo-02-installation-glass.jpg"),
    linear-gradient(135deg, #738481, #263437);
}

html[data-photo-assets="ready"] .advantage-card--projects {
  background-image:
    url("assets/photo-01-balcony-cracked.jpg"),
    linear-gradient(135deg, #738481, #263437);
}

.advantage-card--photo::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 28, 31, 0.12), rgba(20, 28, 31, 0.84));
  content: "";
}

.advantage-card--master {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  padding: 32px;
  background-position: 64% 52%;
}

.advantage-card--guarantee {
  grid-column: 7 / span 3;
  grid-row: 1;
  background: var(--primary);
}

.advantage-card--standards {
  grid-column: 10 / span 3;
  grid-row: 1;
  background-position: 60% 44%;
}

.advantage-card--clean {
  grid-column: 7 / span 4;
  grid-row: 2;
  background: var(--accent);
}

.advantage-card--projects {
  grid-column: 11 / span 2;
  grid-row: 2;
  padding: 20px;
  background-position: center 34%;
}

.advantage-card__tag {
  align-self: flex-start;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: var(--white);
  background: rgba(24, 32, 36, 0.2);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.advantage-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.advantage-card__icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.advantage-card__content {
  position: relative;
  z-index: 1;
}

.advantage-card__number {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.advantage-card h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.13;
}

.advantage-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.advantage-card--master h3 {
  max-width: 450px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.advantage-card--master p {
  font-size: 16px;
}

.advantage-card--color p {
  color: rgba(255, 255, 255, 0.84);
}

.advantage-card--projects h3 {
  font-size: 18px;
}

.reviews {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
}

.review-card::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 58px 58px;
  border-color: transparent transparent rgba(47, 174, 155, 0.24) transparent;
  content: "";
  pointer-events: none;
}

.review-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 25px 25px;
  border-color: transparent transparent rgba(47, 174, 155, 0.46) transparent;
  content: "";
  pointer-events: none;
}

.review-card:nth-child(4),
.review-card:nth-child(5) {
  grid-column: span 3;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-card blockquote {
  margin: 17px 0 0;
}

.review-card blockquote p {
  margin-bottom: 0;
  color: var(--dark);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 2px dashed #bed2cf;
  border-radius: 50%;
  background: #eef6f5;
}

.review-card__author cite {
  color: var(--dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
}

.review-card__stars {
  margin-top: 17px;
  color: #f5b301;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.review-card__stars span {
  color: inherit;
}

.faq {
  border-top: 1px solid var(--border);
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-right: auto;
  margin-left: 0;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(32, 40, 51, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(47, 174, 155, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 23px 64px 23px 24px;
  color: var(--dark);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-hover);
  content: "";
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  max-width: 820px;
  margin: -3px 64px 0 24px;
  padding: 0 0 24px;
  color: var(--text);
  line-height: 1.7;
}

.site-footer {
  padding: 72px 0 24px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--dark);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(170px, 0.7fr) minmax(260px, 1fr);
  gap: 70px;
  padding-bottom: 55px;
}

.brand--footer {
  margin-bottom: 22px;
  color: var(--white);
}

.brand--footer .brand__mark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.brand--footer .brand__note {
  color: rgba(255, 255, 255, 0.44);
}

.site-footer__brand > p {
  max-width: 360px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.site-footer__nav h2 {
  margin-bottom: 5px;
}

.site-footer__nav a,
.site-footer__bottom a {
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__bottom a:hover {
  color: var(--white);
}

.site-footer__contacts p {
  margin-bottom: 9px;
}

.site-footer__region {
  color: var(--white);
  font-weight: 700;
}

.site-footer__phone {
  display: inline-block;
  color: var(--white);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.site-footer__phone:hover {
  color: #83ded1;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  color: #83ded1;
  font-size: 14px;
  font-weight: 750;
}

.site-footer__cta span {
  transition: transform 0.2s ease;
}

.site-footer__cta:hover span {
  transform: translate(2px, -2px);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

.site-footer__bottom p:last-child {
  text-align: right;
}

.policy-page {
  min-height: 100svh;
  padding: 50px 20px;
  background:
    radial-gradient(circle at 90% 5%, rgba(47, 174, 155, 0.13), transparent 28%),
    var(--bg);
}

.policy-card {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.policy-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.policy-brand {
  flex: 0 1 auto;
}

.policy-back {
  display: inline-block;
  flex: 0 0 auto;
  color: var(--primary-hover);
  font-size: 14px;
  font-weight: 750;
}

.policy-card h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
}

.policy-card h2 {
  margin: 34px 0 10px;
  font-size: 21px;
}

.policy-card p {
  line-height: 1.72;
}

.policy-card a:not(.brand):not(.policy-back) {
  color: var(--primary-hover);
  font-weight: 700;
}

.policy-card__updated {
  margin-bottom: 30px;
  color: #7b858f;
  font-size: 13px;
  font-weight: 700;
}

.policy-card__intro {
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: #fbf4f7;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 20px;
  padding-left: 23px;
  color: var(--text);
  line-height: 1.65;
}

.policy-card li::marker {
  color: var(--primary);
}

.policy-card__notice {
  padding: 18px 20px;
  border: 1px solid rgba(47, 174, 155, 0.22);
  border-radius: 14px;
  color: #3e5955;
  background: #edf8f6;
}

.policy-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: #7b858f;
  font-size: 13px;
}

@media (max-width: 680px) {
  .policy-page {
    padding: 14px;
  }

  .policy-card__top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 38px;
  }

  .policy-card h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .policy-card__intro,
  .policy-card__notice {
    padding: 17px;
  }
}

@media (max-width: 1120px) {
  .site-header__inner {
    gap: 20px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero__content {
    width: min(780px, 82%);
  }

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

  .advantages-grid {
    grid-template-rows: repeat(2, 270px);
  }

  .advantage-card--master {
    grid-column: 1 / span 5;
  }

  .advantage-card--guarantee {
    grid-column: 6 / span 3;
  }

  .advantage-card--standards {
    grid-column: 9 / span 4;
  }

  .advantage-card--clean {
    grid-column: 6 / span 4;
  }

  .advantage-card--projects {
    grid-column: 10 / span 3;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 18px;
    left: 18px;
    display: flex;
    visibility: hidden;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 15px;
  }

  .site-nav a:hover {
    background: var(--bg);
  }

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

  .button--header {
    display: none;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(90deg, rgba(244, 248, 248, 0.97) 0%, rgba(244, 248, 248, 0.88) 58%, rgba(244, 248, 248, 0.48) 100%),
      linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
  }

  html[data-photo-assets="ready"] .hero {
    background-image:
      linear-gradient(90deg, rgba(244, 248, 248, 0.97) 0%, rgba(244, 248, 248, 0.88) 58%, rgba(244, 248, 248, 0.48) 100%),
      url("assets/photo-04-master-installation.jpg"),
      linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
  }

  .hero__inner {
    padding-block: 68px;
  }

  .hero__content {
    width: 100%;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero__lead {
    max-width: 650px;
  }

  .section {
    padding-block: 86px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 680px;
  }

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

  .review-card,
  .review-card:nth-child(4),
  .review-card:nth-child(5) {
    grid-column: auto;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 420px repeat(2, 250px);
  }

  .advantage-card--master {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .advantage-card--guarantee,
  .advantage-card--standards,
  .advantage-card--clean,
  .advantage-card--projects {
    grid-column: auto;
    grid-row: auto;
  }

  .advantage-card--projects {
    padding: 24px;
  }

  .advantage-card--projects h3 {
    font-size: 22px;
  }

  .site-footer__main {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
  }

  .site-footer__contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 68px;
    --radius: 15px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 13px;
  }

  .brand__note {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(244, 248, 248, 0.97) 0%, rgba(244, 248, 248, 0.93) 67%, rgba(244, 248, 248, 0.82) 100%),
      linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
    background-position: center, center;
  }

  html[data-photo-assets="ready"] .hero {
    background-image:
      linear-gradient(180deg, rgba(244, 248, 248, 0.97) 0%, rgba(244, 248, 248, 0.93) 67%, rgba(244, 248, 248, 0.82) 100%),
      url("assets/photo-04-master-installation.jpg"),
      linear-gradient(128deg, #eef7f6 0%, #d8e8e6 54%, #a8c6c1 100%);
    background-position: center, 63% 50%, center;
  }

  .hero::after {
    display: none;
  }

  .hero__inner {
    padding-block: 48px 54px;
  }

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

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(35px, 10.6vw, 48px);
    line-height: 1.04;
  }

  .hero__lead {
    margin-bottom: 23px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 25px;
  }

  .hero__benefits li {
    padding-left: 22px;
    font-size: 12px;
    line-height: 1.35;
  }

  .hero__benefits li::before {
    top: 0;
    width: 16px;
    height: 16px;
  }

  .lead-form {
    padding: 10px;
    border-radius: 15px;
  }

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

  .field {
    min-height: 58px;
  }

  .button--form {
    width: 100%;
  }

  .lead-form__consent {
    margin-top: 9px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 37px;
  }

  .section-heading > p {
    font-size: 15px;
    line-height: 1.55;
  }

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

  .review-card {
    min-height: 250px;
    padding: 23px 20px;
  }

  .faq-list summary {
    padding: 20px 54px 20px 18px;
    font-size: 15px;
  }

  .faq-list summary::before,
  .faq-list summary::after {
    right: 19px;
  }

  .faq-list details p {
    margin-right: 18px;
    margin-left: 18px;
    padding-bottom: 20px;
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .service-card__content {
    padding: 24px 20px 22px;
  }

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

  .service-card__bottom {
    align-items: flex-end;
  }

  .service-card__bottom a {
    max-width: 150px;
  }

  .advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 410px repeat(4, 250px);
    gap: 14px;
  }

  .advantage-card,
  .advantage-card--master,
  .advantage-card--guarantee,
  .advantage-card--standards,
  .advantage-card--clean,
  .advantage-card--projects {
    grid-column: 1;
    grid-row: auto;
  }

  .advantage-card--master {
    padding: 24px;
  }

  .advantage-card--master h3 {
    font-size: 34px;
  }

  .site-footer {
    padding-top: 55px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 42px;
  }

  .site-footer__contacts {
    grid-column: auto;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .site-footer__bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 34px;
  }

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

  .service-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card__bottom a {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
