/* ==========================================================================
   С ВЕРШИНЫ НА ВЕРШИНУ — LIGHT GLACIER PREMIUM (СЕЗОН 2026/2027)
   СТИЛИСТИКА В ТОЧНОСТИ СООТВЕТСТВУЕТ SVERSHINY.RU
   ========================================================================== */

:root {
  color-scheme: light only;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --color-primary: #0284c7;
  --color-primary-dark: #0369a1;
  --color-accent: #ff5722;
  
  --tg-gradient: linear-gradient(135deg, #2ba5e0 0%, #1585c5 100%);
  --wa-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --max-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.09);

  /* Фирменный брутальный гротеск сайта svershiny.ru */
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background-color: #f8fafc !important;
  color: #334155 !important;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ШАПКА */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-group {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #000000;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.site-header-logo {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.city-switcher-header {
  display: flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.city-btn {
  background: transparent;
  border: none;
  padding: 6px 13px;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.city-btn.active {
  background: var(--bg-white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.mobile-call-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.phone-box {
  display: flex;
  flex-direction: column;
  text-align: right;
  white-space: nowrap;
}

.header-phone {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-decoration: none;
}

.phone-subtext {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
}

.btn-primary-sm {
  background: var(--text-dark);
  color: #fff;
  padding: 9px 18px;
  border-radius: 11px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

/* HERO */
.hero {
  position: relative;
  background: url('images/hero-bg.jpg') center top / cover no-repeat;
  padding: 90px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.96) 75%, var(--bg-page) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.gradient-text {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--text-dark);
  color: #fff;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}

.resort-tabs-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resort-tab-item {
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.resort-tab-item.active {
  border-color: var(--color-primary);
  background: #f0f9ff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

.tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.resort-tab-item.active .tab-dot {
  background: var(--color-primary);
}

.tab-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.tab-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ПРИВЕТСТВЕННЫЙ БОНУС */
.welcome-promo-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid #bae6fd;
  border-radius: 20px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
  position: relative;
  overflow: hidden;
}

.welcome-promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0284c7 0%, #38bdf8 100%);
}

.wpb-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wpb-icon {
  font-size: 1.7rem;
}

.wpb-text-group {
  flex: 1;
}

.wpb-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.wpb-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.wpb-tag {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
}

.wpb-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.wpb-bonus-value {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  padding: 8px 18px;
  border-radius: 14px;
  white-space: nowrap;
}

/* ЗАГОЛОВКИ */
.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.section-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.title-h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.title-p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ==========================================================================
   КАЛЬКУЛЯТОР
   ========================================================================== */
.calc-section {
  padding: 70px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  align-items: start;
}

.calc-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.calc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card-step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.card-step-header.between {
  justify-content: space-between;
}

.flex-align {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-badge {
  font-family: var(--font-heading);
  background: #0f172a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
}

.step-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

.step-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dates-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 16px 20px;
  border-radius: 16px;
}

.field-box {
  flex: 1;
}

.field-box label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.field-box input, .field-box select {
  width: 100%;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
}

.field-box input:focus, .field-box select:focus {
  border-color: var(--color-primary);
}

.date-sep {
  font-size: 1.2rem;
  color: var(--text-light);
  padding-top: 18px;
}

.days-indicator {
  background: var(--text-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  text-align: center;
}

.days-indicator span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.days-indicator small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.btn-add-rider {
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
}

.rider-block {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 20px;
}

.rider-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.rider-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.btn-del-rider {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.rider-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.rider-params-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* ==========================================================================
   ТАРИФЫ (СТРОГО 3 В РЯД, ФИКСИРОВАННЫЕ КАРТИНКИ)
   ========================================================================== */
.tier-selector-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

.tier-item {
  background: #ffffff !important;
  border: 1.5px solid var(--border-light) !important;
  border-radius: 14px !important;
  padding: 14px 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
}

.tier-item:hover {
  border-color: #cbd5e1 !important;
}

.tier-item.active {
  border-color: var(--color-primary) !important;
  background: #f0f9ff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}

.tier-img-preview {
  height: 95px !important;
  max-height: 95px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 4px !important;
  overflow: hidden !important;
}

.tier-img-preview img {
  max-height: 85px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.tier-badge-label {
  display: inline-block !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 5px !important;
  background: #e2e8f0 !important;
  color: var(--text-dark) !important;
  margin-bottom: 6px !important;
  align-self: flex-start !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  max-width: 100% !important;
}

.tier-item.active .tier-badge-label {
  background: #bae6fd !important;
  color: #0369a1 !important;
}

.tier-title-h {
  font-family: var(--font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--text-dark) !important;
  margin-bottom: 2px !important;
}

.tier-sample {
  font-size: 0.72rem !important;
  color: var(--text-muted) !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
}

.tier-cost {
  font-weight: 900 !important;
  font-size: 1rem !important;
  color: var(--color-primary-dark) !important;
}

/* ЭКИПИРОВКА */
.gear-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gear-visual-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.gear-thumb-box {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid var(--border-light);
}

.gear-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gear-details {
  flex: 1;
}

.gear-details h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.gear-details p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.gear-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gear-cost {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--color-primary-dark);
}

.btn-toggle-item {
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.btn-toggle-item.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

/* СЕРВИСЫ */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-row-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.srv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.srv-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.srv-badge.free {
  background: #dcfce7;
  color: #15803d;
}

.srv-badge.paid {
  background: #e0f2fe;
  color: #0369a1;
}

.service-row-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.service-row-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ПРАВАЯ КОЛОНКА */
.sticky-order-box {
  position: sticky;
  top: 90px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.dot-online {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.order-meta-info {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.meta-label {
  color: var(--text-muted);
}

.meta-row strong {
  color: var(--text-dark);
}

.discount-pill-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 18px;
}

.discount-pill-head {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.discount-pill-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #334155;
  font-weight: 600;
}

.price-breakdown {
  margin-bottom: 16px;
}

.p-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.p-line.green {
  color: #16a34a;
  font-weight: 800;
}

.total-block {
  border-top: 2px dashed var(--border-light);
  padding-top: 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.total-caption {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.total-val {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.custom-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 14px;
}

.custom-checkbox-row input {
  display: none;
}

.custom-checkbox-row .box {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  position: relative;
}

.custom-checkbox-row input:checked + .box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.custom-checkbox-row input:checked + .box::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.custom-checkbox-row .text {
  font-size: 0.82rem;
  color: var(--text-body);
}

/* ЯРКАЯ ЗЕЛЕНАЯ СТРОЧКА ДОВЕРИЯ */
.prepay-trust-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* КНОПКИ СВЯЗИ */
.cta-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-messenger-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--tg-gradient);
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34, 158, 217, 0.3);
}

.btn-messenger-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--wa-gradient);
  color: #ffffff;
  padding: 13px 18px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-messenger-max {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--max-gradient);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.max-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.max-btn-labels {
  display: flex;
  flex-direction: column;
}


.max-btn-labels .m-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.max-btn-labels .m-phone {
  font-size: 0.72rem;
  opacity: 0.92;
}

.tg-guarantee {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sidebar-footer-tags {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
}

/* КАК ЭТО РАБОТАЕТ */
.how-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--text-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ВИТРИНА МОДЕЛЕЙ (ОРИГИНАЛЬНАЯ ВЕРСТКА КАРТОЧЕК) */
.showcase-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.showcase-btn {
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.showcase-btn.active, .showcase-btn:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary);
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.showcase-img-box {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #ffffff;
}

.showcase-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.showcase-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.showcase-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}

.showcase-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.showcase-price-box {
  display: flex;
  flex-direction: column;
}

.showcase-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.showcase-price-period {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-card-choose {
  background: #f1f5f9;
  border: none;
  color: var(--text-dark);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-card-choose:hover {
  background: var(--color-primary);
  color: #fff;
}

/* WINTERSTEIGER */
.tech-section {
  padding: 80px 0;
  background: var(--bg-page);
}

.tech-card-large {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 50px 60px;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.tech-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 12px 0 18px;
}

.tech-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 840px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tf-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 22px;
}

.tf-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.tf-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
}

.faq-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ЛОКАЦИИ */
.locations-section {
  padding: 70px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.loc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
}

.loc-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-accent);
  background: #fff7ed;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.loc-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.loc-address {
  font-size: 0.88rem;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.loc-card ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.loc-card li::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 900;
}

/* ФУТЕР */
.footer-clean {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1.3fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 420px;
}

.footer-inn {
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-list strong {
  color: var(--text-dark);
}

.footer-col-contacts {
  display: flex;
  flex-direction: column;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.f-contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.f-contact-item span {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.f-contact-item a {
  color: var(--text-dark) !important;
  font-weight: 800 !important;
  text-decoration: none;
  white-space: nowrap;
}


.f-contact-item a:hover {
  color: var(--color-primary);
}

.footer-phone-sub {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .sticky-order-box {
    position: static;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-features {
    grid-template-columns: 1fr;
  }
  .tech-card-large {
    padding: 30px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 8px 14px;
  }
  .site-header-logo {
    height: 30px;
    max-width: 140px;
  }
  .phone-box {
    display: none;
  }
  .mobile-call-btn {
    display: flex;
  }
  .btn-primary-sm {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .city-switcher-header {
    display: none;
  }
  .resort-tabs-banner {
    grid-template-columns: 1fr;
  }
  .rider-columns {
    grid-template-columns: 1fr;
  }
  .gear-list-grid, .services-list-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid, .locations-grid {
    grid-template-columns: 1fr;
  }
  .dates-row {
    flex-direction: column;
    align-items: stretch;
  }
  .date-sep {
    display: none;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .welcome-promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 16px;
  }
  .wpb-head-row {
    justify-content: center;
  }
  .wpb-bonus-value {
    width: 100%;
    text-align: center;
  }
}

/* Складывание тарифов в 1 колонку ТОЛЬКО на смартфонах меньше 600px */
@media (max-width: 600px) {
  .tier-selector-grid {
    grid-template-columns: 1fr !important;
  }
}
