/* Шрифт Inter Tight размещён на сайте (2026-11-09): без обращений к Google Fonts */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/inter-tight-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/inter-tight-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/inter-tight-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/inter-tight-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; }

/* Only Russian content fit and new reused Webflow catalog sections.
   All original Webflow shared CSS is preserved byte-for-byte. */
:root {
  --comfort-theme-navy-rgb: 1, 18, 28;
  --comfort-theme-blue-rgb: 20, 89, 251;
}
html {scroll-behavior:smooth;overflow-x:clip}
body {overflow-x:clip}
.main-section {max-width:100%}
.comfort-brand {display:inline-flex;flex-direction:column;align-items:flex-start;font-family:var(--_typography---font--heading-font);font-weight: 500;line-height:1.04;letter-spacing:.065em;font-size:clamp(13px,1.45vw,21px);white-space:nowrap;color:inherit}
.comfort-brand-small {font-size:.88em;letter-spacing:.30em;margin-top:3px}
.logo-brand.footer .comfort-brand {color:#fff;font-size:clamp(17px,2.3vw,28px)}
.comfort-partner-logo {display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:115px;padding:16px 28px;font-size:clamp(16px,1.65vw,25px);letter-spacing:.08em;font-weight: 500;font-family:var(--_typography---font--heading-font);white-space:nowrap;opacity:.66;color:inherit}
.main-section .text-xxl,.main-section .text-xl,.main-section .text-l {overflow-wrap:break-word;hyphens:auto}
.service-title .text-l {overflow-wrap:anywhere}
.project-card-wrapper .title-wrap .text-l {hyphens:auto}
.navbar-links .menu-links-navbar {white-space:nowrap}
.catalog-index-section {padding-block:clamp(64px,7vw,112px)}
.catalog-index-section .top-content-wrap {margin-bottom:38px}
.comfort-catalog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid rgba(var(--comfort-theme-navy-rgb), .22)}
.comfort-catalog-link {display:flex;align-items:center;gap:15px;min-height:95px;padding:24px 10px 24px 0;border-bottom:1px solid rgba(var(--comfort-theme-navy-rgb), .2);color:inherit;text-decoration:none;transition:padding-left .25s ease,background .25s ease}
.comfort-catalog-link:hover {padding-left:10px;background:rgba(11,28,42,.035)}
.comfort-catalog-number {opacity:.5;min-width:26px}
.comfort-catalog-link .text-ms {flex:1;min-width:0;overflow-wrap:anywhere}
.comfort-catalog-arrow {margin-right:12px}
.catalog-article-section {padding-block:clamp(80px,8vw,130px)}
.catalog-article-grid {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:clamp(35px,6vw,100px);align-items:start}
.catalog-article-aside {position:sticky;top:110px;min-width:0}
.catalog-article-aside .title-wrap {margin-top:22px}
.catalog-article-aside .text-xl {font-size:clamp(30px,3vw,56px);line-height:1.1;overflow-wrap:anywhere}
.catalog-article-body {min-width:0;display:flex;flex-direction:column;gap:16px}
.catalog-article-list{padding-left:25px;list-style-type:disc;display:flex;flex-direction:column;gap:12px}
.catalog-article-list .text-s{line-height:1.6}
.catalog-article-paragraph {line-height:1.65;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.catalog-article-heading {font-size:clamp(22px,2.3vw,36px);line-height:1.2;margin:26px 0 4px;overflow-wrap:anywhere}
.catalog-original-caption {opacity:.6;margin-top:16px}
.comfort-photo-section .team-member-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.comfort-photo-section .team-card {min-width:0}
.comfort-photo-section .team-name .text-m {overflow-wrap:anywhere;font-size:clamp(14px,1.3vw,18px)}
.comfort-photo-section .team-role .text-sm {overflow-wrap:anywhere}
/* Archived template relies on a Google-hosted icon font; supply local SVG paint. */
.text-m.icon[data-icon] {font-size:0!important;line-height:0!important;display:flex;align-items:center;justify-content:center;overflow:hidden}
.text-m.icon[data-icon]::after {content:"";display:block;width:28px;height:28px;flex:0 0 28px;background-position:center;background-size:contain;background-repeat:no-repeat}
.text-m.icon[data-icon="workspace_premium"]::after {background-image:url("../images/comfort-icon-award.svg")}
.text-m.icon[data-icon="toll"]::after {background-image:url("../images/comfort-icon-coin.svg")}
.text-m.icon[data-icon="group_work"]::after {background-image:url("../images/comfort-icon-team.svg")}
.text-m.icon[data-icon="data_array"]::after {background-image:url("../images/comfort-icon-data.svg")}
.text-m.icon[data-icon="security"]::after {background-image:url("../images/comfort-icon-shield.svg")}
.text-s.icon {font-size:0!important;line-height:1!important}
.text-s.icon::after {content:"→";font-size:22px;line-height:1.1}
.faq-list .text-s.icon::after {content:"+";font-size:24px}
.team-card[data-detail-href] {cursor:pointer}
.team-card[data-detail-href]:focus-visible {outline:3px solid #7ab6ff}
@media(max-width:991px){.comfort-photo-section .team-member-list{grid-template-columns:repeat(2,minmax(0,1fr))}.comfort-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-article-grid{grid-template-columns:1fr}.catalog-article-aside{position:static}}
@media(max-width:600px){.comfort-photo-section .team-member-list{grid-template-columns:1fr}.comfort-catalog-grid{grid-template-columns:1fr}.comfort-catalog-link{min-height:72px;padding-block:15px}.catalog-index-section{padding-block:60px}.catalog-article-section{padding-block:70px}.catalog-article-body{gap:14px}.comfort-partner-logo{min-width:90px;padding:13px 20px}.main-section .text-xl{hyphens:auto}}

/* ==========================================================================
   НОВЫЕ БЛОКИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ УСЛУГ И КАТАЛОГА (ИНДУСТРИЯ КОМФОРТА)
   Палитра согласована с общей темой: navy #01121c, светлый фон #f8f7f5, синий #1459fb, белый #ffffff
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SERVICE HERO — Компактный первый экран внутренней страницы
   -------------------------------------------------------------------------- */
.service-hero,
.service-hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-block: clamp(36px, 5vw, 68px);
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
  color: var(--_colors---core-neutral-color--navy, #01121c);
  overflow-x: clip;
  border-bottom: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
}

.service-hero.navy,
.service-hero-section.navy {
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-hero.white,
.service-hero-section.white {
  background-color: #ffffff;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.service-hero-inner {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 36px);
  box-sizing: border-box;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.service-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 16px;
}

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 4px 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(var(--comfort-theme-navy-rgb), 0.65);
}

.breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #636363;
  min-width: 0;
}

.service-hero.navy .breadcrumbs,
.service-hero-section.navy .breadcrumbs,
.service-hero.navy .breadcrumbs-item,
.service-hero-section.navy .breadcrumbs-item {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs a,
.breadcrumbs-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  transition: color 0.2s ease;
}

.breadcrumbs .crumb-sep,
.breadcrumbs-separator {
  color: rgba(var(--comfort-theme-navy-rgb), 0.35);
  user-select: none;
  font-size: 12px;
  line-height: 1;
}

.service-hero.navy .breadcrumbs .crumb-sep,
.service-hero-section.navy .breadcrumbs .crumb-sep,
.service-hero.navy .breadcrumbs-separator,
.service-hero-section.navy .breadcrumbs-separator {
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs .crumb-current,
.breadcrumbs-current {
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

.service-hero.navy .breadcrumbs .crumb-current,
.service-hero-section.navy .breadcrumbs .crumb-current,
.service-hero.navy .breadcrumbs-current,
.service-hero-section.navy .breadcrumbs-current {
  color: #ffffff;
}

/* Бейдж раздела */
.service-badge,
.service-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-family: var(--_typography---font--tag-font);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  width: fit-content;
}

.service-badge-dot,
.service-hero-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.service-hero.navy .service-badge,
.service-hero-section.navy .service-badge,
.service-hero.navy .service-hero-tag,
.service-hero-section.navy .service-hero-tag {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* Заголовок H1 */
.service-hero-title,
.service-hero h1,
.service-hero-section h1 {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-hero.navy .service-hero-title,
.service-hero-section.navy .service-hero-title,
.service-hero.navy h1,
.service-hero-section.navy h1 {
  color: #ffffff;
}

/* Краткое описание */
.service-hero-desc,
.service-hero-description {
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: #525f70;
  margin: 0;
  max-width: 580px;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.service-hero.navy .service-hero-desc,
.service-hero-section.navy .service-hero-desc,
.service-hero.navy .service-hero-description,
.service-hero-section.navy .service-hero-description {
  color: rgba(255, 255, 255, 0.82);
}

.service-btn-primary,
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 26px;
  border-radius: 10px;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(var(--comfort-theme-blue-rgb), 0.24);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.service-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 24px;
  border-radius: 10px;
  background-color: transparent;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.22);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.service-hero.navy .service-btn-secondary,
.service-hero-section.navy .service-btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}.service-btn-primary:active,
.btn-primary-custom:active {
  transform: scale(0.97);
}

/* Плашка доверия / Преимущества под Hero */
.trust-badges-bar,
.service-hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  width: 100%;
  box-sizing: border-box;
}

.service-hero.navy .trust-badges-bar,
.service-hero.navy .service-hero-trust {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.trust-badge-item,
.service-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.trust-badge-icon,
.service-hero-trust-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
}

.service-hero.navy .trust-badge-icon,
.service-hero.navy .service-hero-trust-icon {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.trust-badge-text {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-weight: 500;
}

.service-hero.navy .trust-badge-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Ключевое фото первого экрана */
.service-hero-media,
.service-hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background-color: #e9eef5;
  box-shadow: 0 16px 40px rgba(var(--comfort-theme-navy-rgb), 0.1);
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  aspect-ratio: 16 / 10;
}

.service-hero-media img,
.service-hero-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.service-hero-media-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(var(--comfort-theme-navy-rgb), 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Заголовки общих секций */
.product-section,
.catalog-group-section {
  padding-block: clamp(44px, 5.5vw, 80px);
}

.section-header {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.section-tag {
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-family: var(--_typography---font--tag-font);
}

.section-title {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: 15.5px;
  line-height: 1.6;
  color: #525f70;
  margin-top: 10px;
  max-width: 680px;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   2. PRODUCT CARDS — Карточки конкретных моделей и профилей (VEKA, Alutech, Bauf)
   -------------------------------------------------------------------------- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
  margin-block: clamp(20px, 3vw, 36px);
  width: 100%;
  box-sizing: border-box;
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.09);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(var(--comfort-theme-navy-rgb), 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  min-width: 0;
  box-sizing: border-box;
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
}

.product-card-media img,
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 6px;
  font-family: var(--_typography---font--tag-font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.product-card-badge.hit {
  background-color: #25d366;
}

.product-card-badge.dark {
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(16px, 1.8vw, 22px);
  gap: 12px;
}

.product-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-brand {
  font-family: var(--_typography---font--tag-font);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card-title {
  font-size: clamp(17px, 1.35vw, 20.5px);
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.product-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #636363;
  margin: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* Характеристики в виде аккуратного списка с точками и цифрами */
.product-card-specs,
.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-spec-item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #525f70;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(var(--comfort-theme-navy-rgb), 0.1);
  min-width: 0;
}

.product-spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-spec-name,
.product-spec-key {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
  color: #636363;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-spec-bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  flex-shrink: 0;
}

.product-spec-val,
.product-spec-value {
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  text-align: right;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Подвал карточки с бейджем цены и кнопкой */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
}

.product-card-price,
.product-price-badge {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.product-price-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #636363;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.product-card-price,
.product-price-value {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 500;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.product-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.product-card-btn:active {
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   3. PRICE TABLE — Таблица цен с адаптивной прокруткой и tabular-nums
   -------------------------------------------------------------------------- */
.price-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.1);
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(var(--comfort-theme-navy-rgb), 0.04);
  margin-block: clamp(20px, 3vw, 36px);
  box-sizing: border-box;
}

.price-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.price-table-wrapper::-webkit-scrollbar-track {
  background: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
}

.price-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(var(--comfort-theme-navy-rgb), 0.2);
  border-radius: 3px;
}

.price-table-hint {
  display: none;
  padding: 8px 14px;
  font-size: 12px;
  color: #636363;
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
  border-bottom: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  text-align: right;
  user-select: none;
}

.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.price-table thead th,
.price-table th {
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-table thead th:first-child,
.price-table th:first-child {
  border-top-left-radius: 12px;
}

.price-table thead th:last-child,
.price-table th:last-child {
  border-top-right-radius: 12px;
}

.price-table.light thead th,
.price-table.light th {
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
  color: var(--_colors---core-neutral-color--navy, #01121c);
  border-bottom: 2px solid rgba(var(--comfort-theme-navy-rgb), 0.12);
}

.price-table tbody td,
.price-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.07);
  color: var(--_colors---core-neutral-color--navy, #01121c);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}

.price-table tbody tr:last-child td,
.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:nth-child(even),
.price-table tr:nth-child(even) {
  background-color: #fbfcfe;
}

.price-table .col-name {
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.price-table .col-desc {
  color: #636363;
  font-size: 13.5px;
}

.price-table .col-price,
.price-table .price-cell,
.price-table .price-val {
  font-weight: 500;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 15.5px;
}

.price-table .col-action,
.price-table .price-action-cell {
  text-align: right;
  white-space: nowrap;
}

.price-table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.price-table-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.1);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
}

.price-table-footer {
  padding: 12px 18px;
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
  border-top: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  font-size: 12.5px;
  color: #636363;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   4. SERVICE GALLERY — Сетка выполненных работ (aspect-ratio: 4/3, hover scale 1.03)
   -------------------------------------------------------------------------- */
.service-gallery-section {
  padding-block: clamp(44px, 5.5vw, 80px);
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
  margin-block: clamp(20px, 3vw, 36px);
  width: 100%;
  box-sizing: border-box;
}

.service-gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 14px rgba(var(--comfort-theme-navy-rgb), 0.06);
  cursor: pointer;
  display: block;
  text-decoration: none;
  outline: none;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.06);
  isolation: isolate;
  min-width: 0;
  box-sizing: border-box;
}

.service-gallery-card:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb);
  outline-offset: 2px;
}

.service-gallery-card img,
.service-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  color: transparent;
  font-size: 0;
}

.service-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--comfort-theme-navy-rgb), 0) 35%, rgba(var(--comfort-theme-navy-rgb), 0.74) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(12px, 1.5vw, 18px);
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

.service-gallery-overlay span,
.service-gallery-caption,
.service-gallery-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.service-gallery-tag {
  font-family: var(--_typography---font--tag-font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.service-gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--_colors---core-neutral-color--navy, #01121c);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  font-size: 18px;
}

/* Запрет показа технических названий файлов */
.service-gallery-filename,
.service-gallery-file-name,
.service-gallery-tech-title,
[data-filename],
[data-technical-name] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   5. FEATURE CARDS — Карточки преимуществ полотна / профиля / ворот
   -------------------------------------------------------------------------- */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  margin-block: clamp(20px, 3vw, 36px);
  width: 100%;
  box-sizing: border-box;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 28px);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 16px rgba(var(--comfort-theme-navy-rgb), 0.03);
  min-width: 0;
  box-sizing: border-box;
  gap: 10px;
}

.feature-card.navy {
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-card.highlight,
.feature-card.accent {
  background-color: var(--_colors---core-neutral-color--light-blue, #e6edff);
  border-color: rgba(var(--comfort-theme-blue-rgb), 0.2);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.feature-card.navy .feature-card-icon {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.feature-card-num {
  font-family: var(--_typography---font--tag-font);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.feature-card.navy .feature-card-num {
  color: #7ab6ff;
}

.feature-card-title {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.feature-card.navy .feature-card-title {
  color: #ffffff;
}

.feature-card-desc,
.feature-card-text {
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.6;
  color: #525f70;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.feature-card.navy .feature-card-desc,
.feature-card.navy .feature-card-text {
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   6. PAGE CTA CARD — Карточка призыва с расчётом и вызовом мастера с образцами
   -------------------------------------------------------------------------- */
.page-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: linear-gradient(135deg, var(--_colors---core-neutral-color--navy, #01121c) 0%, var(--_colors---core-neutral-color--navy-secondary, #011d2d) 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: clamp(26px, 4vw, 52px);
  margin-block: clamp(32px, 5vw, 60px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(var(--comfort-theme-navy-rgb), 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
}

.page-cta-card::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--comfort-theme-blue-rgb), 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-cta-content,
.page-cta-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.page-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--_typography---font--tag-font);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 14px;
  width: fit-content;
}

.page-cta-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 14px 0;
  color: #ffffff;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.page-cta-desc {
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.page-cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-cta-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.page-cta-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
}

.page-cta-actions,
.page-cta-box,
.page-cta-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.page-cta-phone {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  transition: opacity 0.2s ease;
}

.page-cta-phone:hover {
  opacity: 0.85;
}

.page-cta-box-title {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-wrap: balance;
}

.page-cta-box-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.45;
}

.page-cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.page-cta-input {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.page-cta-input:focus {
  border-color: var(--_colors---core-neutral-color--blue, #1459fb);
  box-shadow: 0 0 0 3px rgba(var(--comfort-theme-blue-rgb), 0.35);
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  min-width: 44px;
  padding: 12px 24px;
  border-radius: 10px;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 14px rgba(var(--comfort-theme-blue-rgb), 0.3);
  box-sizing: border-box;
}

.page-cta-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.page-cta-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.page-cta-phone-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 500;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   7. CONTENT ARTICLE BOX & CATALOG CARDS GRID (Внутренние страницы)
   -------------------------------------------------------------------------- */
.content-article-box {
  background-color: #ffffff;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.08);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  margin-block: clamp(20px, 3vw, 36px);
  box-shadow: 0 4px 16px rgba(var(--comfort-theme-navy-rgb), 0.03);
  box-sizing: border-box;
}

.content-article-box h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  margin: 24px 0 12px;
  text-wrap: balance;
}

.content-article-box h3:first-child {
  margin-top: 0;
}

.content-article-box p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(var(--comfort-theme-navy-rgb), 0.82);
  margin: 0 0 14px;
  text-wrap: pretty;
}

.content-article-box ul {
  padding-left: 20px;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-article-box li {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(var(--comfort-theme-navy-rgb), 0.82);
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-block: 20px;
  width: 100%;
  box-sizing: border-box;
}

.catalog-card-item {
  background-color: #ffffff;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(var(--comfort-theme-navy-rgb), 0.03);
}

.catalog-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
  overflow: hidden;
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.catalog-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-card-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  margin-bottom: 6px;
  line-height: 1.3;
}

.catalog-card-arrow {
  margin-top: auto;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   HOVER-СОСТОЯНИЯ (только для устройств с мышью / точным указателем)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .breadcrumbs a:hover,
  .breadcrumbs-link:hover {
    color: var(--_colors---core-neutral-color--blue, #1459fb);
  }

  .service-hero.navy .breadcrumbs a:hover,
  .service-hero-section.navy .breadcrumbs a:hover,
  .service-hero.navy .breadcrumbs-link:hover,
  .service-hero-section.navy .breadcrumbs-link:hover {
    color: #ffffff;
  }

  .service-btn-primary:hover,
  .btn-primary-custom:hover {
    background-color: #0c4ae8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--comfort-theme-blue-rgb), 0.35);
  }

  .service-btn-secondary:hover {
    background-color: rgba(var(--comfort-theme-navy-rgb), 0.05);
    border-color: var(--_colors---core-neutral-color--navy, #01121c);
  }

  .service-hero.navy .service-btn-secondary:hover,
  .service-hero-section.navy .service-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
  }

  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(var(--comfort-theme-navy-rgb), 0.1);
    border-color: rgba(var(--comfort-theme-blue-rgb), 0.35);
  }

  .product-card:hover .product-card-img,
  .product-card:hover .product-card-media img {
    transform: scale(1.04);
  }

  .product-card-btn:hover {
    background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  }

  .price-table tbody tr:hover,
  .price-table tr:hover td {
    background-color: rgba(var(--comfort-theme-blue-rgb), 0.045);
  }

  .price-table-btn:hover {
    background-color: var(--_colors---core-neutral-color--blue, #1459fb);
    color: #ffffff;
  }

  .service-gallery-card:hover .service-gallery-img,
  .service-gallery-card:hover img {
    transform: scale(1.03);
  }

  .service-gallery-card:hover .service-gallery-overlay {
    opacity: 1;
  }

  .service-gallery-card:hover .service-gallery-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(var(--comfort-theme-navy-rgb), 0.08);
    border-color: rgba(var(--comfort-theme-blue-rgb), 0.25);
  }

  .page-cta-btn:hover {
    background-color: #0c4ae8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--comfort-theme-blue-rgb), 0.4);
  }

  .catalog-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(var(--comfort-theme-navy-rgb), 0.1);
    border-color: var(--_colors---core-neutral-color--blue, #1459fb);
  }

  .catalog-card-item:hover .catalog-card-media img {
    transform: scale(1.04);
  }
}

/* --------------------------------------------------------------------------
   АДАПТИВНЫЕ МЕДИА-ЗАПРОСЫ (991px, 768px, 640px, 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-hero-media,
  .service-hero-visual {
    max-width: 680px;
  }

  .page-cta-grid,
  .page-cta-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-cta-card {
    padding: clamp(24px, 3.5vw, 40px);
  }

  .trust-badges-bar,
  .service-hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .price-table-hint {
    display: block;
  }

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

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

@media (max-width: 640px) {
  .product-cards-grid {
    grid-template-columns: 1fr;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges-bar,
  .service-hero-trust {
    grid-template-columns: 1fr;
  }

  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }.service-btn-primary,
  .btn-primary-custom,
  .service-btn-secondary {
    width: 100%;
  }

  .product-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .product-card-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .breadcrumbs-current,
  .breadcrumbs .crumb-current {
    max-width: 200px;
  }

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

  .features-footer {
    flex-direction: column !important;
    gap: 24px !important;
  }
}

/* --------------------------------------------------------------------------
   PREFERS-REDUCED-MOTION (уважение настроек движения пользователя)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {.service-btn-primary,
  .btn-primary-custom,
  .service-btn-secondary,
  .product-card,
  .product-card-img,
  .product-card-media img,
  .product-card-btn,
  .service-gallery-img,
  .service-gallery-card img,
  .service-gallery-overlay,
  .service-gallery-icon,
  .feature-card,
  .page-cta-btn,
  .catalog-card-item,
  .catalog-card-media img {
    transition: none !important;
    transform: none !important;
  }
}

/* Keep the native footer submit input as the only visible button label. */
.form-email-subscribe .button-tertiary.submit .primary-button-wrap.submit {
  background-color: transparent;
}

.form-email-subscribe .button-tertiary.submit .button-primary-wrapper {
  visibility: hidden;
}

.form-email-subscribe .button-tertiary.submit:focus-within {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.form-email-subscribe .button-tertiary.submit:hover .submit-button {
  color: #121212;
}

/* Enlarge mobile menu targets without moving the visible hamburger lines. */
@media (max-width: 991px) {
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: hidden;
  }

  .hamburger-item {
    width: max(44px, 4.5vw);
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .menu-close-button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 977px) {
  .hamburger-item {
    margin-inline: min(0px, calc(2.25vw - 22px));
  }
}

.hamburger-item:focus-visible,
.menu-close-button:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb);
  outline-offset: 2px;
}

.contact-city-phone {
  color: #ffffff;
  white-space: nowrap;
}

.contact-city-phone:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Match internal-page typography and controls to the shared homepage theme. */
.service-hero-title,
.service-hero h1,
.service-hero-section h1 {
  font-family: var(--_typography---font--heading-font, "Instrument Sans", sans-serif);
  font-size: var(--_typography---text-xxl--xxl-text-size, clamp(28px, 5.2vw, 76px));
  font-weight: var(--_typography---font-weight--400, 400);
  line-height: var(--_typography---text-xxl--xxl-text-line-height, 1.1);
  letter-spacing: var(--_typography---text-xxl--xxl-text-letter-spacing, -0.02em);
}.service-btn-primary,
.btn-primary-custom,
.btn-compact,
.product-card-btn,
.service-btn-secondary {
  font-family: var(--_typography---font--button-font, "Instrument Sans", sans-serif);
  font-size: var(--_typography---text-s--s-text-size, 1rem);
  font-weight: var(--_typography---font-weight--400, 400);
  line-height: var(--_typography---text-s--s-text-line-height, 1.3);
  letter-spacing: var(--_typography---text-s--s-text-letter-spacing, 0);
  border-radius: var(--_sizes---radius--md-radius, 0.8rem);
  box-shadow: none;
  text-align: center;
  box-sizing: border-box;
}

.service-btn-primary,
.btn-primary-custom,
.btn-compact,
.product-card-btn {
  min-width: 44px;
  min-height: 48px;
  padding: var(--_sizes---gap--tiny-gap, 0.6rem) var(--_sizes---gap--xxxs-gap, 0.9rem);
  border: 1px solid var(--_colors---core-neutral-color--gray, #d4d1d2);
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-btn-secondary {
  min-width: 44px;
  min-height: 48px;
  padding: var(--_sizes---gap--tiny-gap, 0.6rem) var(--_sizes---gap--xxxs-gap, 0.9rem);
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.28);
  background-color: transparent;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-hero.navy .service-btn-secondary,
.service-hero-section.navy .service-btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-compact,
.service-btn-primary.btn-compact,
.btn-primary-custom.btn-compact {
  min-height: 44px;
  padding: 8px clamp(14px, 1.1vw, 18px);
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.25;
}

.page-cta-phone {
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--_sizes---radius--md-radius, 0.8rem);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: var(--_typography---font--button-font, "Instrument Sans", sans-serif);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-btn-primary:hover,
  .btn-primary-custom:hover,
  .btn-compact:hover,
  .product-card-btn:hover {
    background-color: #0c4ae8;
    box-shadow: none;
    transform: translateY(-1px);
  }

  .service-btn-secondary:hover {
    background-color: rgba(var(--comfort-theme-navy-rgb), 0.05);
    border-color: var(--_colors---core-neutral-color--navy, #01121c);
  }

  .service-hero.navy .service-btn-secondary:hover,
  .service-hero-section.navy .service-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
  }

  .page-cta-phone:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.58);
    color: #ffffff;
    opacity: 1;
  }
}.service-btn-primary:active,
.btn-primary-custom:active,
.btn-compact:active,
.product-card-btn:active {
  transform: translateY(1px);
}.service-btn-primary:focus-visible,
.btn-primary-custom:focus-visible,
.btn-compact:focus-visible,
.product-card-btn:focus-visible,
.service-btn-secondary:focus-visible,
.page-cta-phone:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--navy, #01121c);
  outline-offset: 3px;
  position: relative;
  z-index: 2;
}.service-hero.navy .service-btn-primary:focus-visible,
.service-hero.navy .btn-primary-custom:focus-visible,
.service-hero.navy .btn-compact:focus-visible,
.service-hero.navy .service-btn-secondary:focus-visible,
.service-hero-section.navy .service-btn-primary:focus-visible,
.service-hero-section.navy .btn-primary-custom:focus-visible,
.service-hero-section.navy .btn-compact:focus-visible,
.service-hero-section.navy .service-btn-secondary:focus-visible,
.page-cta-card .btn-primary-custom:focus-visible,
.page-cta-card .btn-compact:focus-visible,
.page-cta-card .page-cta-phone:focus-visible {
  outline-color: #ffffff;
}

.catalog-card-item:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb);
  outline-offset: 3px;
  position: relative;
  z-index: 2;
}

/* Keep promotional text banners from exposing unsupported claims in catalog cards. */
.catalog-card-item[href="bauf.html"] .catalog-card-media,
.catalog-card-item[href="zhalyuzi-shtory.html"] .catalog-card-media {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.catalog-card-item[href="bauf.html"] .catalog-card-media {
  background-image: url("../images/wix/ad60b9_fa9a934773d94a528389138426a4400c~mv2.jpg");
}

.catalog-card-item[href="zhalyuzi-shtory.html"] .catalog-card-media {
  background-image: url("../images/wix/ad60b9_5bfd62e29b9349f7865c9416768f4dd8~mv2.jpg");
}

.catalog-card-item[href="bauf.html"] .catalog-card-media > img,
.catalog-card-item[href="zhalyuzi-shtory.html"] .catalog-card-media > img {
  display: none;
}

/* Show the clean brand marks fully instead of cropping them like photographs. */
.catalog-card-item[href="doorhan.html"] .catalog-card-media,
.catalog-card-item[href="hormann.html"] .catalog-card-media {
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.catalog-card-item[href="doorhan.html"] .catalog-card-media {
  background-image: url("../images/wix/ad60b9_c5819ec88fa94c43ba520bb9f3e60868~mv2.png");
}

.catalog-card-item[href="doorhan.html"] .catalog-card-media > img {
  display: none;
}

.catalog-card-item[href="hormann.html"] .catalog-card-media > img,
.catalog-card-item[href="avtomatika.html"] .catalog-card-media > img {
  box-sizing: border-box;
  padding: clamp(14px, 2.4vw, 28px);
  object-fit: contain;
  transform: none;
}

.catalog-card-item[href="avtomatika.html"] .catalog-card-media {
  background-color: #ffffff;
}

/* Consistent outlined icons for trust badges and feature cards. */
.trust-badge-icon[data-icon],
.service-hero-trust-icon[data-icon],
.feature-card-icon[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--_sizes---radius--md-radius, 0.8rem);
  background-color: var(--_colors---core-neutral-color--light-blue, #e6edff);
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;
}

.trust-badge-icon[data-icon]::before,
.service-hero-trust-icon[data-icon]::before,
.feature-card-icon[data-icon]::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background-image: var(--comfort-icon-svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.service-hero.navy .trust-badge-icon[data-icon],
.service-hero.navy .service-hero-trust-icon[data-icon],
.service-hero-section.navy .trust-badge-icon[data-icon],
.service-hero-section.navy .service-hero-trust-icon[data-icon],
.feature-card.navy .feature-card-icon[data-icon] {
  background-color: var(--_colors---core-neutral-color--light-blue, #e6edff);
  color: transparent !important;
}

.trust-badge-icon[data-icon="measure"],
.service-hero-trust-icon[data-icon="measure"],
.feature-card-icon[data-icon="measure"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16M4 8h5M4 12h3M4 16h5M13 4v8M17 4v5M21 4v16'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="estimate"],
.service-hero-trust-icon[data-icon="estimate"],
.feature-card-icon[data-icon="estimate"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM14 3v5h5M9 12h7M9 16h4M16 16l1 1 2-2'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="percent"],
.service-hero-trust-icon[data-icon="percent"],
.feature-card-icon[data-icon="percent"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3Cpath d='m19 5-14 14'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="tune"],
.service-hero-trust-icon[data-icon="tune"],
.feature-card-icon[data-icon="tune"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 17h16M8 4v6M16 14v6'/%3E%3Ccircle cx='8' cy='7' r='2'/%3E%3Ccircle cx='16' cy='17' r='2'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="glazing"],
.service-hero-trust-icon[data-icon="glazing"],
.feature-card-icon[data-icon="glazing"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h18v18H3zM12 3v18M3 12h18'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="opening"],
.service-hero-trust-icon[data-icon="opening"],
.feature-card-icon[data-icon="opening"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V5l11-2v18M3 5l11 2v14M14 7l7-3v17h-7M18 8v.01'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="finish"],
.service-hero-trust-icon[data-icon="finish"],
.feature-card-icon[data-icon="finish"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM8 12l3 3 5-6'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="sunny"],
.service-hero-trust-icon[data-icon="sunny"],
.feature-card-icon[data-icon="sunny"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="palette"],
.service-hero-trust-icon[data-icon="palette"],
.feature-card-icon[data-icon="palette"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18h2a2 2 0 0 0 1.7-3.1c-.6-.9-.1-2.2.9-2.4a4.5 4.5 0 0 0 .4-9.4A9 9 0 0 0 12 3Z'/%3E%3Ccircle cx='7.5' cy='10' r='.8'/%3E%3Ccircle cx='10' cy='6.8' r='.8'/%3E%3Ccircle cx='14' cy='6.8' r='.8'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="shield"],
.service-hero-trust-icon[data-icon="shield"],
.feature-card-icon[data-icon="shield"] {
  --comfort-icon-svg: url("../images/comfort-icon-shield.svg");
}

.trust-badge-icon[data-icon="leaf"],
.service-hero-trust-icon[data-icon="leaf"],
.feature-card-icon[data-icon="leaf"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4c-8 0-14 2-14 9a6 6 0 0 0 6 6c7 0 9-7 8-15Z'/%3E%3Cpath d='M4 21c3-5 7-8 13-11'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="water"],
.service-hero-trust-icon[data-icon="water"],
.feature-card-icon[data-icon="water"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s7 7.4 7 12a7 7 0 0 1-14 0c0-4.6 7-12 7-12Z'/%3E%3Cpath d='M9 16a3 3 0 0 0 3 3'/%3E%3C/svg%3E");
}

.trust-badge-icon[data-icon="search"],
.service-hero-trust-icon[data-icon="search"],
.feature-card-icon[data-icon="search"] {
  --comfort-icon-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232868ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  .btn-compact {
    width: 100%;
  }

  .page-cta-phone {
    font-size: clamp(14px, 4vw, 16px);
    padding-inline: 10px;
  }
}

/* Reveal only after JS opts in; content remains visible when scripts fail. */
html.page-reveal-enabled [data-page-reveal] {
  transition: opacity 0.45s ease, translate 0.45s ease;
}

html.page-reveal-enabled [data-page-reveal="pending"] {
  opacity: 0;
  translate: 0 16px;
}

html.page-reveal-enabled [data-page-reveal="visible"] {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }.service-btn-primary,
  .btn-primary-custom,
  .btn-compact,
  .product-card-btn,
  .service-btn-secondary,
  .page-cta-phone {
    transition: none !important;
    transform: none !important;
  }

  html.page-reveal-enabled [data-page-reveal],
  html.page-reveal-enabled [data-page-reveal="pending"],
  html.page-reveal-enabled [data-page-reveal="visible"] {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}

/* The user's paid Webflow plan allows removing the export badge locally. */
.w-webflow-badge {
  display: none !important;
}

/* Keep service H1s on the homepage's lighter display scale. */
.service-hero .service-hero-title,
.service-hero h1,
.service-hero-section .service-hero-title,
.service-hero-section h1 {
  max-width: 18ch;
  font-family: var(--_typography---font--heading-font, "Instrument Sans", sans-serif);
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Homepage section headings: keep the hero and the directions gallery intact. */
section.main-section:not(.hero):not(#gallery) .title-wrap > .text-xl {
  font-size: clamp(1.875rem, 3.8vw, 3.25rem);
  line-height: 1.12;
}

/* Advantages: image on the left, copy and feature grid on the right. */
#advantages .about-content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 44px);
}

#advantages .left-content-wrap.about-home,
#advantages .right-content-wrap.mid {
  width: auto;
  min-width: 0;
  order: 0;
}

#advantages .about-image-wrap {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

#advantages .right-content-wrap.mid {
  justify-content: space-between;
  gap: clamp(22px, 2.4vw, 34px);
}

#advantages .features-list-wrap {
  grid-auto-rows: 1fr;
}

#advantages .features-detail,
#advantages .features-detail .title-description-wrap {
  min-width: 0;
}

/* Four direction cards form two balanced columns on desktop. */
#directions .project-list-wrapper-cms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 32px);
}

#directions .project-list-item-cms {
  display: flex;
  min-width: 0;
  height: 100%;
}

#directions .project-card-wrapper {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
}

#directions .project-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 22px);
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

#directions .project-image-wrap {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: clamp(200px, 17vw, 260px);
  aspect-ratio: 1 / 1;
}

#directions .project-image-wrap .image-project-list {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#directions .right-content-wrap.card-project {
  width: auto;
  min-width: 0;
}

/* Four catalog links sit in a balanced 2 × 2 grid. */
#all-products .comfort-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  column-gap: clamp(20px, 3vw, 42px);
}

#all-products .comfort-catalog-link {
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: center;
}

/* Align testimonial content without changing its sticky scroll sequence. */
#working .left-content-wrapper.testimoni,
#working .right-content-wrapper.testimoni,
#working .testimoni-card-wrapper,
#working .testimoni-text-wrapper,
#working .client-profile {
  min-width: 0;
}

#working .testimoni-profile-wrapper {
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
}

#working .client-detail-wrap.testimoni {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

#working .testimoni-bottom-content-wrapper {
  align-items: center;
  gap: 16px;
}

#working .testimoni-advisory {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

#working .testimoni-date-wrapper {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

/* Keep FAQ questions flexible and center the plus in its fixed circular control. */
#faq .faq-content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

#faq .left-content-wrap,
#faq .right-content-wrap {
  width: auto;
  min-width: 0;
}

#faq .faq-list-wrap {
  width: 100%;
  gap: 0;
}

#faq .faq-list {
  box-sizing: border-box;
}

#faq .faq-content-list {
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  min-height: 52px;
}

#faq .main-text-faq {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

#faq .faq-question,
#faq .faq-question .text-m {
  min-width: 0;
}

#faq .icon-show-off {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  box-sizing: border-box;
}

#faq .icon-show-off .text-s.icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

#faq .faq-list .text-s.icon::after {
  display: block;
  font-family: var(--_typography---font--body-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

/* Equal homepage direction cards, with content allowed to grow naturally. */
#more .insights-list-cms-wrapper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: clamp(18px, 2vw, 28px);
}

#more .insights-list-cms-item {
  display: flex;
  min-width: 0;
  height: 100%;
}

#more .insights-card-wrapper {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
}

#more .insights-image-wraper {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
}

#more .image-insights-card {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#more .insights-detail-wrapper {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: clamp(14px, 1.4vw, 20px);
  overflow: visible;
}

#more .category-date-wrap,
#more .title-description-wrap.features-about {
  min-width: 0;
}

#more .category-date-wrap {
  align-items: center;
  gap: 12px;
}

#more .button-wrap {
  margin-top: auto;
  flex: 0 0 auto;
}

/* Replace homepage icon glyph assets with the provided transparent PNGs. */
.text-m.icon[data-icon="workspace_premium"]::after {
  background-image: url("../images/comfort-home-measure.png");
}

.text-m.icon[data-icon="toll"]::after {
  background-image: url("../images/comfort-home-estimate.png");
}

.text-m.icon[data-icon="group_work"]::after {
  background-image: url("../images/comfort-home-payment.png");
}

.text-m.icon[data-icon="data_array"]::after {
  background-image: url("../images/comfort-home-schedule.png");
}

.text-m.icon[data-icon="security"]::after {
  background-image: url("../images/comfort-home-warranty.png");
}

@media (max-width: 991px) {
  .service-hero .service-hero-title,
  .service-hero h1,
  .service-hero-section .service-hero-title,
  .service-hero-section h1 {
    font-size: clamp(2.25rem, 6vw, 3.25rem);
  }

  #advantages .about-content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 4vw, 36px);
  }

  #advantages .about-image-wrap {
    aspect-ratio: 16 / 10;
    max-height: 28rem;
  }

  #directions .project-list-wrapper-cms {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  #faq .faq-content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  #more .insights-list-cms-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  section.main-section:not(.hero):not(#gallery) .title-wrap > .text-xl {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
  }

  .service-hero .service-hero-title,
  .service-hero h1,
  .service-hero-section .service-hero-title,
  .service-hero-section h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  #directions .project-card {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    height: auto;
  }

  #directions .project-card-wrapper,
  #directions .project-list-item-cms {
    height: auto;
  }

  #directions .project-image-wrap {
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #more .insights-list-cms-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  #all-products .comfort-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 479px) {
  section.main-section:not(.hero):not(#gallery) .title-wrap > .text-xl {
    font-size: clamp(1.75rem, 6.25vw, 1.875rem);
  }

  #advantages .features-list-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Main-page H1 only: reduce the inherited XXL scale while preserving its rhythm. */
#home .title-wrap.hero-homepage > .text-xxl {
  font-size: clamp(3rem, 4.72vw, 4.25rem);
  line-height: 1.1;
  text-wrap: balance;
}

@media (max-width: 991px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(42px, 4.72vw, 47px);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(42px, 5.5vw, 48px);
  }
}

@media (max-width: 479px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(38px, 10.25vw, 40px);
  }
}

/* ==========================================================================
   ИТОГОВАЯ ДОВОДКА: иерархия заголовков, плюсы FAQ, подвал.
   H1 крупнее всех заголовков секций (H2) на каждой ширине.
   ========================================================================== */

/* H1 главной страницы. */
#home .title-wrap.hero-homepage > .text-xxl {
  font-size: clamp(3rem, 5.6vw, 4.75rem);
}

@media (max-width: 991px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(2.75rem, 6.2vw, 3.5rem);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(3rem, 7vw, 3.25rem);
  }
}

@media (max-width: 479px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }
}

/* H1 внутренних страниц услуг. */
.service-hero .service-hero-title,
.service-hero h1,
.service-hero-section .service-hero-title,
.service-hero-section h1 {
  font-size: clamp(3rem, 5.6vw, 4.75rem);
}

@media (max-width: 991px) {
  .service-hero .service-hero-title,
  .service-hero h1,
  .service-hero-section .service-hero-title,
  .service-hero-section h1 {
    font-size: clamp(2.5rem, 6.2vw, 3.5rem);
  }
}

@media (max-width: 767px) {
  .service-hero .service-hero-title,
  .service-hero h1,
  .service-hero-section .service-hero-title,
  .service-hero-section h1 {
    font-size: clamp(2.1rem, 10.5vw, 3rem);
  }
}

/* Заголовки секций (H2) на одном масштабе во всех состояниях. Правило .title-wrap > .text-xl
   переставало действовать после разбивки текста GSAP (SplitText), и заголовок рос до 4.5vw
   (86px на 1920 px), то есть становился крупнее H1. Теперь размер не зависит от разбивки. */
section.main-section .title-wrap .text-xl {
  font-size: clamp(1.875rem, 3.8vw, 3.25rem);
  line-height: 1.12;
}

@media (max-width: 767px) {
  section.main-section .title-wrap .text-xl {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
  }
}

/* Плюс FAQ: две полоски строго по центру круга, не зависят от метрик шрифта.
   Поворот .icon-show-off на 45° при открытии даёт крестик. */
#faq .icon-show-off {
  position: relative;
}

#faq .icon-show-off .text-s.icon {
  display: none;
}

#faq .icon-show-off::before,
#faq .icon-show-off::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ffffff;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#faq .icon-show-off::before {
  width: 14px;
  height: 2px;
}

#faq .icon-show-off::after {
  width: 2px;
  height: 14px;
}

/* Подвал: шрифт чуть меньше. */
#footer .text-ms {
  font-size: 15px;
  line-height: 1.55;
}

#footer .text-s {
  font-size: 14.5px;
}

#footer .text-credit-navbar .text-s {
  font-size: 13px;
}

/* ==========================================================================
   ШКАЛА ЭТАЛОНА: размеры текста на внутренних страницах берутся из переменных
   референса (text-s, text-ms), заголовки H2 — тот же масштаб, что на главной, вес 400.
   ========================================================================== */
.section-title,
.page-cta-title,
.catalog-group-title {
  font-size: clamp(1.875rem, 3.8vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
}

.catalog-card-name {
  font-size: var(--_typography---text-s--s-text-size, 1rem);
  font-weight: 500;
}

.section-subtitle,
.service-hero-desc,
.service-hero-description,
.page-cta-desc {
  font-size: var(--_typography---text-ms--ms-text-size, 1.1rem);
}

.content-article-box h3 {
  font-size: var(--_typography---text-ms--ms-text-size, 1.1rem);
  font-weight: 400;
}

.content-article-box p,
.content-article-box li {
  font-size: var(--_typography---text-s--s-text-size, 1rem);
}

/* Вертикальный ритм секций как в эталоне: отступы из переменной секции (72px на 1440). */
.service-hero-section,
.product-section,
.service-gallery-section {
  padding-top: var(--_sizes---section--section-padding-vertical, 72px);
  padding-bottom: var(--_sizes---section--section-padding-vertical, 72px);
}

/* ==========================================================================
   ВИЗУАЛЬНАЯ ДОВОДКА 2026-11-07: точечные исправления по проверке на 1440/768/390.
   ========================================================================== */

/* Главная, «Чем можем помочь»: фото занимает всю левую колонку карточки, без пустого зазора. */
.project-card > .left-content-wrap {
  width: 100%;
}

/* Главная, плашка на фото первого экрана: длинная фраза обычным шрифтом, а не моноширинным. */
.hero-image-element .description-wrap .text-sm.tag {
  font-family: var(--_typography---font--body-font);
  letter-spacing: 0;
  line-height: 1.45;
}

/* Главная, карточки направлений: служебная подпись бренда под каждым названием не несёт смысла. */
.team-card .team-role {
  display: none;
}

/* Главная, «Что мы предлагаем»: названия направлений без переносов по слогам. */
.service-title .text-l {
  hyphens: manual;
  overflow-wrap: normal;
}

@media (max-width: 767px) {
  .title-number-service > .left-content-wrap {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .title-number-service > .right-content-wrap {
    flex: 0 0 auto;
    width: auto;
  }

  /* Карточки направлений на телефоне — горизонтальная лента вместо двух узких колонок. */
  .team-member-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }

  .team-member-list::-webkit-scrollbar {
    display: none;
  }

  .team-member-list > .team-card {
    flex: 0 0 74%;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

@media (max-width: 479px) {
  .service-title .text-l {
    font-size: 1.625rem;
    line-height: 1.15;
  }
}

/* Главная, «Как проходит работа»: карточки одной высоты, чтобы стопка складывалась ровно. */
@media (min-width: 992px) {
  #working .testimoni-card-wrapper {
    min-height: 364px;
  }
}

@media (max-width: 767px) {
  #working .testimoni-card-wrapper {
    min-height: 292px;
  }
}

/* Подвал: телефоны не разрываются посередине номера. */
.text-credit-navbar .comfort-nowrap,
.text-credit-navbar .contact-city-phone {
  white-space: nowrap;
}

/* Подвал: кнопка заявки тем же размером шрифта, что и поле телефона. */
.form-email-subscribe .submit-button {
  font-size: 15px;
  line-height: 1.2;
}

/* Страницы услуг: название характеристики в одну строку, значение прижато вправо. */
.product-spec-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.product-spec-val,
.product-spec-value {
  text-align: right;
  white-space: nowrap;
}

/* Страницы услуг: воздух между хлебными крошками и бейджем раздела. */
.service-hero-section .breadcrumbs {
  margin-bottom: 14px;
}

/* Главная, список направлений в шапке блока: разделитель остаётся в конце строки. */
.description-wrap.team-homepage .comfort-nowrap {
  display: inline-block;
  white-space: nowrap;
}

/* Каталог на телефоне: две карточки в ряд, чтобы список не растягивался на десятки экранов. */
@media (max-width: 600px) {
  .catalog-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-card-media {
    aspect-ratio: 4 / 3;
  }

  .catalog-card-body {
    padding: 12px 12px 14px;
  }

  .catalog-card-name {
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .catalog-card-arrow {
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .catalog-cards-grid {
    grid-template-columns: 1fr;
  }
}/* Страницы услуг, блок заявки: подпись отделена от заголовка, номера по центру {
  margin-bottom: 14px;
}

.page-cta-actions .page-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Галереи: без тёмного ободка по краю фото. */
.service-gallery-card {
  background-color: var(--_colors---core-neutral-color--whitesmoke, #f8f7f5);
}

/* Главная, «Как проходит работа»: иконки этапов вместо обрезанных фото в кружке. */
#working .client-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  border-radius: 14px;
}

#working .client-image .comfort-step-icon {
  width: 84%;
  height: 84%;
  object-fit: contain;
  border-radius: 0;
}

/* ==========================================================================
   ШАПКА 2026-11-07: знак логотипа, меню обычным регистром, телефон и кнопка заявки.
   ========================================================================== */
.navbar-content {
  align-items: center;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.comfort-brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: block;
}

.navbar-menu-links {
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.navbar-links {
  flex: 1 1 auto;
  justify-content: center;
}

.comfort-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.comfort-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.comfort-nav-phone-icon {
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  flex: none;
}

.comfort-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--_sizes---radius--md-radius, 0.8rem);
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.comfort-nav-cta:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .comfort-nav-cta:hover {
    background-color: #0b45cf;
  }

  .comfort-nav-phone:hover .comfort-nav-phone-text {
    color: var(--_colors---core-neutral-color--blue, #1459fb);
  }
}

.comfort-nav-phone:focus-visible,
.comfort-nav-cta:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb);
  outline-offset: 3px;
}

/* Меню-шторка: телефоны выровнены, подписи не обрезаются. */
.menu-contact .text-email-navbar,
.menu-contact .text-email-navbar * {
  overflow: visible;
}

.menu-contact .text-email-navbar .text-sm {
  padding-left: 2px;
}

@media (max-width: 1279px) {
  .comfort-nav-phone-text {
    display: none;
  }

  .comfort-nav-phone {
    justify-content: center;
    width: 44px;
    border-radius: 50%;
    background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  }
}

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

  .comfort-brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo-link {
    gap: 10px;
  }
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН 2026-11-07
   ========================================================================== */
#home .title-wrap.hero-homepage > .text-xxl {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

#home .description-wrap.hero-homepage .text-ms {
  max-width: 36em;
}

.comfort-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 15rem;
  margin: 0;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.comfort-hero-points img {
  width: 40px;
  height: 40px;
  flex: none;
  padding: 6px;
  border-radius: 12px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  object-fit: contain;
  box-sizing: border-box;
}

/* Плашка на фото: сначала заголовок, затем пояснение. */
.title-description-wrap.hero-image {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}

.hero-image-element .title-wrap .text-s.medium {
  font-size: 17px;
  font-weight: 500;
}

/* Лента брендов: названия крупнее и заметнее. */
.comfort-partner-logo {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(var(--comfort-theme-navy-rgb), 0.55);
  opacity: 1;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .comfort-hero-points {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .comfort-hero-points li {
    max-width: none;
  }
}

/* Шапка: элементы по центру по вертикали, кнопка не растягивается на всю высоту. */
.navbar-content > .navbar-brand-logo {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.navbar-content > .navbar-menu-links {
  align-items: center;
  align-self: stretch;
}

.navbar-menu-links > .comfort-nav-actions,
.navbar-menu-links > .hamburger-wrap {
  align-self: center;
}

.comfort-nav-actions > .comfort-nav-phone,
.comfort-nav-actions > .comfort-nav-cta {
  height: 44px;
  align-self: center;
}

/* Первый экран: три довода одной строкой, фото и плашка «3%» не зависят от высоты левой колонки. */
#home .right-content-wrap.hero {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .comfort-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .comfort-hero-points li {
    max-width: none;
  }
}

.comfort-hero-points img {
  width: 44px;
  height: 44px;
  padding: 4px;
}

/* Меню-шторка: показываем все разделы, а не половину; высота по содержимому. */
.menu-in-wrapper > .menu-link-hamburger {
  display: flex;
}

.menu-in-wrapper {
  gap: clamp(24px, 4vw, 64px);
}

.menu-hamburger,
.menu-hamburger .menu-in,
.menu-hamburger .menu-content {
  height: auto;
}

/* Планшет и узкий ноутбук: пункты меню прячем в шторку, чтобы они не наезжали на логотип. */
@media (max-width: 1100px) {
  .navbar-links {
    display: none;
  }

  .navbar-menu-links {
    justify-content: flex-end;
  }
}

@media (max-width: 479px) {
  .menu-link-hamburger .text-link-static .text-m {
    font-size: 20px;
  }

  .menu-in-wrapper {
    gap: 20px;
  }
}

/* ==========================================================================
   РАЗДЕЛЫ ГЛАВНОЙ 2026-11-07
   ========================================================================== */
/* Подписи с синей точкой над заголовками повторяли сам заголовок — оставляем только на первом экране. */
.main-section:not(.hero) .tag-wrapper,
.main-section:not(.hero) .top-content-wrap > .tag-section {
  display: none;
}

/* Заголовки разделов крупнее, но не больше H1. */
section.main-section .title-wrap .text-xl {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

@media (max-width: 767px) {
  section.main-section .title-wrap .text-xl,
  section.main-section:not(.hero):not(#gallery) .title-wrap > .text-xl {
    font-size: clamp(2rem, 8.6vw, 2.5rem);
  }
}

/* «Понятный выбор»: иконки по смыслу и крупнее. */
.text-m.icon[data-icon="toll"]::after {
  background-image: url("../images/comfort-home-delivery.png");
}

.text-m.icon[data-icon="group_work"]::after {
  background-image: url("../images/comfort-home-choice.png");
}

#advantages .features-detail .icon-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
}

#advantages .features-detail .text-m.icon::after {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Список направлений рядом с заголовком: вторая строка не обрезается маской анимации. */
.description-wrap.team-homepage .gsap_split_line-mask {
  overflow: visible;
}

/* Шапка в стиле сайта: телефон тем же шрифтом, что и разделы меню; кнопка как основные кнопки сайта. */
.comfort-nav-phone {
  font-size: var(--_typography---text-s--s-text-size, 17.28px);
  font-weight: 500;
  letter-spacing: -0.2px;
}

.comfort-nav-cta,
.comfort-nav-actions > .comfort-nav-cta {
  height: 48px;
  padding: 0 22px;
  border-radius: var(--_sizes---radius--md-radius, 14.4px);
  font-size: var(--_typography---text-s--s-text-size, 17.28px);
  font-weight: 400;
  letter-spacing: -0.2px;
}

.comfort-nav-actions > .comfort-nav-phone {
  height: 48px;
}

@media (max-width: 1279px) {
  .comfort-nav-phone,
  .comfort-nav-actions > .comfort-nav-phone {
    width: 48px;
  }
}

/* ==========================================================================
   ЕДИНЫЙ ШРИФТ 2026-11-07. В Instrument Sans и Chivo Mono нет кириллицы: русский текст
   рисовался системным шрифтом (Helvetica / Arial / Roboto), а цифры и латиница в подписях —
   моноширинным. Теперь весь сайт набран Inter Tight — у него есть кириллица.
   ========================================================================== */
html:root,
html body {
  --_typography---font--body-font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --_typography---font--heading-font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --_typography---font--button-font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --_typography---font--tag-font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

body,
input,
textarea,
select,
button {
  font-family: var(--_typography---font--body-font);
}

.comfort-brand,
.comfort-brand-small {
  font-family: var(--_typography---font--heading-font);
}

/* Знак «ИК»: по высоте строки названия, ширина по пропорциям знака. */
.comfort-brand-mark,
.navbar-content .comfort-brand-mark {
  width: auto;
  height: 46px;
}

@media (max-width: 479px) {
  .comfort-brand-mark,
  .navbar-content .comfort-brand-mark {
    height: 38px;
  }
}

/* Первый экран, доработка 2: крупнее плашка на фото и иконки доводов. */
.hero-image-element {
  align-items: center;
  gap: 16px;
  max-width: 380px;
  padding: 18px 20px;
}

.hero-image-element .comfort-hero-card-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.hero-image-element .comfort-hero-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero-image-element .title-wrap .text-s.medium {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-image-element .description-wrap .text-sm.tag {
  font-size: 15px;
  line-height: 1.4;
  color: #525f70;
  text-transform: none;
}

.comfort-hero-points li {
  font-size: 16px;
  gap: 12px;
}

.comfort-hero-points img,
.comfort-hero-points li > img {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 14px;
}

@media (max-width: 479px) {
  .hero-image-element {
    max-width: calc(100% - 32px);
    padding: 14px 16px;
  }

  .hero-image-element .comfort-hero-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .hero-image-element .comfort-hero-card-icon img {
    width: 40px;
    height: 40px;
  }

  .hero-image-element .title-wrap .text-s.medium {
    font-size: 18px;
  }

  .hero-image-element .description-wrap .text-sm.tag {
    font-size: 14px;
  }
}

/* ==========================================================================
   ПОДВАЛ 2026-11-07: знак логотипа, контакты по строкам, крупная форма, плотные колонки.
   ========================================================================== */
#footer .logo-brand.footer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

#footer .comfort-brand-mark-footer {
  width: auto;
  height: 46px;
  flex: none;
}

.comfort-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.comfort-footer-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comfort-footer-phones a {
  color: #ffffff;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: fit-content;
}

.comfort-footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comfort-footer-info li {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.4;
}

.comfort-footer-label {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comfort-footer-form-title {
  margin-top: 32px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

/* Форма: поле и кнопка одной высоты, шрифт как у основных кнопок сайта. */
#footer .subscribe-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

#footer .field-subscribes {
  flex: 1 1 auto;
  min-width: 0;
}

#footer .input-field {
  height: 56px;
  margin: 0;
  font-size: 17px;
  padding: 0 20px;
  border-radius: var(--_sizes---radius--md-radius, 14.4px);
}

#footer .input-field::placeholder {
  font-size: 17px;
  color: #6b7480;
}

#footer .button-tertiary.submit {
  flex: none;
  height: 56px;
}

#footer .form-email-subscribe .submit-button,
.form-email-subscribe .submit-button {
  height: 56px;
  padding: 0 24px;
  font-size: 17px;
  line-height: 56px;
}

/* Колонки ссылок: крупнее и плотнее. */
#footer .footer-link {
  gap: 0;
}

#footer .footer-link-title {
  margin-bottom: 14px;
}

#footer .footer-link-title .text-s {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

#footer .link-quick-links,
#footer .link-single-pages {
  padding: 5px 0;
}

#footer .quick-links .text-s {
  font-size: 17px;
  line-height: 1.35;
}

#footer .text-credit-navbar .text-s {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
  #footer .features-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  #footer .footer-link-title .text-s {
    white-space: nowrap;
  }

  .comfort-footer-phones a {
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  #footer .subscribe-form {
    flex-direction: column;
  }

  #footer .button-tertiary.submit,
  #footer .form-email-subscribe .submit-button {
    width: 100%;
  }
}

/* Доводы первого экрана: колонки по ширине текста, длинные слова не обрезаются. */
@media (min-width: 768px) {
  .comfort-hero-points {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 16px 28px;
  }
}

.comfort-hero-points li span {
  min-width: 0;
}

/* Подвал: ровные отступы. */
#footer .left-content-wrap {
  gap: 0;
}

#footer .footer-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

#footer .footer-link-title {
  height: auto;
  min-height: 0;
  margin: 0 0 12px;
  padding: 0;
}

#footer .footer-link > a {
  margin: 0;
  padding: 6px 0;
  height: auto;
  min-height: 0;
}

#footer .footer-link > a .quick-links {
  height: auto;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .comfort-hero-points li span {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .comfort-hero-points br {
    display: none;
  }
}

@media (min-width: 768px) {
  .comfort-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .hero-image-element {
    max-width: 320px;
  }

  .hero-image-element .title-wrap .text-s.medium {
    font-size: 18px;
  }

  .hero-image-element .description-wrap .text-sm.tag {
    font-size: 14px;
  }
}

/* Подвал: ссылки по ширине текста, без обрезки на телефоне. */
#footer .footer-link > a {
  width: auto;
  max-width: 100%;
  overflow: visible;
}

#footer .footer-link > a .quick-links,
#footer .footer-link > a .text-s {
  width: auto;
}

@media (max-width: 479px) {
  .hero-image-element {
    width: auto;
    right: 16px;
    max-width: none;
  }
}

/* Подвал на планшете: контакты и форма на всю ширину, колонки ссылок ниже. */
@media (max-width: 991px) {
  #footer .footer-content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  #footer .footer-content-wrapper > .left-content-wrap,
  #footer .footer-content-wrapper > .right-content-wrap {
    width: 100%;
    max-width: none;
  }

  #footer .form-email-subscribe {
    max-width: 560px;
  }
}

#footer .subscribe-form .field-subscribes .input-field {
  height: 56px;
  min-height: 56px;
}

#footer .form-email-subscribe,
#footer .subscribe-form,
#footer .field-subscribes {
  height: auto;
}

@media (min-width: 480px) {
  #footer .button-tertiary.submit {
    min-width: 200px;
  }
}

/* Курсор: убираем точку, которая бегала за мышью; обычный системный курсор. */
.cursor-wrap {
  display: none !important;
}

/* Лента брендов: официальные логотипы одного размера, в спокойном сером; цвет — при наведении. */
#brands .logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(28px, 3.4vw, 56px);
  width: auto;
  min-width: 0;
}

.comfort-brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

#brands .logo-wrap img[src$="hormann.svg"] {
  height: 30px;
}

#brands .logo-wrap img[src$="bauf.svg"],
#brands .logo-wrap img[src$="descor.png"] {
  height: 40px;
}

@media (hover: hover) and (pointer: fine) {
  #brands .logo-wrap:hover .comfort-brand-logo {
    filter: none;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .comfort-brand-logo {
    height: 26px;
  }

  #brands .logo-wrap img[src$="hormann.svg"] {
    height: 24px;
  }

  #brands .logo-wrap img[src$="bauf.svg"],
  #brands .logo-wrap img[src$="descor.png"] {
    height: 32px;
  }
}

/* Первый экран компактнее: заголовок в две строки, меньше пустых отступов. */
@media (min-width: 992px) {
  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(2.75rem, 3.9vw, 3.6rem);
    line-height: 1.06;
  }

  #home .left-content-wrap.hero {
    padding-top: 20px;
    padding-bottom: 0;
  }

  #home .hero-image-wrap,
  #home .right-content-wrap.hero {
    height: clamp(420px, 36vw, 520px);
  }

  .comfort-hero-points {
    margin-top: 24px;
  }
}

#home.main-section.hero {
  padding-bottom: 40px;
}

#brands.main-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ==========================================================================
   РАЗДЕЛЫ ГЛАВНОЙ, доработка 2
   ========================================================================== */
/* «Четыре направления»: пункты меньше заголовка раздела, фото в раскрытом пункте компактнее. */
.service-title .text-l {
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  line-height: 1.15;
}

#services .service-image-wrap {
  height: clamp(200px, 17vw, 280px);
  max-width: 460px;
  margin-left: auto;
}

@media (max-width: 767px) {
  #services .service-image-wrap {
    height: 12rem;
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 479px) {
  .service-title .text-l {
    font-size: 1.5rem;
  }
}

/* «Чем можем помочь»: преимущества в карточках. */
.comfort-card-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-card-benefits li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.comfort-card-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--_colors---core-neutral-color--blue, #1459fb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

#directions .project-card .text-l.medium {
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  line-height: 1.12;
}

#directions .project-card .description-wrap .text-s {
  font-size: 15px;
  line-height: 1.45;
}

/* «Популярные решения»: подзаголовок, метка над карточкой, ровные карточки. */
.comfort-more-desc {
  margin-top: 14px;
  max-width: 34em;
}

.comfort-more-desc .text-ms {
  color: #525f70;
}

.comfort-card-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

#more .category-date-wrap {
  min-height: 0;
  margin-bottom: 4px;
}

#more .insights-image-wraper {
  aspect-ratio: 16 / 10;
  height: auto;
}

#more .insights-image-wraper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#more .insights-detail-wrapper {
  gap: 12px;
}

#more .category-date-wrap {
  padding: 0;
  margin: 0;
}

/* Заголовки без переноса по слогам на телефоне. */
.main-section .text-xxl,
.main-section .text-xl,
.main-section .text-l,
.main-section .text-m {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Первый экран, доработка 3: фото по высоте левой колонки; плашку «Образцы» убираем —
   этот довод теперь стоит под кнопками. */
#home .hero-image-element {
  display: none;
}

@media (min-width: 992px) {
  #home .hero-content-wrapper {
    align-items: stretch;
  }

  #home .right-content-wrap.hero {
    align-self: stretch;
    height: auto;
    min-height: 0;
  }

  #home .hero-homepage-image,
  #home .right-content-wrap.hero .hero-image-wrap {
    height: 100%;
  }

  #home .left-content-wrap.hero {
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (min-width: 992px) {
  .comfort-hero-points {
    gap: 14px 22px;
  }

  .comfort-hero-points li {
    gap: 10px;
    font-size: 15px;
  }

  .comfort-hero-points img,
  .comfort-hero-points li > img {
    width: 46px;
    height: 46px;
    padding: 5px;
  }
}

/* «Популярные решения»: горизонтальная лента с прокруткой и стрелками. */
#more .insights-list-cms-wrapper {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 4px;
}

#more .insights-list-cms-wrapper::-webkit-scrollbar {
  display: none;
}

#more .insights-list-cms-item {
  flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 28px)) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

.comfort-ribbon-nav {
  display: flex;
  gap: 10px;
  margin-right: 14px;
}

#more .right-content-wrap.blog-homepage {
  display: flex;
  align-items: center;
}

.comfort-ribbon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .comfort-ribbon-btn:hover {
    background-color: var(--_colors---core-neutral-color--blue, #1459fb);
    border-color: var(--_colors---core-neutral-color--blue, #1459fb);
    color: #ffffff;
  }
}

.comfort-ribbon-btn:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  #more .insights-list-cms-item {
    flex-basis: calc((100% - clamp(16px, 2vw, 28px)) / 2);
  }
}

@media (max-width: 767px) {
  #more .insights-list-cms-wrapper {
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  #more .insights-list-cms-item {
    flex-basis: 82%;
  }

  .comfort-ribbon-nav {
    display: none;
  }
}

#home .image.hero-homepage {
  object-position: center 18%;
}

#more .right-content-wrap.blog-homepage {
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}

#more .insights-list-cms-wrapper {
  align-items: stretch;
}

#more .insights-list-cms-item,
#more .insights-card-wrapper {
  display: flex;
  flex-direction: column;
}

#more .insights-card-wrapper {
  height: 100%;
  width: 100%;
}

#more .insights-detail-wrapper {
  flex: 1 1 auto;
}

#more .insights-detail-wrapper .button-wrap {
  margin-top: auto;
}

#more .top-content-wrap .right-content-wrap.bottom.blog-homepage {
  flex-flow: row nowrap;
  align-items: center;
}

#more .insights-list-cms-wrapper > .insights-list-cms-item {
  align-self: stretch;
  height: auto;
}

#more .insights-list-cms-item > .insights-card-wrapper {
  flex: 1 1 auto;
  height: auto;
}

/* Анимация шаблона заворачивает стрелки и кнопку в один блок — раскладываем их в строку. */
#more .right-content-wrap.blog-homepage .gsap_split_line-mask,
#more .right-content-wrap.blog-homepage .gsap_split_line {
  display: flex !important;
  align-items: center;
  overflow: visible !important;
}

/* Логотипы брендов без скругления углов (общее правило для картинок срезало края). */
#brands .comfort-brand-logo {
  border-radius: 0;
  overflow: visible;
  object-fit: contain;
}

/* Иерархия заголовков: H1 всегда крупнее H2 разделов. */
section.main-section:not(.hero) .title-wrap .text-xl {
  font-size: clamp(2rem, 3.4vw, 3.125rem);
}

#home .title-wrap.hero-homepage > .text-xxl {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  line-height: 1.04;
}

@media (max-width: 767px) {
  section.main-section:not(.hero) .title-wrap .text-xl,
  section.main-section:not(.hero):not(#gallery) .title-wrap > .text-xl {
    font-size: clamp(1.75rem, 7.4vw, 2.125rem);
  }

  #home .title-wrap.hero-homepage > .text-xxl {
    font-size: clamp(2.375rem, 10.6vw, 2.75rem);
  }
}

/* ==========================================================================
   «КАК ПРОХОДИТ РАБОТА» 2026-11-07: номера шагов, кнопка заявки, список без анимации на маленьких экранах.
   ========================================================================== */
#working .clinet-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.comfort-step-num {
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

#working .clinet-name .text-m {
  font-weight: 500;
}

.comfort-steps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 28px;
  padding: 0 26px;
  border-radius: var(--_sizes---radius--md-radius, 14.4px);
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
  font-size: var(--_typography---text-s--s-text-size, 17px);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.comfort-steps-cta:active {
  transform: scale(0.97);
}

.comfort-steps-cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .comfort-steps-cta:hover {
    background-color: #0b45cf;
  }
}

/* «Понятный выбор»: иконка оплаты для нового пункта. */
.text-m.icon[data-icon="data_array"]::after {
  background-image: url("../images/comfort-home-payment.png");
}

/* Телефон и планшет: шаги обычным списком, без «стопки» и пустого поля под ней. */
@media (max-width: 991px) {
  #working .sticky-testimoni-wrapper {
    height: auto;
  }

  #working .content-main-wrapper.testimoni {
    position: static;
  }

  #working .right-content-wrapper.testimoni {
    height: auto;
    overflow: visible;
  }

  #working .testimoni-list-wrapper {
    gap: 14px;
  }

  #working .testimoni-card-wrapper {
    transform: none !important;
    opacity: 1 !important;
    min-height: 0;
  }

  .comfort-steps-cta {
    margin-top: 22px;
  }
}

@media (max-width: 479px) {
  .comfort-steps-cta {
    width: 100%;
  }
}

@media (min-width: 480px) {
  .comfort-steps-cta {
    align-self: flex-start;
    width: auto;
  }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ 2026-11-07: единый стиль с главной и продающие блоки.
   ========================================================================== */
/* Подписи над заголовками повторяли заголовок — как на главной, убираем. */
.section-tag {
  display: none;
}

/* Подпись над H1 — как на главной: синяя точка и капс без плашки. */
.service-hero-tag {
  padding: 0;
  background: none;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-direction: row;
  flex: none;
}

.service-hero-section .service-hero-title {
  letter-spacing: -0.035em;
  line-height: 1.04;
}

/* Полоса доверия: иконки из общего набора, текст крупнее. */
.trust-badges-bar {
  gap: 16px 28px;
}

.trust-badge-item {
  align-items: center;
  gap: 14px;
}

.trust-badge-img {
  width: 52px;
  height: 52px;
  flex: none;
  padding: 6px;
  border-radius: 14px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  object-fit: contain;
  box-sizing: border-box;
}

.trust-badge-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

/* Описание + закреплённая карточка расчёта. */
.comfort-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.comfort-article-layout > .content-article-box {
  min-width: 0;
}

.content-article-box {
  font-size: 17px;
  line-height: 1.6;
}

.content-article-box > ul,
.content-article-box ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.content-article-box ul > li {
  position: relative;
  padding-left: 22px;
  max-width: 46em;
}

.content-article-box ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
}

.content-article-box p {
  max-width: 46em;
}

.comfort-article-aside {
  position: sticky;
  top: 96px;
}

.comfort-aside-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  border-radius: 20px;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(var(--comfort-theme-navy-rgb), 0.18);
}

.comfort-aside-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.comfort-aside-card .comfort-card-benefits {
  margin: 0;
}

.comfort-aside-card .comfort-card-benefits li {
  color: rgba(255, 255, 255, 0.88);
}

.comfort-aside-btn,
.comfort-aside-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.comfort-aside-btn {
  margin-top: 6px;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
}

.comfort-aside-wa {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .comfort-aside-btn:hover {
    background-color: #0b45cf;
  }

  .comfort-aside-wa:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 991px) {
  .comfort-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .comfort-article-aside {
    position: static;
  }
}

/* Галерея во всю ширину при любом числе фото. */
.service-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Как проходит работа — компактные шаги. */
.comfort-steps-section,
.comfort-related-section {
  padding-top: var(--_sizes---section--section-padding-vertical, 72px);
  padding-bottom: 0;
}

.comfort-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.1);
  border-radius: 18px;
  background-color: #ffffff;
}

.comfort-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comfort-step-icon2 {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 14px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  object-fit: contain;
  box-sizing: border-box;
}

.comfort-step-n {
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.comfort-step-title {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.comfort-step-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #525f70;
}

/* Смотрите также. */
.comfort-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.comfort-related-all {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.16);
  border-radius: 14px;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  font-size: 15px;
  text-decoration: none;
}

.comfort-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.comfort-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 18px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.1);
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.comfort-related-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f8f7f5;
}

.comfort-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.comfort-related-name {
  padding: 8px 18px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.comfort-related-link {
  margin-top: auto;
  padding: 0 18px;
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 14px;
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  .comfort-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(var(--comfort-theme-navy-rgb), 0.1);
  }
}

@media (max-width: 991px) {
  .comfort-steps-grid,
  .comfort-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .comfort-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .comfort-related-grid {
    gap: 12px;
  }

  .comfort-related-name {
    padding: 6px 12px 0;
    font-size: 15px;
  }

  .comfort-related-link {
    padding: 0 12px;
    font-size: 13px;
  }

  .trust-badge-img {
    width: 44px;
    height: 44px;
  }
}

.service-hero-tag .dot {
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
}

/* Ровный ритм между разделами внутренних страниц. */
.product-section {
  padding-bottom: 24px;
}

.product-section + .service-gallery-section {
  padding-top: 48px;
}

.service-gallery-section {
  padding-bottom: 0;
}

.service-gallery-section .section-header,
.comfort-steps-section .section-header {
  margin-bottom: 0;
}

#cta-block {
  margin-top: var(--_sizes---section--section-padding-vertical, 72px);
}

/* Шаги на телефоне компактнее: иконка слева, текст справа. */
@media (max-width: 600px) {
  .comfort-step-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    padding: 16px;
  }

  .comfort-step-top {
    grid-row: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .comfort-step-icon2 {
    width: 52px;
    height: 52px;
  }

  .comfort-step-title {
    margin: 0;
    font-size: 18px;
  }
}

.comfort-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 600px) {
  .comfort-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Каталог: у ворот и автоматики теперь фото — показываем их на всю карточку, без старых логотипов-подложек. */
.catalog-card-item[href="doorhan.html"] .catalog-card-media,
.catalog-card-item[href="hormann.html"] .catalog-card-media,
.catalog-card-item[href="avtomatika.html"] .catalog-card-media {
  background-image: none;
  background-color: #f8f7f5;
}

.catalog-card-item[href="doorhan.html"] .catalog-card-media > img,
.catalog-card-item[href="hormann.html"] .catalog-card-media > img,
.catalog-card-item[href="avtomatika.html"] .catalog-card-media > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}


.catalog-card-item[href="zhalyuzi-shtory.html"] .catalog-card-media {
  background-image: none;
}

.catalog-card-item[href="zhalyuzi-shtory.html"] .catalog-card-media > img {
  display: block;
}

/* Карточки особенностей (окна): иконки из общего набора. */
.feature-card-icon.comfort-feature-img {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 14px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.08);
  box-sizing: border-box;
}

.feature-card-icon.comfort-feature-img::before,
.feature-card-icon.comfort-feature-img::after {
  content: none;
}

.feature-card-icon.comfort-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Роллеты: палитра цветов ламелей. */
.comfort-swatches-section {
  padding-top: var(--_sizes---section--section-padding-vertical, 72px);
}

.comfort-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-swatches li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.comfort-swatches img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  outline: 1px solid rgba(0, 0, 0, 0.08);
  outline-offset: -1px;
}

.comfort-swatches span {
  font-size: 14px;
  line-height: 1.3;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

/* ==========================================================================
   ОБЩЕЕ 2026-11-08: шапка всегда видна; фото первого экрана точно по рамке.
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  transform: none !important;
  background-color: #ffffff;
}

.service-hero-media {
  border: 0;
  padding: 0;
  background: none;
}

.service-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ, круг 3: продающий первый экран, цены, описание.
   ========================================================================== */
.service-hero-section .service-hero-title {
  font-size: clamp(2.125rem, 3.6vw, 3.5rem);
  line-height: 1.06;
  text-wrap: balance;
}

.comfort-hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.comfort-hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.comfort-ben-ico {
  flex: none;
  margin-top: 2px;
}

.comfort-hero-benefits span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.35;
  color: #525f70;
}

.comfort-hero-benefits b {
  font-size: 16px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.service-hero-actions {
  align-items: center;
  gap: 20px;
}

.comfort-hero-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.comfort-hero-price-val {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--_colors---core-neutral-color--navy, #01121c);
  white-space: nowrap;
}

.comfort-hero-price-unit {
  font-size: 13px;
  color: #6b7480;
}

/* Цены. */
.comfort-prices-section {
  padding-top: var(--_sizes---section--section-padding-vertical, 72px);
}

.comfort-prices-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.comfort-prices-cta {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.comfort-prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-price-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(20, 89, 251, 0.35) 0%, rgba(20, 89, 251, 0) 60%);
}

.comfort-price-name {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
}

.comfort-price-note {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.comfort-price-val {
  margin-top: auto;
  padding-top: 18px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Описание: пункты — аккуратные карточки в две колонки. */
.content-article-box {
  padding: clamp(24px, 3vw, 40px);
  border-radius: 20px;
}

.content-article-box ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.content-article-box ul > li {
  max-width: none;
  padding: 16px 16px 16px 46px;
  border-radius: 14px;
  background-color: #f6f8fc;
  font-size: 15px;
  line-height: 1.5;
}

.content-article-box ul > li::before {
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  background: var(--_colors---core-neutral-color--blue, #1459fb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.content-article-box h3 {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 500;
}

/* Карточки особенностей — не как шаги: светлая плитка, иконка слева. */
.feature-cards-grid {
  gap: 14px;
}

.feature-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  align-items: start;
  padding: 22px;
  border: 0;
  border-radius: 18px;
  background-color: #eef3ff;
  box-shadow: none;
}

.feature-card .feature-card-icon {
  grid-row: span 2;
  margin: 0;
  background-color: #ffffff;
}

.feature-card-title {
  margin: 4px 0 0;
}

@media (max-width: 991px) {
  .comfort-hero-benefits,
  .content-article-box ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .comfort-hero-price {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .comfort-prices-cta {
    width: 100%;
    justify-content: center;
  }
}

.service-hero-section .service-hero-title,
.section-title,
.page-cta-title {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Окна: карточки профилей. */
.product-card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 100%);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  mix-blend-mode: multiply;
}

.comfort-prod-badge {
  display: inline-flex;
  align-self: flex-start;
  height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background-color: rgba(var(--comfort-theme-blue-rgb), 0.1);
  color: var(--_colors---core-neutral-color--blue, #1459fb);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.comfort-prod-use {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #525f70;
}

.comfort-prod-price {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.product-card-footer .btn-compact {
  justify-content: center;
  width: 100%;
}

/* Окна: что влияет на стоимость. */
.comfort-factors-section {
  background-color: var(--_colors---core-neutral-color--navy, #01121c) !important;
  color: #ffffff;
}

.comfort-factors-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.comfort-factors-intro .section-title {
  color: #ffffff;
}

.comfort-factors-intro .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.comfort-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 20px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.12);
}

.comfort-factor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 22px;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
}

.comfort-factor-n {
  color: #4d8bff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.comfort-factor b {
  font-size: 18px;
  font-weight: 500;
}

.comfort-factor span:last-child {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
  .comfort-factors-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .comfort-factors {
    grid-template-columns: minmax(0, 1fr);
  }
}

.comfort-factor > * {
  margin: 0;
}

.comfort-factor {
  gap: 8px;
  justify-content: flex-start;
}

/* Каталог: преимущество и цена в карточке. */
.catalog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.catalog-card-benefit {
  font-size: 13px;
  line-height: 1.35;
  color: #525f70;
}

.catalog-card-price {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.catalog-card-price span {
  font-size: 12px;
  font-weight: 400;
  color: #6b7480;
}

.catalog-card-name {
  font-weight: 500;
}

/* Дополнительные блоки (ворота, балконы). */
.comfort-extra-section {
  padding-top: var(--_sizes---section--section-padding-vertical, 72px);
}

.comfort-extra-block + .comfort-extra-block {
  margin-top: var(--_sizes---section--section-padding-vertical, 72px);
}

.comfort-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-option {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background-color: #ffffff;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.1);
}

.comfort-option-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.comfort-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.comfort-option-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 24px;
}

.comfort-option-body b {
  font-size: 20px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.comfort-option-body span {
  font-size: 15px;
  line-height: 1.45;
  color: #525f70;
}

.comfort-includes {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px;
  background-color: #eef3ff;
}

.comfort-includes-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: inc;
}

.comfort-includes-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding-left: 34px;
}

.comfort-includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--_colors---core-neutral-color--blue, #1459fb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.comfort-includes-list b {
  font-size: 17px;
  font-weight: 500;
  color: var(--_colors---core-neutral-color--navy, #01121c);
}

.comfort-includes-list span {
  font-size: 14px;
  line-height: 1.4;
  color: #525f70;
}

.comfort-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.comfort-compare-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.12);
  background-color: #ffffff;
}

.comfort-compare-col.is-accent {
  border-color: transparent;
  background-color: var(--_colors---core-neutral-color--navy, #01121c);
  color: #ffffff;
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(20, 89, 251, 0.35) 0%, rgba(20, 89, 251, 0) 60%);
}

.comfort-compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.comfort-compare-head b {
  font-size: 26px;
  font-weight: 500;
}

.comfort-compare-head span {
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.comfort-compare-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comfort-compare-col li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.4;
}

.comfort-compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--_colors---core-neutral-color--blue, #1459fb);
}

.comfort-compare-for {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--comfort-theme-navy-rgb), 0.12);
  font-size: 14px;
  color: #525f70;
}

.comfort-compare-col.is-accent .comfort-compare-for {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
  .comfort-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .comfort-includes,
  .comfort-compare {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .comfort-includes-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.comfort-includes-list li > *,
.comfort-option-body > *,
.comfort-hero-benefits span > *,
.comfort-price-card > *,
.comfort-compare-col li {
  margin: 0;
}

/* Новые блоки: нормальный межстрочный интервал (у шаблона на body стоит 73 px). */
.comfort-injected,
.comfort-injected b,
.comfort-injected span,
.comfort-injected li {
  line-height: 1.4;
}

.comfort-injected .section-title {
  line-height: 1.1;
}

/* ===== ГЛАВНАЯ: «Четыре направления» и «Чем можем помочь» — подробнее (2026-11-09) ===== */
#services .service-detail .left-content-wrap.bottom { justify-content: flex-start; gap: 28px; }
.comfort-svc { display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.comfort-svc-lead { margin: 0; color: #fff; font-size: clamp(1.125rem, 1.4vw, 1.375rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.comfort-svc-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.comfort-svc-points li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.04); }
.comfort-svc-points li::before { content: ""; width: 22px; height: 22px; margin-bottom: 6px; border-radius: 50%; background: var(--_colors---core-neutral-color--blue, #1459fb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat; }
.comfort-svc-points b { color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; }
.comfort-svc-points span { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.4; }
.comfort-svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.comfort-svc-links > span { margin-right: 4px; color: rgba(255,255,255,.5); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.comfort-svc-links a { padding: 7px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; font-size: 14px; line-height: 1.2; text-decoration: none; transition: background-color .2s, border-color .2s; }
.comfort-svc-links a:hover, .comfort-svc-links a:focus-visible { border-color: var(--_colors---core-neutral-color--blue, #1459fb); background: var(--_colors---core-neutral-color--blue, #1459fb); }
#services .service-detail .service-image-wrap { height: 100%; min-height: 340px; }
#services .service-detail .service-image-wrap img { height: 100%; object-fit: cover; }

.comfort-dir-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(1,18,28,.1); }
.comfort-dir-price { display: flex; flex-direction: column; gap: 2px; }
.comfort-dir-price b { color: var(--_colors---core-neutral-color--navy, #01121c); font-size: 22px; font-weight: 500; line-height: 1.1; white-space: nowrap; letter-spacing: -0.01em; }
.comfort-dir-price span { color: rgba(1,18,28,.55); font-size: 13px; line-height: 1.3; }
.comfort-dir-more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--_colors---core-neutral-color--blue, #1459fb); color: #fff; font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; transition: transform .2s; }
.comfort-dir-more svg { width: 16px; height: 16px; transition: transform .2s; }
#directions .project-card-wrapper:hover .comfort-dir-more svg { transform: translateX(3px); }
#directions .right-content-wrap.card-project, #directions .title-description-wrap.card-project { display: flex; flex-direction: column; height: 100%; }
#directions .title-description-wrap.card-project .comfort-dir-foot { margin-top: auto; }
#directions .title-description-wrap.card-project .comfort-card-benefits { margin-bottom: 20px; }

@media (max-width: 991px) {
  .comfort-svc-points { grid-template-columns: 1fr; }
  .comfort-svc-points li { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; padding: 12px 14px; }
  .comfort-svc-points li::before { display: none; }
  #services .service-detail .service-image-wrap { min-height: 240px; }
}
@media (max-width: 479px) {
  .comfort-dir-foot { flex-wrap: wrap; align-items: center; }
  .comfort-dir-price b { font-size: 20px; }
}
#services .comfort-svc .comfort-svc-lead, #services .comfort-svc-points b { color: #fff; }
#services .comfort-svc-points span { color: rgba(255,255,255,.62); }
#services .comfort-svc-points li { color: #fff; list-style: none; }
#directions .right-content-wrap.card-project { min-width: 0; }
#directions .title-description-wrap.card-project { width: 100%; min-width: 0; }
#directions .title-description-wrap.card-project > * { max-width: 100%; }
@media (min-width: 992px) and (max-width: 1199px) {
  #directions .comfort-dir-foot { flex-wrap: wrap; align-items: center; }
}

/* Аккордеон «Четыре направления» (2026-11-09) */
#services.comfort-acc .service-detail { overflow: hidden; transition: height .45s cubic-bezier(.2,.7,.2,1); transform: none !important; }
#services.comfort-acc .title-number-service { cursor: pointer; }
#services.comfort-acc .title-number-service:focus-visible { outline: 2px solid var(--_colors---core-neutral-color--blue, #1459fb); outline-offset: 6px; border-radius: 4px; }
#services.comfort-acc .title-number-service { position: relative; padding-right: 64px; }
#services.comfort-acc .title-number-service::after { content: ""; position: absolute; right: 0; top: 50%; margin-top: -20px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M14 20h12M20 14v12' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 40px 40px no-repeat; transition: transform .3s, background-color .3s, border-color .3s; }
#services.comfort-acc .service-card-wrap.is-open .title-number-service::after { transform: rotate(45deg); background-color: var(--_colors---core-neutral-color--blue, #1459fb); border-color: var(--_colors---core-neutral-color--blue, #1459fb); }
#services.comfort-acc .title-number-service:hover::after { border-color: #fff; }
@media (max-width: 479px) { #services.comfort-acc .title-number-service::after { width: 32px; height: 32px; margin-top: -16px; background-size: 32px 32px; } #services.comfort-acc .title-number-service { padding-right: 48px; } }

/* Фото первого экрана: на широких экранах шаблон ограничивал высоту 420 px, рамка была выше */
.service-hero-media img, .service-hero-media > img, .service-hero-img { height: 100% !important; max-height: none !important; }

/* Сетки карточек: на широких экранах не больше 4 колонок, без пустых колонок справа */
.product-cards-grid, .catalog-cards-grid { grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 120px) / 4)), 1fr)); }
.service-gallery-grid { grid-template-columns: repeat(auto-fit, minmax(max(260px, calc((100% - 120px) / 4)), 1fr)); }

/* Шапка на телефоне и планшете: воздух сверху и снизу, кнопка телефона не упирается в края */
@media (max-width: 991px) {
  .navbar-wrapper .navbar-content { min-height: 64px; padding-block: 10px; align-items: center; }
  .navbar-wrapper .comfort-nav-phone,
  .navbar-wrapper .comfort-nav-actions > .comfort-nav-phone { width: 42px; height: 42px; }
}
#services .service-detail .service-image-wrap img.image.what-homepage { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
#services .service-detail .service-image-wrap { position: relative; width: 100%; }
#services .service-detail .service-image-wrap img.image.what-homepage { position: absolute; inset: 0; max-height: none; }
#services .service-detail .right-content-wrap { justify-content: flex-end; }
#services .service-detail .service-image-wrap { max-width: 640px; margin-left: auto; }

/* ===== Первый экран внутренних страниц: равные колонки, крупнее фото, нормальный интервал (2026-11-09) ===== */
@media (min-width: 992px) {
  html body .service-hero-section .service-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 4.5vw, 96px); align-items: center; }
  html body .service-hero-section .service-hero-content { gap: clamp(16px, 1.4vw, 24px); }
  html body .service-hero-section .service-hero-title { max-width: 100%; font-size: clamp(2.5rem, 3.5vw, 4.25rem); line-height: 1.04; }
  html body .service-hero-section .service-hero-desc { max-width: 34em; font-size: clamp(1.0625rem, 1.15vw, 1.375rem); line-height: 1.5; }
  html body .service-hero-section .comfort-hero-benefits { width: 100%; max-width: 760px; }
  html body .service-hero-section .service-hero-media { aspect-ratio: 4 / 3; max-height: calc(100vh - 160px); width: 100%; }
}
@media (max-width: 991px) {
  html body .service-hero-section .service-hero-desc { line-height: 1.5; }
}
@media (min-width: 1440px) {
  html body .service-hero-section .comfort-hero-benefits { gap: 18px 28px; margin: 8px 0 12px; }
  html body .service-hero-section .comfort-hero-benefits b { font-size: clamp(16px, 1vw, 19px); }
  html body .service-hero-section .comfort-hero-benefits span { font-size: clamp(14px, .85vw, 16px); }
  html body .service-hero-section .comfort-ben-ico { width: 22px; height: 22px; }
  html body .service-hero-section .comfort-hero-price-val { font-size: clamp(28px, 1.8vw, 34px); }
  html body .service-hero-section .comfort-hero-price-unit { font-size: 14px; }
}
.comfort-nowrap { display: inline-block; white-space: nowrap; }

/* Единые начертания (2026-11-09): 400 — текст и заголовки, 500 — акценты, 800 — только логотип */
html body b, html body strong { font-weight: 500; }

/* Отступ от шапки до первого экрана — как на главной (2026-11-09) */
html body .service-hero-section { padding-top: clamp(16px, 2vw, 40px); padding-bottom: clamp(40px, 4vw, 80px); }

/* ===== Логотип: строки одной ширины, знак по высоте текста (2026-11-09) ===== */
html body .comfort-brand { display: inline-grid; grid-auto-rows: auto; row-gap: .16em; align-items: start; line-height: 1; letter-spacing: .06em; }
html body .comfort-brand-top { display: block; margin-right: -.06em; }
html body .comfort-brand-small { display: flex; justify-content: space-between; margin: 0; font-size: .74em; letter-spacing: 0; line-height: 1; }
html body .comfort-brand-mark,
html body .navbar-content .comfort-brand-mark { width: auto; height: calc(clamp(13px, 1.45vw, 21px) * 1.62); }
html body #footer .comfort-brand-mark-footer { width: auto; height: calc(clamp(17px, 2.3vw, 28px) * 1.62); }
html body .brand-logo-link, html body .logo-brand.footer > a, html body #footer .brand-logo-link { align-items: center; }
html body img.comfort-brand-mark { border-radius: 0; object-fit: contain; overflow: visible; }
html body .navbar-content .comfort-brand { font-size: clamp(14px, 1.45vw, 21px); }
html body .navbar-content .comfort-brand-mark { height: calc(clamp(14px, 1.45vw, 21px) * 1.62); }

/* =====================================================================
   УДОБСТВО ДЛЯ ВСЕХ ВОЗРАСТОВ (2026-11-09): размеры текста, цели нажатия,
   контраст, фокус, мобильное меню, нижняя панель, широкие экраны
   ===================================================================== */

/* Видимый фокус с клавиатуры на всех элементах управления */
html body a:focus-visible, html body button:focus-visible, html body input:focus-visible,
html body select:focus-visible, html body textarea:focus-visible, html body [tabindex]:focus-visible, html body summary:focus-visible {
  outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb); outline-offset: 3px; border-radius: 6px;
}
#footer a:focus-visible, .navy a:focus-visible { outline-color: #fff; }

/* Контраст подписей */
html body .comfort-hero-price-unit, html body .comfort-dir-price span { color: #555f6c; }
#home .description-wrap.gray .text-s { color: #fff; }

/* Мелкие подписи на компьютере — не меньше 13–14 px */
html body .crumb-sep, html body .breadcrumbs { font-size: 14px; }
html body .comfort-prod-badge, html body .product-card-badge { font-size: 13px; }
html body .comfort-price-card span, html body .comfort-hero-price-unit { font-size: max(14px, 1em); }

/* Подвал: строки ссылок удобной высоты */
#footer a { min-height: 40px; display: inline-flex; align-items: center; }
#footer .comfort-footer-contacts a { min-height: 44px; }

/* Мобильное меню: ровные строки, телефоны и кнопки на всю ширину */
@media (max-width: 991px) {
  html body .menu-in-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  html body .menu-link-hamburger { display: flex; flex-direction: column; gap: 0; }
  html body .menu-offcanvas-wrap, html body .menu-offcanvas-wrap.none { display: block; margin: 0; padding: 0; }
  html body .menu-links-navbar.hamburger { display: flex; align-items: center; min-height: 52px; padding: 0; border-bottom: 1px solid rgba(1,18,28,.08); }
  html body .menu-links-navbar.hamburger .text-m { font-size: 20px; line-height: 1.2; }
  html body .menu-in-bottom-content { gap: 18px; }
  html body .contact-item-navbar { display: flex; flex-direction: column; gap: 2px; }
  html body .contact-item-navbar .text-sm { font-size: 13px; letter-spacing: .04em; color: #555f6c; }
  html body .contact-item-navbar .contact-link { display: inline-flex; align-items: center; min-height: 44px; }
  html body .contact-item-navbar .contact-link .text-s { font-size: 20px; }
  html body .menu-credits { display: flex; flex-direction: column; gap: 10px; width: 100%; }
  html body .menu-credits .button-link-wrapper, html body .menu-credits .primary-button-wrap, html body .menu-credits .secondary-button-wrap { width: 100%; }
  html body .menu-credits .primary-button-wrap, html body .menu-credits .secondary-button-wrap { min-height: 54px; justify-content: center; }
  html body .menu-action { width: 100%; }
}

/* Телефон: крупнее текст, удобнее нажатие */
@media (max-width: 767px) {
  html body .text-s { font-size: 15px; }
  html body .text-s.tag { font-size: 14px; }
  html body .comfort-footer-label, html body #footer .text-s { font-size: 14px; }
  html body #footer a .text-s, html body #footer .comfort-footer-contacts .text-s { font-size: 16px; }
  html body .breadcrumbs, html body .crumb-current, html body .crumb-sep { font-size: 14px; }
  html body .breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }
  html body .comfort-related-link, html body .catalog-card-benefit, html body .comfort-card-chip { font-size: 15px; }
  html body .comfort-hero-price-unit, html body .product-spec-val, html body .product-spec-name { font-size: 14px; }
  html body .comfort-prod-badge, html body .product-card-badge { font-size: 13px; }
  html body .brand-logo-link { min-height: 44px; }
  html body .navbar-wrapper .comfort-nav-phone, html body .navbar-wrapper .comfort-nav-actions > .comfort-nav-phone { width: 44px; height: 44px; }
  html body .comfort-svc-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
  html body #services.comfort-acc .title-number-service { min-height: 44px; align-items: center; }
  html body .button-link-wrapper .primary-button-wrap, html body .button-link-wrapper .secondary-button-wrap,
  html body .btn-primary-custom, html body .service-btn-primary, html body .comfort-dir-more { min-height: 50px; }
  html body .page-cta-phone { min-height: 48px; }
  html body #footer a { min-height: 44px; }
  html body input, html body select, html body textarea { font-size: 16px; }
}

/* Нижняя панель «Позвонить / Оставить заявку» (только телефон) */
.comfort-mbar { display: none; }
@media (max-width: 767px) {
  .comfort-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); box-shadow: 0 -6px 24px rgba(1,18,28,.12);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
    transition: transform .3s ease;
  }
  .comfort-mbar.is-hidden { transform: translateY(110%); }
  .comfort-mbar a, .comfort-mbar button { font: inherit; border: 0; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; font-size: 17px; font-weight: 500; line-height: 1; text-decoration: none; }
  .comfort-mbar-call { border: 1.5px solid var(--_colors---core-neutral-color--blue, #1459fb); color: var(--_colors---core-neutral-color--blue, #1459fb); background: #fff; }
  .comfort-mbar-lead { background: var(--_colors---core-neutral-color--blue, #1459fb); color: #fff; }
  body.has-mbar #footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* Меньше движения для тех, кто отключил анимации в системе */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 991px) {
  html body .menu-link-hamburger, html body .menu-link-hamburger._01 { gap: 0; width: 100%; }
  html body .menu-offcanvas-wrap, html body .menu-links-navbar.hamburger { width: 100%; }
  html body .menu-credits .secondary-button-wrap .button-secondary-wrapper,
  html body .menu-credits .primary-button-wrap .button-primary-wrapper { width: 100%; display: flex; justify-content: center; align-items: center; }
  html body .menu-credits .secondary-button-wrap, html body .menu-credits .primary-button-wrap { display: flex; align-items: center; }
}
.comfort-mbar a:hover, .comfort-mbar a:focus, .comfort-mbar a:active { text-decoration: none; }
.comfort-mbar .comfort-mbar-lead, .comfort-mbar .comfort-mbar-lead:hover, .comfort-mbar .comfort-mbar-lead:focus, .comfort-mbar .comfort-mbar-lead:active { color: #fff; }
.comfort-mbar .comfort-mbar-call, .comfort-mbar .comfort-mbar-call:hover, .comfort-mbar .comfort-mbar-call:focus { color: var(--_colors---core-neutral-color--blue, #1459fb); }
@media (max-width: 991px) {
  html body .menu-links-navbar.hamburger, html body .menu-links-navbar.hamburger .text-link-menu { justify-content: flex-start; text-align: left; }
}
@media (max-width: 767px) { html body #footer a { white-space: nowrap; } }
/* Удобство: точные селекторы, чтобы перебить правила шаблона */
html body .catalog-card-price span { font-size: 14px; }
html body .breadcrumbs .crumb-sep { font-size: 14px; }
@media (max-width: 767px) {
  html body #footer .footer-link > a { min-height: 44px; padding-block: 0; }
  html body #footer .footer-link-title .text-s, html body #footer .text-credit-navbar .text-s, html body #footer .text-credit-navbar { font-size: 14px; }
  html body .page-cta-actions .text-s { font-size: 15px !important; }
  html body #footer .comfort-footer-contacts .contact-link, html body #footer a.contact-link { min-height: 44px; display: inline-flex; align-items: center; }
}
html body .comfort-dir-price span { font-size: 14px; }
@media (max-width: 767px) {
  html body .comfort-svc-links > span, html body .catalog-card-arrow { font-size: 14px; }
  html body .catalog-card-arrow { font-size: 15px; }
  html body #footer .footer-link > a { min-width: 44px; }
  html body a.contact-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ===== Широкие и средние экраны (2026-11-09): шаблон масштабировал текст и отступы
   по ширине окна (1,2vw): на 1024 px подписи 12 px, на 2560 px — 31 px.
   Теперь растут только в разумных пределах. ===== */
@media (min-width: 992px) {
  html:root, html body {
    --_typography---text-xxs--xxs-text-size: clamp(12px, .8vw, 13.5px);
    --_typography---text-xxs--xxs-text-line-height: 1.6;
    --_typography---text-xs--xs-text-size: clamp(13px, .9vw, 15px);
    --_typography---text-xs--xs-text-line-height: 1.55;
    --_typography---text-sm--sm-text-size: clamp(14px, 1vw, 16px);
    --_typography---text-sm--sm-text-line-height: 1.6;
    --_typography---text-s--s-text-size: clamp(15px, 1.2vw, 19px);
    --_typography---text-s--s-text-line-height: 1.42;
    --_typography---text-ms--ms-text-size: clamp(17px, 1.5vw, 23px);
    --_typography---text-ms--ms-text-line-height: 1.36;
    --_typography---text-m--m-text-size: clamp(21px, 2vw, 30px);
    --_typography---text-m--m-text-line-height: 1.26;
    --_typography---text-l--l-text-size: clamp(28px, 3vw, 46px);
    --_typography---text-l--l-text-line-height: 1.17;
    --_typography---text-xl--xl-text-size: clamp(38px, 4.5vw, 66px);
    --_typography---text-xl--xl-text-line-height: 1.13;
    --_typography---text-xxl--xxl-text-size: clamp(44px, 5.2vw, 82px);
    --_typography---text-xxl--xxl-text-line-height: 1.1;
  }
  html body { font-size: var(--_typography---text-s--s-text-size); line-height: 1.45; }
}
@media (min-width: 1880px) {
  html body .main-container, html body .w-container.main-container { max-width: 1840px; margin-left: auto; margin-right: auto; }
  html body .navbar-wrapper .padding-global { max-width: 1840px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 992px) {
  html:root, html body {
    --_sizes---spacing--xs-spacing: min(2.5vw, 44.0px);
    --_sizes---spacing--super-tiny-spacing: min(.55vw, 9.7px);
    --_sizes---spacing--tiny-spacing: min(1vw, 17.6px);
    --_sizes---spacing--xxs-spacing: min(2vw, 35.2px);
    --_sizes---spacing--xxxs-spacing: min(1.55vw, 27.3px);
    --_sizes---spacing--sm-spacing: min(3.5vw, 61.6px);
    --_sizes---spacing--ml-spacing: min(6.2vw, 109.1px);
    --_sizes---spacing--s-spacing: min(3.1vw, 54.6px);
    --_sizes---spacing--md-spacing: min(4vw, 70.4px);
    --_sizes---spacing--lg-spacing: min(8vw, 140.8px);
    --_sizes---spacing--xl-spacing: min(10vw, 176.0px);
    --_sizes---spacing--xxl-spacing: min(12vw, 211.2px);
    --_sizes---spacing--large-spacing: min(14.5vw, 255.2px);
    --_sizes---spacing--super-large-spacing: min(16.5vw, 290.4px);
  }
}

/* Планшет 768–991: нижние пределы размеров текста */
@media (min-width: 768px) and (max-width: 991px) {
  html body {
    --_typography---text-xxs--xxs-text-size: max(12px, 1vw);
    --_typography---text-xs--xs-text-size: max(13px, 1.1vw);
    --_typography---text-s--s-text-size: max(15px, 1.6vw);
    --_typography---text-ms--ms-text-size: max(17px, 2vw);
    --_typography---text-m--m-text-size: max(20px, 2.5vw);
    --_typography---text-l--l-text-size: max(26px, 3.5vw);
    --_typography---text-xl--xl-text-size: max(34px, 4.5vw);
    --_typography---text-xxl--xxl-text-size: max(40px, 6vw);
    --_typography---text-sm--sm-text-size: max(14px, 1.3vw);
    --_typography---text-xxs--xxs-text-line-height: 1.6;
    --_typography---text-xs--xs-text-line-height: 1.55;
    --_typography---text-s--s-text-line-height: 1.45;
    --_typography---text-ms--ms-text-line-height: 1.4;
    --_typography---text-m--m-text-line-height: 1.3;
    --_typography---text-l--l-text-line-height: 1.2;
    --_typography---text-xl--xl-text-line-height: 1.15;
    --_typography---text-xxl--xxl-text-line-height: 1.1;
    --_typography---text-sm--sm-text-line-height: 1.6;
  }
  html body { font-size: var(--_typography---text-s--s-text-size); line-height: 1.45; }
  html body p { font-size: max(15px, 1em); }
}
@media (max-width: 767px) { html body .comfort-mbar .comfort-mbar-call { border: 1.5px solid var(--_colors---core-neutral-color--blue, #1459fb); } }
/* Открытое меню: блокируем прокрутку только на html. overflow:hidden на body
   отклеивал липкую шапку, и меню оказывалось в начале страницы. */
html body.mobile-menu-open { overflow: visible !important; }
html.mobile-menu-open { overflow: hidden !important; }

/* ===== Горизонтальные ленты на телефоне (2026-11-09): карточки листаются пальцем,
   следующая выглядывает с края, страница не растягивается. ===== */
@media (max-width: 767px) {
  html body .comfort-ribbon {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 12px !important;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px;
    grid-template-columns: none !important;
  }
  html body .comfort-ribbon::-webkit-scrollbar { display: none; }
  html body .comfort-ribbon > * { flex: 0 0 84%; max-width: 84%; min-width: 0; scroll-snap-align: start; margin: 0 !important; }
  html body .comfort-ribbon.is-narrow > * { flex-basis: 72%; max-width: 72%; }
  html body .comfort-ribbon-dots { display: flex; justify-content: center; gap: 8px; margin: 10px 0 0; padding: 0; }
  html body .comfort-ribbon-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(1,18,28,.18); cursor: pointer; transition: width .25s, background-color .25s; position: relative; }
  html body .comfort-ribbon-dots button::after { content: ""; position: absolute; inset: -16px -6px; }
  html body .comfort-ribbon-dots button.is-on { width: 22px; background: var(--_colors---core-neutral-color--blue, #1459fb); }
  html body .navy .comfort-ribbon-dots button, html body .comfort-factors-section .comfort-ribbon-dots button { background: rgba(255,255,255,.25); }
  html body .navy .comfort-ribbon-dots button.is-on { background: #fff; }
  /* Карточки внутри ленты одной высоты */
  html body .comfort-ribbon > * > .project-card-wrapper, html body .comfort-ribbon > * > a { height: 100%; }
  /* Каталог: две колонки вместо одной */
  html body .catalog-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html body .catalog-cards-grid .catalog-card-name { font-size: 15px; line-height: 1.3; }
}
@media (max-width: 767px) {
  html body .comfort-ribbon > *, html body .comfort-ribbon > * > * { opacity: 1 !important; transform: none !important; visibility: visible !important; }
  html body .catalog-cards-grid .catalog-card-price { display: block; font-size: 17px; line-height: 1.25; }
  html body .catalog-cards-grid .catalog-card-price span { display: block; margin-top: 2px; font-size: 14px; }
}

/* ===== Иконки преимуществ в стиле сайта вместо синих кружков-галочек (2026-11-09) ===== */
html body .comfort-hero-benefits img.comfort-ben-ico { width: 28px; height: 28px; flex: none; margin-top: -2px; border-radius: 0; object-fit: contain; }
@media (min-width: 1440px) { html body .service-hero-section .comfort-hero-benefits img.comfort-ben-ico { width: 32px; height: 32px; } }
html body .comfort-svc-points li::before { display: none; }
html body .comfort-svc-points img.comfort-svc-ico { width: 32px; height: 32px; margin-bottom: 6px; border-radius: 0; object-fit: contain; }
@media (max-width: 991px) { html body .comfort-svc-points img.comfort-svc-ico { width: 26px; height: 26px; margin: 0 4px 0 0; align-self: center; } }
/* Фирменная галочка в списках */
html body .comfort-card-benefits li::before,
html body .content-article-box ul > li::before,
html body .comfort-includes-list li::before {
  background: url("../images/comfort-ben-check.png") center / contain no-repeat !important;
  border-radius: 0 !important; width: 22px; height: 22px;
}
html body .comfort-aside-card .comfort-card-benefits li::before { background-image: url("../images/comfort-ben-check-light.png") !important; }
html body .comfort-hero-benefits img.comfort-ben-ico { width: 34px !important; height: 34px !important; margin-top: -4px; }
html body .comfort-hero-benefits li { gap: 12px; }
html body .comfort-svc-points img.comfort-svc-ico { width: 38px; height: 38px; }
html body .comfort-card-benefits li::before, html body .content-article-box ul > li::before, html body .comfort-includes-list li::before { width: 22px !important; height: 22px !important; }
@media (max-width: 767px) { html body .comfort-hero-benefits img.comfort-ben-ico { width: 32px !important; height: 32px !important; } }

/* ===== Иконки преимуществ: набор Lucide (ISC) в плашках как в полосе доверия (2026-11-09) ===== */
html body .comfort-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(20, 89, 251, 0.08); color: var(--_colors---core-neutral-color--blue, #1459fb); }
html body .comfort-ico svg { width: 22px; height: 22px; display: block; }
html body .comfort-hero-benefits li { align-items: flex-start; gap: 14px; }
html body .comfort-hero-benefits .comfort-ico { margin-top: 0; }
html body .comfort-hero-benefits li > span { padding-top: 1px; }
@media (min-width: 1440px) { html body .service-hero-section .comfort-hero-benefits .comfort-ico { width: 44px; height: 44px; } html body .service-hero-section .comfort-hero-benefits .comfort-ico svg { width: 24px; height: 24px; } }
/* «Четыре направления» на тёмном фоне */
html body .comfort-svc-points .comfort-ico { width: 40px; height: 40px; margin-bottom: 8px; background: rgba(20, 89, 251, 0.22); color: #a9c3ff; }
@media (max-width: 991px) { html body .comfort-svc-points .comfort-ico { width: 34px; height: 34px; margin: 0 6px 0 0; align-self: center; border-radius: 10px; } html body .comfort-svc-points .comfort-ico svg { width: 18px; height: 18px; } }
/* Галочки в списках: та же плашка, линия Lucide */
html body .comfort-card-benefits li::before,
html body .content-article-box ul > li::before,
html body .comfort-includes-list li::before {
  background: rgba(20, 89, 251, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231459FB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
  border-radius: 7px !important; width: 22px !important; height: 22px !important;
}
html body .comfort-aside-card .comfort-card-benefits li::before {
  background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
}
html body .comfort-svc-points .comfort-ico { background: rgba(20, 89, 251, 0.3); color: #dbe6ff; }

/* ===== Иконки преимуществ: свой набор, сгенерирован одним листом 5×5 в ChatGPT (2026-11-09) ===== */
html body .comfort-ico::before { content: ""; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--ci) center / contain no-repeat; mask: var(--ci) center / contain no-repeat; }
@media (min-width: 1440px) { html body .service-hero-section .comfort-hero-benefits .comfort-ico::before { width: 26px; height: 26px; } }
@media (max-width: 991px) { html body .comfort-svc-points .comfort-ico::before { width: 20px; height: 20px; } }
html body .ci-care { --ci: url("../images/comfort-mark-care.png"); }
html body .ci-check { --ci: url("../images/comfort-mark-check.png"); }
html body .ci-color { --ci: url("../images/comfort-mark-color.png"); }
html body .ci-curtain { --ci: url("../images/comfort-mark-curtain.png"); }
html body .ci-eco { --ci: url("../images/comfort-mark-eco.png"); }
html body .ci-fade { --ci: url("../images/comfort-mark-fade.png"); }
html body .ci-gate { --ci: url("../images/comfort-mark-gate.png"); }
html body .ci-levels { --ci: url("../images/comfort-mark-levels.png"); }
html body .ci-light { --ci: url("../images/comfort-mark-light.png"); }
html body .ci-nodust { --ci: url("../images/comfort-mark-nodust.png"); }
html body .ci-premium { --ci: url("../images/comfort-mark-premium.png"); }
html body .ci-price { --ci: url("../images/comfort-mark-price.png"); }
html body .ci-quality { --ci: url("../images/comfort-mark-quality.png"); }
html body .ci-quiet { --ci: url("../images/comfort-mark-quiet.png"); }
html body .ci-remote { --ci: url("../images/comfort-mark-remote.png"); }
html body .ci-safety { --ci: url("../images/comfort-mark-safety.png"); }
html body .ci-seamless { --ci: url("../images/comfort-mark-seamless.png"); }
html body .ci-service { --ci: url("../images/comfort-mark-service.png"); }
html body .ci-size { --ci: url("../images/comfort-mark-size.png"); }
html body .ci-sketch { --ci: url("../images/comfort-mark-sketch.png"); }
html body .ci-time { --ci: url("../images/comfort-mark-time.png"); }
html body .ci-warm { --ci: url("../images/comfort-mark-warm.png"); }
html body .ci-water { --ci: url("../images/comfort-mark-water.png"); }
html body .ci-window { --ci: url("../images/comfort-mark-window.png"); }
html body .ci-zone { --ci: url("../images/comfort-mark-zone.png"); }
html body .comfort-card-benefits li::before, html body .content-article-box ul > li::before, html body .comfort-includes-list li::before { background: rgba(20, 89, 251, 0.1) url("../images/comfort-mark-check-blue.png") center / 13px 13px no-repeat !important; }
html body .comfort-aside-card .comfort-card-benefits li::before { background: rgba(255, 255, 255, 0.12) url("../images/comfort-mark-check-white.png") center / 13px 13px no-repeat !important; }
html body .comfort-ico::before { width: 28px; height: 28px; }
@media (min-width: 1440px) { html body .service-hero-section .comfort-hero-benefits .comfort-ico::before { width: 30px; height: 30px; } }
@media (max-width: 991px) { html body .comfort-svc-points .comfort-ico::before { width: 24px; height: 24px; } }

/* ===== Шапка: свои иконки трубки, меню и крестика (лист 3×3 из ChatGPT), 2026-11-09 ===== */
html body .comfort-nav-phone .comfort-nav-phone-icon { display: none; }
html body .comfort-nav-phone::before { content: ""; flex: none; width: 20px; height: 20px; background-color: var(--_colors---core-neutral-color--blue, #1459fb); -webkit-mask: url("../images/comfort-ui-phone.png") center / contain no-repeat; mask: url("../images/comfort-ui-phone.png") center / contain no-repeat; }
/* Кнопка меню: плашка с иконкой вместо полосок шаблона */
html body .hamburger-item .line-hamburger { display: none !important; }
html body .hamburger-item { display: inline-flex; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; min-width: 44px; margin: 0 !important; border-radius: 12px; background: rgba(20, 89, 251, 0.08) url("../images/comfort-ui-menu-color.png") center / 24px 24px no-repeat; cursor: pointer; transition: background-color .2s; }
html body .hamburger-item:hover { background-color: rgba(20, 89, 251, 0.14); }
/* Крестик в открытом меню */
html body .menu-close-button .close-icon img.close { opacity: 0; }
html body .menu-close-button .close-icon { position: relative; }
html body .menu-close-button .close-icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background-color: #fff; -webkit-mask: url("../images/comfort-ui-close.png") center / contain no-repeat; mask: url("../images/comfort-ui-close.png") center / contain no-repeat; }
/* Телефон: на планшете и телефоне — синяя кнопка */
@media (max-width: 1279px) {
  html body .navbar-wrapper .comfort-nav-phone { justify-content: center; border-radius: 12px; background: var(--_colors---core-neutral-color--blue, #1459fb); color: #fff; }
  html body .navbar-wrapper .comfort-nav-phone::before { background-color: #fff; }
}
@media (max-width: 767px) {
  html body .navbar-wrapper .comfort-nav-phone, html body .navbar-wrapper .comfort-nav-actions > .comfort-nav-phone { width: auto; min-width: 44px; height: 44px; padding: 0 14px 0 12px; gap: 8px; }
  html body .navbar-wrapper .comfort-nav-phone::after { content: "Позвонить"; font-size: 15px; font-weight: 500; line-height: 1; color: #fff; }
  html body .navbar-wrapper .comfort-nav-actions { gap: 8px; }
  html body .navbar-wrapper { box-shadow: 0 8px 18px -14px rgba(1, 18, 28, 0.35); }
}
@media (max-width: 374px) {
  html body .navbar-wrapper .comfort-nav-phone, html body .navbar-wrapper .comfort-nav-actions > .comfort-nav-phone { width: 44px; padding: 0; }
  html body .navbar-wrapper .comfort-nav-phone::after { content: none; }
}
html body .hamburger-wrap { display: flex; align-items: center; line-height: 0; }
@media (max-width: 991px) { html body .navbar-wrapper .navbar-content { min-height: 64px; } }
html body .comfort-mbar-call svg { display: none; }
html body .comfort-mbar-call::before { content: ""; flex: none; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: url("../images/comfort-ui-phone.png") center / contain no-repeat; mask: url("../images/comfort-ui-phone.png") center / contain no-repeat; }

/* =====================================================================
   ОКНО ЗАЯВКИ И КВИЗ (2026-11-09)
   ===================================================================== */
html.ik-modal-open { overflow: hidden; }
.ik-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ik-modal[hidden] { display: none; }
.ik-modal__backdrop { position: absolute; inset: 0; background: rgba(1, 18, 28, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; }
.ik-modal__panel { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(1, 18, 28, .45); padding: 36px 36px 28px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s ease; color: var(--_colors---core-neutral-color--navy, #01121c); font-family: var(--_typography---font--body-font); line-height: 1.4; }
.ik-modal.is-open .ik-modal__backdrop { opacity: 1; }
.ik-modal.is-open .ik-modal__panel { transform: none; opacity: 1; }
.ik-modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(20, 89, 251, 0.08); cursor: pointer; }
.ik-modal__close::before { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; background-color: var(--_colors---core-neutral-color--navy, #01121c); -webkit-mask: url("../images/comfort-ui-close.png") center / contain no-repeat; mask: url("../images/comfort-ui-close.png") center / contain no-repeat; }
.ik-modal__close:hover { background: rgba(20, 89, 251, 0.14); }
.ik-title { margin: 0 48px 10px 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: inherit; outline: none; }
.ik-sub { margin: 0 0 16px; font-size: 16px; line-height: 1.45; color: #4a5563; }
.ik-sub a, .ik-alt a { color: var(--_colors---core-neutral-color--blue, #1459fb); font-weight: 500; text-decoration: none; white-space: nowrap; }
.ik-perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.ik-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(20, 89, 251, 0.08); font-size: 14px; line-height: 1.2; }
.ik-perks li::before { content: ""; width: 16px; height: 16px; background: url("../images/comfort-mark-check-blue.png") center / 11px 11px no-repeat; }
.ik-form { display: flex; flex-direction: column; gap: 14px; }
.ik-field { display: flex; flex-direction: column; gap: 6px; }
.ik-label { font-size: 14px; font-weight: 500; color: #4a5563; }
.ik-label em { font-style: normal; font-weight: 400; color: #8a94a3; }
.ik-form input[type="tel"], .ik-form input[type="text"] { width: 100%; height: 56px; padding: 0 18px; border: 1.5px solid rgba(1, 18, 28, 0.14); border-radius: 14px; background: #fff; font: inherit; font-size: 18px; color: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.ik-form input[type="tel"]:focus, .ik-form input[type="text"]:focus { border-color: var(--_colors---core-neutral-color--blue, #1459fb); box-shadow: 0 0 0 4px rgba(20, 89, 251, 0.14); }
.ik-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ik-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; color: #4a5563; cursor: pointer; }
.ik-consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--_colors---core-neutral-color--blue, #1459fb); cursor: pointer; }
.ik-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ik-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; margin-top: 4px; border: 0; border-radius: 14px; background: var(--_colors---core-neutral-color--blue, #1459fb); color: #fff; font: inherit; font-size: 18px; font-weight: 500; cursor: pointer; transition: background-color .15s, transform .15s; }
.ik-btn:hover { background: #0d47d6; }
.ik-btn:active { transform: translateY(1px); }
.ik-btn[disabled] { opacity: .7; cursor: progress; }
.ik-btn--ghost { background: rgba(20, 89, 251, 0.08); color: var(--_colors---core-neutral-color--blue, #1459fb); }
.ik-btn--ghost:hover { background: rgba(20, 89, 251, 0.14); }
.ik-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff1f0; color: #b42318; font-size: 14px; }
.ik-alt { margin: 2px 0 0; text-align: center; font-size: 15px; color: #4a5563; }
.ik-done { text-align: center; padding: 8px 0 4px; }
.ik-done__ico { display: block; width: 64px; height: 64px; margin: 4px auto 16px; border-radius: 18px; background: rgba(20, 89, 251, 0.1) url("../images/comfort-mark-check-blue.png") center / 30px 30px no-repeat; }
.ik-done .ik-title { margin-right: 0; }
/* Квиз */
.ik-quiz__head { display: flex; flex-direction: column; gap: 10px; margin: 0 52px 18px 0; }
.ik-quiz__step { font-size: 14px; font-weight: 500; color: var(--_colors---core-neutral-color--blue, #1459fb); letter-spacing: .02em; }
.ik-quiz__bar { height: 6px; border-radius: 99px; background: rgba(20, 89, 251, 0.1); overflow: hidden; }
.ik-quiz__bar span { display: block; height: 100%; border-radius: inherit; background: var(--_colors---core-neutral-color--blue, #1459fb); transition: width .3s ease; }
.ik-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.ik-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 112px; padding: 16px; border: 1.5px solid rgba(1, 18, 28, 0.1); border-radius: 16px; background: #fff; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.25; text-align: left; color: inherit; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s; }
.ik-opt:hover, .ik-opt:focus-visible { border-color: var(--_colors---core-neutral-color--blue, #1459fb); background: rgba(20, 89, 251, 0.04); }
.ik-opt:active { transform: scale(.98); }
.ik-opt .comfort-ico { width: 40px; height: 40px; }
.ik-back { margin-top: 14px; padding: 10px 4px; border: 0; background: none; font: inherit; font-size: 15px; color: #4a5563; cursor: pointer; }
.ik-back:hover { color: var(--_colors---core-neutral-color--blue, #1459fb); }
.ik-summary { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #f6f7f9; list-style: none; font-size: 14px; color: #4a5563; }
.ik-summary b { font-weight: 500; color: var(--_colors---core-neutral-color--navy, #01121c); }
@media (max-width: 767px) {
  .ik-modal { align-items: flex-end; padding: 0; }
  .ik-modal__panel { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; padding: 26px 18px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .ik-modal.is-open .ik-modal__panel { transform: none; }
  .ik-title { font-size: 24px; }
  .ik-opt { min-height: 104px; padding: 14px; font-size: 15.5px; }
}
@media (max-width: 359px) { .ik-opts { grid-template-columns: 1fr; } .ik-opt { flex-direction: row; align-items: center; min-height: 64px; } }
/* Согласие и сообщения в подвальной форме */
#footer .ik-footer-consent { margin-top: 10px; color: rgba(255,255,255,.72); }
#footer .ik-footer-consent a { color: #fff; }
.ik-footer-msg { margin: 10px 0 0; font-size: 15px; color: rgba(255,255,255,.8); }
.ik-footer-msg:empty { display: none; }
.ik-footer-msg.is-ok { color: #8ff0b0; }
.ik-footer-msg.is-error { color: #ffb4ab; }
/* Подпись под кнопками первого экрана */
.comfort-quiz-note { margin: 12px 0 0; font-size: 15px; line-height: 1.4; color: #4a5563; max-width: 30em; }
html.ik-modal-open .comfort-mbar { display: none !important; }
/* Стрелки «Подробнее» вместо шрифта Material Icons — своя иконка из листа ChatGPT */
html body .text-s.icon { font-size: 0 !important; line-height: 0 !important; color: transparent; display: inline-block; width: 16px; height: 16px; background-color: var(--_colors---core-neutral-color--blue, #1459fb); -webkit-mask: url("../images/comfort-ui-arrowright.png") center / contain no-repeat; mask: url("../images/comfort-ui-arrowright.png") center / contain no-repeat; }
/* Юридические страницы */
.comfort-legal { padding-bottom: clamp(48px, 6vw, 96px); }
.comfort-legal-body { max-width: 760px; margin-top: 24px; font-size: 17px; line-height: 1.6; color: #2b3542; }
.comfort-legal-title { margin: 0 0 12px; font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; color: var(--_colors---core-neutral-color--navy, #01121c); }
.comfort-legal-lead { margin: 0 0 32px; font-size: 19px; color: #4a5563; }
.comfort-legal-body h2 { margin: 32px 0 10px; font-size: 22px; font-weight: 500; line-height: 1.25; color: var(--_colors---core-neutral-color--navy, #01121c); }
.comfort-legal-body p, .comfort-legal-body ul { margin: 0 0 12px; }
.comfort-legal-body ul { padding-left: 1.2em; }
.comfort-legal-body li { margin-bottom: 4px; }
.comfort-legal-body a { color: var(--_colors---core-neutral-color--blue, #1459fb); }
.comfort-legal-body ul > li::before { display: none !important; }
.comfort-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ik-hp { position: absolute !important; left: auto !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.comfort-quiz-note { max-width: 24em; text-wrap: balance; }

/* ===== Мессенджер Max (2026-11-09) ===== */
html body .comfort-max-nav { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(20, 89, 251, 0.08); transition: background-color .2s; }
html body .comfort-max-nav:hover { background: rgba(20, 89, 251, 0.14); }
html body .comfort-max-nav img { width: 26px; height: 26px; border-radius: 7px; }
@media (max-width: 767px) { html body .navbar-wrapper .comfort-max-nav { display: none; } }
html body .comfort-max-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 14px; padding: 0 18px 0 12px; border-radius: 14px; background: #fff; border: 1.5px solid rgba(1, 18, 28, 0.12); color: var(--_colors---core-neutral-color--navy, #01121c); font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; width: max-content; transition: border-color .2s, transform .2s; }
html body .comfort-max-btn:hover { border-color: var(--_colors---core-neutral-color--blue, #1459fb); }
html body .comfort-max-btn img { width: 28px; height: 28px; border-radius: 8px; flex: none; }
html body .comfort-max-btn--dark { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
html body .comfort-max-btn--dark:hover { border-color: #fff; }
html body .page-cta-actions .comfort-max-btn { justify-content: center; width: 100%; margin-top: 0; }
html body .ik-alt .ik-max { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
html body .ik-alt .ik-max img { border-radius: 5px; }
@media (max-width: 767px) {
  html body .comfort-mbar.has-max { grid-template-columns: 1fr 52px 1.2fr; }
  html body .comfort-mbar .comfort-mbar-max { padding: 0; border: 1.5px solid rgba(1, 18, 28, 0.12); background: #fff; }
  html body .comfort-mbar .comfort-mbar-max img { width: 30px; height: 30px; border-radius: 8px; }
}

/* ===== Форма в подвале: поле и кнопка в строку, согласие под ними (2026-11-09) ===== */
html body #footer .subscribe-form { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 14px; align-items: center; max-width: 640px; }
html body #footer .subscribe-form .field-subscribes { grid-column: 1; grid-row: 1; margin: 0; }
html body #footer .subscribe-form .button-tertiary.submit { grid-column: 2; grid-row: 1; margin: 0; }
html body #footer .subscribe-form .ik-footer-consent { grid-column: 1 / -1; grid-row: 2; margin: 0; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, 0.7); }
html body #footer .subscribe-form .ik-footer-consent input { width: 20px; height: 20px; border-radius: 5px; }
html body #footer .subscribe-form .ik-footer-consent span { white-space: normal; }
html body #footer .subscribe-form .ik-footer-msg { grid-column: 1 / -1; grid-row: 3; margin: 0; }
@media (max-width: 767px) {
  html body #footer .subscribe-form { grid-template-columns: 1fr; }
  html body #footer .subscribe-form .button-tertiary.submit { grid-column: 1; grid-row: 2; }
  html body #footer .subscribe-form .ik-footer-consent { grid-row: 3; align-items: flex-start; }
  html body #footer .subscribe-form .ik-footer-msg { grid-row: 4; }
}
html body #footer .subscribe-form .field-subscribes, html body #footer .subscribe-form .field-subscribes input { width: 100% !important; max-width: none !important; }
html body #footer .subscribe-form .ik-footer-consent { align-items: center !important; }
html body #footer .subscribe-form .ik-footer-consent input { margin: 0; flex: none; }
html body #footer .comfort-legal-links a { display: inline; min-height: 0 !important; padding: 6px 0; }
html body #footer .comfort-max-btn { margin-top: 18px; margin-bottom: 4px; }

/* ===== Первый экран главной: подпись у кнопок, ритм, плашка 3% (2026-11-09) ===== */
html body #home .comfort-quiz-note { margin-top: -26px; font-size: 16px; line-height: 1.45; color: #4a5563; max-width: 30em; }
html body #home .comfort-hero-points { margin-top: 0; }
@media (min-width: 992px) { html body #home .numbers-wrap.hero { right: 20px; bottom: 20px; } }
/* Рамка фокуса по форме кнопки, без сдвига */
html body .button-link-wrapper:focus-visible { outline: none; }
html body .button-link-wrapper:focus-visible > div { outline: 3px solid var(--_colors---core-neutral-color--blue, #1459fb); outline-offset: 3px; border-radius: 14px; }
@media (max-width: 991px) { html body #home .comfort-quiz-note { margin-top: -8px; font-size: 15px; } }
html body #home .hero-cta-wrap .secondary-button-wrap, html body #home .hero-cta-wrap .primary-button-wrap { display: flex; align-items: center; justify-content: center; }
html body #home .hero-cta-wrap .button-secondary-wrapper, html body #home .hero-cta-wrap .button-primary-wrapper { display: flex; align-items: center; }
/* Окно «Напишите нам в Max» и кнопки-«button» Max */
html body button.comfort-max-nav, html body button.comfort-max-btn, html body button.comfort-mbar-max, html body button.ik-max { font: inherit; cursor: pointer; }
html body button.comfort-max-nav { border: 0; padding: 0; }
html body .ik-alt button.ik-max { padding: 0; border: 0; background: none; color: var(--_colors---core-neutral-color--blue, #1459fb); font-weight: 500; font-size: inherit; }
.ik-max-head img { display: block; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; }
.ik-max-num { margin: 4px 0 16px; padding: 14px 18px; border-radius: 14px; background: #f6f7f9; font-size: 24px; font-weight: 500; letter-spacing: .01em; text-align: center; font-variant-numeric: tabular-nums; }
.ik-max-open { margin-top: 10px; text-decoration: none; }
html body .comfort-nav-cta, html body .comfort-nav-cta:hover, html body .comfort-nav-cta:focus, html body .comfort-nav-cta:active { color: #fff; }
/* Max в меню: под номером, надпись не сжимается стилями шаблона */
html body .contact-us-navbar { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 4px; }
html body .comfort-max-btn > span { display: inline !important; height: auto !important; line-height: 1.2 !important; white-space: nowrap !important; position: static !important; overflow: visible !important; opacity: 1 !important; transform: none !important; }
html body .contact-us-navbar .comfort-max-btn { margin-top: 10px; }

/* Первый экран страниц: цена рядом с кнопкой (2026-11-09) */
html body .service-hero-section .service-hero-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; gap: 14px 28px; width: auto; max-width: 100%; }
html body .service-hero-section .service-hero-actions > a { flex: none; width: auto; }
html body .service-hero-section .comfort-hero-price { display: flex; flex-direction: column; justify-content: center; gap: 2px; margin: 0; padding-left: 28px; border-left: 1px solid rgba(1, 18, 28, 0.12); }
html body .service-hero-section .comfort-hero-price-val { line-height: 1; }
@media (max-width: 479px) {
  html body .service-hero-section .service-hero-actions { gap: 14px 18px; }
  html body .service-hero-section .service-hero-actions > a { flex: 1 1 auto; }
  html body .service-hero-section .comfort-hero-price { padding-left: 18px; }
}
@media (max-width: 359px) { html body .service-hero-section .comfort-hero-price { border-left: 0; padding-left: 0; } }
