/* ==========================================================================
   Куба Коливинг — Design System (St. Petersburg Boutique Coliving)
   ========================================================================== */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-alt: #F3F0EA;
  --ink: #141A24;
  --ink-soft: #4B5565;
  --ink-muted: #768091;
  --navy: #132238;
  --navy-soft: #1D3252;
  --red: #D62828;
  --red-hover: #B81D1D;
  --red-soft: #FDF1F1;
  --gold: #E09F1F;
  --border: #E8E3DA;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(19, 34, 56, 0.05);
  --shadow-md: 0 12px 32px rgba(19, 34, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(19, 34, 56, 0.14);
  --font: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

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

.section { padding: 88px 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy); color: #FFFFFF; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section--navy .eyebrow { color: #FF7B7B; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2vw, 24px); }

.section-sub {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
}

.section--navy .section-sub { color: rgba(255, 255, 255, 0.78); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(214, 40, 40, 0.24);
}
.btn--primary:hover { background: var(--red-hover); box-shadow: 0 10px 24px rgba(214, 40, 40, 0.32); }

.btn--navy {
  background: var(--navy);
  color: #FFFFFF;
}
.btn--navy:hover { background: var(--navy-soft); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--navy); background: rgba(19, 34, 56, 0.04); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.45); }

.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--full { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 227, 218, 0.85);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--red);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.25);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-sub { font-size: 11px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.16s ease;
}

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

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

.header-phone {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-alt);
  border-radius: 9px;
  padding: 3px;
  font-size: 12.5px;
  font-weight: 600;
}

.lang-switch a, .lang-switch span {
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--ink-soft);
}

.lang-switch .is-active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(19, 34, 56, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}

.drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.drawer-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.drawer-nav a:hover { background: var(--surface-alt); }

/* Hero */
.hero {
  position: relative;
  padding: 28px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

a.trust-pill:hover {
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.trust-star { color: var(--gold); font-size: 15px; }
.trust-sep { color: var(--border); }
.trust-badge {
  background: #FFF6E0;
  color: #9A6400;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(32px, 4.1vw, 48px);
  color: var(--navy);
  margin-bottom: 14px;
}

.hero h1 .accent { color: var(--red); }

.hero-lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 560px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.metric-item strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.2;
}
.metric-item span { font-size: 13px; color: var(--ink-muted); }

/* Hero Visual Collage */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
  height: 390px;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  background: var(--surface-alt);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.hero-photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(19, 34, 56, 0.78);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-photo-caption strong { display: block; font-size: 14px; }
.hero-photo-caption span { font-size: 12px; opacity: 0.85; }

/* Dual-Scenario Booking Dock */
.booking-dock {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px 22px;
  box-shadow: var(--shadow-lg);
}

.dock-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.dock-tab-group {
  display: inline-flex;
  background: var(--surface-alt);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.dock-tab {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s ease;
}

.dock-tab.is-active {
  background: var(--surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.dock-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.dock-panel { display: none; }
.dock-panel.is-active { display: block; }

.bnovo-shell {
  width: 100%;
  min-height: 62px;
  overflow: visible;
}

.bnovo-mobile-fallback {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* Inline Coliving Quick Form */
.inline-form {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--surface);
}

.section--navy .field label { color: rgba(255, 255, 255, 0.8); }
.section--navy .field input,
.section--navy .field select,
.section--navy .field textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}
.section--navy .field select option { color: var(--ink); background: #FFFFFF; }
.section--navy .field input::placeholder,
.section--navy .field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.section--navy .field input:focus,
.section--navy .field select:focus {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.13);
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  padding: 10px 14px;
  border-radius: 10px;
}
.form-status.is-success { display: block; background: #ECFDF3; color: #027A48; border: 1px solid #A6F4C5; }
.form-status.is-error { display: block; background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }

/* Locations Grid (2 flagship locations) */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.loc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.loc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.loc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.loc-card:hover .loc-media img { transform: scale(1.04); }

.loc-rating {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.16s ease, transform 0.16s ease;
}

a.loc-rating:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.loc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.loc-metro {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 6px;
}

.loc-body h3 { color: var(--navy); margin-bottom: 8px; }
.loc-address { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.loc-desc { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--ink-soft);
}

/* Rooms Section */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-pill.is-active, .filter-pill:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #FFFFFF;
}

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

.room-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.room-card.is-hidden { display: none; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.room-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
}
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.room-card:hover .room-media img { transform: scale(1.04); }

.room-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(19, 34, 56, 0.84);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
}

.room-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.room-desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }

.room-rate-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface-alt);
  padding: 8px 12px;
  border-radius: 9px;
  margin-bottom: 14px;
}

/* Coliving Long-Term Banner */
.coliving-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.coliving-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

.coliving-perk {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
}

.coliving-perk strong { display: block; font-size: 15.5px; margin-bottom: 4px; color: #FFFFFF; }
.coliving-perk span { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

.coliving-form-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.coliving-form-card h3 { color: #FFFFFF; margin-bottom: 6px; }
.coliving-form-card p { color: rgba(255, 255, 255, 0.74); margin: 0 0 22px; font-size: 14.5px; }

.stack-form { display: flex; flex-direction: column; gap: 14px; }

/* Amenities + Gallery */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
}

.amenity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.amenity-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.amenity-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.amenity-card p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surface-alt);
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* Services & Visa */
.dual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.feature-box p { color: var(--ink-soft); margin: 10px 0 0; }

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

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author { font-weight: 700; color: var(--navy); font-size: 15.5px; }
.review-date { font-size: 12.5px; color: var(--ink-muted); }
.review-stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.review-text { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* Contacts & Map */
.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-block {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.contact-block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); margin-bottom: 4px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 400px;
  background: var(--surface-alt);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand { color: #FFFFFF; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.6); }

.footer-title { font-size: 14px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { color: rgba(255, 255, 255, 0.78); transition: color 0.16s ease; }
.footer-links a:hover { color: #FFFFFF; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* Modals & Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(19, 34, 56, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-box--wide { max-width: 860px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}

.lightbox-img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Booking Page Specific */
.booking-hero {
  padding: 36px 0 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hotel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hotel-tab {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s ease;
}

.hotel-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.booking-frame-wrap {
  padding: 32px 0 64px;
  min-height: 620px;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .header-phone { display: none; }
  .burger { display: inline-flex; }
  .hero-grid, .coliving-grid, .contacts-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .locations-grid, .rooms-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-form { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 28px 0 44px; }
  .hero-visual { grid-template-columns: 1fr; height: 260px; }
  .hero-photo-stack { display: none; }
  .booking-dock { padding: 16px; }
  .dock-tab-group { width: 100%; }
  .dock-tab { flex: 1; text-align: center; padding: 9px 10px; font-size: 13.5px; }
  .bnovo-shell { display: none; }
  .bnovo-mobile-fallback { display: flex; margin-top: 0; padding-top: 0; border-top: 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .inline-form { grid-template-columns: 1fr; }
  .locations-grid, .rooms-grid, .reviews-grid, .dual-cards, .coliving-perks, .footer-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .gallery-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item--wide, .gallery-item--tall { grid-column: span 1; grid-row: span 1; }
  .coliving-form-card, .contact-card, .feature-box { padding: 22px; }
  .header-actions .btn--primary { display: none; }
  .site-footer { padding-bottom: 92px; }
  .mobile-sticky-bar { display: flex; }
}

/* Form consent note (152-FZ) */
.form-consent {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted);
}
.form-consent a { text-decoration: underline; }
.section--navy .form-consent { color: rgba(255, 255, 255, 0.65); }

/* MAX Messenger Modal & Copy Pill */
.max-phone-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  margin: 16px 0;
}
.max-phone-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.copy-feedback {
  font-size: 13px;
  font-weight: 600;
  color: #027A48;
  margin-top: 8px;
  min-height: 18px;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
  align-items: center;
  box-shadow: 0 -6px 20px rgba(19, 34, 56, 0.08);
}
.mobile-sticky-bar .btn--primary { flex: 1; padding: 11px 14px; font-size: 14px; }
.mobile-sticky-bar .btn--outline { padding: 11px 12px; font-size: 13.5px; }

@media (max-width: 680px) {
  .mobile-sticky-bar { display: flex; }
}
