@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Rubik:wght@700&display=swap");

:root {
  --black: #070707;
  --black-2: #0d0d0d;
  --black-3: #161616;
  --gold: #f2c230;
  --gold-2: #d9a916;
  --paper: #f2f0ea;
  --white: #ffffff;
  --muted: #a5a5a1;
  --line: rgba(255, 255, 255, 0.15);
  --line-dark: rgba(7, 7, 7, 0.16);
  --page: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --title: "Rubik", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #292929 var(--black);
  scrollbar-width: thin;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--black);
  border-radius: 999px;
  background: #2d2d2d;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

body.is-locked {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - (var(--pad) * 2)), var(--page));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--gold);
  transform: translateY(-160%);
}

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

.topbar {
  min-height: 36px;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.94);
  backdrop-filter: blur(14px);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.brand__name {
  display: block;
  font-family: var(--title);
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand__meta {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.nav a {
  position: relative;
  color: #d8d8d4;
  text-decoration: none;
  font-size: 13px;
}

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

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

.header__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phones {
  display: grid;
  text-align: right;
}

.header__phones a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.button {
  min-height: 52px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--gold);
  border-radius: 0;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--black);
  background: var(--gold);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: outline-color 0.16s ease;
}

.button::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -80%;
  bottom: -80%;
  left: -42%;
  width: 23%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(5px);
  transform: rotate(18deg) translateX(-480%);
}

.button:hover::after,
.button:focus-visible::after {
  animation: button-shine 0.72s ease-out;
}

.button:disabled {
  cursor: wait;
  opacity: 0.64;
}

@keyframes button-shine {
  from {
    transform: rotate(18deg) translateX(-480%);
  }
  to {
    transform: rotate(18deg) translateX(900%);
  }
}

.button:hover,
.button:focus-visible {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.button--outline {
  color: var(--white);
  background: transparent;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--white);
  background: transparent;
  border-color: var(--gold);
}

.button--small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 12px;
}

.button--dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.hero {
  min-height: calc(100svh - 118px);
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(1.08);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.94) 33%, rgba(7, 7, 7, 0.46) 64%, rgba(7, 7, 7, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 0.65) 0%, transparent 42%);
}

.hero__inner {
  min-height: calc(100svh - 118px);
  position: relative;
  z-index: 1;
  padding-block: clamp(80px, 10vw, 148px) 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__content {
  max-width: 820px;
}

.kicker {
  margin: 0 0 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--gold);
}

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

h1,
h2,
h3 {
  font-family: var(--title);
  text-transform: uppercase;
}

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(44px, 6.8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(35px, 4.7vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 13px;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 34px;
  color: #d0d0cc;
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero__lead strong {
  color: var(--white);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  color: var(--muted);
  font-size: 11px;
}

.hero__metrics {
  width: min(100%, 960px);
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.58);
  backdrop-filter: blur(8px);
}

.metric {
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--title);
  font-size: 26px;
}

.metric span {
  color: #c2c2be;
  font-size: 11px;
}

.section {
  padding: clamp(80px, 9vw, 132px) 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.section--paper {
  color: var(--black);
  background: var(--paper);
  border-color: var(--line-dark);
}

.section--paper .kicker {
  color: #8a6900;
}

.section--paper .kicker::before {
  background: #8a6900;
}

.section--yellow {
  color: var(--black);
  background: var(--gold);
  border-color: var(--black);
}

.section__head {
  max-width: 880px;
  margin-bottom: clamp(40px, 6vw, 74px);
}

.section__head p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section--paper .section__head p:last-child,
.section--yellow .section__head p:last-child {
  color: #4f4f4b;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.problem-lead {
  min-height: 520px;
  padding: clamp(28px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
}

.problem-lead__statement {
  max-width: 680px;
  font-family: var(--title);
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

.problem-lead__statement em {
  color: var(--gold);
  font-style: normal;
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.problem {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.problem:nth-child(2n) {
  border-right: 0;
}

.problem:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.problem__index {
  display: block;
  margin-bottom: 52px;
  color: #8a6900;
  font-size: 11px;
  font-weight: 700;
}

.problem p {
  margin-bottom: 0;
  color: #5b5b56;
  font-size: 13px;
}

.directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.direction {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.direction img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.direction:hover img {
  transform: scale(1.025);
}

.direction::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.36) 68%, rgba(7, 7, 7, 0.05) 100%);
}

.direction__content {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(28px, 4vw, 54px);
}

.direction__number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.direction h3 {
  max-width: 560px;
  font-size: clamp(32px, 4vw, 55px);
}

.direction p {
  max-width: 560px;
  color: #c8c8c4;
}

.direction__details {
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  list-style: none;
}

.direction__details li {
  position: relative;
  padding-left: 17px;
  color: #deded9;
  font-size: 12px;
}

.direction__details li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 0;
  background: var(--gold);
}

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  counter-reset: process;
}

.process__step {
  min-height: 340px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}

.process__step::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 82px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.process__step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.contaminants {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.contaminant {
  min-width: 0;
  min-height: 92px;
  border: 1px solid var(--line-dark);
  padding: 21px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
}

.contaminant b {
  flex: 0 0 auto;
  color: #8a6900;
  font-size: 12px;
}

.contaminant span {
  min-width: 0;
  font-family: var(--title);
  font-size: clamp(13px, 1.25vw, 17px);
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.cases {
  display: grid;
  gap: 38px;
}

.case {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.case img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.case::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.9) 36%, rgba(7, 7, 7, 0.28) 72%, rgba(7, 7, 7, 0.06) 100%);
}

.case:nth-child(even)::after {
  background: linear-gradient(270deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.9) 36%, rgba(7, 7, 7, 0.28) 72%, rgba(7, 7, 7, 0.06) 100%);
}

.case__content {
  width: min(52%, 650px);
  min-height: 680px;
  position: relative;
  z-index: 1;
  padding: clamp(30px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case:nth-child(even) .case__content {
  margin-left: auto;
}

.case__tag {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.case h3 {
  font-size: clamp(34px, 4.6vw, 64px);
}

.case-data {
  margin: 28px 0 34px;
  display: grid;
  grid-template-columns: 118px 1fr;
}

.case-data dt,
.case-data dd {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.case-data dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-data dd {
  font-size: 13px;
  font-weight: 700;
}

.residential-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, 350px);
  gap: 16px;
}

.residential-gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--black-3);
}

.residential-gallery__item:first-child {
  grid-row: 1 / 3;
}

.residential-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
  transition: transform 0.6s ease;
}

.residential-gallery__item:hover img {
  transform: scale(1.025);
}

.residential-gallery__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 24px 22px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.92), transparent);
  font-size: 12px;
}

.price-section {
  padding: clamp(76px, 8vw, 118px) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(242, 194, 48, 0.055) 1px, transparent 1px) 0 0 / 82px 82px,
    var(--black);
}

.price-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  border: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.92);
}

.price-panel__content {
  padding: clamp(34px, 6vw, 78px);
  border-right: 1px solid var(--line);
}

.price-panel__content h2 {
  max-width: 850px;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.price-panel__content > p:last-child {
  max-width: 710px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(8px, 1.4vw, 20px);
  color: var(--gold);
  font-family: var(--title);
  line-height: 0.82;
  text-transform: uppercase;
}

.price-value strong {
  color: var(--white);
  font-size: clamp(70px, 10vw, 150px);
  letter-spacing: -0.07em;
}

.price-value span {
  font-size: clamp(15px, 2vw, 25px);
  font-style: normal;
}

.price-value i {
  color: var(--gold);
  font-size: clamp(34px, 5vw, 68px);
  font-style: normal;
}

.price-panel__aside {
  padding: clamp(30px, 4vw, 55px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-panel__label {
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.price-factors {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.price-factors li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #d0d0cc;
  font-size: 13px;
}

.price-factors li::before {
  content: "✓";
  margin-right: 11px;
  color: var(--gold);
  font-weight: 800;
}

.price-panel__aside small {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.analysis-grid h2 {
  max-width: 780px;
}

.analysis-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.analysis-list__item {
  min-height: 108px;
  padding: 20px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.analysis-list__item small {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.analysis-list__item strong {
  font-family: var(--title);
  text-transform: uppercase;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.comparison {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
}

.comparison th:first-child,
.comparison td:first-child {
  text-align: left;
}

.comparison th {
  color: var(--black);
  background: var(--gold);
  font-family: var(--title);
  text-transform: uppercase;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison th:last-child,
.comparison td:last-child {
  border-right: 0;
}

.comparison .yes {
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.reason {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.reason__index {
  display: block;
  margin-bottom: 62px;
  color: #8a6900;
  font-size: 11px;
}

.reason p {
  margin-bottom: 0;
  color: #5d5d58;
  font-size: 13px;
}

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

.review {
  min-height: 350px;
  padding: 30px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.review__stars {
  margin-bottom: 38px;
  color: var(--gold);
  letter-spacing: 0.14em;
}

.review blockquote {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.6;
}

.review cite {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.faq {
  border-top: 1px solid var(--line-dark);
}

details {
  border-bottom: 1px solid var(--line-dark);
}

summary {
  position: relative;
  padding: 25px 58px 25px 0;
  cursor: pointer;
  font-family: var(--title);
  font-size: 19px;
  text-transform: uppercase;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 9px;
  color: #8a6900;
  font-family: var(--body);
  font-size: 28px;
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 820px;
  margin-bottom: 28px;
  color: #5c5c57;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--black);
}

.cta::before {
  content: "H₂O";
  position: absolute;
  right: -0.08em;
  bottom: -0.3em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--title);
  font-size: clamp(220px, 38vw, 620px);
  line-height: 1;
}

.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.cta__contacts {
  margin-top: 44px;
  display: grid;
  gap: 8px;
}

.cta__contacts a {
  width: fit-content;
  color: var(--white);
  text-decoration: none;
  font-family: var(--title);
  font-size: clamp(20px, 2.5vw, 32px);
}

.cta__contacts span {
  color: var(--muted);
  font-size: 12px;
}

.lead-form {
  display: grid;
  gap: 11px;
}

.field {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 16px;
  color: var(--white);
  color-scheme: dark;
  background-color: #121212;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  caret-color: var(--gold);
}

.field::placeholder {
  color: #7f7f7b;
}

.field:focus {
  border-color: var(--gold);
}

textarea.field {
  min-height: 110px;
  display: block;
  resize: vertical;
}

select.field {
  padding-right: 48px;
  color-scheme: dark;
  background-color: #121212;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 16px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select.field option {
  color: var(--white);
  background: #121212;
}

.field:-webkit-autofill,
.field:-webkit-autofill:hover,
.field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  box-shadow: 0 0 0 1000px #121212 inset;
  transition: background-color 9999s ease-out;
}

.field--light {
  border-color: var(--line-dark);
  color: var(--black);
  background: var(--white);
}

.field--light::placeholder {
  color: #777772;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.form__consent {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.form__consent a {
  color: inherit;
}

.form__status {
  min-height: 24px;
  margin: 0;
  color: var(--gold);
  font-size: 12px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 64px;
  margin-bottom: 52px;
}

.footer .brand {
  margin-bottom: 22px;
}

.footer p {
  max-width: 430px;
  color: var(--muted);
  font-size: 12px;
}

.footer h3 {
  margin-bottom: 18px;
  font-size: 13px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #73736f;
  font-size: 10px;
}

.modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
}

.modal.is-open {
  display: flex;
}

.modal__dialog {
  width: min(100%, 610px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background: var(--black-2);
}

.modal__close {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.modal__dialog h2 {
  padding-right: 36px;
  font-size: clamp(32px, 5vw, 50px);
}

.cookie-banner {
  position: fixed;
  z-index: 180;
  right: 20px;
  bottom: 20px;
  width: min(calc(100% - 40px), 560px);
  padding: 22px;
  display: none;
  border: 1px solid var(--gold);
  color: var(--white);
  background: var(--black);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin-bottom: 17px;
  color: #c8c8c4;
  font-size: 12px;
}

.cookie-banner a {
  color: var(--gold);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.floating-cta {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
}

.floating-cta .button {
  min-height: 62px;
  padding-inline: 31px;
  font-size: 15px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.reveal-pair {
  --reveal-delay: 0ms;
}

.reveal-pair > :is(.kicker, [class*="__number"], [class*="__index"], h1, h2, h3, .problem-lead__statement, blockquote),
.reveal-pair > :is(p, ul, dl, cite, .hero__actions, .cta__contacts, .button) {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease var(--reveal-delay),
    transform 0.72s cubic-bezier(0.2, 0.75, 0.2, 1) var(--reveal-delay);
}

.reveal-pair > :is(p, ul, dl, cite, .hero__actions, .cta__contacts, .button) {
  transition-delay: calc(var(--reveal-delay) + 110ms);
}

.reveal-pair.is-visible > :is(.kicker, [class*="__number"], [class*="__index"], h1, h2, h3, .problem-lead__statement, blockquote),
.reveal-pair.is-visible > :is(p, ul, dl, cite, .hero__actions, .cta__contacts, .button) {
  opacity: 1;
  transform: translateY(0);
}

.legal {
  min-height: 100svh;
  padding: 70px 0 110px;
  color: var(--black);
  background: var(--paper);
}

.legal__header {
  padding: 26px 0;
  color: var(--white);
  background: var(--black);
}

.legal__back {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
}

.legal h1 {
  max-width: 1000px;
  margin: 40px 0 22px;
  font-size: clamp(38px, 6vw, 76px);
}

.legal h2 {
  margin: 48px 0 18px;
  font-size: clamp(25px, 3.5vw, 40px);
}

.legal p,
.legal li {
  max-width: 940px;
  color: #4f4f4b;
}

.legal table {
  width: 100%;
  max-width: 1000px;
  border-collapse: collapse;
}

.legal th,
.legal td {
  padding: 14px;
  border: 1px solid var(--line-dark);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.legal th {
  background: var(--gold);
}

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

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

@media (max-width: 900px) {
  .topbar__inner p:last-child,
  .header__phones,
  .header__contact .button {
    display: none;
  }

  .problem-grid,
  .analysis-grid,
  .cta__grid {
    grid-template-columns: 1fr;
  }

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

  .price-panel {
    grid-template-columns: 1fr;
  }

  .price-panel__content {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .direction {
    min-height: 620px;
  }

  .case__content {
    width: min(88%, 760px);
  }

  .case h3 {
    max-width: 100%;
    font-size: clamp(34px, 5.8vw, 48px);
    overflow-wrap: break-word;
  }

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

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

@media (max-width: 640px) {
  :root {
    --pad: 16px;
  }

  .topbar {
    min-height: 32px;
    font-size: 9px;
  }

  .topbar__inner {
    min-height: 32px;
    justify-content: center;
    text-align: center;
  }

  .header__inner {
    min-height: 64px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 15px;
  }

  .brand__meta {
    max-width: 165px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .hero,
  .hero__inner {
    min-height: max(720px, calc(100svh - 96px));
  }

  .hero__inner {
    padding-block: 58px 26px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(36px, 11.6vw, 49px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(31px, 9.8vw, 43px);
    overflow-wrap: anywhere;
  }

  .section {
    padding-block: 68px;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.55)),
      linear-gradient(0deg, #070707 0%, transparent 50%);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__actions {
    gap: 9px;
  }

  .hero__note {
    width: 100%;
    padding-top: 4px;
    text-align: center;
  }

  .hero__metrics {
    grid-template-columns: 1fr 1fr;
    margin-top: 42px;
  }

  .metric {
    min-height: 96px;
    padding: 15px;
  }

  .metric strong {
    font-size: 21px;
  }

  .problem-lead {
    min-height: 390px;
  }

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

  .problem,
  .problem:nth-child(2n),
  .problem:nth-last-child(-n + 2) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .problem:last-child {
    border-bottom: 0;
  }

  .problem__index {
    margin-bottom: 36px;
  }

  .direction {
    min-height: 620px;
  }

  .direction__content {
    padding: 26px 20px;
  }

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

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

  .contaminant {
    min-height: 82px;
    padding: 15px 13px;
    gap: 8px;
  }

  .contaminant span {
    font-size: 12px;
  }

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

  .process__step {
    min-height: 240px;
  }

  .process__step::before {
    margin-bottom: 48px;
  }

  .case {
    min-height: 700px;
  }

  .case::after,
  .case:nth-child(even)::after {
    background: linear-gradient(0deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.93) 48%, rgba(7, 7, 7, 0.12) 100%);
  }

  .case__content,
  .case:nth-child(even) .case__content {
    width: 100%;
    min-height: 700px;
    margin: 0;
    padding: 280px 20px 30px;
    justify-content: flex-end;
  }

  .case-data {
    grid-template-columns: 92px 1fr;
  }

  .residential-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, min(78vw, 360px));
  }

  .residential-gallery__item:first-child {
    grid-row: auto;
  }

  .price-section {
    padding-block: 64px;
  }

  .price-panel__content,
  .price-panel__aside {
    padding: 28px 20px;
  }

  .price-value {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 8px;
    align-items: end;
  }

  .price-value strong {
    font-size: clamp(64px, 21vw, 82px);
  }

  .price-value span:last-child {
    grid-column: 1 / -1;
    padding-top: 4px;
  }

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

  .analysis-list__item {
    border-right: 0;
  }

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

  .field,
  .lead-form .button {
    width: 100%;
  }

  .comparison-wrap {
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    border-right: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--gold) var(--black);
  }

  .comparison {
    min-width: 760px;
  }

  summary {
    padding-block: 22px;
    font-size: 17px;
  }

  .modal {
    padding: 8px;
  }

  .modal__dialog {
    max-height: calc(100svh - 16px);
    padding: 52px 20px 24px;
  }

  .modal__dialog h2 {
    font-size: 34px;
  }

  .legal {
    padding-block: 46px 80px;
  }

  .legal h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .legal table {
    display: block;
    overflow-x: auto;
  }

  .footer {
    padding-bottom: 92px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .floating-cta {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .floating-cta .button {
    min-height: 60px;
    width: 100%;
    font-size: 14px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 78px;
    left: 10px;
    width: auto;
  }
}

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

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal-pair > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
