/* ==========================================================================
   GORELOVO HUTOR — MODERN MINIMALIST DESIGN SYSTEM
   Inspiration: profisant.com, Apple, clean Nordic hospitality
   ========================================================================== */

/* Локальные шрифты Inter Cyrillic / Latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/inter-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/inter-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/inter-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}

:root {
  /* Светлая, теплая, радостная загородная тема */
  --bg-page: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-subtle: #F4EFEB;
  --border: rgba(30, 41, 59, 0.08);
  --border-focus: rgba(234, 88, 12, 0.4);
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --accent: #EA580C;
  --accent-hover: #C2410C;
  --accent-soft: rgba(234, 88, 12, 0.08);
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.1);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(30, 41, 59, 0.06), 0 2px 6px -1px rgba(30, 41, 59, 0.02);
  --shadow-hover: 0 20px 40px -5px rgba(30, 41, 59, 0.1), 0 4px 12px -2px rgba(30, 41, 59, 0.04);
  --header-bg: rgba(250, 248, 245, 0.88);
}

body.dark-theme {
  /* Альтернативная тёмная тема */
  --bg-page: #12141A;
  --bg-card: #1A1D26;
  --bg-card-hover: #222633;
  --bg-subtle: #242938;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.3);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.15);
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(18, 20, 26, 0.88);
}

*, *::before, *::after {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-page);
  background-image:
    radial-gradient(at 10% 5%, rgba(245, 158, 11, 0.08) 0px, transparent 40%),
    radial-gradient(at 90% 15%, rgba(16, 185, 129, 0.07) 0px, transparent 45%),
    radial-gradient(at 50% 85%, rgba(234, 88, 12, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SITE HEADER (STICKY BLURRED NAV)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.brand-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

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

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.header-phone:hover {
  opacity: 0.8;
}

.theme-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s ease;
}

.theme-btn:hover {
  background: var(--border);
}

.header-cta-btn {
  background: #EA580C;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: background 0.15s ease, transform 0.1s ease;
}

.header-cta-btn:hover {
  background: #C2410C;
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 40%;
  z-index: 1;
  filter: brightness(0.9) saturate(1.15);
  transform: scale(1.02);
  transition: filter 0.3s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.3) 0%,
    rgba(15, 23, 42, 0.45) 50%,
    rgba(250, 248, 245, 0.88) 85%,
    var(--bg-page) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-star {
  color: #F59E0B;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  margin: 0 0 18px 0;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: #FFFFFF;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  margin: 0 auto 32px auto;
  max-width: 720px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #EA580C;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

.hero-feature-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.hero-chip.chip-accent {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 72px 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-main);
}

.section-meta-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   HOUSES SELECTION (3 CARDS)
   ========================================================================== */
.houses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.house-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.house-card:hover {
  border-color: rgba(234, 88, 12, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.house-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-hover);
}

.house-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
}

.house-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.house-card:hover .house-card-img {
  transform: scale(1.04);
}

.house-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #1E293B;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.house-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.house-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.house-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.house-card-price-col {
  text-align: right;
}

.house-card-old-price {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-right: 4px;
}

.house-card-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
}

.house-card-params {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.house-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.f-tag {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.compare-row {
  margin-top: 24px;
  text-align: center;
}

.compare-link-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.compare-link-btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* ==========================================================================
   VIBES PHOTO BENTO (АТМОСФЕРА И ОТДЫХ)
   ========================================================================== */
.vibes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vibe-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  background: var(--bg-card);
}

.vibe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.vibe-card-large {
  grid-column: span 3;
  height: 360px;
}

.vibe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.06) saturate(1.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.vibe-card:hover .vibe-img {
  transform: scale(1.04);
  filter: brightness(1.12) saturate(1.15);
}

.vibe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
}

.vibe-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.badge-fire {
  background: rgba(234, 88, 12, 0.95);
  color: #FFFFFF;
}

.badge-water {
  background: rgba(14, 165, 233, 0.95);
  color: #FFFFFF;
}

.badge-meat {
  background: rgba(245, 158, 11, 0.95);
  color: #FFFFFF;
}

.badge-game {
  background: rgba(139, 92, 246, 0.95);
  color: #FFFFFF;
}

.vibe-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.vibe-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.45;
  max-width: 650px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .vibes-grid {
    grid-template-columns: 1fr;
  }
  .vibe-card-large {
    grid-column: span 1;
    height: 280px;
  }
}

/* ==========================================================================
   GALLERY & ATMOSPHERE
   ========================================================================== */
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.gallery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 10px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.tab-num {
  font-size: 11px;
  color: var(--text-dim);
}

.fullscreen-link {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.fullscreen-link:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.media-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.media-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewer-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
}

.v-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.15s ease, transform 0.1s ease;
}

.v-arrow:hover {
  background: rgba(11, 12, 16, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.v-prev { left: 16px; }
.v-next { right: 16px; }

.v-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.thumbnails-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumbnails-bar::-webkit-scrollbar {
  height: 4px;
}
.thumbnails-bar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.thumb-btn {
  flex-shrink: 0;
  width: 80px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  background: var(--bg-subtle);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.thumb-btn.active {
  border-color: var(--accent);
  opacity: 1;
}

.thumb-btn:hover {
  opacity: 0.9;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-label {
  font-size: 12px;
  color: var(--text-dim);
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.included-banner {
  margin-top: 24px;
  background: var(--bg-subtle);
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
}

.inc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.inc-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inc-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   BOOKING & CALENDAR SECTION (TWO-COLUMN MINIMALIST LAYOUT)
   ========================================================================== */
.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

/* Calendar Card */
.cal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #0F172A;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.cal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-cur-month {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  min-width: 140px;
  text-align: center;
  text-transform: capitalize;
}

.cal-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.cal-arrow:hover {
  background: var(--border);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.cal-weekdays .we {
  color: #EF4444;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  color: var(--text-main);
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.cal-day.empty {
  background: transparent;
  cursor: default;
  border: none;
}

.cal-day-num {
  font-size: 14px;
  font-weight: 600;
}

.cal-day-price {
  font-size: 10px;
  color: var(--emerald);
  margin-top: 2px;
}

.cal-day.weekend .cal-day-num {
  color: #F87171;
}

.cal-day:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cal-day.busy {
  background: transparent;
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-day.busy .cal-day-num {
  text-decoration: line-through;
}

.cal-day.busy .cal-day-price {
  color: var(--text-dim);
}

.cal-day.past {
  opacity: 0.25;
  cursor: not-allowed;
}

.cal-day.selected-start,
.cal-day.selected-end {
  background: #EA580C !important;
  color: #FFFFFF !important;
  font-weight: 700;
  border-color: #EA580C;
}

.cal-day.selected-start .cal-day-num,
.cal-day.selected-end .cal-day-num,
.cal-day.selected-start .cal-day-price,
.cal-day.selected-end .cal-day-price {
  color: #FFFFFF !important;
}

.cal-day.in-range {
  background: rgba(234, 88, 12, 0.12);
  border-color: rgba(234, 88, 12, 0.3);
  border-radius: 0;
}

.cal-footer-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cal-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-free { background: var(--emerald); }
.dot-busy { background: var(--text-dim); }

.cal-sync-status {
  font-size: 11px;
  color: var(--text-dim);
}

/* ==========================================================================
   CHECKOUT CARD (FORM & SUMMARY)
   ========================================================================== */
.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.date-summary-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn-reset-dates {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 6px;
  width: 24px;
  height: 24px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-reset-dates:hover {
  color: #EF4444;
  border-color: #EF4444;
}

.form-row {
  margin-bottom: 18px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.label-hint {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: normal;
}

/* Stepper гостей (один понятный контрол, без повторов) */
.stepper-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
}

.step-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.step-btn:hover {
  background: var(--border);
}

.stepper-wrap input {
  width: 36px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.stepper-txt {
  font-size: 13px;
  color: var(--text-muted);
}

/* Веники (ровно 2 опции) */
.brooms-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.broom-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.broom-btn span {
  font-size: 12px;
  color: var(--text-dim);
}

.broom-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.broom-btn.active span {
  color: var(--accent);
  font-weight: 700;
}

.options-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.opt-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.opt-toggle.active {
  border-color: var(--accent);
  color: var(--text-main);
  background: var(--accent-soft);
}

.inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.text-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.agreements-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 20px;
}

.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-input {
  margin-top: 2px;
  accent-color: var(--accent);
}

/* Расчет стоимости */
.calculation-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.calc-lines-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.calc-line-discount {
  color: var(--emerald);
  font-weight: 600;
}

.calc-weekend-notice {
  font-size: 11px;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
  padding: 8px;
  border-radius: 6px;
  margin: 10px 0;
  line-height: 1.4;
}

.calc-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.total-left, .total-right {
  display: flex;
  flex-direction: column;
}

.total-label, .advance-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.total-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.advance-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}

.calc-deposit-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

.form-error-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
  font-size: 12px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.btn-submit-booking {
  width: 100%;
  background: #EA580C;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
}

.btn-submit-booking:hover {
  background: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.38);
}

/* ==========================================================================
   SBP CONFIRMATION SCREEN
   ========================================================================== */
.sbp-screen {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.sbp-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sbp-eyebrow {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.sbp-code-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin: 2px 0 0;
}

.sbp-badge-wait {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.sbp-confirmed-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 4px solid #10B981;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: slideDownFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.conf-icon-big {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.conf-text-wrap {
  flex: 1;
}

.conf-headline {
  font-size: 18px;
  font-weight: 700;
  color: #10B981;
  margin: 0 0 4px;
}

.conf-subline {
  font-size: 13px;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.4;
}

.conf-meta-row {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.sbp-notice-warning {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  border-radius: 0 8px 8px 0;
}

.sbp-summary-box {
  background: var(--bg-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.5;
}

.sbp-requisites-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.req-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}

.req-text {
  display: flex;
  flex-direction: column;
}

.req-label {
  font-size: 11px;
  color: var(--text-dim);
}

.req-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.btn-copy {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-copy:hover {
  background: var(--border);
}

.sbp-bank-info {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sbp-action-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.sbp-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.btn-sbp-msg {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-sbp-msg:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.upload-receipt-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.upload-form {
  display: flex;
  gap: 10px;
}

.upload-form input {
  font-size: 12px;
  color: var(--text-muted);
  flex-grow: 1;
}

.btn-upload {
  background: var(--accent);
  color: #0F172A;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.upload-status-text {
  font-size: 12px;
  margin-top: 8px;
}

.btn-back-link {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  display: block;
  text-align: center;
  width: 100%;
}

.btn-back-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   PLATFORMS BENTO GRID
   ========================================================================== */
.platforms-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-neutral {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-max {
  background: rgba(91, 75, 255, 0.15);
  color: #818CF8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bento-count {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.bento-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-main);
}

.bento-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.bento-link, .bento-link-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  width: 100%;
}

.bento-link:hover, .bento-link-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.sutochno-links-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================== */
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-view-box {
  width: 100%;
  height: 380px;
  background: var(--bg-subtle);
}

.map-view-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.loc-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loc-address {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.loc-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-route {
  background: #EA580C;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-route:hover {
  background: #C2410C;
  transform: translateY(-1px);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-focus);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-plus {
  font-size: 20px;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.faq-body {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SITE FOOTER (CLEAN MINIMAL, NO LEGAL ENTITIES)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-page);
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.footer-phone-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.footer-email-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-social-links a, .footer-text-btn {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-social-links a:hover, .footer-text-btn:hover {
  color: var(--text-main);
}

/* ==========================================================================
   MOBILE STICKY BAR (<= 768px)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 99;
  align-items: center;
  justify-content: space-between;
}

.msb-info {
  display: flex;
  flex-direction: column;
}

.msb-house {
  font-size: 12px;
  color: var(--text-dim);
}

.msb-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.msb-action-btn {
  background: #EA580C;
  color: #FFFFFF;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  transition: background 0.15s ease, transform 0.1s ease;
}

.msb-action-btn:hover {
  background: #C2410C;
  transform: translateY(-1px);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  width: 100%;
}

.modal-wide { max-width: 900px; }
.modal-compact { max-width: 440px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.compare-table th {
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-subtle);
}

.compare-table td strong {
  color: var(--text-main);
}

.btn-table-pick {
  background: var(--accent);
  color: #0F172A;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.copy-field-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.btn-copy-small {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.msg-preview-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
}

.msg-preview-label {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}

.msg-preview-text {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 10px;
}

.modal-actions-row {
  display: flex;
  gap: 10px;
}

.btn-modal-action {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.btn-max-act {
  background: #5B4BFF;
  color: #FFFFFF;
}

.btn-call-act {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay[hidden] {
  display: none;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.lb-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-stage {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lb-stage img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.lb-caption {
  font-size: 14px;
  color: #94A3B8;
  margin-top: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .houses-grid { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .platforms-bento { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  .wrap {
    padding: 0 16px;
  }
  .site-header {
    height: 56px;
  }
  .site-header .nav-links { display: none; }
  .site-header .header-cta-btn { display: none; }
  .brand-tag { display: none; }
  .header-actions { gap: 10px; }
  .header-phone { font-size: 13px; }
  .hero-backdrop {
    transform: none;
    width: 100%;
    left: 0;
  }
  .hero-section { min-height: 70vh; padding: 48px 0 64px; }
  .hero-title { font-size: 28px; line-height: 1.25; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .br-desktop { display: none; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 24px; }
  .cal-card, .checkout-card, .gallery-card, .bento-card {
    padding: 18px 14px;
  }
  .cal-controls {
    gap: 6px;
  }
  .cal-cur-month {
    min-width: 105px;
    font-size: 13px;
  }
  .cal-grid {
    gap: 3px;
  }
  .cal-day {
    padding: 3px 1px;
    border-radius: 6px;
  }
  .cal-day-num {
    font-size: 12px;
  }
  .cal-day-price {
    font-size: 8px;
  }
  .cal-footer-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .platforms-bento { grid-template-columns: 1fr; }
  .inputs-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 74px; }
}
