/* ============================================================
   tour.css — стили страницы групповой экскурсии
   Тёплая тёмная тема в стиле сайта CityInsider.
   Подключается ПОСЛЕ style.css. Все классы с префиксом .t- / .tour-
   ============================================================ */

:root {
  --g-bg:       #14110d;
  --g-bg-2:     #1a1714;
  --g-card:     #1f1c17;
  --g-card-hi:  #262220;
  --g-line:     #2a2622;
  --g-line-hi:  #3a342c;
  --g-text:     #e6dfd2;
  --g-text-2:   #aea592;
  --g-muted:    #7d7466;
  --g-gold:     #e6af4b;
  --g-gold-dim: #b88838;
  --g-green:    #6fc36a;
}

body.tour-page { background: var(--g-bg); color: var(--g-text); -webkit-font-smoothing: antialiased; }
body.tour-page .font-serif { font-family: Volkhov, "Times New Roman", serif; }

/* ============ HERO ============ */
.tour-hero {
  background: var(--g-bg-2);
  position: relative; overflow: hidden;
  padding: 130px 0 70px;
  border-bottom: 1px solid var(--g-line);
}
.tour-hero::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 88% 20%, rgba(230,175,75,.14), transparent 55%),
    radial-gradient(circle at 8% 95%, rgba(230,175,75,.05), transparent 55%);
}
.tour-hero .container { position: relative; z-index: 1; }

.tour-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,175,75,.12); border: 1px solid rgba(230,175,75,.4);
  color: var(--g-gold);
  font-family:"Roboto Condensed", sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.tour-badge i { font-size: 13px; }

.tour-h1 {
  font-family:"Roboto Condensed", sans-serif;
  font-weight: 300; font-size: 64px; line-height: 1.02;
  letter-spacing: -1.5px; color:#fff; margin: 0 0 22px;
}
.tour-h1 strong { font-weight: 700; }

.tour-sub {
  font-family: Volkhov, serif; font-style: italic;
  font-size: 20px; line-height: 1.55; color: var(--g-text-2);
  max-width: 520px; margin-bottom: 32px;
}

.tour-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 36px; }
.tour-meta-item {
  display: flex; align-items: center; gap: 9px;
  color: var(--g-text); font-size: 13px;
  font-family:"Roboto Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.tour-meta-item i { color: var(--g-gold); font-size: 16px; }

.tour-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn-book {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--g-gold); color:#1a1714;
  font-family:"Roboto Condensed", sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; border: none; cursor: pointer;
  text-decoration: none; transition: background .2s, color .2s;
}
.btn-book:hover { background:#fff; color:#1a1714; }
.btn-book.ghost { background: transparent; color: var(--g-gold); border: 1px solid var(--g-gold-dim); }
.btn-book.ghost:hover { background: var(--g-card); color:#fff; border-color: var(--g-gold); }
.tour-price { font-family: Volkhov, serif; font-style: italic; font-size: 14px; color: var(--g-text-2); }
.tour-price strong { font-family:"Roboto Condensed", sans-serif; font-style: normal; color:#fff; font-size: 24px; font-weight: 700; }

/* фото-плейсхолдер в hero */
.tour-hero-photo {
  aspect-ratio: 4/5; border: 1px solid var(--g-line-hi); border-radius: 4px;
  background: linear-gradient(160deg, #2d2118 0%, #4a3520 70%, #6b4a2a 100%);
  position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.tour-hero-photo img { width:100%; height:100%; object-fit: cover; display:block; }
.tour-hero-photo .hint {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px;
  color: rgba(255,255,255,.5); font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 1px; line-height: 1.7;
}
.tour-hero-photo .hint i { font-size: 26px; color: rgba(230,175,75,.6); }

/* ============ SECTIONS ============ */
.tour-body { background: var(--g-bg); padding: 70px 0; }
.tour-section { margin-bottom: 66px; }
.tour-section:last-child { margin-bottom: 0; }
.tour-eyebrow {
  font-family:"Roboto Condensed", sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--g-gold); margin-bottom: 14px;
}
.tour-title {
  font-family:"Roboto Condensed", sans-serif; font-weight: 300;
  font-size: 34px; letter-spacing: -.5px; color:#fff; margin: 0 0 32px;
}
.tour-title strong { font-weight: 700; }
.tour-divider { border: 0; border-top: 1px solid var(--g-line); margin: 0 0 66px; }

/* ============ CRAFTS ============ */
.crafts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.craft-card { background: var(--g-card); border: 1px solid var(--g-line); border-radius: 4px; padding: 30px 26px; text-align: center; }
.craft-icon { font-size: 30px; color: var(--g-gold); margin-bottom: 18px; }
.craft-card h3 { font-family:"Roboto Condensed", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 16px; color:#fff; margin: 0 0 10px; }
.craft-card p { font-family: Volkhov, serif; font-style: italic; font-size: 14px; color: var(--g-text-2); line-height: 1.55; margin: 0; }

/* ============ ROUTE ============ */
.eve-banner {
  background: var(--g-card); border: 1px solid var(--g-line); border-left: 3px solid var(--g-gold);
  border-radius: 4px; padding: 18px 22px; display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
}
.eve-banner i { font-size: 20px; color: var(--g-gold); flex-shrink: 0; margin-top: 2px; }
.eve-banner p { font-family: Volkhov, serif; font-style: italic; font-size: 14px; color: var(--g-text-2); line-height: 1.6; margin: 0; }
.eve-banner strong { color:#fff; font-style: normal; }

.stops { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stop {
  background: var(--g-card); border: 1px solid var(--g-line); border-radius: 4px;
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .2s, background .2s;
}
.stop:hover { border-color: var(--g-line-hi); background: var(--g-card-hi); }
.stop-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  border: 1px solid var(--g-line-hi); color: var(--g-gold);
  display: flex; align-items: center; justify-content: center;
  font-family:"Roboto Condensed", sans-serif; font-weight: 700; font-size: 14px;
}
.stop-first .stop-num, .stop-last .stop-num { background: var(--g-gold); color:#1a1714; border-color: var(--g-gold); }
.stop h3 { font-family:"Roboto Condensed", sans-serif; font-weight: 600; font-size: 16px; color:#fff; margin: 0 0 6px; letter-spacing: .5px; }
.stop p { font-family: Volkhov, serif; font-style: italic; font-size: 13.5px; color: var(--g-text-2); line-height: 1.55; margin: 0; }
.buildings-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bldg-tag {
  font-family:"Roboto Condensed", sans-serif; font-size: 11px; letter-spacing: 1px;
  color: var(--g-gold); background: rgba(230,175,75,.08);
  border: 1px solid rgba(230,175,75,.25); border-radius: 999px; padding: 3px 11px;
  white-space: nowrap;
}

/* ============ INFO ============ */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.i-card { background: var(--g-card); border: 1px solid var(--g-line); border-radius: 4px; padding: 18px 20px; }
.i-label { font-family:"Roboto Condensed", sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; color: var(--g-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.i-label i { font-size: 13px; color: var(--g-gold); }
.i-val { font-family:"Roboto Condensed", sans-serif; font-weight: 700; font-size: 18px; color:#fff; }
.i-sub { font-family: Volkhov, serif; font-style: italic; font-size: 12px; color: var(--g-text-2); margin-top: 3px; }

.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 28px; }
.inc-label { font-family:"Roboto Condensed", sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--g-muted); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--g-line); }
.inc-list { list-style: none; padding: 0; margin: 0; }
.inc-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.5; padding: 9px 0; color: var(--g-text); border-bottom: 1px dashed var(--g-line); }
.inc-list li:last-child { border-bottom: none; }
.inc-list li i { font-size: 14px; margin-top: 3px; flex-shrink: 0; }
.inc-list li i.yes { color: var(--g-green); }
.inc-list li i.no  { color: var(--g-muted); }

/* ============ PHOTOS ============ */
.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.photo-slot {
  aspect-ratio: 4/3; background: var(--g-card); border: 1px dashed var(--g-line-hi); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden;
}
.photo-slot img { width:100%; height:100%; object-fit: cover; }
.photo-slot i { font-size: 22px; color: var(--g-muted); }
.photo-slot span { font-family: ui-monospace, monospace; font-size: 11px; color: var(--g-muted); text-align: center; padding: 0 12px; line-height: 1.5; }
.photo-hero-slot { grid-column: span 2; aspect-ratio: 16/9; }
.photo-note { font-family: Volkhov, serif; font-style: italic; font-size: 12px; color: var(--g-muted); }

/* ============ REVIEWS ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.r-card { background: var(--g-card); border: 1px solid var(--g-line); border-radius: 4px; padding: 26px 24px; position: relative; }
.r-stars { color: var(--g-gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
.r-text { font-family: Volkhov, serif; font-style: italic; font-size: 15px; color: var(--g-text); line-height: 1.65; margin-bottom: 18px; }
.r-author { display: flex; align-items: center; gap: 12px; }
.r-ava {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--g-gold), var(--g-gold-dim)); color:#1a1714;
  display: flex; align-items: center; justify-content: center;
  font-family:"Roboto Condensed", sans-serif; font-weight: 700; font-size: 13px;
}
.r-name { font-family:"Roboto Condensed", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color:#fff; }
.r-from { font-size: 11px; color: var(--g-muted); letter-spacing: 1px; text-transform: uppercase; }
.r-placeholder {
  background: var(--g-card); border: 1px dashed var(--g-line-hi); border-radius: 4px;
  padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.r-placeholder > i { font-size: 26px; color: var(--g-muted); }
.r-placeholder p { font-family: Volkhov, serif; font-style: italic; font-size: 13px; color: var(--g-text-2); margin: 0; }

/* ============ GUIDE ============ */
.guide-card { display: flex; gap: 28px; background: var(--g-card); border: 1px solid var(--g-line); border-radius: 4px; padding: 30px; align-items: flex-start; }
.g-ava {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(160deg, #d8a053, #6b4a2a); border: 2px solid var(--g-gold);
  display: flex; align-items: center; justify-content: center;
  font-family:"Roboto Condensed", sans-serif; font-weight: 700; font-size: 30px; color:#1a1714;
}
.g-ava img { width:100%; height:100%; object-fit: cover; }
.g-name { font-family:"Roboto Condensed", sans-serif; font-weight: 700; font-size: 22px; color:#fff; margin: 0 0 4px; }
.g-title { font-family:"Roboto Condensed", sans-serif; font-size: 11px; color: var(--g-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.g-bio { font-family: Volkhov, serif; font-style: italic; font-size: 14.5px; color: var(--g-text-2); line-height: 1.7; margin-bottom: 16px; }
.lang-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.l-tag { font-family:"Roboto Condensed", sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: transparent; border: 1px solid var(--g-line-hi); color: var(--g-text); }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid var(--g-line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--g-line); }
.faq-q { font-family:"Roboto Condensed", sans-serif; font-weight: 600; font-size: 16px; color:#fff; margin: 0 0 8px; letter-spacing: .5px; }
.faq-a { font-family: Volkhov, serif; font-style: italic; font-size: 14px; color: var(--g-text-2); line-height: 1.7; margin: 0; }
.faq-a strong { color:#fff; font-style: normal; }

/* ============ CTA ============ */
.tour-cta { background: var(--g-bg-2); border-top: 1px solid var(--g-line); padding: 90px 0; position: relative; overflow: hidden; }
.tour-cta::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 0%, rgba(230,175,75,.12), transparent 50%); }
.tour-cta .container { position: relative; z-index: 1; }
.tour-cta .stripe { width: 60px; height: 1px; background: var(--g-gold); margin: 0 auto 30px; }
.tour-cta h2 { font-family:"Roboto Condensed", sans-serif; font-weight: 300; font-size: 40px; color:#fff; margin: 0 0 16px; }
.tour-cta p { font-family: Volkhov, serif; font-style: italic; font-size: 17px; color: var(--g-text-2); margin: 0 auto 36px; max-width: 560px; }
.tour-cta .cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* фото внутри карточки остановки */
.stop-img {
  display: block; width: 100%;
  aspect-ratio: 3/2; object-fit: cover;
  border-radius: 2px; margin-top: 14px; opacity: .92;
}

/* реальные фото в галерее и hero */
.photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tour-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block; position: relative; z-index: 1;
}
/* общий цвет ссылок на странице тура (перебивает a{color:#111} из style.css) */
body.tour-page a { color: var(--g-gold); }
body.tour-page a:hover, body.tour-page a:focus { color: #fff; }
/* кнопки — свой цвет, не наследуем */
body.tour-page a.btn-book,
body.tour-page a.btn-book:hover,
body.tour-page a.btn-book:focus { color: #1a1714; }
body.tour-page a.btn-book.ghost,
body.tour-page a.btn-book.ghost:hover,
body.tour-page a.btn-book.ghost:focus { color: #fff; }

/* ссылки внутри faq-a */
body.tour-page .faq-a a {
  color: #fff !important;
  font-weight: 700 !important;
  font-style: normal !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
body.tour-page .faq-a a:hover { color: var(--g-gold) !important; border-color: var(--g-gold-dim); }

/* ============ GALLERY (hero + равная сетка) ============ */
.photo-hero-solo {
  display: block; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; margin-bottom: 10px; cursor: zoom-in;
}
.photo-hero-solo img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s; }
.photo-hero-solo:hover img { transform: scale(1.025); }

.photo-grid-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-slot-sm {
  display: block; aspect-ratio: 1/1; overflow: hidden;
  cursor: zoom-in; background: var(--g-card);
}
.photo-slot-sm img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s; }
.photo-slot-sm:hover img { transform: scale(1.06); }

/* lightbox */
.lb-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.93); z-index:99999;
  display:flex; align-items:center; justify-content:center; cursor:zoom-out;
}
.lb-overlay img { max-width:92vw; max-height:92vh; object-fit:contain; }
.lb-overlay .lb-close {
  position:absolute; top:20px; right:28px;
  color:#fff; font-size:36px; line-height:1;
  cursor:pointer; opacity:.7; user-select:none;
  font-family:"Roboto Condensed",sans-serif;
}
.lb-overlay .lb-close:hover { opacity:1; color:var(--g-gold); }
@media (max-width: 991px) {
  .tour-h1 { font-size: 48px; }
  .tour-hero-photo { max-width: 360px; margin: 40px auto 0; }
  .tour-body { padding: 50px 0; }
}
@media (max-width: 640px) {
  .tour-hero { padding: 100px 0 50px; }
  .tour-h1 { font-size: 38px; }
  .tour-sub { font-size: 17px; }
  .crafts-row { grid-template-columns: 1fr; }
  .stops { grid-template-columns: 1fr; }
  .inc-grid { grid-template-columns: 1fr; gap: 24px; }
  .photo-slots { grid-template-columns: 1fr 1fr; }
  .photo-hero-slot { grid-column: span 2; }
  .guide-card { flex-direction: column; }
  .tour-title { font-size: 27px; }
  .tour-cta h2 { font-size: 30px; }
}
