/* ============================================================================
   ОБЩИЕ СТИЛИ САЙТА «Независимая служба поверки»
   Новороссийск + Анапа — единый CSS для 4 типов страниц.

   Чтобы стили работали корректно, на каждой странице нужно проставить
   соответствующий класс на <body>:
     index.html (главная)                  → <body class="page-index">
     poverka-schetchikov-vody.html         → <body class="page-vody">
     poverka-teploschetchikov.html         → <body class="page-teplo">
     privacy.html                          → <body class="page-privacy">

   Структура файла:
     1. Базовые переменные и сброс
     2. Общие компоненты: топбар, шапка, бургер, мобильная навигация, футер
     3. Общие модальные окна: лайтбокс, callback, cookie-баннер
     4. Общие медиа-запросы для шапки/футера
     5. Стили главной страницы (.page-index)
     6. Стили страницы поверки воды (.page-vody)
     7. Стили страницы поверки теплосчётчиков (.page-teplo)
     8. Стили страницы политики (.page-privacy)
     9. Анимации
============================================================================ */


/* ============================================================================
   1. БАЗА: переменные, сброс, типографика
============================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1B4F8A;
  --blue-hover: #143D6B;
  --blue-light: #E8EFF7;
  --blue-muted: #6B8DB5;
  --warm: #B85C38;
  --warm-hover: #9A4C2E;
  --warm-light: #FBF0EB;
  --bg: #FAFBFC;
  --white: #FFFFFF;
  --card: #F4F6F8;
  --text: #2D3436;
  --text-secondary: #636E72;
  --border: #E2E8F0;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --font: 'Manrope', sans-serif;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }


/* ============================================================================
   2. ОБЩИЕ КОМПОНЕНТЫ
============================================================================ */

/* ----- Top bar ----- */
.topbar {
  background: var(--blue);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar span { white-space: nowrap; }
.topbar .dot { opacity: 0.4; }

/* ----- Header ----- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo { display: flex; flex-direction: column; flex-shrink: 0; }
.logo a { display: flex; flex-direction: column; }
.logo-name { font-size: 17px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.logo-sub { font-size: 11.5px; color: var(--text-secondary); margin-top: 1px; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--blue); }
.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.btn-callback {
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-callback:hover { background: var(--blue-hover); }
.burger { display: none; background: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ----- Mobile nav overlay ----- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-close { background: none; width: 32px; height: 32px; font-size: 24px; color: var(--text); }
.mobile-nav a { display: block; padding: 14px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav-phone { margin-top: auto; padding: 20px 0; text-align: center; }
.mobile-nav-phone a { font-size: 20px; font-weight: 700; color: var(--blue); border: none; }

/* ----- Footer ----- */
.footer {
  background: #1A2332;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-size: 17px; font-weight: 800; color: white; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.footer h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; transition: color var(--transition); }
.footer-links a:hover { color: white; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a, .footer-contacts span { font-size: 13.5px; }
.footer-contacts a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 12px; text-align: center; opacity: 0.6; }


/* ============================================================================
   3. МОДАЛЬНЫЕ ОКНА И ОВЕРЛЕИ
============================================================================ */

/* ----- Lightbox (просмотр изображений на весь экран) ----- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 35, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: lbFadeIn 0.2s ease;
}
.lightbox-overlay.open { display: flex; }
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

.zoomable {
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}
.zoomable:hover { opacity: 0.92; }

/* ----- Callback modal ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 35, 0.6);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFadeIn 0.2s ease;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modalSlide 0.25s ease;
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--card); color: var(--text); }
.modal-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-card .modal-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.modal-card .modal-form-group { margin-bottom: 12px; }
.modal-card input[type="text"],
.modal-card input[type="tel"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease;
  outline: none;
}
.modal-card input[type="text"]:focus,
.modal-card input[type="tel"]:focus {
  border-color: var(--blue);
}
.modal-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}
.modal-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}
.modal-consent a { color: var(--blue); text-decoration: underline; }
.modal-submit {
  width: 100%;
  background: var(--blue);
  color: white;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.modal-submit:hover { background: var(--blue-hover); }
.modal-submit:disabled {
  background: var(--blue-muted);
  cursor: not-allowed;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 16px 0 8px;
}
.modal-success.show { display: block; }
.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.modal-success-icon svg { width: 28px; height: 28px; }
.modal-success p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ----- Cookie banner ----- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: none;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 900;
  animation: cookieSlide 0.3s ease;
}
.cookie-banner.show { display: flex; }
@keyframes cookieSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.cookie-banner p a {
  color: var(--blue);
  text-decoration: underline;
}
.cookie-banner button {
  background: var(--blue);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.cookie-banner button:hover { background: var(--blue-hover); }


/* ============================================================================
   4. ОБЩИЕ МЕДИА-ЗАПРОСЫ (шапка, футер, мобильные модалки)
============================================================================ */
@media (max-width: 968px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .topbar { font-size: 11.5px; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cookie-banner button { width: 100%; }
  .modal-card { padding: 28px 22px 22px; }
  .modal-card h3 { font-size: 19px; }
  .lightbox-close { top: 12px; right: 12px; }
}


/* ============================================================================
   5. ГЛАВНАЯ СТРАНИЦА (.page-index)
============================================================================ */

/* ----- Hero ----- */
.page-index .hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-index .hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27,79,138,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-index .hero .container { display: flex; gap: 48px; align-items: flex-start; position: relative; }
.page-index .hero-content { flex: 1; min-width: 0; }
.page-index .hero h1 { font-size: 38px; font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: 20px; }
.page-index .hero-subtitle { font-size: 16px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 28px; max-width: 560px; }
.page-index .hero-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.page-index .hero-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.page-index .hero-features li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.page-index .hero-prices { display: flex; gap: 16px; flex-wrap: wrap; }
.page-index .hero-price {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
}
.page-index .hero-price-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.page-index .hero-price-value { font-size: 22px; font-weight: 800; color: var(--blue); }
.page-index .hero-price.warm .hero-price-value { color: var(--warm); }

.page-index .hero-form {
  flex-shrink: 0;
  width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
}
.page-index .hero-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.page-index .form-group { margin-bottom: 16px; }
.page-index .form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--transition);
  background: var(--bg);
}
.page-index .form-group input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.page-index .form-group input::placeholder { color: #A0AEC0; }
.page-index .btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-bottom: 12px;
}
.page-index .btn-submit:hover { background: var(--blue-hover); }
.page-index .form-disclaimer { font-size: 11.5px; color: #A0AEC0; text-align: center; line-height: 1.5; }
.page-index .form-disclaimer a { color: var(--blue-muted); text-decoration: underline; }

/* ----- Sections common (index) ----- */
.page-index .section { padding: 80px 0; }
.page-index .section-alt { background: var(--white); }
.page-index .section-title { font-size: 30px; font-weight: 800; text-align: center; margin-bottom: 16px; }
.page-index .section-subtitle { font-size: 15px; color: var(--text-secondary); text-align: center; max-width: 640px; margin: 0 auto 48px; line-height: 1.65; }

/* ----- Services ----- */
.page-index .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.page-index .service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.page-index .service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.page-index .service-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-index .service-card-img.water { background-color: linear-gradient(135deg, #E8EFF7 0%, #D0E0F2 100%); background: linear-gradient(135deg, #E8EFF7 0%, #D0E0F2 100%); }
.page-index .service-card-img.heat { background-color: linear-gradient(135deg, #FBF0EB 0%, #F2DDD2 100%); background: linear-gradient(135deg, #FBF0EB 0%, #F2DDD2 100%); }
.page-index .service-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-index .service-card-icon.water { background: rgba(27,79,138,0.12); }
.page-index .service-card-icon.heat { background: rgba(184,92,56,0.12); }
.page-index .service-card-icon svg { width: 36px; height: 36px; }
.page-index .service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.page-index .service-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.page-index .service-card-body p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.page-index .btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}
.page-index .btn-more.warm { color: var(--warm); }
.page-index .btn-more:hover { gap: 10px; }
.page-index .btn-more svg { width: 16px; height: 16px; }

/* ----- Advantages ----- */
.page-index .advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-index .adv-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow var(--transition);
}
.page-index .adv-card:hover { box-shadow: var(--shadow-md); }
.page-index .adv-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.page-index .adv-icon svg { width: 22px; height: 22px; color: var(--blue); }
.page-index .adv-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ----- When ----- */
.page-index .when-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.page-index .when-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.page-index .when-card:hover { box-shadow: var(--shadow-md); }
.page-index .when-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-index .when-icon svg { width: 24px; height: 24px; color: var(--blue); }
.page-index .when-card p { font-size: 14px; line-height: 1.5; }

/* ----- Process ----- */
.page-index .process-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; }
.page-index .process-tab {
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.page-index .process-tab.active { background: var(--blue); color: white; border-color: var(--blue); }
.page-index .process-tab.active.warm { background: var(--warm); border-color: var(--warm); }
.page-index .process-tab:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
.page-index .process-content { display: none; }
.page-index .process-content.active { display: block; }
.page-index .steps { display: flex; gap: 20px; max-width: 900px; margin: 0 auto; }
.page-index .step {
  flex: 1;
  text-align: center;
  position: relative;
}
.page-index .step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.page-index .step-num.warm { background: var(--warm); }
.page-index .step p { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }
.page-index .process-note { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 32px; font-style: italic; }

/* ----- Prices ----- */
.page-index .prices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.page-index .price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.page-index .price-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.page-index .price-card-name { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.4; }
.page-index .price-card-value { font-size: 28px; font-weight: 800; color: var(--blue); }
.page-index .price-card.warm .price-card-value { color: var(--warm); }
.page-index .price-card-unit { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ----- Arshin ----- */
.page-index .arshin { background: var(--white); }
.page-index .arshin-inner { display: flex; gap: 48px; align-items: center; }
.page-index .arshin-text { flex: 1; }
.page-index .arshin-text h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; text-align: left; }
.page-index .arshin-text p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.page-index .arshin-hint { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; font-style: italic; }
.page-index .btn-arshin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.page-index .btn-arshin:hover { background: var(--blue-hover); }
.page-index .arshin-visual {
  flex-shrink: 0;
  width: 340px;
  height: 220px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-index .arshin-badge {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 24px 32px;
  text-align: center;
}
.page-index .arshin-badge svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: 8px; }
.page-index .arshin-badge p { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ----- Documents (index) ----- */
.page-index .docs-inner { display: flex; gap: 48px; align-items: center; }
.page-index .docs-text { flex: 1; }
.page-index .docs-text h2 { font-size: 26px; font-weight: 800; margin-bottom: 16px; text-align: left; }
.page-index .docs-text p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 12px; }
.page-index .docs-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.page-index .docs-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.page-index .docs-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.page-index .docs-visual {
  flex-shrink: 0;
  width: 300px;
  height: 360px;
  background: var(--card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-index .doc-placeholder {
  width: 200px;
  height: 280px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: rotate(-3deg);
}
.page-index .doc-placeholder svg { width: 48px; height: 48px; color: var(--blue-muted); }
.page-index .doc-placeholder span { font-size: 12px; color: var(--text-secondary); font-weight: 600; }

/* ----- FAQ (index) ----- */
.page-index .faq-list { max-width: 760px; margin: 0 auto; }
.page-index .faq-item { border-bottom: 1px solid var(--border); }
.page-index .faq-item:first-child { border-top: 1px solid var(--border); }
.page-index .faq-q {
  width: 100%;
  background: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.page-index .faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease; }
.page-index .faq-item.open .faq-q svg { transform: rotate(180deg); }
.page-index .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.page-index .faq-item.open .faq-a { max-height: 200px; }
.page-index .faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ----- Final CTA (index) ----- */
.page-index .final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2A6DB5 100%);
  padding: 72px 0;
  text-align: center;
  color: white;
}
.page-index .final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: white; }
.page-index .final-cta .section-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 36px; }
.page-index .final-form { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.page-index .final-form input {
  padding: 16px 18px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  background: rgba(255,255,255,0.95);
}
.page-index .final-form input:focus { outline: 2px solid rgba(255,255,255,0.5); }
.page-index .final-form input::placeholder { color: #A0AEC0; }
.page-index .btn-cta-final {
  padding: 16px;
  background: var(--white);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}
.page-index .btn-cta-final:hover { transform: translateY(-1px); }

/* ----- Certificates ----- */
.page-index .certs-inner { text-align: center; }
.page-index .certs-inner p.certs-desc { max-width: 640px; margin: 0 auto 36px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }
.page-index .certs-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.page-index .cert-thumb {
  width: fit-content;
  height: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.page-index .cert-thumb:hover { box-shadow: var(--shadow-md); }
.page-index .cert-thumb svg { width: 48px; height: 48px; color: var(--blue-muted); }
.page-index .cert-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Mobile (index) ----- */
@media (max-width: 968px) {
  .page-index .hero .container { flex-direction: column; }
  .page-index .hero h1 { font-size: 28px; }
  .page-index .hero-form { width: 100%; }
  .page-index .services-grid { grid-template-columns: 1fr; }
  .page-index .advantages-grid { grid-template-columns: 1fr 1fr; }
  .page-index .when-grid { grid-template-columns: 1fr 1fr; }
  .page-index .steps { flex-direction: column; gap: 24px; }
  .page-index .prices-grid { grid-template-columns: 1fr 1fr; }
  .page-index .arshin-inner { flex-direction: column; }
  .page-index .arshin-visual { width: 100%; height: 180px; }
  .page-index .arshin-text h2 { font-size: 22px; }
  .page-index .docs-inner { flex-direction: column-reverse; }
  .page-index .docs-visual { width: 100%; height: 260px; }
  .page-index .docs-text h2 { font-size: 22px; }
  .page-index .certs-grid { gap: 16px; }
  .page-index .cert-thumb { width: 140px; height: 190px; }
}
@media (max-width: 600px) {
  .page-index .hero { padding: 48px 0 56px; }
  .page-index .hero h1 { font-size: 24px; }
  .page-index .hero-prices { flex-direction: column; }
  .page-index .section { padding: 56px 0; }
  .page-index .section-title { font-size: 24px; }
  .page-index .advantages-grid { grid-template-columns: 1fr; }
  .page-index .when-grid { grid-template-columns: 1fr; }
  .page-index .prices-grid { grid-template-columns: 1fr 1fr; }
  .page-index .process-tabs { flex-direction: column; align-items: stretch; }
  .page-index .final-cta h2 { font-size: 22px; }
}


/* ============================================================================
   6. ПОВЕРКА СЧЁТЧИКОВ ВОДЫ (.page-vody)
============================================================================ */

/* ----- Hero (vody) ----- */
.page-vody .hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-vody .hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,79,138,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-vody .hero .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.page-vody .hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-vody .hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}
.page-vody .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.page-vody .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--blue-light);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.page-vody .hero-badge svg {
  width: 16px; height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}
.page-vody .hero-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: fit-content;
}
.page-vody .hero-price-label { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.page-vody .hero-price-value { font-size: 32px; font-weight: 800; color: var(--blue); }
.page-vody .hero-price-unit { font-size: 16px; color: var(--text-secondary); font-weight: 600; }
.page-vody .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.page-vody .btn-primary:hover { background: var(--blue-hover); }

/* Hero Form (vody) */
.page-vody .hero-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.page-vody .hero-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.page-vody .form-group { margin-bottom: 14px; }
.page-vody .form-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: all var(--transition);
  outline: none;
}
.page-vody .form-input::placeholder { color: #A0AEC0; }
.page-vody .form-input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(27,79,138,0.1); }
.page-vody .btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-top: 4px;
}
.page-vody .btn-submit:hover { background: var(--blue-hover); }
.page-vody .form-disclaimer {
  font-size: 11.5px;
  color: #A0AEC0;
  margin-top: 12px;
  line-height: 1.5;
}
.page-vody .form-disclaimer a { color: var(--blue-muted); text-decoration: underline; }

/* ----- Sections (vody) ----- */
.page-vody .section { padding: 72px 0; }
.page-vody .section-alt { background: var(--white); }
.page-vody .section-title { font-size: 30px; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.page-vody .section-lead { font-size: 15px; color: var(--text-secondary); line-height: 1.65; max-width: 680px; margin-bottom: 40px; }

/* ----- When (vody) ----- */
.page-vody .when-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.page-vody .when-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.page-vody .when-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.page-vody .when-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.page-vody .when-icon svg { width: 24px; height: 24px; color: var(--blue); }
.page-vody .when-card h4 { font-size: 15px; font-weight: 700; line-height: 1.4; }

/* ----- Steps (vody) ----- */
.page-vody .steps-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.page-vody .steps-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px; right: 28px;
  height: 2px;
  background: var(--blue-light);
  z-index: 0;
}
.page-vody .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.page-vody .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,79,138,0.25);
}
.page-vody .step-text { font-size: 14px; font-weight: 600; color: var(--text-secondary); line-height: 1.5; }
.page-vody .steps-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--blue-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- Included (vody) ----- */
.page-vody .included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.page-vody .included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.page-vody .included-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.page-vody .included-check svg { width: 14px; height: 14px; color: var(--blue); }
.page-vody .included-item p { font-size: 14px; font-weight: 600; color: var(--text-secondary); line-height: 1.5; }

/* ----- Impossible (vody) ----- */
.page-vody .impossible-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-vody .impossible-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.page-vody .impossible-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.page-vody .impossible-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
}
.page-vody .impossible-list li svg { width: 18px; height: 18px; color: var(--text-secondary); flex-shrink: 0; margin-top: 2px; opacity: 0.6; }

/* ----- Brands (vody) ----- */
.page-vody .brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.page-vody .brand-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: all var(--transition);
}
.page-vody .brand-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.page-vody .brands-note { margin-top: 24px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ----- Pricing (vody) ----- */
.page-vody .pricing-table { max-width: 640px; }
.page-vody .pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: all var(--transition);
}
.page-vody .pricing-row:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.page-vody .pricing-row-highlight { border-color: var(--blue); background: var(--blue-light); }
.page-vody .pricing-label { font-size: 15px; font-weight: 600; }
.page-vody .pricing-label small { display: block; font-size: 12px; color: var(--text-secondary); font-weight: 500; margin-top: 2px; }
.page-vody .pricing-value { font-size: 22px; font-weight: 800; color: var(--blue); white-space: nowrap; }

/* ----- Documents (vody) ----- */
.page-vody .docs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-vody .docs-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.page-vody .docs-arshin-hint { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.6; }
.page-vody .btn-arshin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  border: 1.5px solid var(--blue-light);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.page-vody .btn-arshin:hover { background: var(--blue); color: white; }
.page-vody .docs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-vody .docs-gallery-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.page-vody .docs-gallery-item span { font-size: 12px; color: var(--text-secondary); font-weight: 600; text-align: center; }
.page-vody .docs-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Result (vody) ----- */
.page-vody .result-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-vody .result-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.page-vody .result-item { display: flex; align-items: flex-start; gap: 14px; }
.page-vody .result-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-vody .result-item-icon svg { width: 20px; height: 20px; color: var(--blue); }
.page-vody .result-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.page-vody .result-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.page-vody .result-next {
  padding: 20px 24px;
  background: var(--blue-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}
.page-vody .result-next h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.page-vody .result-next p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.page-vody .result-photo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-vody .result-photo span { font-size: 13px; color: var(--text-secondary); font-weight: 600; }
.page-vody .result-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ----- FAQ (vody) ----- */
.page-vody .faq-list { max-width: 760px; }
.page-vody .faq-item { border-bottom: 1px solid var(--border); }
.page-vody .faq-item:first-child { border-top: 1px solid var(--border); }
.page-vody .faq-q {
  width: 100%;
  background: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.page-vody .faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease; }
.page-vody .faq-item.open .faq-q svg { transform: rotate(180deg); }
.page-vody .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.page-vody .faq-item.open .faq-a { max-height: 200px; }
.page-vody .faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ----- Final CTA (vody) ----- */
.page-vody .final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2A6DB5 100%);
  padding: 72px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-vody .final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: white; }
.page-vody .final-cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.page-vody .final-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}
.page-vody .final-form .form-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.95);
  border-color: transparent;
  color: var(--text);
}
.page-vody .final-form .form-input:focus { border-color: white; background: white; }
.page-vody .btn-cta-final {
  padding: 16px 32px;
  background: var(--white);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  min-width: 160px;
}
.page-vody .btn-cta-final:hover { background: var(--blue-light); }

/* ----- Mobile (vody) ----- */
@media (max-width: 968px) {
  .page-vody .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .page-vody .hero-form { max-width: 480px; }
  .page-vody .when-grid { grid-template-columns: 1fr 1fr; }
  .page-vody .steps-timeline { grid-template-columns: 1fr; gap: 20px; }
  .page-vody .steps-timeline::before { display: none; }
  .page-vody .step-item { flex-direction: row; text-align: left; gap: 16px; align-items: center; }
  .page-vody .step-num { width: 44px; height: 44px; font-size: 16px; margin-bottom: 0; }
  .page-vody .included-grid { grid-template-columns: 1fr 1fr; }
  .page-vody .impossible-layout, .page-vody .docs-layout, .page-vody .result-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-vody .brands-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .page-vody .hero { padding: 48px 0 56px; }
  .page-vody .hero-content h1 { font-size: 24px; }
  .page-vody .hero-subtitle { font-size: 14px; }
  .page-vody .hero-badges { gap: 8px; }
  .page-vody .hero-badge { font-size: 12px; padding: 6px 12px; }
  .page-vody .hero-price-value { font-size: 26px; }
  .page-vody .section { padding: 48px 0; }
  .page-vody .section-title { font-size: 24px; }
  .page-vody .when-grid { grid-template-columns: 1fr; }
  .page-vody .included-grid { grid-template-columns: 1fr; }
  .page-vody .brands-grid { grid-template-columns: 1fr 1fr; }
  .page-vody .final-cta h2 { font-size: 22px; }
  .page-vody .final-form { flex-direction: column; }
  .page-vody .final-form .form-input { min-width: 100%; }
}


/* ============================================================================
   7. ПОВЕРКА ТЕПЛОСЧЁТЧИКОВ (.page-teplo)
============================================================================ */

/* ----- Hero (teplo, warm variant) ----- */
.page-teplo .hero {
  padding: 64px 0 72px;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 50%, var(--warm-light) 100%);
  position: relative;
  overflow: hidden;
}
.page-teplo .hero::after {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,92,56,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-teplo .hero .container { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; position: relative; z-index: 1; }
.page-teplo .hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.page-teplo .hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 560px;
}
.page-teplo .hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.page-teplo .hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}
.page-teplo .icon-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.page-teplo .icon-check svg { width: 12px; height: 12px; }
.page-teplo .hero-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.page-teplo .hero-price-label { font-size: 15px; color: var(--text-secondary); }
.page-teplo .hero-price-value { font-size: 28px; font-weight: 800; color: var(--warm); }
.page-teplo .hero-price-note { font-size: 13px; color: var(--text-secondary); margin-left: auto; max-width: 200px; line-height: 1.4; }
.page-teplo .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--blue);
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.page-teplo .btn-primary:hover { background: var(--blue-hover); }

/* Hero Form (teplo) */
.page-teplo .hero-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.page-teplo .hero-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; line-height: 1.3; }
.page-teplo .form-group { margin-bottom: 16px; }
.page-teplo .form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--bg);
  outline: none;
}
.page-teplo .form-input:focus { border-color: var(--blue); background: var(--white); }
.page-teplo .form-input::placeholder { color: #A0AEC0; }
.page-teplo .btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-top: 4px;
}
.page-teplo .btn-submit:hover { background: var(--blue-hover); }
.page-teplo .form-disclaimer { font-size: 12px; color: var(--text-secondary); margin-top: 12px; line-height: 1.5; }
.page-teplo .form-disclaimer a { color: var(--blue-muted); text-decoration: underline; }

/* ----- Sections (teplo) ----- */
.page-teplo .section { padding: 72px 0; }
.page-teplo .section-alt { background: var(--white); }
.page-teplo .section-title { font-size: 30px; font-weight: 800; margin-bottom: 16px; line-height: 1.25; }
.page-teplo .section-lead { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 720px; margin-bottom: 36px; }

/* ----- Info block (teplo) ----- */
.page-teplo .info-block { padding: 48px 0; }
.page-teplo .info-card {
  background: var(--warm-light);
  border-left: 4px solid var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  max-width: 900px;
}
.page-teplo .info-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.page-teplo .info-card p { font-size: 15px; line-height: 1.7; }

/* ----- Reasons (teplo) ----- */
.page-teplo .reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.page-teplo .reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.page-teplo .section-alt .reason-card { background: var(--white); }
.page-teplo .reason-card:hover { box-shadow: var(--shadow-md); }
.page-teplo .reason-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-teplo .reason-icon svg { width: 22px; height: 22px; color: var(--blue); }
.page-teplo .reason-card p { font-size: 15px; font-weight: 600; line-height: 1.45; }

/* ----- Process (teplo) ----- */
.page-teplo .process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.page-teplo .steps-list { display: flex; flex-direction: column; }
.page-teplo .step-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.page-teplo .step-item:last-child { border-bottom: none; }
.page-teplo .step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: white;
}
.page-teplo .step-text { font-size: 15px; color: var(--text-secondary); line-height: 1.55; padding-top: 6px; }

.page-teplo .process-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.page-teplo .process-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.page-teplo .process-photo .placeholder { font-size: 13px; color: var(--text-secondary); text-align: center; padding: 12px; }
.page-teplo .process-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Replace vs Verify (teplo) ----- */
.page-teplo .replace-block {
  background: linear-gradient(135deg, var(--warm-light) 0%, #FFF7F5 100%);
  border-radius: var(--radius);
  padding: 48px;
  border: 1px solid rgba(184,92,56,0.12);
}
.page-teplo .replace-text { font-size: 15px; line-height: 1.7; max-width: 800px; margin-bottom: 28px; }
.page-teplo .replace-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.page-teplo .replace-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
}
.page-teplo .replace-points li .dot {
  width: 8px; height: 8px;
  background: var(--warm);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----- Additional services (teplo) ----- */
.page-teplo .addon-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.page-teplo .addon-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.page-teplo .addon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.page-teplo .addon-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-teplo .addon-icon svg { width: 18px; height: 18px; color: var(--blue); }
.page-teplo .addon-photo {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-teplo .addon-photo .placeholder { font-size: 13px; color: var(--text-secondary); }
.page-teplo .addon-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Brands (teplo) ----- */
.page-teplo .brands-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.page-teplo .brand-tag {
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.page-teplo .brand-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.page-teplo .brands-note { font-size: 14px; color: var(--text-secondary); margin-top: 20px; font-style: italic; }

/* ----- Pricing (teplo) ----- */
.page-teplo .pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 700px; }
.page-teplo .pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}
.page-teplo .pricing-card:hover { border-color: var(--warm); box-shadow: var(--shadow-md); }
.page-teplo .pc-name { font-size: 16px; font-weight: 600; }
.page-teplo .pc-price { font-size: 26px; font-weight: 800; color: var(--warm); white-space: nowrap; }

/* ----- Documents (teplo) ----- */
.page-teplo .docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.page-teplo .doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-teplo .doc-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-teplo .doc-icon svg { width: 24px; height: 24px; color: var(--blue); }
.page-teplo .doc-card p { font-size: 15px; font-weight: 600; }
.page-teplo .docs-note { font-size: 15px; color: var(--text-secondary); line-height: 1.65; max-width: 700px; }

/* ----- FAQ (teplo) ----- */
.page-teplo .faq-list { max-width: 760px; }
.page-teplo .faq-item { border-bottom: 1px solid var(--border); }
.page-teplo .faq-item:first-child { border-top: 1px solid var(--border); }
.page-teplo .faq-q {
  width: 100%;
  background: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.page-teplo .faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease; }
.page-teplo .faq-item.open .faq-q svg { transform: rotate(180deg); }
.page-teplo .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.page-teplo .faq-item.open .faq-a { max-height: 200px; }
.page-teplo .faq-a-inner { padding: 0 0 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ----- Final CTA (teplo) ----- */
.page-teplo .final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2A6DB5 100%);
  padding: 72px 0;
  text-align: center;
}
.page-teplo .final-cta h2 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 32px; }
.page-teplo .final-cta-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.page-teplo .final-cta-form .form-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.95);
  border-color: transparent;
}
.page-teplo .final-cta-form .form-input:focus { border-color: white; background: white; }
.page-teplo .btn-cta-white {
  background: white;
  color: var(--blue);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font);
  transition: all var(--transition);
}
.page-teplo .btn-cta-white:hover { background: var(--blue-light); }



/* ----- Final CTA (teplo) ----- */
.page-vody .final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2A6DB5 100%);
  padding: 72px 0;
  text-align: center;
}
.page-vody .final-cta h2 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 32px; }
.page-vody .final-cta-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.page-vody .final-cta-form .form-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.95);
  border-color: transparent;
}
.page-vody .final-cta-form .form-input:focus { border-color: white; background: white; }
.page-vody .btn-cta-white {
  background: white;
  color: var(--blue);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font);
  transition: all var(--transition);
}
.page-vody .btn-cta-white:hover { background: var(--blue-light); }

/* ----- Calculator (teplo) ----- */
.page-teplo .calc-section { background: var(--white); }
.page-teplo .calc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.page-teplo .calc-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--warm-light) 100%);
  border-bottom: 1px solid var(--border);
}
.page-teplo .calc-header h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; line-height: 1.25; text-align: left; }
.page-teplo .calc-header p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 600px; }
.page-teplo .calc-body {
  display: grid;
  grid-template-columns: 340px 1fr;
}
.page-teplo .calc-form-side {
  padding: 24px;
  background: var(--card);
  border-right: 1px solid var(--border);
}
.page-teplo .calc-field { margin-bottom: 14px; }
.page-teplo .calc-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.page-teplo .calc-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636E72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.page-teplo .calc-field select:focus { border-color: var(--blue); }
.page-teplo .calc-btn {
  width: 100%;
  padding: 14px;
  background: var(--warm);
  color: white;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}
.page-teplo .calc-btn:hover { background: var(--warm-hover); }
.page-teplo .calc-note { font-size: 12px; color: var(--text-secondary); margin-top: 12px; line-height: 1.5; }

.page-teplo .calc-result-side { padding: 24px 28px; }
.page-teplo .calc-result-side h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.page-teplo .calc-result-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.page-teplo .calc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.page-teplo .calc-metric {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.page-teplo .calc-metric-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 600;
}
.page-teplo .calc-metric-value { font-size: 20px; font-weight: 800; line-height: 1.2; }
.page-teplo .calc-metric-value.is-blue { color: var(--blue); }
.page-teplo .calc-metric-value.is-warm { color: var(--warm); }
.page-teplo .calc-comment {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--warm-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--warm);
}
.page-teplo .calc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.page-teplo .calc-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--white);
  transition: border-color var(--transition);
}
.page-teplo .calc-option.is-active { border-color: var(--warm); box-shadow: 0 0 0 1px var(--warm); }
.page-teplo .calc-option-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.page-teplo .calc-option h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.page-teplo .calc-option .calc-opt-price { font-size: 18px; font-weight: 800; color: var(--warm); }
.page-teplo .calc-option .calc-opt-year { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

/* ----- Mobile (teplo) ----- */
@media (max-width: 968px) {
  .page-teplo .hero .container { grid-template-columns: 1fr; }
  .page-teplo .hero-form { max-width: 480px; }
  .page-teplo .process-layout { grid-template-columns: 1fr; }
  .page-teplo .process-photos { grid-template-columns: repeat(4, 1fr); }
  .page-teplo .addon-layout { grid-template-columns: 1fr; }
  .page-teplo .addon-photo { max-width: 400px; }
  .page-teplo .calc-body { grid-template-columns: 1fr; }
  .page-teplo .calc-form-side { border-right: none; border-bottom: 1px solid var(--border); }
  .page-teplo .calc-metrics { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .page-teplo .hero { padding: 40px 0 48px; }
  .page-teplo .hero-content h1 { font-size: 24px; }
  .page-teplo .hero-subtitle { font-size: 14px; }
  .page-teplo .hero-price-row { flex-wrap: wrap; }
  .page-teplo .hero-price-note { margin-left: 0; max-width: 100%; }
  .page-teplo .section { padding: 48px 0; }
  .page-teplo .section-title { font-size: 24px; }
  .page-teplo .reasons-grid { grid-template-columns: 1fr; }
  .page-teplo .process-photos { grid-template-columns: 1fr 1fr; }
  .page-teplo .replace-block { padding: 28px 20px; }
  .page-teplo .replace-points { grid-template-columns: 1fr; }
  .page-teplo .docs-grid { grid-template-columns: 1fr; }
  .page-teplo .pricing-cards { grid-template-columns: 1fr; }
  .page-teplo .final-cta h2 { font-size: 22px; }
  .page-teplo .final-cta-form { flex-direction: column; align-items: stretch; }
  .page-teplo .final-cta-form .form-input { min-width: 100%; }
  .page-teplo .container { padding: 0 16px; }
  .page-teplo .calc-header { padding: 20px; }
  .page-teplo .calc-header h2 { font-size: 20px; }
  .page-teplo .calc-form-side, .page-teplo .calc-result-side { padding: 20px 16px; }
  .page-teplo .calc-metrics { grid-template-columns: 1fr; }
  .page-teplo .calc-compare { grid-template-columns: 1fr; }
}


/* ============================================================================
   8. ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ (.page-privacy)
============================================================================ */
.page-privacy .privacy-hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  padding: 56px 0 48px;
}
.page-privacy .privacy-hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.page-privacy .privacy-hero p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 640px;
}

.page-privacy .privacy-content {
  padding: 56px 0 80px;
}
.page-privacy .privacy-body {
  max-width: 800px;
}
.page-privacy .privacy-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.page-privacy .privacy-body h2:first-child {
  margin-top: 0;
}
.page-privacy .privacy-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}
.page-privacy .privacy-body ul {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}
.page-privacy .privacy-body ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.page-privacy .privacy-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* ----- Mobile (privacy) ----- */
@media (max-width: 600px) {
  .page-privacy .privacy-hero { padding: 40px 0 32px; }
  .page-privacy .privacy-hero h1 { font-size: 24px; }
  .page-privacy .privacy-content { padding: 40px 0 56px; }
  .page-privacy .privacy-body h2 { font-size: 18px; }
}


/* ============================================================================
   9. АНИМАЦИИ HERO (для всех страниц с .hero-content и .hero-form)
============================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-index .hero-content,
.page-vody .hero-content,
.page-teplo .hero-content { animation: fadeInUp 0.6s ease both; }
.page-index .hero-form,
.page-vody .hero-form,
.page-teplo .hero-form { animation: fadeInUp 0.6s ease 0.15s both; }
