/* ============================================================
   Хостел «Как дома» — Tomsk · Modern redesign
   System: Manrope (sans, Cyrillic), slate-blue business accent,
   warm-neutral surfaces, Marriott-style cards & pills.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #f3f4f6;
  --surface:   #ffffff;
  --surface-2: #fbfbfc;

  /* ink */
  --ink:    #14181d;
  --ink-2:  #56616e;
  --ink-3:  #8b95a1;
  --line:   #e6e9ed;
  --line-2: #d6dbe1;

  /* accent — slate blue, business */
  --accent:      #2f4a63;
  --accent-700:  #243a4f;
  --accent-300:  #6f8aa3;
  --accent-soft: #eef2f6;
  --accent-tint: #e3ebf2;

  /* feedback */
  --gold:  #b9892f;          /* rating star */
  --good:  #2f7d52;

  --radius:   16px;
  --radius-s: 10px;
  --radius-l: 24px;

  --shadow-sm: 0 1px 2px rgba(20,24,29,.05), 0 1px 1px rgba(20,24,29,.04);
  --shadow-md: 0 6px 22px rgba(20,24,29,.09);
  --shadow-lg: 0 22px 60px rgba(20,24,29,.18);

  --maxw: 1240px;
  --gut: 28px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent-tint); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---- typography helpers ---- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.h-section {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0;
}
.sub-section {
  color: var(--ink-2);
  font-size: 17px;
  margin: 10px 0 0;
  max-width: 60ch;
}
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark   { background: var(--ink); color: #fff; }
.btn-dark:hover   { background: #000; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-700); box-shadow: var(--shadow-md); }
.btn-ghost  { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light  { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-light:hover { box-shadow: var(--shadow-sm); border-color: var(--ink-3); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--ink);
}
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.util {
  background: var(--ink);
  color: #e7eaee;
  font-size: 13px;
}
.util .wrap {
  display: flex; align-items: center; gap: 22px;
  height: 40px; white-space: nowrap;
}
.util .u-loc { display: flex; align-items: center; gap: 7px; color: #cfd6dd; min-width: 0; overflow: hidden; }
.util .u-loc .full { overflow: hidden; text-overflow: ellipsis; }
.util .u-rating, .util .u-phone, .util .u-call { flex: none; }
.util .u-loc:hover { color: #fff; }
.util .u-rating {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 700;
}
.util .u-rating .score {
  background: var(--accent-300); color: #10212f;
  border-radius: 6px; padding: 1px 7px; font-weight: 800;
}
.util .u-spacer { margin-left: auto; }
.util .u-phone { color: #fff; font-weight: 700; }
.util .u-call { color: #aeb8c2; }
.util .u-call:hover { color: #fff; }
.util .u-sep { width: 1px; height: 16px; background: #3a444f; }

@media (max-width: 720px) {
  .util .u-loc span.full { display: none; }
  .util .u-call { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { display: block; height: 34px; width: auto; max-width: none; flex: none; }
.ftr .f-brand .logo-img { height: 32px; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; letter-spacing: -.04em;
  box-shadow: var(--shadow-sm);
}
.logo .l-name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1; }
.logo .l-name, .logo .l-sub { display: block; white-space: nowrap; }
.logo .l-sub  { font-size: 11px; color: var(--ink-2); font-weight: 600; letter-spacing: .04em; margin-top: 3px; }
.logo > span { display: flex; flex-direction: column; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 9px 13px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--accent-soft); color: var(--ink); }

.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: none; border: 0; padding: 8px; }

@media (max-width: 940px) {
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .hdr-cta { margin-left: 0; }
  .hdr-cta .btn-ghost { display: none; }
}

/* ============================================================
   HERO + BOOKING SEARCH
   ============================================================ */
.hero { position: relative; }
.hero-inner { position: relative; }

/* Variant A — full-bleed image, panel overlay */
.heroA .h-media {
  position: relative; height: 660px; overflow: hidden;
  border-radius: 0; background: #1b2a36;
}
.heroA .h-media img { width: 100%; height: 100%; object-fit: cover; }
.heroA .h-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,20,.46) 0%, rgba(8,14,20,.12) 36%, rgba(8,14,20,.5) 100%);
}
.heroA .h-copy {
  position: absolute; left: 0; right: 0; top: 96px; z-index: 2;
  color: #fff;
}
.heroA .h-copy .wrap { max-width: var(--maxw); }
.heroA .h-copy h1 {
  font-size: clamp(34px, 5.2vw, 62px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.02; margin: 0; max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.heroA .h-copy p {
  font-size: clamp(16px, 1.6vw, 20px); margin: 18px 0 0; max-width: 44ch;
  color: #eef1f4; text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.heroA .h-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* hero rating badges — соц. доказательство на первом экране */
.h-ratings { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.h-rate {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 15px 9px 12px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(8,14,20,.18);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.h-rate:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.hr-score { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.hr-score small { font-size: 11px; font-weight: 600; opacity: .65; margin-left: 1px; }
.hr-meta { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.hr-stars { color: #ffc83d; font-size: 12px; letter-spacing: 1.5px; }
.hr-src { font-size: 12px; font-weight: 600; color: #eef2f6; }

@media (max-width: 560px) {
  .h-ratings { gap: 8px; margin-top: 20px; }
  .h-rate { padding: 8px 12px 8px 10px; gap: 9px; border-radius: 12px; }
  .hr-score { font-size: 18px; }
}

/* Variant B — split: copy left, image right card */
.heroB { background: var(--surface); border-bottom: 1px solid var(--line); }
.heroB .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.heroB h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 16px 0 0; }
.heroB p { font-size: 18px; color: var(--ink-2); margin: 18px 0 0; max-width: 46ch; }
.heroB .h-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.heroB .h-stats { display: flex; gap: 28px; margin-top: 34px; }
.heroB .h-stats .st-n { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.heroB .h-stats .st-l { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.heroB .h-art { position: relative; }
.heroB .h-art .main {
  border-radius: var(--radius-l); overflow: hidden; height: 480px;
  box-shadow: var(--shadow-lg); background: var(--accent-soft);
}
.heroB .h-art .main img { width: 100%; height: 100%; object-fit: cover; }
.heroB .h-art .badge {
  position: absolute; left: -22px; bottom: 40px;
  background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
}
.heroB .h-art .badge .score { font-size: 30px; font-weight: 800; color: var(--accent); }

/* Variant C — image mosaic grid */
.heroC { background: var(--surface); border-bottom: 1px solid var(--line); }
.heroC .wrap { padding-top: 52px; padding-bottom: 8px; }
.heroC .c-top { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.heroC .c-top h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.03; margin: 14px 0 0; }
.heroC .c-top p { font-size: 18px; color: var(--ink-2); margin: 16px auto 0; max-width: 48ch; }
.heroC .mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px; gap: 12px;
}
.heroC .mosaic .m { border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); }
.heroC .mosaic .m img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.heroC .mosaic .m:hover img { transform: scale(1.05); }
.heroC .mosaic .big { grid-column: span 2; grid-row: span 2; }
.heroC .mosaic .tall { grid-row: span 2; }

@media (max-width: 880px) {
  .heroB .wrap { grid-template-columns: 1fr; }
  .heroB .h-art .main { height: 320px; }
  .heroC .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .heroC .mosaic .big { grid-column: span 2; }
}

/* ---- booking search bar ---- */
.searchbar-wrap { position: relative; z-index: 5; }
.heroA .searchbar-wrap { margin-top: -56px; }
.searchbar {
  background: #fff; border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr auto;
  gap: 6px;
  align-items: stretch;
}
.sb-field {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 16px; border-radius: var(--radius-s);
  cursor: pointer; transition: background .15s; position: relative;
}
@media (hover: hover) { .sb-field:hover { background: var(--accent-soft); } }
.sb-field + .sb-field { border-left: 1px solid var(--line); }
.sb-field .sb-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
}
.sb-field .sb-val { font-size: 16px; font-weight: 700; color: var(--ink); }
.sb-field .sb-val.placeholder { color: var(--ink-3); font-weight: 600; }
.sb-field input[type="date"] {
  border: 0; background: none; font-family: inherit;
  font-size: 16px; font-weight: 700; color: var(--ink); padding: 0; width: 100%;
}
.sb-go { display: flex; align-items: stretch; }
.sb-go .btn { border-radius: var(--radius-s); }

.stepper-pop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 14px; z-index: 30; min-width: 230px;
}
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 4px; }
.stepper-row .sr-l .t { font-weight: 700; font-size: 14px; }
.stepper-row .sr-l .s { font-size: 12px; color: var(--ink-2); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.stepper button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .num { width: 20px; text-align: center; font-weight: 700; }

@media (max-width: 880px) {
  .searchbar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .sb-field {
    border: 1px solid var(--line);
    background: var(--surface-2);
    padding: 10px 12px;
    min-width: 0;
  }
  .sb-field + .sb-field { border-left: 1px solid var(--line); }
  .sb-go { grid-column: span 2; }
  .sb-go .btn { width: 100%; padding-top: 14px; padding-bottom: 14px; }
  .sb-field input[type="date"] { min-width: 0; max-width: 100%; }
  .heroA .searchbar-wrap { margin-top: 18px; }
}

/* ============================================================
   OFFERS CAROUSEL
   ============================================================ */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 3);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.offer {
  position: relative; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; height: 360px;
  color: #fff; cursor: pointer; box-shadow: var(--shadow-sm); background: #1b2a36;
}
.offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer:hover img { transform: scale(1.06); }
.offer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,20,0) 38%, rgba(8,14,20,.82) 100%); }
.offer .o-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; }
.offer .o-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.offer .o-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.offer .o-arrow {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff;
}
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0;
  display: grid; place-items: center; box-shadow: var(--shadow-md); z-index: 6;
  transition: background .15s, transform .15s;
}
.car-nav:hover { background: #000; }
.car-nav.prev { left: -16px; }
.car-nav.next { right: -16px; }
.car-dots { display: flex; gap: 7px; justify-content: center; margin-top: 22px; }
.car-dots .d { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: 0; padding: 0; transition: background .15s, width .15s; }
.car-dots .d.on { background: var(--ink); width: 22px; border-radius: 5px; }

@media (max-width: 880px) { .carousel-track { grid-auto-columns: 82%; } .car-nav { display: none; } }

/* ============================================================
   ROOMS
   ============================================================ */
.rooms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.room-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.room-card .rc-media { position: relative; height: 220px; overflow: hidden; background: var(--accent-soft); }
.room-card .rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-card:hover .rc-media img { transform: scale(1.05); }
.room-card .rc-save {
  position: absolute; left: 14px; top: 14px;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  padding: 6px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.room-card .rc-cap {
  position: absolute; right: 14px; top: 14px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
}
.room-card .rc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.room-card .rc-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.room-card .rc-feats { display: flex; flex-wrap: wrap; gap: 7px; }
.room-card .rc-feats span {
  font-size: 12.5px; color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
}
.room-card .rc-price-row {
  margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.room-card .rc-price .old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.room-card .rc-price .now { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.room-card .rc-price .now small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.room-card .rc-price .per { font-size: 12px; color: var(--ink-2); }

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

/* ============================================================
   AMENITIES (feature block, Marriott style)
   ============================================================ */
.amen-card {
  background: var(--surface); border-radius: var(--radius-l);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: .9fr 1.2fr; overflow: hidden;
}
.amen-card .a-left { padding: 48px 44px; background: var(--accent); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.amen-card .a-left h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.amen-card .a-left p { color: #d8e2ec; font-size: 16px; margin: 16px 0 26px; }
.amen-card .a-left .a-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.amen-card .a-grid { padding: 40px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 36px; }
.amen-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.amen-item:nth-last-child(-n+2) { border-bottom: 0; }
.amen-item .ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.amen-item .am-t { font-weight: 700; font-size: 15px; }
.amen-item .am-s { font-size: 13px; color: var(--ink-2); margin-top: 2px; }

@media (max-width: 880px) {
  .amen-card { grid-template-columns: 1fr; }
  .amen-card .a-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px;
}
.gallery-grid .g {
  border-radius: var(--radius-s); overflow: hidden; cursor: pointer; position: relative; background: var(--accent-soft);
}
.gallery-grid .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid .g:hover img { transform: scale(1.06); }
.gallery-grid .g::after { content: ""; position: absolute; inset: 0; background: rgba(8,14,20,0); transition: background .2s; }
.gallery-grid .g:hover::after { background: rgba(8,14,20,.15); }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }

@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,12,16,.92);
  display: grid; place-items: center; padding: 40px;
}
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .15s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 26px; right: 26px; }
.lb-nav.prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 26px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; }

/* ============================================================
   ABOUT / TRUST
   ============================================================ */
.trust-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-col h4 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 18px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 16px; font-weight: 700; font-size: 14px;
}
.trust-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-300); }
.trust-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 760px) { .trust-cols { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev-top { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-bottom: 36px; }
.rev-score {
  background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 26px 34px; text-align: center; min-width: 200px;
}
.rev-score .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rev-score .small { font-size: 13px; color: #cdd9e3; margin-top: 8px; }
.rev-platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.rev-plat {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px;
  font-weight: 700; font-size: 14px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.rev-plat:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.rev-card .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.rev-card .txt { font-size: 15px; line-height: 1.55; color: var(--ink); }
.rev-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rev-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.rev-card .who .nm { font-weight: 700; font-size: 14.5px; }
.rev-card .who .loc { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 980px) { .rev-grid { grid-template-columns: 1fr; } .rev-top { grid-template-columns: 1fr; } }

/* ============================================================
   MAP / FIND US
   ============================================================ */
.find-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.find-info { padding: 44px; }
.find-info h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 0; }
.find-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.find-row { display: flex; gap: 14px; }
.find-row .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.find-row .fr-t { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.find-row .fr-v { font-weight: 700; font-size: 16px; margin-top: 2px; }
.find-map { min-height: 420px; position: relative; }
.find-map iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
@media (max-width: 860px) { .find-grid { grid-template-columns: 1fr; } .find-map { min-height: 300px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.ftr { background: var(--ink); color: #c4cdd6; padding: 56px 0 30px; margin-top: 8px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.ftr h5 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.ftr a { display: block; padding: 6px 0; color: #c4cdd6; font-size: 14.5px; }
.ftr a:hover { color: #fff; }
.ftr .f-brand .logo .l-name, .ftr .f-brand .logo .l-sub { color: #fff; }
.ftr .f-desc { font-size: 14px; line-height: 1.6; margin: 16px 0 20px; color: #aab4bd; max-width: 38ch; }
.ftr .socials { display: flex; gap: 10px; }
.ftr .socials a { width: 40px; height: 40px; border-radius: 50%; background: #232a31; display: grid; place-items: center; padding: 0; }
.ftr .socials a:hover { background: var(--accent); }
.ftr-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2a323a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8b95a1; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .ftr-top { grid-template-columns: 1fr; } }

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.modal-scrim { position: fixed; inset: 0; z-index: 150; background: rgba(8,12,16,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 24px; }
.modal {
  background: #fff; border-radius: var(--radius-l); width: min(560px, 100%);
  max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg);
}
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.modal-close:hover { border-color: var(--ink); }
.modal-body { padding: 24px 26px; }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.step-pill { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.step-pill.on { background: var(--accent); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.room-pick { display: flex; flex-direction: column; gap: 10px; }
.room-opt { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; transition: border-color .15s, background .15s; }
.room-opt:hover { border-color: var(--accent-300); }
.room-opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.room-opt img { width: 64px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: var(--line); }
.room-opt .ro-t { font-weight: 700; font-size: 15px; }
.room-opt .ro-p { font-size: 13px; color: var(--ink-2); }
.room-opt .ro-price { margin-left: auto; font-weight: 800; }
.summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.summary .sm-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.summary .sm-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 18px; }
.modal-foot { display: flex; gap: 12px; padding: 18px 26px 26px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.consent input { margin-top: 2px; }
.success { text-align: center; padding: 20px 6px 8px; }
.success .check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.success h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.success p { color: var(--ink-2); margin: 0 auto; max-width: 38ch; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 300; font-weight: 700; font-size: 14px; }

/* ============================================================
   NEARBY · В шаговой доступности
   ============================================================ */
.nearby-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 36px;
}
.nearby-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.nearby-stat:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.nearby-stat .ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.nearby-stat .ns-n { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.nearby-stat .ns-t { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

.nearby-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.nearby-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 16px 18px;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.nearby-item:hover { background: #fff; border-color: var(--accent-300); box-shadow: var(--shadow-sm); }
.nearby-item .ni-ic { flex: none; color: var(--accent); display: grid; place-items: center; }
.nearby-item .ni-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.nearby-item .ni-dist {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 11px;
  white-space: nowrap;
}
.nearby-item .ni-dist svg { color: var(--accent); }

@media (max-width: 980px) {
  .nearby-stats { grid-template-columns: repeat(2, 1fr); }
  .nearby-list  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nearby-stats { grid-template-columns: 1fr 1fr; }
  .nearby-list  { grid-template-columns: 1fr; }
}

/* misc */
.divider-soft { height: 1px; background: var(--line); }
.fade-in { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
