.heater-case-page {
  --heater-accent: #3ba1c9;
  --heater-alert: #9b5c2d;
}

.heater-case-page .remo-stage,
.heater-case-page .remo-eyebrow {
  color: #006b64;
}

.heater-case-page .remo-section--dark .remo-stage,
.heater-case-page .remo-final .remo-eyebrow {
  color: #79dfe5;
}

.heater-case-page .heater-season b,
.heater-case-page .remo-retro-grid article > span {
  color: #0b6f98;
}

.heater-case-page .header {
  position: fixed;
}

body.heater-case-page > main.remo-case {
  padding-top: 0;
}

.heater-skip-link {
  position: fixed;
  top: 12px;
  left: 18px;
  z-index: 120;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #102f50;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(7, 31, 54, 0.24);
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.heater-skip-link:focus,
.heater-skip-link:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  padding: 11px 15px;
  overflow: visible;
  outline: 3px solid #64d1e2;
  outline-offset: 3px;
  clip: auto;
  clip-path: none;
}

.heater-case-page #top,
.heater-case-page section,
.heater-case-page :focus {
  scroll-margin-top: 96px;
}

.heater-case-page .remo-hero,
body.heater-case-page > main.remo-case > section.remo-hero {
  min-height: 760px;
  background: #173a5f url("assets/cases/remo-heaters/production-hero.jpg") 58% center / cover no-repeat;
}

.heater-case-page .remo-hero__inner {
  min-height: 760px;
  padding-bottom: 110px;
}

.heater-case-page .remo-hero::before {
  background:
    linear-gradient(90deg, rgba(9, 34, 59, 0.98) 0%, rgba(14, 48, 80, 0.94) 42%, rgba(16, 57, 92, 0.56) 66%, rgba(13, 48, 79, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 31, 54, 0.5), rgba(8, 31, 54, 0.08));
}

.heater-case-page .remo-hero__copy {
  max-width: 790px;
}

.heater-case-page .remo-hero h1 {
  max-width: 790px;
  font-size: 58px;
}

.heater-case-page .remo-hero__lead {
  max-width: 720px;
  font-size: 19px;
}

.heater-hero-intro {
  margin: 24px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.heater-hero-list {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 12px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.46;
  list-style: none;
}

.heater-hero-list li {
  position: relative;
  padding-left: 22px;
}

.heater-hero-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--heater-accent);
  content: "";
}

.heater-hero-summary {
  max-width: 700px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.45;
}

.heater-hero-credit {
  position: absolute;
  right: 24px;
  bottom: 110px;
  z-index: 2;
  margin: 0;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(8, 31, 54, 0.72);
  border-left: 2px solid var(--heater-accent);
  font-size: 14px;
  line-height: 1.35;
}

.heater-case-page .remo-kpis b {
  font-size: 28px;
}

.heater-subheading,
.heater-protection-title,
.heater-protection-result h3 {
  margin: 34px 0 0;
  color: var(--remo-blue-deep);
  font-family: var(--heading-font);
  font-size: 28px;
  line-height: 1.1;
}

.heater-context-note,
.heater-status-note {
  margin-top: 28px;
  padding: 19px 22px;
  color: #30475a;
  background: #f4f8fb;
  border-left: 4px solid var(--remo-cyan);
  font-size: 15px;
  line-height: 1.58;
}

.heater-context-note b,
.heater-status-note b {
  color: var(--remo-blue-deep);
}

.heater-status-note {
  color: #5d4a39;
  background: #fff8ec;
  border-left-color: #bb7a35;
}

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

.heater-query-groups--stacked {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.heater-query-groups article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--remo-line);
  border-radius: 6px;
}

.heater-query-groups h3 {
  margin: 0;
  color: var(--remo-blue-deep);
  font-family: var(--heading-font);
  font-size: 23px;
  line-height: 1.1;
}

.heater-query-groups p {
  margin: 9px 0 0;
  color: var(--remo-muted);
  font-size: 15px;
  line-height: 1.55;
}

.heater-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.heater-chip-list span {
  padding: 7px 10px;
  color: #495d6d;
  background: #eef3f6;
  border: 1px solid #d8e2e8;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
}

.heater-chip-list--positive span {
  color: #174d45;
  background: #e9f5f1;
  border-color: #c8e3db;
}

.heater-case-page .heater-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.heater-case-page .heater-flow div {
  min-height: 210px;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.heater-case-page .heater-flow div::before,
.heater-case-page .heater-flow div::after {
  display: none;
}

.heater-case-page .heater-flow svg {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #73d8e5;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.heater-case-page .heater-flow b {
  color: #fff;
  font-size: 22px;
}

.heater-case-page .heater-flow span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.52;
}

.heater-protection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.heater-protection-grid article {
  padding: 21px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(88, 68, 48, 0.14);
  border-radius: 7px;
}

.heater-protection-grid b {
  display: block;
  color: #5b3f29;
  font-family: var(--heading-font);
  font-size: 21px;
}

.heater-protection-grid p {
  margin: 8px 0 0;
  color: #5e5147;
  font-size: 15px;
  line-height: 1.5;
}

.heater-protection-result {
  margin-top: 22px;
  padding: 25px 28px;
  background: #fff;
  border-left: 4px solid var(--heater-alert);
}

.heater-protection-result h3 {
  margin: 0;
}

.heater-protection-result p {
  margin: 10px 0 0;
  color: #5e5147;
  font-size: 16px;
  line-height: 1.6;
}

.heater-section-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.heater-section-cta .btn {
  min-width: 260px;
}

.heater-season {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--remo-line);
  border-bottom: 1px solid var(--remo-line);
}

.heater-season article {
  min-width: 0;
  padding: 24px 20px 28px;
}

.heater-season article + article {
  border-left: 1px solid var(--remo-line);
}

.heater-season b {
  display: block;
  color: var(--remo-cyan);
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 1.05;
}

.heater-season strong {
  display: block;
  margin-top: 9px;
  color: var(--remo-blue-deep);
  font-size: 16px;
  line-height: 1.3;
}

.heater-season span {
  display: block;
  margin-top: 7px;
  color: var(--remo-muted);
  font-size: 14px;
  line-height: 1.48;
}

.heater-budget-note {
  margin: 26px 0 0;
  color: var(--remo-muted);
  font-size: 14px;
  line-height: 1.55;
}

.heater-case-page .remo-budget-step--weak span::before {
  background: #8c9eac;
}

.heater-case-page .remo-budget-step--test span::before {
  background: #3976aa;
}

.heater-case-page .remo-budget-step--work span::before {
  background: var(--remo-teal);
}

.heater-truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.heater-truth-grid article {
  padding: 28px;
  background: rgba(15, 55, 91, 0.66);
}

.heater-truth-grid b {
  display: block;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  line-height: 1.08;
}

.heater-truth-grid h3 {
  margin: 0;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  line-height: 1.08;
}

.heater-truth-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.55;
}

.heater-case-page .remo-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.heater-case-page .remo-gallery figure:nth-child(1) img,
.heater-case-page .remo-gallery figure:nth-child(2) img,
.heater-case-page .remo-gallery figure:nth-child(6) img {
  object-fit: contain;
  background: #fff;
}

.heater-case-page .remo-gallery span {
  font-size: 14px;
  line-height: 1.5;
}

.heater-case-page .remo-budget-step {
  grid-template-columns: 140px 1fr;
}

.heater-case-page .remo-budget-step b {
  font-size: 21px;
}

.heater-case-page .remo-budget-step small {
  font-size: 14px;
}

.heater-case-page .remo-faq summary:focus-visible,
.heater-case-page .remo-gallery button:focus-visible,
.heater-case-page .remo-site-shot button:focus-visible {
  outline: 3px solid #256da7;
  outline-offset: 4px;
}

.heater-case-page .remo-final .btn.form-slider .form-slider__text {
  min-width: 0;
  padding: 0 12px;
}

@media (max-width: 980px) {
  .heater-season {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .heater-season article:nth-child(4) {
    border-left: 0;
  }

  .heater-season article:nth-child(n + 4) {
    border-top: 1px solid var(--remo-line);
  }

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

@media (max-width: 820px) {
  .heater-case-page .remo-hero,
  body.heater-case-page > main.remo-case > section.remo-hero {
    min-height: 800px;
    background-position: 64% center;
  }

  .heater-case-page .remo-hero__inner {
    min-height: 800px;
  }

  .heater-case-page .remo-hero h1 {
    max-width: 650px;
    font-size: 46px;
  }

  .heater-query-groups,
  .heater-truth-grid {
    grid-template-columns: 1fr;
  }

  .heater-case-page .heater-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heater-hero-credit {
    right: 20px;
    bottom: 110px;
  }
}

@media (max-width: 560px) {
  .heater-case-page .back-to-top,
  .heater-case-page .back-to-top.back-to-top--vk {
    display: none !important;
  }

  .heater-case-page .remo-hero::before {
    background: linear-gradient(180deg, rgba(8, 31, 54, 0.98) 0%, rgba(13, 47, 78, 0.94) 66%, rgba(13, 47, 78, 0.68) 100%);
  }

  .heater-case-page .remo-hero h1 {
    font-size: 38px;
  }

  .heater-hero-credit {
    position: static;
    display: inline-block;
    max-width: none;
    margin-top: 16px;
  }

  .heater-season {
    grid-template-columns: 1fr;
  }

  .heater-season article + article,
  .heater-season article:nth-child(4) {
    border-top: 1px solid var(--remo-line);
    border-left: 0;
  }

  .heater-query-groups article,
  .heater-truth-grid article {
    padding: 21px;
  }

  .heater-case-page .heater-flow,
  .heater-protection-grid {
    grid-template-columns: 1fr;
  }

  .heater-case-page .heater-flow div {
    min-height: 0;
  }

  .heater-case-page .remo-budget-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .heater-case-page .remo-budget-step b {
    text-align: left;
  }

  .heater-section-cta .btn {
    width: 100%;
    min-width: 0;
  }
}
