/* [СВО] 2026-07-18 — Страница «Музей» */
#view-museum {
    background: transparent;
}

.museum-page {
    background: transparent;
    padding: 8px 0 72px;
}

.museum-page__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.museum-intro {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.museum-intro__card,
.museum-facts,
.museum-gallery,
.museum-video,
.museum-booking {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 26, 46, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.18);
}

.museum-intro__card {
    padding: 32px 32px 28px;
}

.museum-intro__eyebrow {
    display: inline-block;
    color: #8a6d1f;
    background: rgba(201, 168, 76, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.museum-intro__title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.25;
    color: #1a2b4a;
    font-weight: 800;
}

.museum-intro__text {
    margin: 0 0 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.museum-intro__text:last-child {
    margin-bottom: 0;
}

.museum-facts {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.museum-fact {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: start;
}

.museum-fact__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, #1a2b4a, #243b61);
    color: #e8d5a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.museum-fact__label {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a6d1f;
}

.museum-fact__value {
    margin: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.museum-section {
    margin-top: 36px;
}

.museum-section__head {
    margin-bottom: 18px;
}

.museum-section__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #1a2b4a;
}

.museum-section__lead {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
    max-width: 640px;
}

.museum-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.museum-pillar {
    background: #fff;
    border-radius: 18px;
    padding: 22px 20px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 10px 28px rgba(15, 26, 46, 0.05);
}

.museum-pillar__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.12);
    color: #8a6d1f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.museum-pillar__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 750;
    color: #1a2b4a;
}

.museum-pillar__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
}

.museum-gallery {
    padding: 18px;
    overflow: hidden;
}

.museum-slider {
    position: relative;
}

.museum-slider__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    background: #0f1a2e;
}

.museum-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.museum-slider__slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.museum-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.museum-slider__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 22px 18px;
    background: linear-gradient(transparent, rgba(15, 26, 46, 0.82));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.museum-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1a2b4a;
    box-shadow: 0 8px 24px rgba(15, 26, 46, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.museum-slider__nav:hover {
    transform: translateY(-50%) scale(1.05);
    background: #fff;
}

.museum-slider__nav--prev { left: 14px; }
.museum-slider__nav--next { right: 14px; }

.museum-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.museum-slider__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
}

.museum-slider__dot.is-active {
    background: #c9a84c;
    width: 22px;
    border-radius: 999px;
}

.museum-video {
    padding: 18px;
}

.museum-video__frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f1a2e;
    aspect-ratio: 16 / 9;
}

.museum-video__frame video,
.museum-video__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* [СВО] 2026-07-19 — display:block/flex иначе перебивает [hidden] и видео играет «под» постером */
.museum-video__frame video[hidden],
.museum-video__frame img[hidden],
.museum-video__play[hidden] {
    display: none !important;
}

.museum-video__frame.is-playing img,
.museum-video__frame.is-playing .museum-video__play {
    display: none !important;
}

.museum-video__frame.is-playing video {
    display: block !important;
    position: relative;
    z-index: 2;
}

.museum-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 26, 46, 0.35);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

.museum-video__play-btn {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(145deg, #c9a84c, #a8883a);
    color: #1a2b4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 32px rgba(201, 168, 76, 0.45);
}

.museum-video__play span {
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.museum-video__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.museum-video__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #1a2b4a;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.museum-video__link--outline {
    background: transparent;
    border: 1px solid #c9a84c;
    color: #8a6d1f;
}

.museum-booking {
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(201, 168, 76, 0.14), transparent 42%),
        #fff;
}

.museum-booking__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.museum-booking__aside-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: #1a2b4a;
    line-height: 1.25;
}

.museum-booking__aside-text {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.museum-booking__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.museum-booking__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}

.museum-booking__list i {
    color: #c9a84c;
    margin-top: 3px;
}

.museum-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.museum-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.museum-form__field--full {
    grid-column: 1 / -1;
}

.museum-form__label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.museum-form__label span {
    color: #b45309;
}

.museum-form__input,
.museum-form__select,
.museum-form__textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.museum-form__input:focus,
.museum-form__select:focus,
.museum-form__textarea:focus {
    outline: none;
    border-color: #c9a84c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.14);
}

.museum-form__textarea {
    min-height: 110px;
    resize: vertical;
}

.museum-form__phone-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
}

.museum-form__hint {
    font-size: 12px;
    color: #64748b;
}

.museum-form__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.museum-form__check input {
    margin-top: 3px;
    accent-color: #c9a84c;
}

.museum-form__submit {
    grid-column: 1 / -1;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1a2b4a, #2a4570);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(26, 43, 74, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.museum-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(26, 43, 74, 0.34);
}

.museum-form__submit i {
    color: #e8d5a0;
    margin-left: 6px;
}

/* [СВО] 2026-07-19 — блок увековечивания памяти / передачи вещей */
.museum-memory {
    padding: 32px;
    background:
        radial-gradient(circle at top left, rgba(201, 168, 76, 0.12), transparent 46%),
        #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 26, 46, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.18);
}

.museum-memory__head {
    margin-bottom: 22px;
    text-align: left;
}

.museum-memory__head .museum-section__title {
    margin-bottom: 10px;
}

.museum-memory__head .museum-section__lead {
    max-width: 720px;
    margin: 0;
}

.museum-memory__guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 26px;
}

.museum-memory__guide {
    padding: 20px 20px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.museum-memory__guide-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    color: #1a2b4a;
    line-height: 1.35;
}

.museum-memory__steps {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.museum-memory__steps li::marker {
    color: #c9a84c;
    font-weight: 700;
}

.museum-memory__form {
    margin-top: 4px;
    padding: 22px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(30, 58, 95, 0.08);
}

.museum-memory__panel {
    display: contents;
}

.museum-memory__panel[hidden] {
    display: none !important;
}

.museum-form__file {
    padding: 10px 12px;
    background: #fff;
}

.museum-form__check a {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.museum-memory__thanks {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.28);
    color: #4a453e;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 900px) {
    .museum-intro,
    .museum-booking__grid,
    .museum-pillars,
    .museum-memory__guides {
        grid-template-columns: 1fr;
    }

    .museum-intro {
        margin-top: 0;
    }

    .museum-memory {
        padding: 22px 16px;
    }

    .museum-memory__form {
        padding: 16px;
    }

    .museum-form {
        grid-template-columns: 1fr;
    }

    .museum-form__phone-row {
        grid-template-columns: 1fr;
    }

    .museum-slider__nav {
        width: 38px;
        height: 38px;
    }
}
