  /* ---- ЧЕРНОВЫЕ стили для страницы "Аудиогид" — при переносе на сервер
     станут отдельным файлом assets/css/custom-audiogid.css ---- */
  /* кнопка "Начать экскурсию" теперь ведёт на #audiogid-map на этой же странице —
     плавная прокрутка вместо мгновенного прыжка. */
  html {
    scroll-behavior: smooth;
  }
  .audiogid-hero {
    position: relative;
    overflow: hidden;
    background:
      linear-gradient(135deg, rgba(11,29,77,0.62) 0%, rgba(20,48,110,0.58) 45%, rgba(28,79,176,0.48) 100%),
      url('https://images.pexels.com/photos/12032969/pexels-photo-12032969.jpeg?cs=srgb&dl=pexels-screeny42-12032969.jpg&fm=jpg&w=1920') center / cover no-repeat;
    padding: 116px 0 88px;
    color: #fff;
  }
  .audiogid-hero__skyline {
    display: none;
  }
  .audiogid-hero__container {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
  }
  .audiogid-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.12);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 24px;
  }
  .audiogid-hero__badge svg { width: 16px; height: 16px; flex: none; }
  .audiogid-hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px;
    max-width: 640px;
    text-shadow: 0 2px 16px rgba(5,14,40,0.45);
  }
  .audiogid-hero__text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin: 0 0 36px;
    max-width: 620px;
    text-shadow: 0 1px 10px rgba(5,14,40,0.4);
  }
  .audiogid-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    background: #ffffff;
    color: #14306e;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  }
  .audiogid-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.24); }
  .audiogid-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
  }
  .audiogid-hero__stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 14px;
    font-weight: 500;
  }
  .audiogid-hero__stat svg { width: 16px; height: 16px; opacity: .85; flex: none; }

  .audiogid-about {
    padding: 72px 0;
  }
  .audiogid-about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .audiogid-about__title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 40px;
  }
  .audiogid-about__card {
    background: #f4f6fb;
    border-radius: 20px;
    padding: 28px;
  }
  .audiogid-about__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #e7edfb;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
  }
  .audiogid-about__icon svg { width: 24px; height: 24px; color: #1c4fb0; }
  .audiogid-about__card-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
  .audiogid-about__card-text { font-size: 15px; line-height: 1.5; color: #5b6472; margin: 0; }

  .audiogid-reviews {
    padding: 72px 0 96px;
    background: #f4f6fb;
  }
  .audiogid-reviews__title { font-size: 32px; font-weight: 700; margin: 0 0 8px; }
  .audiogid-reviews__sub { font-size: 16px; color: #5b6472; margin: 0 0 40px; }
  .audiogid-reviews__carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .audiogid-reviews__track {
    display: flex;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .audiogid-reviews__track::-webkit-scrollbar { display: none; }
  .audiogid-reviews__nav {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dfe3ea;
    background: #fff;
    color: #14306e;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(20,48,110,0.08);
    transition: background .15s ease, opacity .15s ease;
  }
  .audiogid-reviews__nav:hover { background: #f4f6fb; }
  .audiogid-reviews__nav:disabled { opacity: .35; cursor: default; }
  .audiogid-reviews__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .audiogid-reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dfe3ea;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
  }
  .audiogid-reviews__dot._active { background: #1c4fb0; transform: scale(1.2); }
  .audiogid-review {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(20,48,110,0.06);
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 16px);
    min-width: 0;
  }
  .audiogid-review__stars { color: #ffb020; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
  .audiogid-review__text { font-size: 15px; line-height: 1.55; color: #33394a; margin: 0 0 20px; }
  .audiogid-review__author { display: flex; align-items: center; gap: 12px; }
  .audiogid-review__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: #dfe6f7; color: #1c4fb0; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none;
  }
  .audiogid-review__name { font-size: 14px; font-weight: 600; margin: 0; }
  .audiogid-review__meta { font-size: 13px; color: #8992a3; margin: 0; }

  .audiogid-placeholder-note {
    max-width: 900px;
    margin: 0 auto 0;
    padding: 16px 20px;
    background: #fff7e6;
    border: 1px dashed #f0b429;
    border-radius: 12px;
    font-size: 14px;
    color: #7a5a05;
  }

  @media (max-width: 900px) {
    .audiogid-about__grid { grid-template-columns: 1fr; }
    .audiogid-hero__title { font-size: 34px; }
    .audiogid-review { flex: 0 0 calc(50% - 12px); }
  }
  @media (max-width: 640px) {
    .audiogid-reviews__nav { display: none; }
    .audiogid-review { flex: 0 0 86%; }
  }
  /* fix: this section is a direct flex child of body (site uses display:flex on body) —
     without flex-shrink:0 it can get crushed by the flex column layout */
  .audiogid-hero { flex-shrink: 0; }

  .audiogid-reviews__empty {
    flex: 1 1 100%;
    text-align: center;
    color: #8992a3;
    font-size: 14px;
    padding: 24px 0;
  }

  .audiogid-review-form-wrap {
    max-width: 640px;
    margin: 48px auto 0;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(20,48,110,0.06);
  }
  .audiogid-review-form__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #14213d;
  }
  .audiogid-review-form__field { margin-bottom: 16px; }
  .audiogid-review-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #5b6472;
    margin-bottom: 8px;
  }
  .audiogid-review-stars {
    display: inline-flex;
    gap: 4px;
  }
  .audiogid-review-star {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: #dfe3ea;
    padding: 2px;
    transition: color .1s ease, transform .1s ease;
  }
  .audiogid-review-star:hover { transform: scale(1.1); }
  .audiogid-review-star._filled { color: #ffb020; }
  .audiogid-review-form__row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .audiogid-review-form__input,
  .audiogid-review-form__textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    color: #14213d;
  }
  .audiogid-review-form__row .audiogid-review-form__input { flex: 1 1 200px; }
  .audiogid-review-form__textarea {
    min-height: 100px;
    resize: vertical;
    margin-bottom: 16px;
  }
  .audiogid-review-form__input:focus,
  .audiogid-review-form__textarea:focus {
    outline: none;
    border-color: #1c4fb0;
  }
  .audiogid-review-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .audiogid-review-form__submit {
    background: #1c4fb0;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s ease;
  }
  .audiogid-review-form__submit:hover { background: #163e8c; }
  .audiogid-review-form__submit:disabled { opacity: .6; cursor: default; }
  .audiogid-review-form__status {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
  }
  .audiogid-review-form__status._success { color: #1c8a4b; }
  .audiogid-review-form__status._error { color: #c0392b; }

  @media (max-width: 640px) {
    .audiogid-review-form-wrap { padding: 24px; }
  }


  .audiogid-note {
    max-width: 900px;
    margin: 16px auto 0;
    padding: 16px 20px;
    background: #fff7e6;
    border: 1px dashed #f0b429;
    border-radius: 12px;
    font-size: 14px;
    color: #7a5a05;
  }
  .audiogid-map-hero {
    background: linear-gradient(135deg, #0b1d4d 0%, #14306e 45%, #1c4fb0 100%);
    color: #fff;
    padding: 116px 0 36px;
  }
  .audiogid-map-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  .audiogid-map-hero__back {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 12px;
  }
  .audiogid-map-hero__back:hover { color: #fff; }
  .audiogid-map-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.12);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
  }
  .audiogid-map-hero__title {
    font-size: 32px;
    font-weight: 700;
    margin: 14px 0 0;
  }
  .audiogid-map-hero__stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .audiogid-map-hero__stat {
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 13px;
    font-weight: 500;
  }
  #audiogid-map {
    width: 100%;
    height: 560px;
    background: #e7edf5;
    position: relative;
    overflow: hidden;
    /* якорь "Начать экскурсию" ведёт сюда же, на /audiogid/ — из-за фикс. шапки
       нужен отступ сверху, иначе верх карты уедет под неё при прыжке по #audiogid-map */
    scroll-margin-top: 86px;
  }
  .audiogid-pin {
    width: 34px;
    height: 34px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #1c4fb0;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(10,30,80,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
  }
  .audiogid-pin span {
    transform: rotate(45deg);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }
  .audiogid-pin:hover, .audiogid-pin._active {
    transform: rotate(-45deg) scale(1.15);
    background: #ff5da0;
  }
  .audiogid-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 280px;
    max-width: calc(100% - 32px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20,48,110,0.25);
    padding: 14px 16px;
    font-family: inherit;
  }
  .audiogid-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f4f6fb;
    color: #5b6472;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .audiogid-popup__close:hover { background: #e7edfb; color: #14213d; }
  .audiogid-popup__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #e7edfb;
    color: #1c4fb0;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .audiogid-popup__title {
    font-size: 14px;
    font-weight: 600;
    color: #14213d;
    margin: 0 28px 8px 0;
  }
  .audiogid-popup__audio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b08900;
    background: #fff3d6;
    padding: 5px 10px;
    border-radius: 100px;
  }

  .audiogid-list {
    padding: 56px 0 80px;
  }
  .audiogid-list__title { font-size: 26px; font-weight: 700; margin: 0 0 24px; }
  .audiogid-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .audiogid-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f4f6fb;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .15s ease, background .15s ease;
  }
  .audiogid-list__item:hover, .audiogid-list__item._active {
    border-color: #1c4fb0;
    background: #eef2fc;
  }
  .audiogid-list__num {
    flex: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #1c4fb0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .audiogid-list__body {
    flex: 1 1 auto;
    min-width: 0;
  }
  .audiogid-list__name { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #14213d; }
  .audiogid-list__meta { font-size: 12px; color: #8992a3; }
  .audiogid-list__audio {
    width: 100%;
    height: 32px;
    margin-top: 10px;
    display: block;
    cursor: pointer;
  }
  .audiogid-popup__desc {
    font-size: 12px;
    line-height: 1.4;
    color: #5b6472;
    margin: 0 0 8px;
  }

  /* fix: same flex-shrink issue for the map page's direct flex-child sections */
  .audiogid-map-hero, #audiogid-map, .audiogid-list { flex-shrink: 0; }
/* ==== META-GID-V2-10-2026: новая версия аудиогида (обложка, иконки, истории, нарисованная карта) ==== */
.gid-hero, .gid-about, .gid-stories, .gid-map { flex-shrink: 0; }
.gid-title { font-size: 40px; font-weight: 700; line-height: 1.15; margin: 0 0 40px; color: #14213d; }

.gid-hero { position: relative; overflow: hidden; background: #2d79eb; color: #fff; min-height: min(56.25vw, 900px); display: flex; align-items: center; padding: 120px 0 72px; }
.gid-hero__bg { position: absolute; inset: 0; }
.gid-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2d79eb 0%, #2d79eb 30%, rgba(45,121,235,.75) 45%, rgba(45,121,235,0) 62%); }
.gid-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.gid-hero__inner { position: relative; z-index: 1; width: 100%; }
.gid-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.gid-hero__badge svg { width: 16px; height: 16px; flex: none; }
.gid-hero__title { margin: 0 0 24px; max-width: 620px; }
.gid-hero__title-top { display: block; font-size: 60px; font-weight: 700; line-height: 1.05; }
.gid-hero__title-sub { display: block; font-size: 32px; font-weight: 500; line-height: 1.2; margin-top: 10px; color: rgba(255,255,255,.9); }
.gid-hero__text { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); margin: 0 0 36px; max-width: 540px; }
.gid-hero__cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 100px; background: #fff; color: #2c79ec; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(10,40,110,.2); transition: transform .2s ease, box-shadow .2s ease; }
.gid-hero__cta svg { width: 18px; height: 18px; }
.gid-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10,40,110,.28); }
.gid-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.gid-hero__stat { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 500; }
.gid-hero__stat svg { width: 16px; height: 16px; flex: none; }

.gid-about { padding: 88px 0 40px; }
.gid-about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gid-about__card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 2px 12px rgba(20,48,110,.05); }
.gid-about__icon { width: 84px; height: 84px; margin: -6px 0 18px -6px; }
.gid-about__icon svg { width: 100%; height: 100%; display: block; }
.gid-about__card-title { font-size: 20px; font-weight: 600; margin: 0 0 10px; color: #14213d; }
.gid-about__card-text { font-size: 15px; line-height: 1.55; color: #5b6472; margin: 0; }

.gid-stories { padding: 72px 0 40px; }
.gid-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; }
.gid-story:last-child { margin-bottom: 0; }
.gid-story--rev .gid-story__img { order: 2; }
.gid-story__img { position: relative; }
.gid-story__img img { display: block; width: 100%; height: 450px; object-fit: cover; object-position: center 62%; box-shadow: 0 18px 40px rgba(20,48,110,.12); }
.gid-story__img--a img, .gid-story__img--c img { border-radius: 120px 32px 120px 32px; }
.gid-story__img--b img { border-radius: 32px 120px 32px 120px; }
.gid-story__title { font-size: 32px; font-weight: 700; margin: 0 0 18px; color: #14213d; }
.gid-story__text { font-size: 17px; line-height: 1.7; color: #3d4559; margin: 0; }

.gid-map { padding: 72px 0 80px; scroll-margin-top: 80px; }
.gid-map .gid-title { margin-bottom: 12px; }
.gid-map__sub { font-size: 16px; color: #5b6472; margin: 0 0 28px; }
.gid-map__frame { position: relative; border-radius: 28px; overflow: hidden; background: #f4f4f4; box-shadow: 0 2px 16px rgba(20,48,110,.08); }
.gid-map__scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gid-map__canvas { position: relative; width: 100%; min-width: 980px; }
.gid-map__canvas > img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.gid-map__hint { display: none; }

.gid-pin { position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: #2c79ec; color: #fff; font: 700 14px/1 inherit; font-family: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(10,40,110,.35); transition: transform .15s ease, background .15s ease; }
.gid-pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(44,121,236,.45); animation: gid-pulse 2.4s ease-out infinite; pointer-events: none; }
.gid-pin:hover, .gid-pin._active { transform: scale(1.18); background: #14306e; }
.gid-pin._soon { background: #8fa9d6; }
.gid-pin._soon::before { display: none; }
@keyframes gid-pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.gid-popup { position: absolute; top: 16px; z-index: 6; width: 330px; max-height: calc(100% - 32px); overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(20,48,110,.25); padding: 16px; }
.gid-popup._left { left: 16px; }
.gid-popup._right { right: 16px; }
.gid-popup__close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: none; background: #f1f5ff; color: #5b6472; font-size: 18px; line-height: 1; cursor: pointer; z-index: 2; }
.gid-popup__close:hover { background: #e3ebfd; color: #14213d; }
.gid-popup__head { display: flex; align-items: flex-start; gap: 10px; margin: 0 32px 12px 0; }
.gid-popup__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #2c79ec; color: #fff; font-size: 12px; font-weight: 700; }
.gid-popup__title { font-size: 16px; font-weight: 600; color: #14213d; line-height: 1.3; padding-top: 3px; }
.gid-popup__desc { font-size: 13px; line-height: 1.45; color: #5b6472; margin: -4px 0 10px; }
.gid-popup__photo { position: relative; margin-top: 12px; border-radius: 12px; overflow: hidden; background: #eef1f6; }
.gid-popup__photo img { display: block; width: 100%; height: 200px; object-fit: cover; }
.gid-popup__nav { position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: none; border-radius: 50%; background: rgba(255,255,255,.9); color: #14213d; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gid-popup__nav._prev { left: 8px; }
.gid-popup__nav._next { right: 8px; }
.gid-popup__count { position: absolute; right: 8px; bottom: 8px; background: rgba(20,33,61,.7); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 100px; }
.gid-popup__cap { font-size: 13px; line-height: 1.4; color: #5b6472; margin-top: 8px; }
.gid-popup audio, .gid-list audio { display: block; width: 100%; height: 36px; }
.gid-popup__soon, .gid-list__meta { font-size: 12px; font-weight: 600; color: #8992a3; }

.gid-list__title { font-size: 24px; font-weight: 700; margin: 48px 0 20px; color: #14213d; }
.gid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gid-list__item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 16px; border: 2px solid transparent; transition: border-color .15s ease; }
.gid-list__item._active { border-color: #2c79ec; }
.gid-list__num { flex: none; width: 34px; height: 34px; border-radius: 50%; border: none; background: #2c79ec; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.gid-list__body { flex: 1 1 auto; min-width: 0; }
.gid-list__name { font-size: 15px; font-weight: 600; margin: 6px 0 10px; color: #14213d; }

@media (max-width: 1279px) {
  .gid-hero__title-top { font-size: 48px; }
  .gid-hero__title-sub { font-size: 26px; }
  .gid-story { gap: 40px; }
}
@media (max-width: 991px) {
  .gid-title { font-size: 30px; margin-bottom: 28px; }
  .gid-about__grid { grid-template-columns: 1fr; }
  .gid-story, .gid-story--rev { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .gid-story--rev .gid-story__img { order: 0; }
  .gid-story__img img { height: auto; aspect-ratio: 16 / 9; }
  .gid-story__title { font-size: 26px; }
}
@media (max-width: 767px) {
  .gid-hero { min-height: 0; align-items: flex-start; padding: 104px 0 100vw; }
  .gid-hero__bg img { object-position: center bottom; }
  .gid-hero__title-top { font-size: 38px; }
  .gid-hero__title-sub { font-size: 21px; }
  .gid-hero__text { font-size: 16px; margin-bottom: 28px; }
  .gid-hero__stats { margin-top: 28px; }
  .gid-about { padding-top: 56px; }
  .gid-about__card { padding: 24px; }
  .gid-stories, .gid-map { padding-top: 48px; }
  .gid-story__text { font-size: 16px; }
  .gid-story__img--a img, .gid-story__img--c img { border-radius: 72px 20px 72px 20px; }
  .gid-story__img--b img { border-radius: 20px 72px 20px 72px; }
  .gid-hero__bg::after { display: none; }
  .gid-map__frame { border-radius: 20px; margin: 0 -4px; }
  .gid-map__hint { display: block; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(20,33,61,.72); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 100px; pointer-events: none; }
  .gid-popup, .gid-popup._left, .gid-popup._right { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 75vh; z-index: 1000; }
  .gid-popup__photo img { height: 180px; }
}

@media (min-width: 768px) { .gid-map__frame .gid-popup { left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%); } }

.gid-intro { padding: 72px 0 0; flex-shrink: 0; }
.gid-intro__inner { max-width: 900px; }
.gid-intro__eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: #2c79ec; background: #e3ecfd; padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.gid-intro .gid-title { margin-bottom: 20px; }
.gid-intro__text { font-size: 18px; line-height: 1.7; color: #3d4559; margin: 0 0 16px; }
.gid-intro__text:last-child { margin-bottom: 0; }
.gid-popup__photo img { cursor: zoom-in; }
.gid-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(10,16,30,.92); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.gid-lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.gid-lb__img { display: block; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 8px; }
.gid-lb__cap { color: #fff; font-size: 15px; margin-top: 14px; text-align: center; }
.gid-lb__close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.gid-lb__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.gid-lb__nav._prev { left: 16px; }
.gid-lb__nav._next { right: 16px; }
.gid-lb__close:hover, .gid-lb__nav:hover { background: rgba(255,255,255,.26); }
.gid-lb__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; }
html.gid-lb-open { overflow: hidden; }
@media (max-width: 767px) {
  .gid-intro { padding-top: 48px; }
  .gid-intro__text { font-size: 16px; }
  .gid-lb { padding: 56px 8px 24px; }
  .gid-lb__nav { top: auto; bottom: 16px; margin-top: 0; }
}

/* ==== META-GID-SOON-10-2026: плашка «Новые районы скоро на сайте» ==== */
.gid-hero__soon { display: flex; width: fit-content; align-items: center; padding: 7px 36px; border: 1.5px solid rgba(255,255,255,.9); border-radius: 100px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; margin: 0 0 24px; }
@media (max-width: 767px) { .gid-hero__soon { padding: 6px 20px; font-size: 13px; margin-bottom: 18px; } }

/* ==== META-GID-SWAP-10-2026: «Как это работает» перед «Дзержинский район», цифры маршрута под текстом, белый логотип на обложке ==== */
.gid-intro { padding-top: 32px; }
.gid-intro__eyebrow { background: none; padding: 0; border-radius: 0; }
.gid-intro__stats { margin-top: 28px; }
.gid-intro__stats .gid-hero__stat { background: #fff; border-color: rgba(44,121,236,.18); color: #14213d; }
.gid-intro__stats .gid-hero__stat svg { color: #2c79ec; }
.header-bottom__logo img { transition: filter .3s ease; }
html.gid-logo-white .header:not(._openMenu) .header-bottom__logo img { filter: brightness(0) invert(1); }
@media (max-width: 767px) { .gid-intro { padding-top: 16px; } .gid-intro__stats { margin-top: 20px; } }

/* ==== META-GID-NOPROMO-10-2026: карточка акции в меню скрыта, как на основном сайте ==== */
.drop-menu__action { display: none; }
