@import url("../gortex-catalog/style.css");

/* -------------------------------------------------------------
   ГОРТЕКС АРЕНДА — Премиум каталог и идеальная сетка (PRO MAX)
------------------------------------------------------------- */

body {
  background-color: #383838;
  color: #FFFFFF;
}

/* Фоновое фото котельного зала в секции Hero (как на Скрине 1) */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 1000px 620px at 80% -20%, rgba(245, 190, 110, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.86), rgba(12, 12, 12, 0.94)),
    url('https://static.tildacdn.com/tild6636-6632-4838-b164-383162656632/gbfoncatalog.jpg') center/cover no-repeat !important;
  border-bottom: 1px solid #444444;
}

/* Кнопки как в каталоге на главной (gortex-catalog) */
.hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  border-radius: 4px !important;
  font-family: var(--font-main, "Golos Text", sans-serif) !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
}

/* Кнопка 1 (Перейти к каталогу / Выбрать котельную) */
.btn-primary {
  background: #f5be6e !important;
  background-color: #f5be6e !important;
  color: #2f2f2f !important;
  padding: 15px 30px !important;
  font-size: 1.05rem !important;
  border: 1px solid #f5be6e !important;
}

.btn-primary:hover {
  background: #e2a24a !important;
  background-color: #e2a24a !important;
  color: #2f2f2f !important;
  border-color: #e2a24a !important;
}

/* Кнопка 2 (Получить КП / Рассчитать стоимость - Тёмная заливка #383838 с золотым текстом #f5be6e) */
.btn-ghost {
  background: #383838 !important;
  background-color: #383838 !important;
  border: 1px solid #565656 !important;
  color: #f5be6e !important;
  padding: 15px 30px !important;
  font-size: 1.05rem !important;
}

.btn-ghost:hover {
  background: #434343 !important;
  background-color: #434343 !important;
  border-color: #f5be6e !important;
  color: #f5be6e !important;
}

/* Скрытие системного курсора ТОЛЬКО для целевых кнопок (Подробнее, мощности, CTA) */
.arenda-btn-open *,
.arenda-btn-invers *,
.rent-card-btn,
#powerFilters button,
#statusFilters button {
  cursor: none !important;
}

/* Очистка от свечений и матовый аккуратный стиль плашек (как на Скрине 1) */
.rent-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 5;
}

.rent-badge-free {
  background: #18331e;
  color: #5cdb73;
  border: 1px solid #2b5e37;
}

.rent-badge-reserved {
  background: #362915;
  color: #f5be6e;
  border: 1px solid #574121;
}

.rent-badge-rented {
  background: #361717;
  color: #f87171;
  border: 1px solid #592525;
}

/* Кнопки фильтрации мощностей и статусов */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  background: #383838;
  color: #FFFFFF;
  border: 1px solid #505050;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: none !important;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.filter-chip:hover {
  border-color: #f5be6e;
  color: #f5be6e;
}

.filter-chip.is-active {
  background: #f5be6e !important;
  color: #242424 !important;
  border-color: #f5be6e !important;
  font-weight: 700;
}

/* Базовые стили кнопок */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #f5be6e;
  color: #242424;
  padding: 12px 24px;
}

.btn-primary:hover {
  background: #FFFFFF;
  color: #1a1a1c;
}

.btn-ghost {
  background: transparent;
  border: 2px solid #505050;
  color: #FFFFFF;
  padding: 10px 22px;
}

.btn-ghost:hover {
  border-color: #f5be6e;
  color: #f5be6e;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Сетка 6 сценариев — ИДЕАЛЬНО ОДНА ВЫСОТА И ВЫРАВНИВАНИЕ */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.scenario-card {
  background: #424242;
  border: 1px solid #505050;
  border-top: 3px solid #d66140;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.scenario-card:hover {
  border-color: #d66140;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
}

.scenario-card > div:first-child {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.scenario-tag {
  font-family: var(--font-display, "Oswald", sans-serif);
  font-size: 0.75rem;
  color: #f5be6e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.scenario-title {
  font-family: var(--font-display, "Oswald", sans-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.2;
  white-space: nowrap; /* Строго 1 строчка для всех 6 заголовков */
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  transition: color 0.25s ease;
}

.scenario-card:hover .scenario-title {
  color: #d66140;
}

.scenario-problem {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #FEE2E2; /* Яркий высококонтрастный светлый текст */
  background: rgba(214, 97, 64, 0.16); /* Мягкая терракотовая подложка */
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  border-left: 3px solid #d66140; /* Фирменный терракотовый акцент */
  height: 52px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.scenario-solution {
  font-size: 0.88rem;
  line-height: 1.35;
  color: #E0F2FE; /* Яркий высококонтрастный лазурно-голубой текст */
  background: rgba(56, 189, 248, 0.14); /* Мягкая небесно-голубая подложка */
  padding: 10px 12px;
  border-radius: 4px;
  border-left: 3px solid #38bdf8; /* Небесно-голубой акцент */
  height: 52px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin-top: auto;
}

/* Карточки Котельных в Каталоге (100% Идентичная высота и формат макета) */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.rent-card {
  background: #424242;
  border: 1px solid #505050;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rent-card:hover {
  border-color: #d66140;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.rent-card-media {
  position: relative;
  height: 210px;
  background: linear-gradient(180deg, #FFFFFF 0%, #999999 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid #505050;
  flex-shrink: 0;
}

.rent-card-media img {
  max-height: 175px;
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.rent-card:hover .rent-card-media img {
  transform: scale(1.03);
}

.rent-card-power {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 5;
  background: rgba(40, 40, 40, 0.75);
  color: #FFFFFF;
  font-family: var(--font-display, "Oswald", sans-serif);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  box-shadow: none;
  border: none;
}

.rent-card-badge-pos {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

/* Векторные индикаторы статуса (без смайликов) */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.status-dot--free {
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

.status-dot--reserved {
  background-color: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
}

.status-dot--rented {
  background-color: #EF4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
}

.rent-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1;
}

.rent-badge-free {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.rent-badge-reserved {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.rent-badge-rented {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.rent-card-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #424242;
}

.rent-card-title {
  font-family: var(--font-display, "Oswald", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #FFFFFF; /* Белый по умолчанию */
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.rent-card:hover .rent-card-title {
  color: #d66140; /* Оранжевый при ховере */
}

.rent-card-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
}

.rent-card-specs li {
  position: relative;
  padding-left: 20px;
  color: #FFFFFF;
}

.rent-card-specs li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #f5be6e; /* Золотисто-янтарный #f5be6e */
  font-size: 0.85rem;
}

.rent-card-specs li span.lbl {
  color: #d0d0d0;
  font-weight: 400;
}

.rent-card-specs li span.val {
  color: #FFFFFF;
  font-weight: 600;
}

.rent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #505050;
  width: 100%;
}

.rent-card-price {
  font-family: var(--font-display, "Oswald", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

.rent-card-btn {
  background: #f5be6e;
  color: #242424;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  height: 38px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  cursor: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  transition: all 0.25s ease;
  box-shadow: none !important;
  flex-shrink: 0;
}

.rent-card-btn:hover {
  background: #FFFFFF;
  color: #1a1a1c;
  transform: translateY(-1px);
  box-shadow: none !important;
}

/* Калькулятор аренды — идеальное выравнивание и стилизация UI/UX Pro Max */
.calc {
  padding: 60px 0 80px;
  background: #2B2B2B;
  border-bottom: 1px solid #444444;
}

.rent-calc-card {
  background: #424242;
  border: 1px solid #505050;
  border-top: 4px solid #f5be6e;
  padding: 36px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.rent-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .rent-calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main, "Golos Text", sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #c9c9c9;
  margin-bottom: 12px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #242424;
  border: 1px solid #505050;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5be6e;
  border: 2px solid #242424;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #FFFFFF;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5be6e;
  border: 2px solid #242424;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.calc-result-box {
  background: #242424;
  border: 1px solid #505050;
  padding: 28px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}