/* Пансионаты «Кисловодск» и «Бриз». Всё внутри .pk, чтобы не задевать стили сайта */

.pk {
    --pk-blue: #09a4df;
    --pk-blue-dark: #0789bb;
    --pk-text: #1d2433;
    --pk-muted: #687187;
    --pk-soft: #f2f8fc;
    --pk-line: #dbe7f0;
    --pk-radius: 12px;
    color: var(--pk-text);
    text-align: left;
}

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

.pk img {
    max-width: 100%;
}

.pk h2,
.pk h3 {
    margin: 0;
    letter-spacing: 0;
    text-transform: none;
}

.pk p {
    margin: 0;
}

.pk-narrow {
    max-width: 960px;
}

.pk-section {
    padding: 64px 0;
}

.pk-section + .pk-section {
    padding-top: 0;
}

/* секции с плашками — на голубой полосе во всю ширину: узкие плашки читаются отдельным блоком */
.pk .pk-section--band {
    padding: 56px 0;
    background: var(--pk-soft);
}

.pk .pk-section--band + .pk-section {
    padding-top: 64px;
}

/* две полосы подряд — одна подложка, плашки идут общим списком */
.pk .pk-section--band:has(+ .pk-section--band) {
    padding-bottom: 0;
}

.pk .pk-section--band + .pk-section--band {
    padding-top: 16px;
}

/* плашки на полосе белые, иначе они прозрачные и голубеют */
.pk-section--band .accordion-list__item {
    background: #fff;
}

/* последняя полоса не сливается с серым подвалом */
.pk .pk-section--band:not(:has(~ .pk-section)) {
    margin-bottom: 64px;
}

.pk .pk-title {
    margin-bottom: 24px;
    color: var(--pk-text);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.pk .pk-title--center {
    text-align: center;
}

.pk .pk-subtitle {
    margin: 56px 0 28px;
    color: var(--pk-text);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

/* Баннер */

.pk-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    overflow: hidden;
    background: #0a1a36;
    color: #fff;
}

.pk-hero__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 26, 54, .82) 0%, rgba(10, 26, 54, .5) 45%, rgba(10, 26, 54, 0) 75%);
}

.pk-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 64px;
    padding-bottom: 64px;
}

.pk-hero__place {
    color: #9fdcf5;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
}

.pk .pk-hero__title {
    max-width: 640px;
    margin: 12px 0 16px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}

.pk-hero__text {
    max-width: 560px;
    font-size: 18px;
    line-height: 1.55;
}

.pk-hero__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 32px;
}

.pk .pk-hero__link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s;
}

.pk .pk-hero__link:hover,
.pk .pk-hero__link:focus-visible {
    color: #9fdcf5;
}

/* Баннер «текст слева, фото справа» (оба пансионата) */

.pk-hero--split {
    display: block;
    min-height: 0;
    background: linear-gradient(120deg, #0a1a36 0%, #0b3a63 55%, #0789bb 100%);
}

.pk-hero--split::after {
    display: none;
}

.pk-hero--split .pk-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 48px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
}

.pk-hero__photo {
    display: block;
    overflow: hidden;
    border-radius: var(--pk-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.pk-hero__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s;
}

@media (hover: hover) {
    .pk-hero__photo:hover img {
        transform: scale(1.04);
    }
}

@media (max-width: 991px) {
    .pk-hero--split .pk-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Фото здания */

.pk .pk-section--gallery {
    padding: 16px 0 64px;
}

.pk-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.pk-gallery__item {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
}

.pk-gallery__item {
    position: relative;
}

.pk-gallery__item:nth-child(n + 7) {
    display: none;
}

/* «+N» на последнем видимом фото */
.pk-gallery__item[data-more]::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 26, 54, .55);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    transition: background-color .3s;
}

.pk-gallery__item[data-more]:hover::after {
    background: rgba(10, 26, 54, .4);
}

.pk-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

@media (hover: hover) {
    .pk-gallery__item:hover img,
    .pk-history__photo a:hover img {
        transform: scale(1.06);
    }
}

/* Историческая справка */

.pk-history {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 56px;
    align-items: start;
}

.pk-history__text p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.65;
}

.pk-history__photo {
    position: relative;
    margin: 0;
}

.pk-history__photo a {
    display: block;
    overflow: hidden;
    border-radius: var(--pk-radius);
}

.pk-history__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .4s;
}

/* О пансионате: фото слева (зеркально справке), карточки, центр города */

.pk-about {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.pk-about__photo {
    margin: 0;
}

.pk-about__photo a {
    display: block;
    overflow: hidden;
    border-radius: var(--pk-radius);
}

.pk-about__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s;
}

.pk-about__text p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.65;
}

.pk .pk-about__lead {
    font-size: 19px;
    line-height: 1.6;
}

.pk-feats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.pk-feat {
    padding: 24px 20px;
    border-radius: var(--pk-radius);
    background: var(--pk-soft);
}

.pk-feat .pk-icon,
.pk-center > .pk-icon {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    background: #fff;
}

.pk .pk-feat__title {
    margin: 16px 0 8px;
    color: var(--pk-blue-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.pk .pk-feat p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.pk-center {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 28px 32px;
    border: 1px solid var(--pk-line);
    border-radius: var(--pk-radius);
    background: #fff;
}

.pk-center > .pk-icon {
    flex-shrink: 0;
    background: var(--pk-soft);
}

.pk .pk-center p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.55;
}

.pk .pk-center .pk-center__title {
    margin-bottom: 6px;
    color: var(--pk-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.pk .pk-center .pk-center__note {
    margin: 0;
    color: var(--pk-muted);
}

.pk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.pk-chips li {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--pk-soft);
    font-size: 14px;
    line-height: 1.4;
}

@media (hover: hover) {
    .pk-about__photo a:hover img {
        transform: scale(1.06);
    }
}

@media (max-width: 1199px) {
    .pk-feats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pk-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .pk-about__photo {
        order: 1;
    }
}

@media (max-width: 767px) {
    .pk .pk-about__lead {
        font-size: 17px;
    }

    .pk-feats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 32px;
    }

    .pk-feat {
        padding: 18px 16px;
    }

    /* последняя нечётная — на всю ширину, иконка слева */
    .pk-feat:last-child:nth-child(odd) {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 16px;
        align-items: center;
    }

    .pk-feat:last-child:nth-child(odd) .pk-icon {
        grid-row: span 2;
    }

    .pk .pk-feat:last-child:nth-child(odd) .pk-feat__title {
        margin-top: 0;
    }

    .pk-center {
        flex-direction: column;
        gap: 14px;
        padding: 22px 18px;
    }
}

@media (max-width: 400px) {
    .pk-feats {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Лента событий */

.pk-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: var(--pk-line);
}

.pk-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    padding: 0 0 24px 40px;
}

.pk-timeline__item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 16px;
    border: 3px solid var(--pk-blue);
    border-radius: 50%;
    background: #fff;
}

.pk-timeline__date {
    color: var(--pk-blue-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.pk-timeline__item p {
    font-size: 16px;
    line-height: 1.6;
}

/* самый яркий эпизод — голубая подложка */
.pk-timeline__item--accent {
    margin: 0 0 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: var(--pk-radius);
    background: var(--pk-soft);
}

.pk-timeline__item--accent::before {
    top: 25px;
    background: var(--pk-blue);
}

/* Номерной фонд */

.pk-rooms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 30px;
}

/* при переходе к номерам заголовок не прячется под липкую шапку */
#pk-rooms {
    scroll-margin-top: 80px;
}

/* свёрнутый список: ПК 6, планшет 4, телефон 3 */
.pk-rooms.is-collapsed .pk-card:nth-child(n + 7) {
    display: none;
}

.pk-rooms__more {
    margin-top: 36px;
    text-align: center;
}

.pk-rooms__more[hidden] {
    display: none;
}

.pk-card.is-shown {
    animation: pk-fade .4s ease;
}

@keyframes pk-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.pk-card {
    display: flex;
    flex-direction: column;
}

.pk .pk-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--pk-radius);
    background: var(--pk-soft);
    cursor: pointer;
}

.pk-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

@media (hover: hover) {
    .pk-card__media:hover img {
        transform: scale(1.06);
    }
}

.pk-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 18px;
}

.pk .pk-card__title {
    color: var(--pk-text);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.pk-card__area {
    margin: 8px 0 14px !important;
    color: var(--pk-muted);
    font-size: 16px;
}

.pk .pk-card__more {
    margin-top: auto;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

/* заглушка, пока нет фото номеров */
.pk-photo-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e6f4fb, var(--pk-soft));
    color: var(--pk-muted);
    font-size: 15px;
    text-align: center;
}

/* Плашки: разметка и скрипт сайта (.accordion-list, .js-accordion-btn), здесь только отступы */

.pk .pk-accordion {
    max-width: none;
    margin: 0;
}

.pk-accordion .accordion-list__btn {
    padding: 16px 52px 16px 20px;
    font-size: 17px;
}

.pk-accordion .accordion-list__btn::after {
    top: 20px;
    right: 22px;
}

.pk-acc__inner {
    padding: 12px 8px 8px;
}

.pk-acc__inner > p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.pk .pk-acc__label {
    margin: 22px 0 10px;
    color: var(--pk-blue-dark);
    font-weight: 700;
}

.pk .pk-acc__label:first-child {
    margin-top: 0;
}

.pk-places,
.pk-infra {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pk-places li,
.pk-infra li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
    line-height: 1.6;
}

.pk-places li::before,
.pk-infra li::before {
    content: '';
    position: absolute;
    top: .6em;
    left: 4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pk-blue);
}

/* Инфраструктура: иконки вместо точек */
.pk-infra li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 0;
}

.pk-infra li::before {
    display: none;
}

.pk-icon {
    flex: none;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--pk-blue);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pk-infra .pk-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    background: var(--pk-soft);
}

/* Места рядом: фото слева, подпись автора под фото */
.pk-places .pk-place {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
    padding-left: 0;
}

.pk-places .pk-place:last-child {
    margin-bottom: 0;
}

.pk-places .pk-place::before {
    display: none;
}

.pk-place__photo {
    margin: 0;
}

.pk-place__photo img {
    display: block;
    width: 180px;
    height: 135px;
    border-radius: 8px;
    object-fit: cover;
}

.pk-place__photo figcaption {
    margin-top: 4px;
    overflow: hidden;
    color: var(--pk-muted);
    font-size: 10px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pk .pk-place__photo figcaption a {
    color: inherit;
}

.pk .pk-place__text {
    line-height: 1.6;
}

.pk-place__text b {
    color: var(--pk-blue-dark);
}

.pk-map {
    margin: 6px 0 18px;
    overflow: hidden;
    border-radius: var(--pk-radius);
}

.pk-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* Окно номера */

.pk-modal {
    width: min(1100px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 32px);
    padding: 0;
    border: 0;
    border-radius: var(--pk-radius);
    background: #fff;
    color: var(--pk-text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

/* стили сайта делают dialog видимым и закрытым */
.pk-modal:not([open]) {
    display: none;
}

.pk-modal::backdrop {
    background: rgba(10, 18, 36, .7);
}

.pk-modal[open] {
    animation: pk-pop .3s ease;
}

@keyframes pk-pop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }
}

/* sticky: крестик остаётся на месте, когда окно прокручивается */
.pk-modal__close {
    position: sticky;
    z-index: 2;
    top: 12px;
    display: flex;
    margin: 12px 12px -56px auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--pk-soft);
    color: var(--pk-text);
    cursor: pointer;
    transition: background-color .3s;
}

.pk-modal__close:hover {
    background: var(--pk-line);
}

.pk-modal__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Описание номера: тот же блок пойдёт на отдельную страницу */

.pk-room {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    color: var(--pk-text);
    text-align: left;
}

/* фото: главное 4:3 + миниатюры, фон колонки голубой */
.pk-room__media {
    padding: 24px;
    background: var(--pk-soft);
}

.pk .pk-room__main {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #fff;
    cursor: zoom-in;
}

.pk-room__main img {
    transition: opacity .3s;
}

.pk-room__main img.is-fading {
    opacity: 0;
}

.pk-room__main img,
.pk-room__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-room__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.pk .pk-room__thumb {
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    opacity: .7;
    cursor: pointer;
    transition: opacity .3s, border-color .3s;
}

.pk .pk-room__thumb:hover,
.pk .pk-room__thumb.is-active {
    opacity: 1;
}

.pk .pk-room__thumb.is-active {
    border-color: var(--pk-blue);
}

/* главное в номере — иконками */
.pk-room__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.pk-room__features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 52px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
}

.pk-room__features .pk-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 50%;
    background: var(--pk-soft);
}

.pk-room__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 44px 40px;
}

.pk-room .pk-room__title {
    margin: 0 40px 10px 0;
    color: var(--pk-text);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.pk .pk-room__area {
    margin: 0 0 26px;
    color: var(--pk-blue-dark);
    font-size: 18px;
    font-weight: 700;
}

.pk .pk-room__label {
    margin: 0 0 10px;
    color: var(--pk-muted);
    font-style: italic;
}

.pk-room__list {
    columns: 2;
    column-gap: 28px;
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.pk-room__list li {
    position: relative;
    padding: 0 0 6px 18px;
    break-inside: avoid;
    font-size: 15px;
    line-height: 1.45;
}

.pk-room__list li::before {
    content: '';
    position: absolute;
    top: .6em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pk-blue);
}

.pk-room__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.pk-room__btns .button {
    margin: 0;
}

/* Адаптив */

@media (max-width: 1199px) {
    .pk-history {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 40px;
    }

    .pk-rooms {
        gap: 28px 20px;
    }

    .pk-room {
        grid-template-columns: minmax(0, 1fr);
    }

    .pk-room__media {
        padding: 16px 16px 12px;
    }

    .pk-room__main {
        max-height: 50vh;
    }

    .pk-room__body {
        padding: 28px 24px 28px;
    }
}

@media (max-width: 991px) {
    .pk-hero:not(.pk-hero--split) {
        min-height: 440px;
    }

    .pk .pk-hero__title {
        font-size: 36px;
    }

    .pk-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pk-history {
        grid-template-columns: minmax(0, 1fr);
    }

    .pk-history__photo {
        max-width: 420px;
    }

    .pk-rooms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pk-rooms.is-collapsed .pk-card:nth-child(n + 5) {
        display: none;
    }

    .pk-timeline__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
}

@media (max-width: 767px) {
    .pk-section {
        padding: 44px 0;
    }

    .pk .pk-title {
        font-size: 26px;
    }

    .pk .pk-subtitle {
        margin-top: 40px;
        font-size: 21px;
    }

    .pk-hero {
        min-height: 0;
    }

    .pk-hero::after {
        background: linear-gradient(0deg, rgba(10, 26, 54, .88) 0%, rgba(10, 26, 54, .55) 60%, rgba(10, 26, 54, .25) 100%);
    }

    .pk-hero:not(.pk-hero--split) .pk-hero__inner {
        padding-top: 120px;
        padding-bottom: 36px;
    }

    .pk .pk-hero__title {
        font-size: 28px;
    }

    .pk-hero__text {
        font-size: 16px;
    }

    .pk-gallery {
        gap: 8px;
    }

    .pk-history__text p {
        font-size: 16px;
    }


    .pk-timeline__item {
        padding-left: 32px;
    }

    .pk-timeline__item--accent {
        padding-right: 16px;
    }

    .pk-rooms {
        grid-template-columns: minmax(0, 1fr);
    }

    .pk-rooms.is-collapsed .pk-card:nth-child(n + 4) {
        display: none;
    }

    .pk-rooms__more .button {
        width: 100%;
    }

    .pk-accordion .accordion-list__btn {
        padding: 14px 48px 14px 16px;
        font-size: 16px;
    }

    .pk-accordion .accordion-list__btn::after {
        top: 18px;
        right: 18px;
    }

    .pk-acc__inner {
        padding: 8px 0 4px;
    }

    .pk-map iframe {
        height: 320px;
    }

    .pk-places .pk-place {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .pk-place__photo img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .pk-room__list {
        columns: 1;
    }

    .pk-room__thumbs {
        gap: 6px;
    }

    .pk-room__features {
        gap: 8px 14px;
    }

    .pk-room .pk-room__title {
        font-size: 21px;
    }

    .pk-room__btns,
    .pk-room__btns .button {
        width: 100%;
    }
}

/* ===== Пансионат Бриз (.pb) ===== */

.pk .pb-lead {
    max-width: 820px;
    margin: 0 auto 56px;
    font-size: 19px;
    line-height: 1.6;
    text-align: center;
}

/* К услугам гостей */

.pb-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-service {
    padding: 24px 20px;
    border-radius: var(--pk-radius);
    background: var(--pk-soft);
}

.pb-service .pk-icon {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    background: #fff;
}

.pk .pb-service__title {
    margin: 16px 0 12px;
    color: var(--pk-blue-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.35;
}

.pb-service__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-service__list li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.45;
}

.pb-service__list li::before {
    content: '';
    position: absolute;
    top: .6em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pk-blue);
}

/* Транспортная развязка */

.pb-transport {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pb-route {
    padding: 20px 22px;
    border-radius: var(--pk-radius);
    background: var(--pk-soft);
}

.pk .pb-route__title {
    margin-bottom: 8px;
    color: var(--pk-text);
    font-size: 18px;
    font-weight: 700;
}

.pk .pb-route__dist {
    margin-bottom: 8px;
    color: var(--pk-blue-dark);
    font-weight: 700;
}

.pk .pb-route__label {
    margin-bottom: 6px;
    color: var(--pk-muted);
    font-size: 15px;
}

.pb-route__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-route__list li {
    position: relative;
    margin-bottom: 4px;
    padding-left: 16px;
    font-size: 15px;
    line-height: 1.45;
}

.pb-route__list li::before {
    content: '';
    position: absolute;
    top: .6em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pk-blue);
}

/* Адаптив */

@media (max-width: 1199px) {
    .pb-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pk .pb-lead {
        margin-bottom: 40px;
        font-size: 17px;
    }

    .pb-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pb-service {
        padding: 18px 16px;
    }

    /* последняя нечётная — на всю ширину, иконка слева */
    .pb-service:last-child:nth-child(odd) {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 16px;
        align-items: start;
    }

    .pb-service:last-child:nth-child(odd) .pk-icon {
        grid-row: span 2;
    }

    .pk .pb-service:last-child:nth-child(odd) .pb-service__title {
        margin-top: 14px;
    }

    .pb-transport {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 400px) {
    .pb-services {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Галерея сайта (blueimp): у сайта стрелки тёмные на тёмном, делаем светлые */

/* выше плавающей кнопки TravelLine (z-index 1000000) */
#blueimp-gallery {
    z-index: 1000001;
}

/* на телефоне листают свайпом */
@media (max-width: 767px) {
    #blueimp-gallery > .prev,
    #blueimp-gallery > .next {
        display: none;
    }
}

#blueimp-gallery > .prev,
#blueimp-gallery > .next,
#blueimp-gallery > .close {
    color: #fff;
    opacity: .85;
    transition: opacity .3s, background-color .3s;
}

#blueimp-gallery > .prev,
#blueimp-gallery > .next {
    background: rgba(0, 0, 0, .45);
}

#blueimp-gallery > .prev:hover,
#blueimp-gallery > .next:hover,
#blueimp-gallery > .close:hover {
    opacity: 1;
}

#blueimp-gallery > .prev:hover,
#blueimp-gallery > .next:hover {
    background: var(--pk-blue, #09a4df);
}

@media (prefers-reduced-motion: reduce) {
    .pk *,
    .pk *::before,
    .pk *::after {
        animation: none !important;
        transition: none !important;
    }
}
