/* Главная: фотографический первый экран. Остальные страницы не затрагиваются. */
.home-page .hero--immersive {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 800px;
    min-height: min(960px, 100svh);
    padding: calc(var(--header-height) + 80px) 0 112px;
    overflow: hidden;
    background: var(--background-color);
}

.home-page .hero--immersive::before {
    z-index: 1;
    background: linear-gradient(90deg, rgb(var(--bg-rgb)) 0%, rgba(var(--bg-rgb), .98) 24%, rgba(var(--bg-rgb), .78) 43%, rgba(var(--bg-rgb), .12) 68%, rgba(var(--bg-rgb), .08) 100%);
}

.home-page .hero--immersive .hero__photo {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    width: 78%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.home-page .hero--immersive .hero__photo picture,
.home-page .hero--immersive .hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-page .hero--immersive .hero__photo img {
    object-fit: cover;
    object-position: 50% 45%;
}

.home-page .hero--immersive > .container {
    position: static;
    z-index: 2;
    width: calc(100% - clamp(48px, 10vw, 160px));
    max-width: 1280px;
    padding-inline: 0;
}

.home-page .hero--immersive .hero__content {
    max-width: 660px;
    margin: 0;
    text-align: left;
}

.home-page .hero--immersive .hero__title {
    max-width: none;
    margin: 0 0 28px;
    color: var(--text-color);
    font-size: clamp(42px, 4.2vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-shadow: none;
    text-wrap: initial;
}

.home-page .hero--immersive .hero__subtitle {
    max-width: 520px;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.6;
    opacity: 1;
}

.home-page .hero__booking {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 36px;
}

.home-page .hero__cta {
    width: auto;
    min-width: 0;
    min-height: 56px;
    padding: 16px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: none;
}

.home-page .hero__reviews {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 16px;
    text-decoration: underline;
    text-decoration-color: rgba(var(--text-rgb), .4);
    text-underline-offset: .25em;
}

.home-page .hero__reviews:hover { color: var(--text-color); }

.home-page .hero__scroll {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-color);
}

.home-page .header .nav__contact .button--primary {
    background: transparent;
    box-shadow: none;
}

.home-page .header .nav__contact .button--primary:hover {
    background: var(--primary-color);
}

.home-page .header .nav__contact .button--primary::before,
.home-page .header .nav__contact .button--primary::after { display: none; }

.home-page .home-formats {
    scroll-margin-top: calc(var(--header-height) + 20px);
    background: var(--background-color);
}

.home-page .home-formats .hero__choices,
.home-page .home-formats .hero__availability { max-width: none; }
.home-page .home-formats .hero__choices { scroll-margin-top: calc(var(--header-height) + 20px); }
.home-page .home-formats .hero-choice__title { min-height: 0; }
.home-page .home-formats .hero-choice__meta,
.home-page .home-formats .hero-choice__price,
.home-page .home-formats .hero-choice__action { font-size: 16px; }
.home-page .home-formats .hero__availability { margin-top: 24px; border-left-width: 1px; font-size: 16px; }
.home-page .home-formats__location { margin-top: 28px; color: var(--text-soft); font-size: 16px; }
.home-page .home-since { color: var(--text-soft); }

.home-page .offpeak-bar { background: var(--background-alt); border-block: 1px solid var(--border-color); }
.home-page .offpeak-bar__inner { display: flex; align-items: center; justify-content: center; gap: 16px 24px; flex-wrap: wrap; padding-block: 24px; }
.home-page .offpeak-bar__text { max-width: 65ch; font-size: 16px; }
.home-page .offpeak-bar__text strong { color: var(--accent-color); }
.home-page .offpeak-bar__cta { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }

.home-page .home-sticky-cta { visibility: hidden; }
.home-page .home-sticky-cta.is-visible { visibility: visible; }
.home-page.no-scroll .home-sticky-cta { visibility: hidden; }

@media (max-width: 900px) {
    .home-page .hero--immersive {
        min-height: 760px;
        min-height: max(740px, 100svh);
        align-items: flex-end;
        padding: 350px 0 88px;
    }
    .home-page .hero--immersive .hero__photo { width: 100%; height: 66%; }
    .home-page .hero--immersive > .container { width: 100%; padding-inline: 24px; }
    .home-page .hero--immersive .hero__content { max-width: 660px; }
    .home-page .hero--immersive .hero__photo img { object-position: 52% 30%; }
    .home-page .hero--immersive::before { background: linear-gradient(180deg, rgba(var(--bg-rgb), .18) 0%, rgba(var(--bg-rgb), .06) 25%, rgba(var(--bg-rgb), .75) 46%, rgb(var(--bg-rgb)) 65%); }
    .home-page .hero--immersive .hero__title { margin-bottom: 18px; font-size: clamp(32px, 8.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
    .home-page .hero--immersive .hero__subtitle { max-width: 340px; font-size: 18px; line-height: 1.5; }
    .home-page .hero__booking { margin-top: 24px; gap: 8px; }
    .home-page .hero__reviews { margin-top: 4px; font-size: 16px; }
    .home-page .hero__scroll { bottom: 20px; }
}

@media (max-width: 600px) {
    .home-page .hero--immersive > .container { padding-inline: 16px; }
    .home-page .hero__cta { width: 100%; }
    .home-page .home-formats .hero-choice { grid-template-columns: 1fr; grid-template-areas: 'title' 'meta' 'price' 'action'; gap: 6px; padding: 20px; }
    .home-page .home-formats .hero-choice__price { text-align: left; }
    .home-page .home-formats .hero-choice__action { justify-self: start; }
}

@media (max-width: 360px) {
    .home-page .hero--immersive { padding-top: 260px; }
}
