/* ==========================================================================
   ТЦ «Центрум» — Официальный сайт (Production CSS)
   ========================================================================== */

:root {
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-light: #d1fae5;
  --color-secondary: #0f172a;
  --color-secondary-light: #1e293b;
  --color-accent: #d97706;
  --color-accent-light: #fef3c7;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Доступность (A11y) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--color-secondary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #059669;
  outline-offset: 3px;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  box-sizing: border-box;
}

/* ==========================================================================
   Шапка (Header)
   ========================================================================== */

.top-bar a {
  color: #10b981;
  font-weight: 700;
  text-decoration: none;
}

.top-bar a:hover {
  color: #34d399;
}


.top-item a,
.top-item a strong,
.top-bar a,
.top-bar a strong {
  color: #10b981 !important;
  font-weight: 700;
  text-decoration: none;
}

.top-item a:hover,
.top-item a:hover strong,
.top-bar a:hover,
.top-bar a:hover strong {
  color: #34d399 !important;
  text-decoration: underline;
}

.top-bar {
  background-color: var(--color-secondary);
  color: #cbd5e1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-item strong {
  color: #ffffff;
}

.top-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.main-header {
  background-color: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.main-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 46px;
  width: auto;
}

.brand-title-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}

.brand-title-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-secondary);
  transition: all 150ms ease;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-surface-alt);
}

.nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.btn-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
  transition: all 150ms ease;
}

.btn-delivery-badge:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-burger {
  display: none;
  padding: 8px;
  color: var(--color-secondary);
}

/* ==========================================================================
   Кнопки и бейджи
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 150ms ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--color-secondary-light);
}

.btn-outline {
  border: 1.5px solid var(--color-border);
  color: var(--color-secondary);
  background-color: var(--color-surface);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-verified {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-promo {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-rent {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ==========================================================================
   Scrolltide Zoom Reveal
   ========================================================================== */

.zoom-section {
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  padding: 64px 0 84px;
  overflow: hidden;
  position: relative;
}

.zoom-header h1 {
  color: var(--color-text);
}

.zoom-header p {
  color: var(--color-text-muted);
}

.zoom-toolbar {
  display: none !important;
}

.zoom-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.zoom-header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 14px 0;
}

.zoom-header p {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.6;
}

.zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.a11y-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 150ms ease;
}

.a11y-pill:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.a11y-pill.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.zoom-frame-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.zoom-frame-box {
  width: 80%;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 300ms ease;
}

.zoom-frame-box.expanded {
  width: 100%;
  border-radius: var(--radius-md);
  transform: scale(1.02);
}

.zoom-frame-box img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.zoom-overlay-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.zoom-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zoom-stat-item {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.zoom-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.zoom-stat-num span {
  color: var(--color-primary);
}

.zoom-stat-desc {
  font-size: 0.8125rem;
  color: #cbd5e1;
  margin-top: 4px;
  line-height: 1.35;
}

/* ==========================================================================
   Быстрые плашки действий (Pills)
   ========================================================================== */

.express-bar {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.express-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.express-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 150ms ease;
}

.express-tile:hover {
  background-color: var(--color-surface);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.express-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.express-tile-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.express-tile-info p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Секции и карточки
   ========================================================================== */

.page-section {
  padding: 64px 0;
}

.page-section-alt {
  background-color: var(--color-surface-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Сетка арендаторов */
.tenants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tenant-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 150ms ease;
}

.tenant-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tenant-card.rent-card {
  border-style: dashed;
  border-color: #93c5fd;
  background-color: #eff6ff;
}

.tenant-img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  background-color: var(--color-surface-alt);
}

.tenant-img-placeholder {
  height: 170px;
  width: 100%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.05em;
}

.tenant-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tenant-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tenant-floor {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.tenant-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.tenant-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.tenant-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Карточки акций */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.promo-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: all 150ms ease;
}

.promo-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.promo-img {
  width: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.promo-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Баннер доставки */
.delivery-cta-banner {
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  gap: 30px;
}

.delivery-cta-banner h3 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.btn-whatsapp-cta {
  background-color: #25d366;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  white-space: nowrap !important;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 150ms ease;
  line-height: 1.2;
}

.btn-whatsapp-cta:hover {
  background-color: #1eb956;
  transform: translateY(-2px);
}

/* ==========================================================================
   Поэтажная карта
   ========================================================================== */

.map-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.map-info-panel {
  flex: 1.1;
  order: 1;
}

.map-canvas-panel {
  flex: 2;
  order: 2;
  position: sticky;
  top: 24px;
}

.map-card-box {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.floor-tab-group {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.floor-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  background-color: var(--color-surface-alt);
  color: var(--color-secondary);
  transition: all 150ms ease;
}

.floor-tab-btn:hover {
  background-color: #e2e8f0;
}

.floor-tab-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
}

.map-view-canvas {
  height: 750px;
  min-height: 750px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
}

.map-view-canvas img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform-origin: center center;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

/* Полноэкранный режим карты и сенсорные контролы */
.map-fullscreen-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 25;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  transition: all 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.map-fullscreen-btn:hover {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.map-view-canvas.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: none !important;
  z-index: 999999 !important;
  border-radius: 0 !important;
  border: none !important;
  background: #0f172a !important;
  padding: 0 !important;
  touch-action: none !important;
}

.map-fs-header {
  display: none;
}

.map-view-canvas.is-fullscreen .map-fs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 80%, transparent 100%);
  z-index: 30;
  gap: 12px;
}

.map-fs-floors {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.map-fs-floor-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.map-fs-floor-btn.active {
  background: #059669;
  border-color: #10b981;
  color: #ffffff;
}

.map-view-canvas.is-fullscreen .map-fullscreen-btn {
  position: static !important;
  background: #ef4444;
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  padding: 8px 14px;
}

.map-view-canvas.is-fullscreen .map-fullscreen-btn:hover {
  background: #dc2626;
  color: #ffffff;
}

.map-zoom-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border-radius: 6px;
  padding: 3px 0;
  user-select: none;
}

.map-touch-hint {
  display: none !important;
}

.map-view-canvas.is-fullscreen .map-touch-hint {
  display: none !important;
}


.map-zoom-controls {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
  background: #ffffff;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.14);
}

.map-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}

.map-control-btn:hover {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.map-control-btn:active {
  background: #d1fae5;
  transform: scale(0.94);
}

.map-tenant-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.map-tenant-item.rent-item {
  border-color: #bfdbfe;
  background-color: #eff6ff;
}

/* ==========================================================================
   Формы и таблицы B2B
   ========================================================================== */

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 14px;
}

.price-table th, .price-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  color: var(--color-text-muted);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-size: 0.9375rem;
  background-color: var(--color-surface-alt);
  transition: all 150ms ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Скрытое поле для Honeypot */
.honeypot-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  z-index: -1;
}

/* ==========================================================================
   Подвал сайта (Footer)
   ========================================================================== */

.site-footer {
  background-color: var(--color-secondary);
  color: #94a3b8;
  padding: 56px 0 28px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-bar {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ==========================================================================
   Мобильное меню (Drawer)
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.96);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   Адаптивность (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
  .zoom-header h1 { font-size: 2.25rem; }
  .zoom-stats { grid-template-columns: repeat(2, 1fr); }
  .tenants-grid { grid-template-columns: repeat(2, 1fr); }
  .express-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar a {
  color: #10b981;
  font-weight: 700;
  text-decoration: none;
}

.top-bar a:hover {
  color: #34d399;
}


.top-item a,
.top-item a strong,
.top-bar a,
.top-bar a strong {
  color: #10b981 !important;
  font-weight: 700;
  text-decoration: none;
}

.top-item a:hover,
.top-item a:hover strong,
.top-bar a:hover,
.top-bar a:hover strong {
  color: #34d399 !important;
  text-decoration: underline;
}

.top-bar { display: none; }
  .nav-menu { display: none; }
  .btn-delivery-badge { display: none; }
  .btn-burger { display: block; }
  .zoom-frame-box { width: 100% !important; border-radius: 16px !important; }
  .zoom-frame-box img { height: 380px; }
  .zoom-overlay-grid { padding: 16px; }
  .zoom-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .zoom-stat-item { padding: 8px 10px; }
  .zoom-stat-num { font-size: 1.15rem; }
  .zoom-stat-desc { font-size: 0.72rem; line-height: 1.25; margin-top: 2px; }
  .tenants-grid, .promos-grid, .express-grid { grid-template-columns: 1fr; }
  .delivery-cta-banner { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-columns { grid-template-columns: 1fr; gap: 30px; }
}


@media (max-width: 480px) {
  .zoom-header h1 { font-size: 1.85rem; }
  .zoom-frame-box img { height: 340px; }
  .zoom-overlay-grid { padding: 12px; }
  .zoom-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .zoom-stat-item { padding: 6px 8px; }
  .zoom-stat-num { font-size: 1.05rem; }
  .zoom-stat-desc { font-size: 0.68rem; line-height: 1.2; }
  .page-section { padding: 36px 0; }
  .btn { width: 100%; text-align: center; }
  .floor-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
}

/* ==========================================================================
   Режим доступности (Reduced Motion)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .zoom-frame-box {
    width: 100% !important;
    transform: none !important;
    border-radius: 16px !important;
  }
}

body.reduced-motion .zoom-frame-box {
  width: 100% !important;
  transform: none !important;
  border-radius: 16px !important;
}

body.reduced-motion .zoom-frame-box img {
  transform: none !important;
}


/* ==========================================================================
   Улучшенная адаптивность для мобильных экранов (360-480px)
   ========================================================================== */
.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .responsive-card-pad {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .zoom-header h1 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 10px 0;
  }
  .zoom-header p {
    font-size: 0.95rem;
  }
  .zoom-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .zoom-toolbar .a11y-pill, 
  .zoom-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
  .brand-logo img {
    height: 38px;
  }
  .brand-title-name {
    font-size: 1.125rem;
  }
  .brand-title-desc {
    font-size: 0.65rem;
  }
  .responsive-card-pad {
    padding: 20px 14px !important;
    border-radius: 16px !important;
  }
}

.tenant-img[alt*="LEVITA"], .levita-img {
  object-fit: cover !important;
  object-position: center center !important;
}

.promo-img[src*="dancer"], .promo-img[alt*="балету"] {
  object-position: top center !important;
}





/* Адаптивность шапки и ориентации */
@media (max-width: 1024px), (orientation: landscape) and (max-height: 550px) {
  
.top-item a,
.top-item a strong,
.top-bar a,
.top-bar a strong {
  color: #10b981 !important;
  font-weight: 700;
  text-decoration: none;
}

.top-item a:hover,
.top-item a:hover strong,
.top-bar a:hover,
.top-bar a:hover strong {
  color: #34d399 !important;
  text-decoration: underline;
}

.top-bar { display: none !important; }
  .nav-menu { display: none !important; }
  .btn-delivery-badge { display: none !important; }
  .btn-burger { display: flex !important; }
  .main-header-inner { height: 60px !important; }
  
  .map-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .map-canvas-panel {
    order: 1 !important;
    position: static !important;
    width: 100% !important;
  }
  .map-info-panel {
    order: 2 !important;
    width: 100% !important;
  }
    .map-zoom-controls {
    display: none !important;
  }
  .map-touch-hint {
  display: none !important;
}
  .map-view-canvas {
    height: 380px !important;
    min-height: 380px !important;
  }
  
  .delivery-cta-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }
  .delivery-cta-banner h3 {
    font-size: 1.45rem !important;
  }
  .btn-whatsapp-cta {
    width: 100% !important;
    white-space: nowrap !important;
    font-size: clamp(0.70rem, 3.2vw, 0.85rem) !important;
    padding: 13px 10px !important;
    margin-top: 14px !important;
    gap: 6px !important;
    line-height: 1 !important;
    letter-spacing: -0.01em !important;
  }
}

@media (max-width: 480px) {
  .map-view-canvas {
    height: 340px !important;
    min-height: 340px !important;
  }
  .floor-tab-group {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .floor-tab-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 0.8125rem !important;
  }
}

@media (max-width: 375px) {
  .btn-whatsapp-cta {
    font-size: 0.73rem !important;
    padding: 11px 6px !important;
    gap: 4px !important;
  }
}

@media (orientation: landscape) and (max-height: 550px) {
  .main-header-inner { height: 52px !important; }
  .map-view-canvas {
    height: 280px !important;
    min-height: 280px !important;
  }
  .zoom-section {
    padding: 24px 0 32px !important;
  }
  .zoom-frame-box img {
    height: 240px !important;
  }
  .zoom-stats {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}