/* Общие классы новых блоков (цвет отеля --hb-* задаётся в include/hotel-theme) */
/* Общая шапка новых блоков - как .container-title остальных блоков */
.hb-section { background: #f8f8f8; padding: 40px 0; }
.hb-section--white { background: #fff; }
.hb-head { text-align: center; }
.hb-head .container-title { margin-bottom: 45px; }
.hb-head .container-title::before, .hb-head .container-title::after { background: linear-gradient(90deg, transparent, var(--hb-accent), var(--hb-accent), transparent); }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 34px; border: 0; border-radius: 60px; background: var(--hb-accent); color: #fff; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.hb-btn:hover { background: var(--hb-accent-dark); color: #fff; transform: translateY(-2px); }
.hb-btn[disabled] { opacity: .6; cursor: wait; transform: none; }
/* Кнопки «Посмотреть все / Все акции / Все отзывы» - в цвет отеля (было чёрное) */
.btn--all { border-color: var(--hb-accent) !important; color: var(--hb-accent-dark) !important; background: transparent; }
.btn--all:hover { background: var(--hb-accent) !important; border-color: var(--hb-accent) !important; color: #fff !important; }
@media (max-width: 768px) { .hb-section { padding: 40px 0; } }

/* Шапка: компактная при прокрутке (все страницы) - resources/views/template_3/layouts/index-layouts.blade.php */
/* только на компьютере/планшете (от 992px); на мобильной версии шапка при прокрутке не уменьшается */
@media (min-width: 992px) {
    .header { transition: padding .25s ease, background .25s ease, box-shadow .25s ease !important; }
    .header .central { transition: zoom .25s ease; }
    .header.scrolled { padding: 3px 0 !important; }
    .header.scrolled .central { zoom: .82; }
    .header.scrolled .header__topline { padding-top: 0 !important; padding-bottom: 4px !important; margin-bottom: 0 !important; }
    .header.scrolled .header__nav { padding-top: 2px !important; padding-bottom: 2px !important; margin-top: 0 !important; }
}

/* Верхняя строка шапки (от 1024px): логотип, адрес, телефоны с соцсетями и кнопки -
   равные промежутки между блоками, все по центру по вертикали (блок «Отдел бронирования» убран). */
@media (min-width: 1024px) {
    .header__topline { justify-content: space-between !important; align-items: center !important; flex-wrap: nowrap !important; gap: 24px; }
    .header__topline > * { align-self: center; margin-left: 0 !important; margin-right: 0 !important; }

    .header__logo { display: flex !important; align-items: center; }
    .header__address { justify-content: center; max-width: 260px; }
    .header__items { gap: 24px !important; flex-wrap: nowrap !important; }
    /* Телефоны: «Служба бронирования» и «Бронирование мероприятий» - два отдельных блока в ряд,
       иконка и текст по центру по вертикали, номера крупнее */
    .header__phones { display: flex !important; flex-direction: row; align-items: center; gap: 24px; margin-right: 0 !important; }
    .header__phones .header__tel { display: flex !important; align-items: center; gap: 10px; }
    .header__phones .header__tel + .header__tel { padding-left: 24px; border-left: 1px solid rgba(0, 0, 0, .08); }
    .header__phones .header__tel svg { width: 20px; height: 20px; }
    .header__phones .header__tel-info { justify-content: center; gap: 2px; }
    .header__phones .header__tel-label { font-size: 12px; line-height: 1.2; }
    .header__phones .header__tel-number { font-size: 18px; font-weight: 700; line-height: 1.2; white-space: nowrap; }

    /* Кнопки одной ширины, друг под другом по центру */
    .booking__desktop { align-items: stretch !important; justify-content: center; }
}

/* Мобильная шапка и меню (до 767px) - template/top + include/mobile-menu */
.mm-burger, .mm { display: none; }

@media (max-width: 767px) {
    /* --- Верхняя строка: логотип слева, телефон и «бутерброд» справа, всё по центру по высоте --- */
    .header { padding: 0 !important; }
    .header .central { padding: 0 12px !important; }
    .header__topline {
        display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
        justify-content: space-between !important; gap: 10px; min-height: 64px; padding: 8px 0 !important;
    }
    .header__logo { flex: 0 1 auto; min-width: 0; max-width: 42vw !important; display: flex !important; align-items: center; }
    .header__logo img, .header__logo .top-logo { display: block; max-width: 100% !important; max-height: 46px !important; width: auto !important; height: auto !important; object-fit: contain; }
    .header__address, .booking-info-desktop, .booking__desktop, .header__socials, .header__nav, .hamburger { display: none !important; }

    .header__items { display: flex !important; align-items: center !important; justify-content: flex-end; gap: 8px; flex: 0 0 auto; margin: 0 !important; }
    .header__phones { display: flex !important; margin: 0 !important; gap: 0 !important; }
    .header__phones .header__tel { display: none !important; }
    .header__phones .header__tel:first-child {
        display: inline-flex !important; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 10px !important;
        border-radius: 999px; background: var(--hb-accent, #c4a47c) !important; color: #fff !important; text-decoration: none; white-space: nowrap;
        box-shadow: 0 6px 16px -8px var(--hb-accent, #c4a47c);
    }
    .header__phones .header__tel:first-child svg { display: block !important; width: 15px !important; height: 15px !important; fill: #fff !important; flex: 0 0 auto; }
    .header__phones .header__tel:first-child .header__tel-info { display: flex !important; flex-direction: column; line-height: 1.1; }
    .header__phones .header__tel:first-child .header__tel-label { display: none !important; }
    .header__phones .header__tel:first-child .header__tel-number { font-size: 13px !important; font-weight: 700; color: #fff !important; letter-spacing: .2px; }

    /* «Бутерброд» */
    .mm-burger {
        display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        width: 42px; height: 42px; flex: 0 0 42px; padding: 0; border: 0; border-radius: 12px; cursor: pointer;
        background: color-mix(in srgb, var(--header-text-color, #1f2937) 10%, transparent); color: var(--header-text-color, #1f2937);
        -webkit-tap-highlight-color: transparent;
    }
    .mm-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
    .mm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .mm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* --- Панель меню --- */
    .mm { display: block; position: fixed; inset: 0; z-index: 2000; }
    .mm[hidden] { display: none; }
    .mm-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .28s ease; backdrop-filter: blur(2px); }
    .mm-panel {
        position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); display: flex; flex-direction: column;
        background: #fff; color: #1f2937; box-shadow: -20px 0 50px rgba(15, 23, 42, .25);
        transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mm.is-open .mm-backdrop { opacity: 1; }
    .mm.is-open .mm-panel { transform: none; }
    html.mm-lock, html.mm-lock body { overflow: hidden !important; }

    .mm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid rgba(26, 26, 26, .07); }
    .mm-logo { display: flex; align-items: center; min-width: 0; }
    .mm-logo img { display: block; max-height: 42px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
    .mm-logo img.mm-logo--white { background: var(--hb-accent, #c4a47c); padding: 6px 10px; border-radius: 10px; }
    .mm-close { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: #f3f4f6; color: #111827; cursor: pointer; }

    .mm-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 16px 18px 24px; }

    .mm-cta { display: grid; gap: 10px; margin-bottom: 14px; }
    .mm-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .3px; }
    .mm-btn--main { background: var(--hb-accent, #c4a47c); color: #fff; text-transform: uppercase; box-shadow: 0 12px 24px -14px var(--hb-accent, #c4a47c); }
    .mm-btn--line { border: 1.5px solid var(--hb-accent, #c4a47c); color: var(--hb-accent-dark, #8b7355); background: var(--hb-accent-soft, #faf6f0); }
    .mm-btn--line span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; font-size: 16px; }
    .mm-btn--line small { font-size: 11px; font-weight: 500; color: #6b7280; }

    .mm-nav ul { list-style: none; margin: 0; padding: 0; }
    .mm-item { border-bottom: 1px solid rgba(26, 26, 26, .07); }
    .mm-row { display: flex; align-items: center; }
    .mm-link { flex: 1; display: block; padding: 15px 2px; color: #111827; text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .6px; }
    .mm-link.is-active { color: var(--hb-accent-dark, #8b7355); }
    .mm-link.is-active::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hb-accent, #c4a47c); margin-right: 8px; vertical-align: middle; transform: translateY(-1px); }
    .mm-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: #6b7280; cursor: pointer; }
    .mm-toggle svg { transition: transform .25s ease; }
    .mm-item.is-open .mm-toggle { color: var(--hb-accent-dark, #8b7355); background: var(--hb-accent-soft, #faf6f0); }
    .mm-item.is-open .mm-toggle svg { transform: rotate(180deg); }
    .mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
    .mm-sub > ul { overflow: hidden; }
    .mm-item.is-open .mm-sub { grid-template-rows: 1fr; }
    .mm-sub li a { display: block; padding: 10px 12px 10px 14px; margin: 0 0 2px; border-left: 2px solid var(--hb-accent-soft, #f1e9dc); color: #374151; text-decoration: none; font-size: 14px; line-height: 1.35; }
    .mm-sub li:last-child a { margin-bottom: 12px; }
    .mm-sub li a.is-active, .mm-sub li a:active { border-left-color: var(--hb-accent, #c4a47c); color: var(--hb-accent-dark, #8b7355); background: var(--hb-accent-soft, #faf6f0); }

    .mm-foot { margin-top: 18px; display: grid; gap: 10px; }
    .mm-contact { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: #f8f8f7; color: #111827; text-decoration: none; font-weight: 700; font-size: 15px; }
    .mm-contact small { font-size: 11px; font-weight: 500; color: #6b7280; }
    .mm-contact--mail { font-weight: 600; font-size: 14px; }
    .mm-socials { display: flex; gap: 10px; }
    .mm-soc { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; background: #229ed9; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
    .mm-soc + .mm-soc { background: #111827; }
    .mm-soc img { width: 20px; height: 20px; }
    .mm-addr, .mm-hours { margin: 4px 2px 0; font-size: 13px; line-height: 1.45; color: #6b7280; }

    @media (prefers-reduced-motion: reduce) { .mm-panel, .mm-backdrop, .mm-sub, .mm-toggle svg { transition: none; } }
}

/* Узкие телефоны: телефон - только иконка */
@media (max-width: 374px) {
    .header__phones .header__tel:first-child { width: 40px; padding: 0 !important; justify-content: center; }
    .header__phones .header__tel:first-child .header__tel-info { display: none !important; }
}

/* Быстрые контакты справа внизу (include/quick-contacts) - только до 991px */
.qc { display: none; }

@media (max-width: 991px) {
    .qc {
        position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1500;
        display: flex; flex-direction: column; gap: 10px;
        transition: opacity .25s ease, transform .25s ease;
    }
    .qc-btn {
        position: relative; width: 52px; height: 52px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        color: #fff; text-decoration: none; -webkit-tap-highlight-color: transparent;
        box-shadow: 0 8px 20px -6px rgba(15, 23, 42, .45), 0 0 0 3px rgba(255, 255, 255, .9);
        animation: qc-in .4s cubic-bezier(.2, .8, .2, 1) both;
        transition: transform .15s ease;
    }
    .qc-btn:active { transform: scale(.92); }
    .qc-btn svg { width: 24px; height: 24px; }
    .qc-btn img { width: 26px; height: 26px; display: block; }
    .qc-btn:nth-child(2) { animation-delay: .06s; }
    .qc-btn:nth-child(3) { animation-delay: .12s; }
    .qc-btn:nth-child(4) { animation-delay: .18s; }

    .qc-btn--call { background: var(--hb-accent, #16a34a); }
    .qc-btn--call::after {  /* мягкая пульсация - привлекает внимание к звонку */
        content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--hb-accent, #16a34a);
        animation: qc-pulse 2.4s ease-out infinite;
    }
    .qc-btn--call svg { animation: qc-ring 2.4s ease-in-out infinite; }
    .qc-btn--tg { background: #229ed9; }
    .qc-btn--max { background: #111827; }
    .qc-btn--book { background: #fff; color: var(--hb-accent-dark, #374151); }

    /* Подпись появляется при нажатии/наведении */
    .qc-tip {
        position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none;
        padding: 5px 10px; border-radius: 8px; background: rgba(17, 24, 39, .88); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
        transition: opacity .2s, transform .2s;
    }
    .qc-btn:hover .qc-tip, .qc-btn:focus-visible .qc-tip { opacity: 1; transform: translate(0, -50%); }

    /* Не мешаем открытому меню и окнам форм */
    html.mm-lock .qc, body.sm-lock .qc { opacity: 0; transform: translateX(80px); pointer-events: none; }

    @keyframes qc-in { from { opacity: 0; transform: translateX(30px) scale(.8); } to { opacity: 1; transform: none; } }
    @keyframes qc-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
    @keyframes qc-ring { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(-14deg); } 72% { transform: rotate(12deg); } 79% { transform: rotate(-8deg); } 86% { transform: rotate(5deg); } }
    @media (prefers-reduced-motion: reduce) { .qc-btn, .qc-btn::after, .qc-btn svg { animation: none !important; } }
}

@media (max-width: 374px) {
    .qc { right: 10px; gap: 8px; }
    .qc-btn { width: 46px; height: 46px; }
    .qc-btn svg { width: 21px; height: 21px; }
}

/* Мобильные правки главной: кнопки в ряд, стрелки каруселей по краям и по центру слайда */
@media (max-width: 767px) {
    /* 1. «Об отеле»: «Забронировать» и «Номера и цены» в один ряд, чуть меньше */
    .ab-actions { flex-wrap: nowrap; gap: 10px; }
    .ab-actions > .hb-btn,
    .ab-actions > .btn--all {
        flex: 1 1 0; min-width: 0; height: 44px; padding: 0 12px !important;
        justify-content: center; font-size: 14px; white-space: nowrap;
    }

    /* 2. Стрелки каруселей: у краёв и по центру слайда по вертикали */
    /* Номера (custom-swiper): отступ сверху 40px + половина фото */
    .custom-accommodation-block .custom-swiper .swiper-button-prev,
    .custom-accommodation-block .custom-swiper .swiper-button-next {
        top: 240px !important; margin-top: -20px !important;
        width: 40px !important; height: 40px !important; z-index: 20;
    }
    .custom-accommodation-block .custom-swiper .swiper-button-prev { left: 6px !important; right: auto !important; }
    .custom-accommodation-block .custom-swiper .swiper-button-next { right: 6px !important; left: auto !important; }

    /* Разделы (all-swiper): стрелки поверх фото, а не под каруселью */
    .all-swiper { position: relative; }
    .all-swiper .swiper__nav {
        position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%);
        display: flex; justify-content: space-between; gap: 0; margin: 0; padding: 0 6px;
        z-index: 10; pointer-events: none;
    }
    .all-swiper .swiper__button { width: 40px; height: 40px; pointer-events: auto; }

    /* 3. Номера: «Забронировать» и «Подробнее» в один ряд */
    .custom-accommodation-block .slide-body { left: 16px; right: 16px; bottom: 18px; }
    .custom-accommodation-block .slide-btns { flex-wrap: nowrap; gap: 8px; }
    .custom-accommodation-block .slide-btns .btn {
        flex: 1 1 0; min-width: 0; padding: 9px 8px; font-size: 13px;
        text-align: center; white-space: nowrap;
    }
}

@media (max-width: 640px) {
    /* фото номера 340px → центр на 40 + 170 */
    .custom-accommodation-block .custom-swiper .swiper-button-prev,
    .custom-accommodation-block .custom-swiper .swiper-button-next { top: 210px !important; }
}

/* Внутренние страницы: фото, хлебные крошки, заголовок - resources/views/template_3/include/inner-head.blade.php */
/* Блок под шапкой: фото отеля + крошки + заголовок */
.ih { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; background: #141416; color: #fff; }
.ih-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: ihZoom 14s ease-out both; }
@keyframes ihZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ih-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .7) 100%); }
.ih-in { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 40px; }
.ih-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.ih-crumbs { font-size: .85rem; min-width: 0; }
.ih-book { flex: none; height: 42px; padding: 0 22px; display: inline-flex; align-items: center; text-decoration: none; }
.ih-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ih-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.ih-crumbs li + li::before { content: '/'; opacity: .5; }
.ih-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.ih-crumbs a:hover { border-color: currentColor; }
.ih-crumbs [aria-current] { color: #fff; font-weight: 600; }
.ih-title { margin: 0; font-size: 2.6rem; line-height: 1.15; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
@media (max-width: 760px) { .ih-row { flex-wrap: wrap; } .ih-book { height: 38px; padding: 0 16px; font-size: .85rem; } .ih { min-height: 260px; } .ih-in { padding-top: 110px; padding-bottom: 26px; } .ih-title { font-size: 1.6rem; } }
@media (prefers-reduced-motion: reduce) { .ih-img { animation: none; } }

/* Виджет бронирования - resources/views/template_3/include/booking-widget.blade.php */
.bw { position: relative; z-index: 5; max-width: 1360px; margin: -60px auto 40px; padding: 0 40px; scroll-margin-top: 90px; }
.bw-inner { min-height: 96px; background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 20px 50px -20px rgba(15, 23, 42, .35); }
.bw .bookingFormHotel { max-width: none; padding: 0 !important; }
@media (max-width: 640px) { .bw { margin-top: 16px; padding: 0 20px; } .bw-inner { padding: 8px; } }

/* Об отеле - resources/views/template_3/include/about.blade.php */
.ab-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.ab-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hb-accent-dark); }
.ab-title { margin: 8px 0 16px; font-size: 2.2rem; line-height: 1.2; color: #111827; }
.ab-content { color: #4b5563; line-height: 1.75; font-size: 1rem; max-height: 420px; overflow: auto; padding-right: 6px; }
.ab-content p { margin: 0 0 12px; }
.ab-content img { max-width: 100%; height: auto; }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.ab-square { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .55); }
.ab-square::before { content: ''; position: absolute; inset: 16px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; z-index: 2; pointer-events: none; }
.ab-square img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.ab-square:hover img { transform: scale(1.05); }
.ab-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ab-gal-item { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--hb-accent-soft); }
.ab-gal-item--main { grid-column: span 2; grid-row: span 2; border-radius: 16px; }
.ab-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ab-gal-item:hover img { transform: scale(1.08); }
@media (max-width: 960px) { .ab-grid { grid-template-columns: 1fr; gap: 26px; } .ab-media { order: -1; } .ab-square { max-width: 520px; margin: 0 auto; } .ab-title { font-size: 1.7rem; } .ab-content { max-height: none; } }

/* Почему выбирают - resources/views/template_3/include/why-us.blade.php */
.wy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wy-card { position: relative; background: #fff; border-radius: 16px; padding: 28px 24px 24px; overflow: hidden; box-shadow: 0 12px 32px -22px rgba(15, 23, 42, .5); transition: transform .3s, box-shadow .3s; }
.wy-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--hb-accent); transform: scaleX(.18); transform-origin: left; transition: transform .4s; }
.wy-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(15, 23, 42, .55); }
.wy-card:hover::before { transform: scaleX(1); }
.wy-num { position: absolute; right: 18px; top: 12px; font-size: 2.6rem; font-weight: 800; color: var(--hb-accent-soft); line-height: 1; }
.wy-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: var(--hb-accent-soft); color: var(--hb-accent-dark); margin-bottom: 14px; }
.wy-title { font-size: 1.2rem; color: #111827; margin-bottom: 6px; }
.wy-text { margin: 0; color: #6b7280; font-size: .93rem; line-height: 1.5; }
@media (max-width: 900px) { .wy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wy-grid { grid-template-columns: 1fr; gap: 12px; } .wy-card { padding: 22px 18px 18px; } }

/* Акции и спецпредложения - resources/views/template_3/include/spec-offers.blade.php */
.so-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.so-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-accent); }
.so-title { margin: 4px 0 0; font-size: 2rem; color: #1f2937; }
.so-all { color: var(--hb-accent-dark); text-decoration: none; white-space: nowrap; }
.so-all:hover { text-decoration: underline; }
.so-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.so-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .4); transition: transform .2s, box-shadow .2s; }
.so-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .5); }
.so-card--main { grid-column: span 2; }
.so-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f4f6; }
.so-card--main .so-img { aspect-ratio: auto; flex: 1; min-height: 150px; }
.so-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.so-card:hover .so-img img { transform: scale(1.05); }
.so-body { position: relative; padding: 12px 14px 14px; }
.so-badge { position: absolute; top: -12px; left: 14px; background: var(--hb-accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.so-name { font-size: .98rem; line-height: 1.3; color: #111827; margin-top: 4px; }
.so-card--main .so-name { font-size: 1.15rem; }
.so-text { margin: 6px 0 8px; font-size: .82rem; color: #6b7280; line-height: 1.45; }
.so-more { font-size: .85rem; font-weight: 700; color: var(--hb-accent-dark); }
@media (max-width: 1100px) { .so-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .so-grid { grid-template-columns: 1fr 1fr; } .so-card--main { grid-column: span 2; } }
@media (max-width: 560px) { .so-grid { grid-template-columns: 1fr; } .so-card--main { grid-column: auto; } }

/* Также рекомендуем посетить - resources/views/template_3/include/other-hotels.blade.php */
.oh-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.oh-card { width: 260px; display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 12px 32px -20px rgba(15, 23, 42, .5); transition: transform .3s, box-shadow .3s; }
.oh-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -20px rgba(15, 23, 42, .55); }
.oh-photo { position: relative; aspect-ratio: 16 / 10; background: var(--hb-accent-soft); }
.oh-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.oh-card:hover .oh-photo > img { transform: scale(1.07); }
.oh-logo { position: absolute; left: 12px; bottom: -22px; width: 58px; height: 58px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 6px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }
.oh-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.oh-body { padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.oh-name { font-size: 1.05rem; color: #111827; line-height: 1.25; }
.oh-addr { font-size: .8rem; color: #6b7280; line-height: 1.4; }
.oh-go { margin-top: auto; padding-top: 6px; font-size: .82rem; font-weight: 700; color: var(--hb-accent-dark); }
.oh-go i { font-style: normal; display: inline-block; transition: transform .2s; }
.oh-card:hover .oh-go i { transform: translate(3px, -3px); }
@media (max-width: 600px) { .oh-grid { gap: 12px; } .oh-card { width: calc(50% - 6px); } .oh-name { font-size: .95rem; } }
@media (max-width: 380px) { .oh-card { width: 100%; } }

/* Текущий отель (мы на его сайте) */
.oh-card--current { outline: 3px solid var(--hb-accent); outline-offset: -3px; box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--hb-accent) 70%, transparent); }
.oh-card--current .oh-body { background: var(--hb-accent-soft); }
.oh-here { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--hb-accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.oh-go--current { color: var(--hb-accent-dark); }

/* Карточка номера - resources/views/template_3/include/room-card.blade.php */
.rc { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px -22px rgba(15, 23, 42, .5); transition: transform .3s, box-shadow .3s; }
.rc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(15, 23, 42, .55); }
.rc-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hb-accent-soft); }
.rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.rc:hover .rc-img img { transform: scale(1.06); }
.rc-cnt { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; }
.rc-cat { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--hb-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.rc-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; flex: 1; }
.rc-name { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.rc-name a { color: #111827; text-decoration: none; }
.rc-name a:hover { color: var(--hb-accent-dark); }
.rc-text { margin: 0; color: #6b7280; font-size: .88rem; line-height: 1.5; }
.rc-btns { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-btn { height: 40px; padding: 0 18px; font-size: .9rem; }
.rc-more { font-size: .88rem; font-weight: 700; color: var(--hb-accent-dark); text-decoration: none; }

/* Галерея - resources/views/template_3/include/gallery.blade.php */
.gl-wrap { position: relative; }
.gl-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 10px; }
.gl-track::-webkit-scrollbar { display: none; }
.gl-item { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--hb-accent-soft); box-shadow: 0 10px 28px -18px rgba(15, 23, 42, .55); transition: transform .35s ease, box-shadow .35s ease; }
.gl-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.gl-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .7) 100%); opacity: .75; transition: opacity .35s; pointer-events: none; }
.gl-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.3; transform: translateY(6px); transition: transform .35s; }
.gl-cap span { display: block; padding-left: 10px; border-left: 3px solid var(--hb-accent); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.gl-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-accent); color: #fff; font-size: 1rem; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.gl-item:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(15, 23, 42, .6); }
.gl-item:hover img { transform: scale(1.1); }
.gl-item:hover::after { opacity: 1; }
.gl-item:hover .gl-cap { transform: translateY(0); }
.gl-item:hover .gl-zoom { opacity: 1; transform: scale(1); }
.gl-arrow { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: #fff; color: var(--hb-accent-dark); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px -8px rgba(15, 23, 42, .45); transition: background .2s, color .2s; }
.gl-arrow:hover { background: var(--hb-accent); color: #fff; }
.gl-arrow--prev { left: -18px; } .gl-arrow--next { right: -18px; }
.gl-box { position: fixed; inset: 0; z-index: 2100; background: rgba(10, 10, 12, .92); display: flex; align-items: center; justify-content: center; padding: 50px 70px; }
.gl-box[hidden] { display: none; }
.gl-box-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gl-box-fig img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; animation: glIn .3s ease; }
.gl-box-fig figcaption { color: #e5e7eb; font-size: 1rem; text-align: center; }
@keyframes glIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gl-box-close, .gl-box-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 50%; cursor: pointer; transition: background .2s; }
.gl-box-close:hover, .gl-box-nav:hover { background: var(--hb-accent); }
.gl-box-close { top: 16px; right: 16px; width: 42px; height: 42px; font-size: 1rem; }
.gl-box-nav { top: 50%; width: 50px; height: 50px; margin-top: -25px; font-size: 1.8rem; }
.gl-box-nav--prev { left: 14px; } .gl-box-nav--next { right: 14px; }
@media (max-width: 1399px) { .gl-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 1099px) { .gl-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 767px)  { .gl-track { grid-auto-columns: calc((100% - 16px) / 2); gap: 12px; } .gl-arrow { display: none; } }
@media (max-width: 479px)  { .gl-track { grid-auto-columns: 78%; } .gl-box { padding: 60px 8px; } .gl-box-nav { top: auto; bottom: 14px; } }
@media (hover: none) { .gl-cap { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gl-item, .gl-item img { transition: none; } }

/* Отзывы - resources/views/template_3/include/reviews.blade.php */
.rv-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 30px; text-align: center; }
.rv-head-l { width: 100%; }
.rv-head .rv-title { margin-bottom: 40px; }
.rv-total { justify-content: center; }
.rv-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-accent); }
.rv-title { margin: 4px 0 8px; font-size: 2rem; color: #1f2937; }
.rv-total { display: flex; align-items: center; gap: 10px; }
.rv-avg { font-size: 1.8rem; font-weight: 800; color: #1f2937; }
.rv-stars, .rv-card-stars { color: #f59e0b; letter-spacing: 2px; }
.rv-cnt { color: #6b7280; font-size: .9rem; }
.rv-actions { display: flex; align-items: center; gap: 14px; }
.rv-link { color: var(--hb-accent-dark); text-decoration: none; }
.rv-btn { height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--hb-accent); color: #fff; cursor: pointer; font-size: .95rem; }
.rv-btn--full { width: 100%; margin-top: 6px; }
.rv-btn[disabled] { opacity: .6; cursor: wait; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--hb-accent-dark); font-weight: 700; font-size: .88rem; cursor: pointer; border-bottom: 1px dashed currentColor; }
.rv-more:hover { color: var(--hb-accent); }
.rv-dialog--read { max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; border-top: 5px solid var(--hb-accent); }
.rv-dialog--read .rv-card-top { padding-right: 40px; }
.rv-full-text { color: #374151; line-height: 1.65; font-size: .97rem; }
.rv-card { display: flex; flex-direction: column; scroll-snap-align: start; background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .45); }
.rv-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rv-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hb-accent-soft); color: var(--hb-accent-dark); font-weight: 800; flex: none; }
.rv-name { font-weight: 700; color: #111827; }
.rv-date { font-size: .78rem; color: #9ca3af; }
.rv-card-stars { margin-left: auto; font-size: .9rem; }
.rv-text { margin: 0; color: #4b5563; line-height: 1.55; font-size: .92rem; }
.rv-nav { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.rv-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(26,26,26,.12); background: #fff; color: var(--hb-accent-dark); font-size: 1.4rem; cursor: pointer; }
.rv-empty { color: #6b7280; }
.rv-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.rv-modal[hidden] { display: none; }
.rv-dialog { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 12px; padding: 24px; }
.rv-close { position: absolute; top: 12px; right: 12px; border: 0; background: #f3f4f6; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.rv-dialog-title { font-size: 1.3rem; margin-bottom: 12px; }
.rv-in { width: 100%; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px 12px; font: inherit; margin-bottom: 10px; background: #f9fafb; }
.rv-rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 12px; }
.rv-rate input { display: none; }
.rv-rate label { font-size: 2rem; color: #d1d5db; cursor: pointer; line-height: 1; }
.rv-rate input:checked ~ label, .rv-rate label:hover, .rv-rate label:hover ~ label { color: #f59e0b; }
.rv-msg { margin: 8px 0 0; font-weight: 600; min-height: 1.2em; }
.rv-msg.ok { color: #047857; } .rv-msg.err { color: #dc2626; }
@media (max-width: 900px) { .rv-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .rv-track { grid-auto-columns: 88%; } }

/* Вопросы и ответы - resources/views/template_3/include/faq.blade.php */
.fq-wrap { max-width: 900px; margin: 0 auto; }
.fq-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-accent); text-align: center; }
.fq-title { margin: 4px 0 22px; font-size: 2rem; color: #1f2937; text-align: center; }
.fq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.fq-item { background: #fff; border: 1px solid rgba(26,26,26,.08); border-radius: 16px; padding: 0 18px; transition: box-shadow .2s; }
.fq-item[open] { box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .45); }
.fq-q { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; color: #111827; position: relative; }
.fq-q::-webkit-details-marker { display: none; }
.fq-q::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--hb-accent-dark); transition: transform .2s; }
.fq-item[open] .fq-q::after { transform: translateY(-50%) rotate(45deg); }
.fq-a { padding: 0 0 16px; color: #4b5563; line-height: 1.6; }

/* Подарочный сертификат - resources/views/template_3/include/certificate.blade.php */
.ct-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 44px; border-radius: 20px; background: linear-gradient(135deg, var(--hb-accent-soft), #fff 70%); border: 1px solid color-mix(in srgb, var(--hb-accent) 20%, transparent); overflow: hidden; }
.ct-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-accent-dark); }
.ct-title { font-size: 2.3rem; margin: 6px 0 12px; color: #111827; }
.ct-text { color: #4b5563; font-size: 1.02rem; line-height: 1.6; margin: 0 0 22px; max-width: 520px; }
.ct-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 30px; text-decoration: none; }
.ct-card { perspective: 900px; }
.ct-card-in { position: relative; aspect-ratio: 1.6; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, var(--hb-accent), var(--hb-accent-dark)); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); transform: rotateY(-12deg) rotateX(6deg); transition: transform .6s; }
.ct-card-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-card-in::after { content: ''; position: absolute; top: -50%; left: -60%; width: 60%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: rotate(20deg); animation: ctShine 4s infinite; pointer-events: none; }
.ct-card-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); display: flex; flex-direction: column; }
.ct-card-cap span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .9; }
.ct-card-cap b { font-size: 1.4rem; font-weight: 400; }
.ct-box:hover .ct-card-in { transform: rotateY(0) rotateX(0); }
@keyframes ctShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@media (max-width: 860px) { .ct-box { grid-template-columns: 1fr; padding: 28px 20px; } .ct-title { font-size: 1.8rem; } .ct-card { max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .ct-card-in::after { animation: none; } }

/* Остались вопросы? - resources/views/template_3/forms/manager_quest.blade.php */
.mq-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, var(--hb-accent-soft) 0%, #fff 55%); border: 1px solid color-mix(in srgb, var(--hb-accent) 18%, transparent); }
.mq-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 700; color: #047857; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .3); }
.mq-dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: mqPulse 1.8s infinite; }
@keyframes mqPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); } 100% { box-shadow: 0 0 0 10px transparent; } }
.mq-title { margin: 14px 0 10px; font-size: 2.4rem; color: #111827; line-height: 1.15; }
.mq-sub { margin: 0 0 22px; color: #4b5563; line-height: 1.6; max-width: 560px; }
.mq-ways { display: grid; gap: 10px; max-width: 460px; }
.mq-way { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border-radius: 14px; text-decoration: none; color: #111827; border: 1px solid #eef0f3; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mq-way:hover { border-color: var(--hb-accent); transform: translateX(4px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .4); }
.mq-way-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--hb-accent-soft); font-size: 1.2rem; flex: none; }
.mq-way-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.mq-way-txt small { color: #6b7280; font-size: .78rem; }
.mq-way-txt b { font-size: 1.05rem; }
.mq-way-go { color: var(--hb-accent-dark); font-weight: 700; transition: transform .2s; }
.mq-way:hover .mq-way-go { transform: translateX(4px); }
.mq-form { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); border-top: 4px solid var(--hb-accent); }
.mq-form-title { font-size: 1.4rem; color: #111827; }
.mq-form-sub { margin: 4px 0 16px; color: #6b7280; font-size: .9rem; }
.mq-f { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.mq-f span { font-size: .74rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.mq-in { width: 100%; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; font: inherit; background: #f9fafb; }
.mq-in:focus { outline: none; border-color: var(--hb-accent); background: #fff; box-shadow: 0 0 0 3px var(--hb-accent-ring); }
.mq-in.is-error { border-color: #dc2626; background: #fef2f2; }
.mq-btn { width: 100%; height: 50px; }
.mq-msg { margin: 8px 0 0; font-weight: 600; min-height: 1.2em; font-size: .9rem; text-align: center; }
.mq-msg.ok { color: #047857; } .mq-msg.err { color: #dc2626; }
@media (max-width: 860px) { .mq-wrap { grid-template-columns: 1fr; padding: 26px 18px; gap: 24px; } .mq-title { font-size: 1.8rem; } .mq-ways { max-width: none; } .mq-form { padding: 22px 18px; } }

/* Полоса «Забронировать» на главной (include/book-strip) - узкая, в цвет отеля */
.bs { padding: 10px 0 30px; }

.bs-strip {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px;
    padding: 14px 16px 14px 20px; border-radius: 22px; text-decoration: none; color: #fff;
    background: linear-gradient(115deg, var(--hb-accent-dark, #8b7355) 0%, var(--hb-accent, #c4a47c) 100%);
    box-shadow: 0 18px 40px -24px var(--hb-accent-dark, #8b7355);
    transition: transform .25s ease, box-shadow .25s ease;
}
.bs-strip:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 46px -22px var(--hb-accent-dark, #8b7355); }

/* Блик, пробегающий по полосе */
.bs-strip::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg); animation: bsShine 5s ease-in-out infinite; pointer-events: none;
}
@keyframes bsShine { 0%, 60% { left: -40%; } 100% { left: 130%; } }

.bs-ico {
    flex: 0 0 48px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px; background: rgba(255, 255, 255, .16);
}

.bs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bs-title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.bs-sub { font-size: 14px; line-height: 1.35; opacity: .88; }

/* Кнопка: белая на цветной полосе, с лёгкой пульсацией */
.bs-btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 24px;
    border-radius: 60px; background: #fff; color: var(--hb-accent-dark, #8b7355);
    font-size: 15px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap;
    animation: bsPulse 2.6s ease-in-out infinite;
}
.bs-btn svg { transition: transform .25s ease; }
.bs-strip:hover .bs-btn svg { transform: translateX(4px); }
@keyframes bsPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

/* Телефоны: текст сверху, кнопка на всю ширину */
@media (max-width: 640px) {
    .bs { padding: 6px 0 24px; }
    .bs-strip { flex-wrap: wrap; gap: 12px 14px; padding: 14px; border-radius: 18px; }
    .bs-ico { flex-basis: 42px; width: 42px; height: 42px; }
    .bs-title { font-size: 16px; }
    .bs-sub { font-size: 13px; }
    .bs-btn { flex: 1 1 100%; justify-content: center; height: 44px; }
}

@media (prefers-reduced-motion: reduce) { .bs-strip::after, .bs-btn { animation: none; } }

/* Универсальное окно заявки - resources/views/template_3/include/site-modals.blade.php */
.sm-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(15, 23, 42, .6); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(3px); }
.sm-modal[hidden] { display: none; }
.sm-dialog { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; padding: 28px 28px 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); border-top: 5px solid var(--hb-accent); animation: smIn .25s ease-out; }
@keyframes smIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.sm-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f4f6; cursor: pointer; font-size: 14px; }
.sm-close:hover { background: var(--hb-accent-soft); }
.sm-title { font-size: 1.6rem; color: #1f2937; padding-right: 36px; }
.sm-sub { margin: 4px 0 16px; color: #6b7280; font-size: .92rem; }
.sm-sub:empty { display: none; }
.sm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.sm-f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sm-f--full { grid-column: 1 / -1; }
.sm-f > span { font-size: .74rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.sm-f b { color: #dc2626; }
.sm-f input, .sm-f select, .sm-f textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px 12px; font: inherit; font-size: .95rem; background: #f9fafb; color: #111827; }
.sm-f input, .sm-f select { height: 46px; }
.sm-f input:focus, .sm-f select:focus, .sm-f textarea:focus { outline: none; border-color: var(--hb-accent); background: #fff; box-shadow: 0 0 0 3px var(--hb-accent-ring); }
.sm-f.is-error input { border-color: #dc2626; background: #fef2f2; }
.sm-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px dashed color-mix(in srgb, var(--hb-accent) 45%, #e5e7eb); border-radius: 12px; background: var(--hb-accent-soft); cursor: pointer; transition: border-color .2s; }
.sm-drop:hover, .sm-drop.is-over { border-color: var(--hb-accent); }
.sm-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sm-drop-ico { font-size: 1.5rem; }
.sm-drop-txt { display: flex; flex-direction: column; font-weight: 600; color: #1f2937; }
.sm-drop-txt small { font-weight: 400; color: #6b7280; font-size: .78rem; }
.sm-files { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sm-files li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #f3f4f6; border-radius: 10px; font-size: .85rem; }
.sm-files li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-files li.bad { background: #fef2f2; color: #b91c1c; }
.sm-files button { border: 0; background: none; cursor: pointer; color: #6b7280; font-size: 1rem; }
.sm-btn { grid-column: 1 / -1; width: 100%; height: 52px; font-size: 1rem; }
.sm-msg { grid-column: 1 / -1; margin: 0; min-height: 1.2em; font-weight: 600; font-size: .92rem; text-align: center; }
.sm-msg.ok { color: #047857; } .sm-msg.err { color: #dc2626; }
body.sm-lock { overflow: hidden; }
@media (max-width: 560px) {
    .sm-modal { padding: 0; align-items: flex-end; }
    .sm-dialog { max-height: 94vh; border-radius: 16px 16px 0 0; padding: 22px 16px 16px; }
    .sm-form { grid-template-columns: 1fr; }
    .sm-title { font-size: 1.35rem; }
}

/* Чекбокс согласия на обработку ПД - resources/views/template_3/include/consent.blade.php */
.cs { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 8px; cursor: pointer; font-size: .78rem; line-height: 1.45; color: #6b7280; text-align: left; }
.cs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cs-box { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 2px solid #cbd5e1; border-radius: 5px; background: #fff; transition: background .15s, border-color .15s; position: relative; }
.cs input:checked + .cs-box { background: var(--hb-accent, #198F5D); border-color: var(--hb-accent, #198F5D); }
.cs input:checked + .cs-box::after { content: ''; position: absolute; left: 4px; top: 0; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cs input:focus-visible + .cs-box { box-shadow: 0 0 0 3px var(--hb-accent-ring, rgba(25, 143, 93, .3)); }
.cs a { color: var(--hb-accent-dark, inherit); text-decoration: underline; }
.cs.is-error .cs-box { border-color: #dc2626; }
/* Неактивная кнопка: подпись, почему (вторая строка на самой кнопке) */
form [type=submit][disabled].cs-off { opacity: .6; cursor: not-allowed; transform: none !important; flex-direction: column; height: auto !important; min-height: 50px; padding-top: 6px; padding-bottom: 6px; line-height: 1.2; }
form [type=submit][disabled].cs-off::after { content: 'Отметьте согласие выше'; display: block; margin-top: 3px; font-size: .72rem; font-weight: 400; opacity: .9; letter-spacing: 0; text-transform: none; }

/* Уведомление об успешной отправке формы - поверх всей формы (window.siteFormSuccess, include/form-meta) */
.fs-done {
    position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
    padding: 24px 18px; border-radius: inherit; background: rgba(255, 255, 255, .97);
    animation: fsIn .3s ease-out both; text-align: center;
}
.fs-done.is-out { animation: fsOut .25s ease-in both; }
.fs-done-in { max-width: 420px; }
.fs-done-ico { width: 76px; height: 76px; margin: 0 auto 14px; display: block; }
.fs-done-ico circle { fill: none; stroke: var(--hb-accent, #16a34a); stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: fsDraw .5s .1s ease-out forwards; }
.fs-done-ico path { fill: none; stroke: var(--hb-accent, #16a34a); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: fsDraw .35s .5s ease-out forwards; }
.fs-done-title { font-size: 1.45rem; font-weight: 700; color: #111827; margin-bottom: 8px; line-height: 1.25; }
.fs-done-text { margin: 0 0 20px; color: #4b5563; font-size: 1rem; line-height: 1.5; }
.fs-done-btn { min-width: 160px; }
@keyframes fsIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fsOut { to { opacity: 0; } }
@keyframes fsDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fs-done, .fs-done-ico circle, .fs-done-ico path { animation: none; stroke-dashoffset: 0; } }

/* Футер и карта - resources/views/template_3/template/footer.blade.php */
.ft { background: #141416; color: #d1d5db; margin-top: 0; }
.ft a { color: inherit; text-decoration: none; }
/* Карта */
.ft-map { position: relative; height: 520px; background: #1f2937; overflow: hidden; }
.ft-map-canvas, .ft-map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ft-map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #9ca3af; }
.ft-ctrl { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 6px; }
.ft-ctrl button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; color: #1f2937; font-size: 1.15rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4); transition: background .2s, color .2s; }
.ft-ctrl button[data-ft="tilt"] { font-size: .8rem; }
.ft-ctrl button:hover, .ft-ctrl button.is-on { background: var(--hb-accent); color: #fff; }
.ft-way { position: absolute; left: max(16px, calc((100vw - 1360px) / 2 + 40px)); top: 50%; transform: translateY(-50%); z-index: 5; width: 360px; max-width: calc(100% - 32px); background: rgba(255, 255, 255, .97); color: #1f2937; border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); border-top: 5px solid var(--hb-accent); }
.ft-way-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-accent-dark); }
.ft-way-name { font-size: 1.35rem; margin: 4px 0 10px; }
.ft-way-row { font-size: .9rem; color: #4b5563; margin-bottom: 6px; line-height: 1.4; }
.ft-way-gps span { font-family: monospace; }
.ft-way-gps button { border: 0; background: var(--hb-accent-soft); color: var(--hb-accent-dark); border-radius: 6px; cursor: pointer; padding: 1px 6px; }
.ft-way-text { margin: 4px 0 8px; font-size: .86rem; color: #4b5563; }
.ft-way-text summary { cursor: pointer; color: var(--hb-accent-dark); font-weight: 600; }
.ft-way-text p { margin: 6px 0 0; max-height: 140px; overflow: auto; line-height: 1.5; }
.ft-way-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ft-way-btn { grid-column: 1 / -1; height: 46px; }
.ft-way-btn2 { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 40px; border: 1px solid var(--hb-accent); color: var(--hb-accent-dark) !important; font-size: .86rem; font-weight: 600; transition: background .2s, color .2s; }
.ft-way-btn2:hover { background: var(--hb-accent); color: #fff !important; }
.ft-way-open { display: inline-block; margin-top: 12px; font-size: .85rem; color: var(--hb-accent-dark) !important; font-weight: 600; }
/* Пин отеля */
.ft-pin { position: relative; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.ft-pin-label { white-space: nowrap; background: var(--hb-accent); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 10px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); }
.ft-pin-dot { width: 18px; height: 18px; margin-top: 6px; border-radius: 50%; background: var(--hb-accent); border: 3px solid #fff; box-shadow: 0 0 0 0 var(--hb-accent); animation: ftPulse 2s infinite; }
.ft-me { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(37, 99, 235, .25); }
@keyframes ftPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hb-accent) 60%, transparent); } 100% { box-shadow: 0 0 0 22px transparent; } }
/* Колонки */
.ft-main { padding: 56px 0 36px; border-top: 4px solid var(--hb-accent); }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.ft-logo img { max-width: 150px; max-height: 70px; object-fit: contain; }
/* логотип отеля (цветной) на тёмном футере - делаем белым; логотип компании уже белый */
.ft-logo img.ft-logo--hotel { filter: brightness(0) invert(1); opacity: .95; }
.ft-brand-tag { margin: 12px 0 0; font-size: .85rem; line-height: 1.6; color: #9ca3af; }
.ft-brand-name { font-size: 1.2rem; color: #fff; margin: 14px 0 4px; }
.ft-brand-region { font-size: .88rem; color: #9ca3af; }
.ft-brand-btn { margin-top: 18px; }
.ft-h { color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; position: relative; }
.ft-h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--hb-accent); }
.ft-tel { display: flex; flex-direction: column; margin-bottom: 12px; font-size: 1.08rem; font-weight: 700; color: #fff !important; }
.ft-tel small { font-size: .75rem; font-weight: 400; color: #9ca3af; }
.ft-tel:hover { color: var(--hb-accent) !important; }
.ft-soc { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.ft-soc a { padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: .86rem; transition: background .2s; }
.ft-soc a:hover { background: var(--hb-accent); color: #fff; }
address.ft-contacts { font-style: normal; margin: 0; }
.ft-logo img { height: auto; }
.ft-link-btn { border: 0; background: none; padding: 0; color: #d1d5db; cursor: pointer; font: inherit; font-size: .92rem; }
.ft-link-btn:hover { color: var(--hb-accent); }
.ft-ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.ft-ul a { transition: color .2s, padding .2s; }
.ft-ul a:hover { color: var(--hb-accent); padding-left: 4px; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: .82rem; color: #9ca3af; }
.ft-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ft-note { background: #141416; color: #fff; padding: 14px 0 18px; }
.ft-note .container { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 14px; }
.ft-note p { margin: 0; font-size: .72rem; line-height: 1.55; opacity: .8; }
@media (max-width: 1024px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
    .ft-map { height: auto; display: flex; flex-direction: column; }
    .ft-map-canvas { position: relative; height: 380px; }
    .ft-ctrl { top: 190px; right: 10px; }
    .ft-ctrl button { width: 40px; height: 40px; }
    .ft-way { position: static; transform: none; width: auto; max-width: none; margin: -24px 12px 16px; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .ft-grid { grid-template-columns: 1fr; } }

/* Главная: слайдер - resources/views/template_3/pages/index/index.blade.php */
/* Слайдер: плавное движение фото (Ken Burns), у каждого слайда своё направление */
.hero .hero__img { transform-origin: center; will-change: transform; }
.hero .swiper-slide-active .hero__img { animation: heroKb 11s ease-out both; }
.hero .swiper-slide:nth-child(4n+2).swiper-slide-active .hero__img { animation-name: heroKb2; }
.hero .swiper-slide:nth-child(4n+3).swiper-slide-active .hero__img { animation-name: heroKb3; }
.hero .swiper-slide:nth-child(4n+4).swiper-slide-active .hero__img { animation-name: heroKb4; }
@keyframes heroKb  { from { transform: scale(1) translate(0, 0); }      to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes heroKb2 { from { transform: scale(1.14) translate(2%, 0); }   to { transform: scale(1) translate(0, 0); } }
@keyframes heroKb3 { from { transform: scale(1) translate(0, 0); }      to { transform: scale(1.12) translate(2%, 1.5%); } }
@keyframes heroKb4 { from { transform: scale(1.12) translate(-2%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .hero .swiper-slide-active .hero__img { animation: none; } }
/* До запуска Swiper: сразу полноэкранный первый слайд, остальные скрыты - без «стопки», белого поля и мигания.
   После запуска Swiper первый слайд остаётся активным - переход незаметный. */
.hero { background: #111; }
.hero__swiper:not(.swiper-initialized) .swiper-wrapper { display: block; position: relative; width: 100%; height: 100%; }
.hero__swiper:not(.swiper-initialized) .swiper-slide { display: none; }
.hero__swiper:not(.swiper-initialized) .swiper-slide:first-child { display: block; width: 100%; height: 100%; opacity: 1; }
.hero__swiper:not(.swiper-initialized) .hero__prev,
.hero__swiper:not(.swiper-initialized) .hero__next,
.hero__swiper:not(.swiper-initialized) .swiper-pagination { visibility: hidden; }
/* Кнопки на всех слайдах - как на первом (цвет отеля), без жёлтого button_gold */
.hero .hero__info .header__reserve,
.hero .hero__info .button_gold { background: var(--color-secondary) !important; color: #fff !important; border: 0 !important; }
.hero .hero__info .header__reserve:hover,
.hero .hero__info .button_gold:hover { background: var(--color-hover, var(--color-secondary-dark)) !important; color: #fff !important; }
/* fade-эффект: невидимые слайды не перехватывают клики по кнопкам активного */
.hero .swiper-slide:not(.swiper-slide-active) { pointer-events: none; }
.hero .swiper-slide-active { pointer-events: auto; }

/* Юридические страницы (согласие, политика) - resources/views/template_3/pages/agreement/index.blade.php */
.doc-page { padding: 50px 0 70px; background: #fff; }
.doc-page .container { color: #374151; font-size: 1rem; line-height: 1.7; }
.doc-page p { margin: 0 0 14px; }
.doc-page ul { margin: 0 0 16px; padding-left: 22px; }
.doc-page ul ul { margin: 8px 0 4px; }
.doc-page li { margin-bottom: 8px; }
.doc-page li::marker { color: var(--hb-accent); }
.doc-page strong { color: #111827; }
@media (max-width: 760px) { .doc-page { padding: 30px 0 50px; } .doc-page .container { font-size: .94rem; } }

/* pages/privacy/index.blade.php */
.doc-page { padding: 50px 0 70px; background: #fff; }
.doc-page .container { color: #374151; font-size: 1rem; line-height: 1.7; }
.doc-subtitle { font-size: 1.5rem; color: #111827; margin: 0 0 22px; }
.doc-page p { margin: 0 0 14px; }
.doc-page ul { margin: 0 0 16px; padding-left: 22px; }
.doc-page li { margin-bottom: 8px; }
.doc-page li::marker { color: var(--hb-accent); }
.doc-page strong { color: #111827; }
@media (max-width: 760px) { .doc-page { padding: 30px 0 50px; } .doc-page .container { font-size: .94rem; } .doc-subtitle { font-size: 1.2rem; } }

/* Онлайн бронирование - resources/views/template_3/pages/booking/index.blade.php */
.bk-page { padding: 40px 0 60px; background: #fff; min-height: 420px; }
/* на главной форма «наезжает» на слайдер (margin-top: -60px) - здесь отступаем от шапки с крошками */
.bk-page .bw { margin-top: 0 !important; margin-bottom: 0; }

/* Номерной фонд - resources/views/template_3/pages/nomera/index.blade.php */
.nm-intro { color: #4b5563; line-height: 1.75; margin-bottom: 26px; }
.nm-intro p { margin: 0 0 12px; }
.nm-bw { margin: 0 0 30px; }
.nm-bw .bw { margin: 0 !important; padding: 0 !important; max-width: none; }
.nm-sum { color: #374151; font-size: .95rem; margin: 0 0 12px; }
.nm-h { font-size: 1.4rem; margin: 0 0 18px; color: #111827; }
.nm-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.nm-cat { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--hb-accent); color: var(--hb-accent-dark); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.nm-cat:hover, .nm-cat.is-active { background: var(--hb-accent); color: #fff; }
.nm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nm-empty { color: #6b7280; }
@media (max-width: 1024px) { .nm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nm-grid { grid-template-columns: 1fr; gap: 16px; } .nm-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .nm-cat { white-space: nowrap; } }

/* Страница номера - resources/views/template_3/pages/nomera/info.blade.php */
.rm-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.rm-main { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--hb-accent-soft); }
.rm-main img { width: 100%; height: 100%; object-fit: cover; }
.rm-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.rm-thumbs a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.rm-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rm-thumbs a:hover img { transform: scale(1.08); }
.rm-thumbs .rm-hide { display: none; }
.rm-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 700; font-size: 1.2rem; }
.rm-side { position: sticky; top: 120px; }
.rm-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--hb-accent-soft); color: var(--hb-accent-dark); font-size: .78rem; font-weight: 700; }
.rm-title { margin: 10px 0 16px; font-size: 1.8rem; line-height: 1.2; color: #111827; }
.rm-facts { list-style: none; margin: 0 0 16px; padding: 0; border-radius: 14px; border: 1px solid #eef0f3; overflow: hidden; }
.rm-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; font-size: .9rem; }
.rm-facts li + li { border-top: 1px solid #eef0f3; }
.rm-facts span { color: #6b7280; }
.rm-facts b { color: #111827; text-align: right; }
.rm-box { padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 20px 44px -26px rgba(15, 23, 42, .5); border-top: 4px solid var(--hb-accent); display: flex; flex-direction: column; gap: 10px; }
.rm-box p { margin: 0 0 4px; color: #4b5563; font-size: .92rem; }
.rm-btn { width: 100%; height: 50px; }
.rm-btn2 { width: 100%; height: 46px; border-radius: 60px; border: 1px solid var(--hb-accent); background: #fff; color: var(--hb-accent-dark); cursor: pointer; font-size: 1rem; transition: background .2s, color .2s; }
.rm-btn2:hover { background: var(--hb-accent); color: #fff; }
.rm-tel { text-align: center; font-weight: 700; color: #111827; text-decoration: none; margin-top: 4px; }
.rm-h { font-size: 1.5rem; margin: 0 0 14px; color: #111827; }
.rm-content { margin-top: 40px; color: #4b5563; line-height: 1.75; }
.rm-content p { margin: 0 0 12px; }
.rm-content img { max-width: 100%; height: auto; }
.rm-amen { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.rm-amen-col { padding: 20px 22px; border-radius: 16px; background: var(--hb-accent-soft); }
.rm-amen-h { font-size: 1.15rem; margin: 0 0 12px; color: #111827; }
.rm-amen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rm-amen li { position: relative; padding-left: 22px; color: #374151; font-size: .93rem; line-height: 1.4; }
.rm-amen li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--hb-accent-dark); font-weight: 800; }
.rm-bw { margin-top: 40px; }
.rm-bw .bw { margin: 0 !important; padding: 0 !important; max-width: none; }
.rm-other { margin-top: 50px; }
.rm-other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .rm-other-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .rm-grid { grid-template-columns: 1fr; } .rm-side { position: static; } .rm-title { font-size: 1.4rem; } }
@media (max-width: 560px) { .rm-thumbs { grid-template-columns: repeat(3, 1fr); } .rm-other-grid { grid-template-columns: 1fr; } }

/* Подарочный сертификат - resources/views/template_3/pages/certificate/index.blade.php */
.ct-page { background: #fff; }
.ct-page iframe { display: block; width: 100%; border: 0; }

/* Цены - resources/views/template_3/pages/price/*.blade.php */
.pr-bw { margin: 0 0 30px; }
.pr-bw .bw { margin: 0 !important; padding: 0 !important; max-width: none; }
.pr-h { font-size: 1.4rem; margin: 26px 0 18px; color: #111827; }
.pr-content { color: #4b5563; line-height: 1.7; }
.pr-content p { margin: 0 0 12px; }
.pr-content img { max-width: 100%; height: auto; }
/* Таблицы цен: аккуратно и с горизонтальной прокруткой на телефоне */
.pr-content--table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pr-content table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; margin: 0 0 22px; font-size: .92rem; border: 1px solid #eef0f3; border-radius: 12px; overflow: hidden; }
.pr-content th, .pr-content td { padding: 10px 14px; border-bottom: 1px solid #eef0f3; text-align: left; vertical-align: top; }
.pr-content tr:last-child td { border-bottom: 0; }
.pr-content thead th, .pr-content tr:first-child th { background: var(--hb-accent); color: #fff; font-weight: 700; }
.pr-content tbody tr:nth-child(even) td { background: #fafafa; }
.pr-content tbody tr:hover td { background: var(--hb-accent-soft); }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pr-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 12px 30px -22px rgba(15, 23, 42, .5); transition: transform .3s, box-shadow .3s; }
.pr-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(15, 23, 42, .55); }
.pr-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hb-accent-soft); }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pr-card:hover .pr-card-img img { transform: scale(1.06); }
.pr-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pr-card-name { font-size: 1.08rem; color: #111827; line-height: 1.3; }
.pr-card-text { color: #6b7280; font-size: .86rem; line-height: 1.45; }
.pr-card-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .86rem; color: var(--hb-accent-dark); }
.pr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.pr-tab { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--hb-accent); color: var(--hb-accent-dark); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.pr-tab:hover, .pr-tab.is-active { background: var(--hb-accent); color: #fff; }
.pr-empty { color: #6b7280; }
.pr-note { margin-top: 24px; padding: 20px 22px; border-radius: 14px; background: var(--hb-accent-soft); }
.pr-note p { margin: 0 0 12px; color: #374151; font-size: .92rem; }
.pr-note-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pr-tel { font-weight: 700; color: #111827; text-decoration: none; }
@media (max-width: 1024px) { .pr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pr-grid { grid-template-columns: 1fr; } .pr-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; } .pr-tab { white-space: nowrap; } }

/* Всё включено - resources/views/template_3/pages/all_in/*.blade.php (общие части - из 56-page-price.css) */
.ai-hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; margin: 0 0 22px; border-radius: 18px; background: linear-gradient(135deg, var(--hb-accent-soft), #fff 70%); border: 1px solid color-mix(in srgb, var(--hb-accent) 20%, transparent); }
.ai-hero-ico { flex: none; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 2rem; background: #fff; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .35); }
.ai-hero-title { margin: 0 0 4px; font-size: 1.6rem; color: #111827; line-height: 1.2; }
.ai-hero-sub { margin: 0; color: #4b5563; }
.ai-intro { margin-bottom: 10px; }
.ai-list { display: flex; flex-direction: column; gap: 26px; }
.ai-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 30px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 14px 34px -26px rgba(15, 23, 42, .5); }
.ai-row--rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ai-row--rev .ai-row-img { order: 2; }
/* фото всегда полноразмерное: колонки не сжимаются длинным текстом, картинка заполняет блок */
.ai-row-img { width: 100%; min-width: 0; }
.ai-row-body { min-width: 0; }
.ai-row-text img { display: none; }
.ai-row-img { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--hb-accent-soft); }
.ai-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ai-row:hover .ai-row-img img { transform: scale(1.05); }
.ai-row-title { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.25; }
.ai-row-title a { color: #111827; text-decoration: none; }
.ai-row-title a:hover { color: var(--hb-accent-dark); }
.ai-row-text { max-height: 260px; overflow: hidden; position: relative; font-size: .94rem; }
.ai-row-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: linear-gradient(transparent, #fff); }
.ai-row-more { margin-top: 14px; display: inline-flex; }
.ai-info { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.ai-info--nophoto { grid-template-columns: 1fr; }
.ai-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-gal-item { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--hb-accent-soft); }
.ai-gal-item--main { grid-column: span 2; grid-row: span 2; border-radius: 16px; }
.ai-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ai-gal-item:hover img { transform: scale(1.07); }
.ai-info-text ul { padding-left: 20px; }
.ai-info-text li { margin-bottom: 6px; }
@media (max-width: 900px) { .ai-row, .ai-row--rev, .ai-info { grid-template-columns: minmax(0, 1fr); gap: 16px; } .ai-row--rev .ai-row-img { order: 0; } .ai-hero-title { font-size: 1.25rem; } }
@media (max-width: 560px) { .ai-hero { flex-direction: column; align-items: flex-start; } }

/* Одно фото: фото уже, текст занимает освободившееся место */
.ai-info--one { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.ai-info--one .ai-gal { grid-template-columns: 1fr; }
.ai-info--one .ai-gal-item--main { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .ai-info--one { grid-template-columns: minmax(0, 1fr); } }

/* Призыв к действию и фото страницы - include/page-cta.blade.php, include/page-photos.blade.php */
.pcta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin-top: 40px; padding: 40px 44px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--hb-accent) 0%, var(--hb-accent-dark) 100%); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--hb-accent) 70%, #000); }
.pcta-deco { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .18) 0 120px, transparent 121px), radial-gradient(circle at 78% 110%, rgba(255, 255, 255, .1) 0 160px, transparent 161px); }
.pcta-main, .pcta-side { position: relative; }
.pcta-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.pcta-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pctaPulse 1.8s infinite; }
@keyframes pctaPulse { to { box-shadow: 0 0 0 10px transparent; } }
.pcta-title { margin: 14px 0 8px; font-size: 2rem; line-height: 1.2; color: #fff; }
.pcta-text { margin: 0 0 14px; opacity: .9; line-height: 1.55; }
.pcta-pros { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; }
.pcta-pros li { display: flex; align-items: center; gap: 8px; }
.pcta-pros li::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: .72rem; font-weight: 800; }
.pcta-side { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(4px); }
.pcta-btn { height: 56px; border: 0; border-radius: 60px; background: #fff; color: var(--hb-accent-dark); font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.pcta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4); }
.pcta-tel { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff !important; text-decoration: none; font-size: 1.25rem; font-weight: 700; }
.pcta-msg { display: flex; gap: 8px; justify-content: center; }
.pcta-msg a { flex: 1; text-align: center; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s; }
.pcta-msg a:hover { background: rgba(255, 255, 255, .28); }
@media (max-width: 900px) { .pcta { grid-template-columns: 1fr; padding: 28px 20px; } .pcta-title { font-size: 1.5rem; } }

.pph { margin-top: 36px; }
.pph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pph-item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--hb-accent-soft); }
.pph-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pph-item:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .pph-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .pph-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

.pcta-bw { margin-top: 24px; }
.pcta-bw .bw { margin: 0 !important; padding: 0 !important; max-width: none; }

/* Корпоративным клиентам - resources/views/template_3/pages/corp/index.blade.php (деловой стиль: графит + цвет отеля) */
.cp { padding: 50px 0 70px; background: #f4f5f7; }
.cp-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; padding: 44px; border-radius: 22px; background: linear-gradient(135deg, #1c2230 0%, #2a3142 100%); color: #e5e7eb; box-shadow: 0 30px 60px -34px rgba(15, 23, 42, .7); border-left: 6px solid var(--hb-accent); }
.cp-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--hb-accent) 55%, #fff); }
.cp-title { margin: 10px 0 12px; font-size: 2.1rem; line-height: 1.2; color: #fff; }
.cp-sub { margin: 0 0 22px; color: #cbd5e1; line-height: 1.6; }
.cp-hero-btns, .cp-req-side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cp-btn { height: 52px; padding: 0 30px; border: 0; border-radius: 10px; background: var(--hb-accent); color: #fff; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.cp-btn:hover { background: var(--hb-accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.cp-btn--light { background: #fff; color: #1c2230; }
.cp-btn--light:hover { background: #f1f5f9; color: #1c2230; }
.cp-tel { color: #fff !important; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.cp-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.cp-why li { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 12px 44px; position: relative; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.cp-why li::before { content: '✓'; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--hb-accent); color: #fff; font-size: .72rem; font-weight: 800; }
.cp-why b { color: #fff; font-weight: 700; }
.cp-why span { font-size: .86rem; color: #94a3b8; }
.cp-formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 22px 0 0; }
.cp-format { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid #e5e7eb; border-top: 3px solid var(--hb-accent); }
.cp-format-ico { font-size: 1.5rem; }
.cp-format-t { margin-top: 8px; font-weight: 700; color: #111827; }
.cp-format-c { margin-top: 2px; font-size: .88rem; color: #6b7280; }
.cp-intro { margin: 30px 0 0; padding: 26px 28px; border-radius: 14px; background: #fff; border: 1px solid #e5e7eb; }
.cp-h { margin: 40px 0 18px; font-size: 1.6rem; color: #111827; padding-left: 14px; border-left: 4px solid var(--hb-accent); }
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cp-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #e5e7eb; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cp-card:hover { transform: translateY(-4px); border-color: var(--hb-accent); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .5); }
.cp-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e5e7eb; }
.cp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cp-card:hover .cp-card-img img { transform: scale(1.05); }
.cp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.cp-card-name { font-size: 1.1rem; color: #111827; }
.cp-card-text { font-size: .86rem; color: #6b7280; line-height: 1.5; }
.cp-card-more { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 700; color: var(--hb-accent-dark); text-transform: uppercase; letter-spacing: .04em; }
.cp-req { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 40px; padding: 38px 42px; border-radius: 22px; background: linear-gradient(135deg, var(--hb-accent) 0%, var(--hb-accent-dark) 100%); color: #fff; }
.cp-req-title { font-size: 1.8rem; line-height: 1.2; }
.cp-req p { margin: 8px 0 14px; opacity: .92; }
.cp-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.cp-steps li::marker { font-weight: 800; }
.cp-req-side { flex-direction: column; align-items: stretch; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .12); }
.cp-req-side .cp-tel { text-align: center; }
.cp-req-hint { text-align: center; font-size: .8rem; opacity: .8; }
@media (max-width: 1024px) { .cp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cp-hero, .cp-req { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; } .cp-title { font-size: 1.5rem; } .cp-req-title { font-size: 1.4rem; } }
@media (max-width: 600px) { .cp-grid { grid-template-columns: 1fr; } }

/* Контакты - resources/views/template_3/pages/contacts/index.blade.php */
.cn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.cn-card { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid #eef0f3; box-shadow: 0 16px 36px -28px rgba(15, 23, 42, .5); }
.cn-card--main { background: linear-gradient(160deg, var(--hb-accent-soft), #fff 60%); border-top: 4px solid var(--hb-accent); }
.cn-h { font-size: 1.35rem; color: #111827; margin-bottom: 16px; }
.cn-phone { display: flex; flex-direction: column; margin-bottom: 12px; color: #111827 !important; text-decoration: none; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.cn-phone small { font-size: .78rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; }
.cn-phone:hover { color: var(--hb-accent-dark) !important; }
.cn-msg { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.cn-msg a { padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; color: #111827 !important; text-decoration: none; font-weight: 600; transition: border-color .2s; }
.cn-msg a:hover { border-color: var(--hb-accent); }
.cn-btns, .cn-route { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cn-btn2 { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 60px; border: 1px solid var(--hb-accent); background: #fff; color: var(--hb-accent-dark) !important; text-decoration: none; cursor: pointer; font-size: 1rem; transition: background .2s, color .2s; }
.cn-btn2:hover { background: var(--hb-accent); color: #fff !important; }
.cn-route .hb-btn { text-decoration: none; }
.cn-office { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e5e7eb; font-size: .9rem; color: #4b5563; }
.cn-office b { color: #111827; }
.cn-office-time { color: var(--hb-accent-dark); font-weight: 600; }
.cn-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 18px; margin: 0 0 16px; }
.cn-dl dt { color: #6b7280; font-size: .88rem; }
.cn-dl dd { margin: 0; color: #111827; font-weight: 600; }
.cn-gps { font-family: monospace; font-weight: 500 !important; }
.cn-gps button { border: 0; background: var(--hb-accent-soft); color: var(--hb-accent-dark); border-radius: 6px; cursor: pointer; padding: 1px 7px; margin-left: 4px; }
.cn-map { margin-top: 26px; border-radius: 18px; overflow: hidden; height: 420px; border: 1px solid #eef0f3; }
.cn-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.cn-way { margin-top: 10px; }
@media (max-width: 900px) { .cn-grid { grid-template-columns: minmax(0, 1fr); } .cn-map { height: 320px; } .cn-phone { font-size: 1.35rem; } }

/* Страница отзывов (/reviews) */
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.rp-head .container-title { margin: 0; }
.rp-grid { columns: 3 300px; column-gap: 18px; }
.rp-card { break-inside: avoid; margin: 0 0 18px; border: 1px solid rgba(26, 26, 26, .06); }
.rp-card .rv-text { white-space: normal; }
.rp-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.rp-pages a, .rp-pages span { min-width: 42px; height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(26, 26, 26, .12); background: #fff; color: #1f2937; text-decoration: none; font-weight: 600; }
.rp-pages span { border-color: transparent; background: none; }
.rp-pages a:hover { border-color: var(--hb-accent); color: var(--hb-accent-dark); }
.rp-pages a.is-active { background: var(--hb-accent); border-color: var(--hb-accent); color: #fff; }
@media (max-width: 575px) {
    .rp-head .hb-btn { width: 100%; }
}

/* Оплата через ЛК банка (/get_sberbank) */
.ps-head { max-width: 860px; margin: 0 auto 26px; text-align: center; }
.ps-hello { font-size: 1.2rem; font-weight: 600; margin: 0 0 12px; color: #111827; }
.ps-order { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 12px; }
.ps-order > div { display: flex; flex-direction: column; padding: 10px 22px; border-radius: 14px; background: var(--hb-accent-soft, #f5f1ea); }
.ps-order span { font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.ps-order b { font-size: 1.35rem; color: #111827; }
.ps-order-sum { background: var(--hb-accent, #c4a47c) !important; }
.ps-order-sum span, .ps-order-sum b { color: #fff !important; }
.ps-lead { color: #4b5563; margin: 0; }
.ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.ps-card { position: relative; background: #fff; border: 1px solid rgba(26, 26, 26, .08); border-radius: 18px; padding: 28px 24px 24px; box-shadow: 0 14px 34px -24px rgba(15, 23, 42, .4); display: flex; flex-direction: column; align-items: center; }
.ps-step { position: absolute; top: -16px; left: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--hb-accent, #c4a47c); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ps-card-title { font-size: 1.35rem; margin: 0 0 16px; }
.ps-qr { width: 240px; height: 240px; max-width: 100%; border: 1px solid #eee; border-radius: 12px; padding: 8px; background: #fff; }
.ps-steps { text-align: left; margin: 16px 0 10px; padding-left: 20px; color: #374151; line-height: 1.5; font-size: 14px; }
.ps-link { color: var(--hb-accent-dark, #8b7355); font-weight: 600; text-decoration: underline; }
.ps-invoice { width: 100%; justify-content: center; text-align: center; white-space: normal; height: auto; min-height: 50px; padding: 10px 16px; }
.ps-note { align-self: stretch; margin: 16px 0 8px; font-size: 14px; color: #6b7280; }
.ps-req { align-self: stretch; margin: 0; display: grid; gap: 6px; }
.ps-req > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #f8f8f7; }
.ps-req dt { font-size: 12px; color: #6b7280; font-weight: 500; }
.ps-req dd { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ps-req dd span { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; word-break: break-word; }
.ps-copy { flex: 0 0 auto; border: 1px solid rgba(26, 26, 26, .12); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12px; cursor: pointer; color: #374151; }
.ps-copy.is-ok { background: var(--hb-accent, #16a34a); border-color: var(--hb-accent, #16a34a); color: #fff; }
.ps-after { max-width: 980px; margin: 26px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center;
    padding: 22px 24px; border-radius: 18px; background: var(--hb-accent-soft, #f5f1ea); }
.ps-after-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; color: #111827; }
.ps-after-text p { margin: 0; color: #374151; line-height: 1.55; }
.ps-after-text b { white-space: nowrap; }
@media (max-width: 420px) { .ps-after-text b { white-space: normal; overflow-wrap: anywhere; } }
.ps-after-phone a, .ps-mgr-link { color: var(--hb-accent-dark, #8b7355); font-weight: 600; }
.ps-mgr { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 26px -20px rgba(15, 23, 42, .45); }
.ps-mgr-photo { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
    background: var(--hb-accent, #c4a47c); color: #fff; font-size: 34px; font-weight: 700; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--hb-accent, #c4a47c); }
.ps-mgr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-mgr-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-mgr-role { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.ps-mgr-name { font-size: 1.15rem; font-weight: 700; color: #111827; line-height: 1.25; }
.ps-mgr-link { text-decoration: underline; font-size: 15px; word-break: break-all; }
.ps-mgr-link span { font-weight: 500; }
.ps-error { max-width: 640px; margin: 0 auto; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; background: #fef2f2; border: 1px solid #fecaca; }
.ps-error-ico { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #dc2626; color: #fff; font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.ps-error-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.ps-error p { margin: 0 0 14px; color: #4b5563; }
@media (max-width: 767px) {
    .ps-grid { grid-template-columns: 1fr; gap: 28px; }
    .ps-req > div { grid-template-columns: 1fr; gap: 2px; }
    .ps-after { grid-template-columns: 1fr; padding: 18px 16px; }
}

/* Результат оплаты Альфа-Банка: /payments/success, /payments/fail, /pay_alfabank (pages/payments/result)
   Дизайн - pay_success.tpl (зелёный) и pay_fail.tpl (красный), внутри страницы сайта с шапкой и футером. */

/* --- Цвета состояний --- */
.pr--success {
    --pr-page: #e8f5ed; --pr-bg: linear-gradient(135deg, #ddf3e8 0%, #c5ead8 30%, #e2f5ea 60%, #f0fcf5 100%);
    --pr-o1: #7ae0a0, #3bb86b; --pr-o2: #95e8b2, #4cc97d; --pr-o3: #a8efc0, #5ad48a;
    --pr-o4: #b8f2cc, #4ec87e; --pr-o5: #a0edbc, #4bc47a; --pr-o6: #c4f2d6, #52c983;
    --pr-main: #1a8f4a; --pr-main-rgb: 26, 143, 74; --pr-soft-rgb: 40, 180, 100;
    --pr-c1: #2dba6b, #1a8f4a; --pr-c2: #7ae0a0, #2dba6b; --pr-c3: #b8f2cc, #4ec87e;
    --pr-title: #0b3d22; --pr-sub: #3a7a55; --pr-dot: #22b573; --pr-line: #4cc97d;
}
.pr--fail {
    --pr-page: #f8eeed; --pr-bg: linear-gradient(135deg, #f5e8e8 0%, #f0d6d6 30%, #f5e6e6 60%, #fcf0f0 100%);
    --pr-o1: #f5a0a0, #e06060; --pr-o2: #f0b0b0, #d45050; --pr-o3: #f5c0c0, #e07070;
    --pr-o4: #f8d0d0, #e06060; --pr-o5: #f5b8b8, #d45858; --pr-o6: #f8d4d4, #e06868;
    --pr-main: #b03030; --pr-main-rgb: 180, 40, 40; --pr-soft-rgb: 200, 60, 60;
    --pr-c1: #d45a5a, #b03030; --pr-c2: #f0a0a0, #d45a5a; --pr-c3: #f8c8c8, #e06060;
    --pr-title: #4a1a1a; --pr-sub: #7a3a3a; --pr-dot: #d45a5a; --pr-line: #d45a5a;
}

/* --- Секция и анимированный фон (в пределах секции, а не всей страницы) --- */
.pr, .pr *, .pr *::before, .pr *::after { box-sizing: border-box; }
.pr { position: relative; overflow: hidden; background: var(--pr-page); padding: 60px 16px; display: flex; align-items: center; justify-content: center; }
.pr-bg { position: absolute; inset: 0; z-index: 0; background: var(--pr-bg); overflow: hidden; }

.pr-orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; animation: prOrbFloat 25s infinite alternate ease-in-out; }
.pr-orb-1 { width: 600px; height: 600px; top: -200px; right: -150px; background: radial-gradient(circle, var(--pr-o1)); animation-duration: 28s; opacity: .17; }
.pr-orb-2 { width: 500px; height: 500px; bottom: -180px; left: -120px; background: radial-gradient(circle, var(--pr-o2)); animation-duration: 32s; animation-delay: 3s; opacity: .14; }
.pr-orb-3 { width: 400px; height: 400px; top: 20%; left: 30%; background: radial-gradient(circle, var(--pr-o3)); animation-duration: 22s; animation-delay: 5s; opacity: .11; filter: blur(110px); }
.pr-orb-4 { width: 280px; height: 280px; top: 5%; right: 10%; background: radial-gradient(circle, var(--pr-o4)); animation-duration: 20s; animation-delay: 1.5s; opacity: .15; filter: blur(70px); }
.pr-orb-5 { width: 300px; height: 300px; bottom: 8%; right: 15%; background: radial-gradient(circle, var(--pr-o5)); animation-duration: 30s; animation-delay: 4s; opacity: .13; filter: blur(80px); }
.pr-orb-6 { width: 200px; height: 200px; top: 45%; left: 8%; background: radial-gradient(circle, var(--pr-o6)); animation-duration: 18s; animation-delay: 2s; opacity: .11; filter: blur(60px); }

@keyframes prOrbFloat {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    20%  { transform: translate(40px, -50px) scale(1.1) rotate(8deg); }
    40%  { transform: translate(-30px, 40px) scale(.9) rotate(-5deg); }
    60%  { transform: translate(50px, 30px) scale(1.05) rotate(6deg); }
    80%  { transform: translate(-40px, -20px) scale(.95) rotate(-7deg); }
    100% { transform: translate(20px, -30px) scale(1.02) rotate(3deg); }
}

/* Пульсирующие кольца */
.pr-rings { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: .06; }
.pr-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(var(--pr-soft-rgb), .25); animation: prRingPulse 16s infinite ease-in-out; }
.pr-ring:nth-child(1) { width: 800px; height: 800px; top: -300px; right: -200px; animation-duration: 18s; }
.pr-ring:nth-child(2) { width: 600px; height: 600px; bottom: -200px; left: -150px; animation-duration: 22s; animation-delay: 4s; }
.pr-ring:nth-child(3) { width: 450px; height: 450px; top: 20%; left: 20%; animation-duration: 14s; animation-delay: 7s; border-color: rgba(var(--pr-soft-rgb), .15); }
.pr-ring:nth-child(4) { width: 350px; height: 350px; bottom: 25%; right: 15%; animation-duration: 20s; animation-delay: 2s; border-color: rgba(var(--pr-soft-rgb), .12); }

@keyframes prRingPulse {
    0%   { transform: scale(.5) rotate(0deg); opacity: .6; }
    50%  { transform: scale(1.6) rotate(45deg); opacity: .1; }
    100% { transform: scale(2.2) rotate(90deg); opacity: 0; }
}

/* Мелкие частицы */
.pr-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.pr-particle { position: absolute; border-radius: 50%; background: rgba(var(--pr-soft-rgb), .15); animation: prParticle 20s infinite linear; }
.pr-particle:nth-child(1) { width: 8px; height: 8px; top: 15%; left: 10%; animation-duration: 22s; }
.pr-particle:nth-child(2) { width: 12px; height: 12px; top: 75%; left: 85%; animation-duration: 25s; animation-delay: 3s; }
.pr-particle:nth-child(3) { width: 6px; height: 6px; top: 40%; left: 5%; animation-duration: 18s; animation-delay: 5s; }
.pr-particle:nth-child(4) { width: 10px; height: 10px; top: 10%; right: 20%; animation-duration: 28s; animation-delay: 2s; }
.pr-particle:nth-child(5) { width: 7px; height: 7px; bottom: 30%; right: 5%; animation-duration: 20s; animation-delay: 7s; }
.pr-particle:nth-child(6) { width: 14px; height: 14px; top: 60%; left: 50%; animation-duration: 24s; animation-delay: 4s; }

@keyframes prParticle {
    0%   { transform: translate(0, 0) scale(.5); opacity: 0; }
    20%  { opacity: .6; }
    80%  { opacity: .6; }
    100% { transform: translate(var(--tx, 80px), var(--ty, -120px)) scale(1.5); opacity: 0; }
}

/* --- Карточка --- */
.pr-wrap { position: relative; z-index: 2; width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.pr-card {
    width: 100%; text-align: center; padding: 3.2rem 2.2rem;
    background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(32px) saturate(180%); backdrop-filter: blur(32px) saturate(180%);
    border-radius: 56px; border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: 0 30px 80px rgba(var(--pr-main-rgb), .08), 0 12px 32px rgba(0, 0, 0, .02),
                0 0 0 1.5px rgba(255, 255, 255, .9) inset, 0 0 60px rgba(var(--pr-soft-rgb), .05);
    animation: prCardAppear .8s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes prCardAppear {
    0%   { opacity: 0; transform: scale(.9) translateY(30px) rotate(-1deg); }
    100% { opacity: 1; transform: scale(1) translateY(0) rotate(0deg); }
}

/* Иконка: галочка (success) / крестик (fail) */
.pr-icon { position: relative; width: 130px; height: 130px; margin: 0 auto 1.4rem; display: flex; align-items: center; justify-content: center; }
.pr-circle { position: absolute; border-radius: 50%; animation: prPulseRing 3.5s ease-out infinite; }
.pr-circle-1 { width: 130px; height: 130px; background: linear-gradient(135deg, var(--pr-c1)); opacity: .06; }
.pr-circle-2 { width: 160px; height: 160px; background: radial-gradient(circle, var(--pr-c2)); opacity: .035; filter: blur(22px); animation-delay: 1.2s; }
.pr-circle-3 { width: 110px; height: 110px; background: radial-gradient(circle, var(--pr-c3)); opacity: .04; filter: blur(14px); animation-delay: 2s; }

@keyframes prPulseRing {
    0%, 100% { transform: scale(.85); opacity: .15; }
    50%      { transform: scale(1.25); opacity: .02; }
}

.pr-svg { position: relative; z-index: 1; width: 80px; height: 80px; filter: drop-shadow(0 4px 30px rgba(var(--pr-main-rgb), .15)); }
.pr-svg-circle { fill: none; stroke: var(--pr-main); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: prDraw .8s ease-out forwards; }
.pr-svg-line { fill: none; stroke: var(--pr-main); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: prDraw .5s ease-out .55s forwards; }
.pr-svg-line--2 { animation-delay: .7s; }

@keyframes prDraw { to { stroke-dashoffset: 0; } }

/* Текст и статус */
.pr-title { font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--pr-title); margin: 0 0 .3rem; animation: prFadeUp .7s ease-out .3s both; }
.pr-subtitle { font-size: 1.1rem; color: var(--pr-sub); margin: 0 0 2rem; opacity: .85; animation: prFadeUp .7s ease-out .45s both; }
.pr-badge {
    display: inline-flex; align-items: center; gap: .7rem; padding: .6rem 2rem; border-radius: 60px;
    background: rgba(var(--pr-main-rgb), .06); border: 1px solid rgba(var(--pr-main-rgb), .08);
    font-size: 1rem; font-weight: 500; color: var(--pr-main); animation: prFadeUp .7s ease-out .6s both;
}
.pr-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pr-dot); box-shadow: 0 0 20px rgba(var(--pr-soft-rgb), .3); animation: prDotPulse 2s ease-in-out infinite; }

@keyframes prDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .3; transform: scale(.65); }
}

.pr-actions { margin-top: 1.6rem; animation: prFadeUp .7s ease-out .7s both; }
.pr-divider { width: 60px; height: 3px; margin: 1.8rem auto 0; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--pr-line), transparent); opacity: .3; animation: prFadeUp .7s ease-out .75s both; }

@keyframes prFadeUp {
    0%   { opacity: 0; transform: translateY(20px) scale(.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Менеджер и телефон под карточкой */
.pr-manager { margin-top: 20px; animation: prFadeUp .7s ease-out .85s both; }
.pr .pr-manager { margin-top: 0; }
.pr-phone { margin: 0; text-align: center; color: var(--pr-sub); }
.pr-phone a { color: var(--pr-main); font-weight: 600; }

/* --- Телефоны --- */
@media (max-width: 480px) {
    .pr { padding: 36px 16px; }
    .pr-card { padding: 2.4rem 1.4rem 2.6rem; border-radius: 40px; }
    .pr-icon, .pr-circle-1 { width: 110px; height: 110px; }
    .pr-circle-2 { width: 136px; height: 136px; }
    .pr-circle-3 { width: 96px; height: 96px; }
    .pr-svg { width: 68px; height: 68px; }
    .pr-title { font-size: 1.8rem; }
    .pr-subtitle { font-size: .95rem; margin-bottom: 1.6rem; }
    .pr-badge { font-size: .85rem; padding: .45rem 1.4rem; gap: .5rem; }
    .pr-dot { width: 7px; height: 7px; }
    .pr-divider { width: 40px; margin-top: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-orb, .pr-ring, .pr-particle, .pr-circle, .pr-dot { animation: none; }
}

/* «Способы оплаты» (/payments, pages/payments/index): список способов из письма-подтверждения */
.pm-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: 16px; }

.pm-item {
    display: flex; align-items: center; gap: 22px; padding: 22px 24px;
    background: #fff; border: 1px solid rgba(26, 26, 26, .08); border-radius: 18px;
    box-shadow: 0 14px 34px -26px rgba(15, 23, 42, .45);
}

/* Значок / картинка способа */
.pm-ico {
    flex: 0 0 96px; width: 96px; height: 72px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; background: var(--hb-accent-soft, #faf6f0); color: var(--hb-accent-dark, #8b7355);
}
.pm-ico img { display: block; max-width: 80px; max-height: 56px; width: auto; height: auto; object-fit: contain; }

/* Название и описание */
.pm-body { min-width: 0; }
.pm-title { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.35; color: #111827; }
.pm-text { margin: 0; font-size: 14px; line-height: 1.55; color: #4b5563; }

/* Телефоны: картинка над текстом */
@media (max-width: 575px) {
    .pm-item { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 16px; }
    .pm-ico { flex-basis: auto; width: 88px; height: 64px; }
    .pm-title { font-size: 1.05rem; }
}
