:root {
  --ice: #F4F8FA;
  --ink: #12313F;
  --aqua: #1C9FB6;
  --mist: #E7F3F6;
  --amber: #FFB84D;
  --muted: #7A8A91;
  --white: #FFFFFF;
  --border: #C9DCE2;
  --shadow: 0 14px 32px rgba(18, 49, 63, 0.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ice);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { border-radius: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 1rem;
  transform: translateY(-130%);
  padding: .65rem .85rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.section { padding-block: 3.25rem; scroll-margin-top: 5rem; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  color: #176D80;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.eyebrow::before { width: .6rem; height: .6rem; border-radius: 50%; background: var(--aqua); content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.09; text-wrap: balance; }
h1 { max-width: 14ch; margin-bottom: 1.25rem; font-size: clamp(2.25rem, 9vw, 5rem); letter-spacing: -.045em; }
h2 { max-width: 19ch; margin-bottom: 1rem; font-size: clamp(1.8rem, 6vw, 3.35rem); letter-spacing: -.035em; }
h3 { margin-bottom: .6rem; font-size: 1.2rem; }
p { max-width: 68ch; }
.lead { color: #355461; font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.muted { color: var(--muted); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--border); background: var(--ice); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: .75rem; }
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .6rem; color: var(--ink); font-weight: 850; line-height: 1.1; text-decoration: none; }
.brand-mark { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .65rem; background: var(--ink); color: var(--white); font-size: 1.15rem; }
.main-nav { display: none; }
.header-phone { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; flex: 0 0 auto; align-items: center; padding-inline: .25rem; color: var(--ink); font-size: .9rem; font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: .18em; }

.hero { padding-top: 2.5rem; padding-bottom: 2rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-copy { min-width: 0; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: .75rem;
  padding: .68rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #0B2530; }
.button--secondary { border-color: var(--aqua); background: var(--aqua); }
.button--secondary:hover { background: #137E93; }
.button--outline { border-color: var(--aqua); background: transparent; color: #0E7185; }
.button--outline:hover { background: var(--mist); }

.hero-device { position: relative; min-width: 0; max-width: 31rem; margin-inline: auto; }
.fridge-visual { width: 100%; min-height: 21rem; aspect-ratio: 5 / 6; overflow: hidden; border: 1px solid var(--border); border-radius: 1.35rem; background: var(--mist); box-shadow: var(--shadow); }
.hotspot-map { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute;
  min-height: 2.75rem;
  max-width: 9.4rem;
  border: 1px solid var(--ink);
  border-radius: .7rem;
  padding: .42rem .6rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(18, 49, 63, .14);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.15;
  pointer-events: auto;
}
.hotspot:hover { border-color: var(--aqua); color: #126C7E; }
.hotspot--cold { top: 17%; right: 3%; }
.hotspot--water { top: 46%; left: 2%; }
.hotspot--noise { right: 3%; bottom: 13%; }
.hero-note { margin-top: 1rem; color: #4A646D; font-size: .9rem; text-align: center; }

.benefits { display: grid; gap: 1rem; margin-top: 1.5rem; }
.benefit { display: grid; grid-template-columns: 2.75rem 1fr; gap: .8rem; align-items: start; padding: 1rem; border-radius: 1rem; background: var(--white); }
.benefit-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .8rem; background: var(--mist); color: #126D80; font-weight: 900; }
.benefit p { margin-bottom: 0; color: #48616A; font-size: .95rem; }

.section-heading { display: grid; gap: .4rem; margin-bottom: 1.5rem; }
.section-heading p { margin-bottom: 0; color: #47616A; }
.symptom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.symptom-card {
  display: flex;
  min-height: 8.6rem;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 1rem;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}
.symptom-card:hover { border-color: var(--aqua); box-shadow: 0 8px 22px rgba(18, 49, 63, .08); }
.symptom-card strong { font-size: 1rem; line-height: 1.25; }
.symptom-card span { color: #147489; font-size: .86rem; font-weight: 800; }

.process { display: grid; gap: .9rem; counter-reset: steps; list-style: none; margin: 0; padding: 0; }
.process li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; align-items: center; min-height: 4.4rem; padding: .9rem; border-radius: 1rem; background: var(--white); }
.process li::before { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); content: counter(steps); counter-increment: steps; font-weight: 850; }
.process li span { font-weight: 750; }

.work-proof { background: linear-gradient(180deg, var(--white) 0%, var(--white) 72%, var(--ice) 72%, var(--ice) 100%); }
.work-proof__head { display: grid; gap: 1rem; align-items: end; margin-bottom: 1.45rem; }
.work-proof__note { margin: 0; color: #47616A; }
.proof-grid { display: grid; gap: 1rem; }
.proof-card { position: relative; overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 1.15rem; background: var(--white); box-shadow: 0 10px 26px rgba(18, 49, 63, .08); }
.proof-card picture { display: block; }
.proof-media { aspect-ratio: 4 / 3; overflow: hidden; }
.proof-card img { width: 100%; height: 100%; object-fit: cover; background: #DCE9ED; filter: saturate(.92) contrast(1.04); }
.proof-card--water .proof-media { aspect-ratio: 16 / 9; }
.proof-card--detail .proof-media { aspect-ratio: 3 / 4; }
.proof-card--lead img { object-position: 50% 50%; }
.proof-card--water img { object-position: 50% 48%; }
.proof-card--detail img { object-position: 50% 46%; }
.proof-caption { display: grid; gap: .28rem; padding: 1rem; border-top: 1px solid var(--border); background: rgba(255, 255, 255, .96); }
.proof-caption strong { font-size: 1rem; line-height: 1.2; }
.proof-caption span { color: #4A646D; font-size: .9rem; line-height: 1.35; }
.proof-card--lead::before { position: absolute; z-index: 1; top: .8rem; left: .8rem; padding: .4rem .55rem; border-radius: .55rem; background: var(--ink); color: var(--white); content: "проверка узла"; font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }

.cost-card, .trust-panel { border-radius: 1.3rem; padding: 1.4rem; }
.cost-card { border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow); }
.cost-card p:last-child { margin-bottom: 0; }
.trust-grid { display: grid; gap: 1rem; }
.trust-panel { background: var(--ink); color: var(--white); }
.trust-panel h2 { color: var(--white); }
.trust-panel p { color: #D4E6EA; }
.trust-list { display: grid; gap: .75rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.trust-list li { position: relative; padding-left: 1.65rem; }
.trust-list li::before { position: absolute; left: 0; color: var(--amber); content: "✓"; font-weight: 900; }
.legal-card { border-radius: 1.3rem; padding: 1.4rem; background: var(--white); }
.legal-card p:last-child { margin-bottom: 0; }

.area-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.area-list li { border: 1px solid #B5DCE4; border-radius: 999px; padding: .55rem .75rem; background: var(--white); color: #24525D; font-weight: 700; }

.lead-layout { display: grid; gap: 1.5rem; align-items: start; }
.contact-panel { border-radius: 1.35rem; padding: 1.4rem; background: var(--mist); }
.contact-panel h2 { max-width: 13ch; }
.contact-phone { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; margin: .4rem 0 1rem; padding-inline: .25rem; color: var(--ink); font-size: clamp(1.25rem, 5vw, 1.8rem); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.form-card { border-radius: 1.35rem; padding: 1.25rem; background: var(--white); box-shadow: var(--shadow); }
.field { display: grid; gap: .42rem; margin-bottom: 1rem; color: var(--ink); font-weight: 750; }
.field input, .field textarea { width: 100%; border: 1px solid #9CB9C1; border-radius: .75rem; padding: .75rem .8rem; background: var(--white); color: var(--ink); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--aqua); outline: 3px solid rgba(28, 159, 182, .22); outline-offset: 1px; }
.consent { display: grid; min-width: 2.75rem; min-height: 2.75rem; grid-template-columns: 1.25rem 1fr; gap: .65rem; align-items: center; margin: .25rem 0 1rem; color: #3D5861; font-size: .9rem; }
.consent input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--aqua); }
.consent a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; padding-inline: .25rem; }
.form-status { min-height: 1.55rem; margin: 1rem 0 0; font-weight: 700; }
.form-status[data-state="error"] { color: #A8461C; }
.form-status[data-state="success"] { color: #167043; }
.form-status[data-state="info"] { color: #126D80; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }

.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--border); border-radius: 1rem; background: var(--white); }
.faq-list summary { position: relative; min-height: 3.25rem; padding: 1rem 3rem 1rem 1rem; color: var(--ink); cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: .9rem; right: 1rem; color: #126D80; content: "+"; font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 1rem 1rem; color: #45616A; }

.site-footer { padding: 2.2rem 0 calc(2.2rem + env(safe-area-inset-bottom)); background: var(--ink); color: #D7E7EA; }
.footer-grid { display: grid; gap: 1.1rem; }
.footer-brand { color: var(--white); font-weight: 850; }
.footer-meta { margin: 0; color: #B6CED4; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; padding-inline: .25rem; color: var(--white); font-weight: 700; text-underline-offset: .2em; }

.sticky-call { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: flex; min-height: calc(4.35rem + env(safe-area-inset-bottom)); align-items: center; justify-content: center; padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom)); border-top: 1px solid #A7CCD4; background: var(--white); box-shadow: 0 -6px 18px rgba(18, 49, 63, .10); }
.sticky-call .button { width: min(100%, 30rem); }

.simple-page { display: grid; min-height: 100vh; grid-template-rows: auto 1fr auto; }
.simple-main { padding-block: 4rem; }
.prose { max-width: 52rem; }
.prose h1 { max-width: 18ch; font-size: clamp(2rem, 8vw, 4rem); }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.4rem, 5vw, 2rem); }
.prose a:not(.button) { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; padding-inline: .25rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .45rem; }
.not-found { display: grid; min-height: 60vh; place-items: center; text-align: center; }
.not-found h1 { max-width: none; }
.not-found p { margin-inline: auto; }

@media (max-width: 599px) {
  body { padding-bottom: calc(4.35rem + env(safe-area-inset-bottom)); }
  .hero-device { display: grid; gap: .75rem; }
  .hotspot-map { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; pointer-events: auto; }
  .hotspot { position: static; width: 100%; min-height: 3rem; max-width: none; padding: .45rem; box-shadow: none; font-size: .75rem; }
}

@media (min-width: 600px) {
  .container { width: min(100% - 3rem, 1180px); }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
  .hero { padding-top: 4.2rem; padding-bottom: 4rem; }
  .main-nav { display: flex; gap: 1.1rem; align-items: center; }
  .main-nav a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; padding-inline: .25rem; color: #35545E; font-size: .9rem; font-weight: 750; text-decoration: none; }
  .main-nav a:hover { color: #126D80; text-decoration: underline; text-underline-offset: .25em; }
  .header-phone { font-size: 1rem; }
  .sticky-call { display: none; }
  body { padding-bottom: 0; }
  .trust-grid { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; align-items: end; }
}

@media (min-width: 960px) {
  .section { padding-block: 6.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(20rem, 2fr); gap: 3.5rem; }
  .hero-device { width: 100%; max-width: none; }
  .process { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process li { grid-template-columns: 1fr; align-content: start; min-height: 10.5rem; }
  .cost-card { padding: 2rem; }
  .form-card, .contact-panel, .legal-card, .trust-panel { padding: 2rem; }
}

@media (min-width: 980px) {
  .work-proof__head { grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); }
  .proof-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1.45fr) minmax(0, 1.1fr); align-items: stretch; gap: 1.25rem; }
  .proof-card { display: grid; grid-template-rows: clamp(18rem, 26vw, 21rem) minmax(8.25rem, auto); }
  .proof-card--lead { grid-row: auto; }
  .proof-media, .proof-card--water .proof-media, .proof-card--detail .proof-media { height: clamp(18rem, 26vw, 21rem); aspect-ratio: auto; }
  .proof-caption { min-height: 8.25rem; align-content: start; padding: 1.05rem 1.15rem; }
}

@media (min-width: 1200px) {
  .section { padding-block: 7rem; }
  .hero { padding-top: 5rem; padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
