.hero-viewport {
    display: block;
}

.hero-section {
    position: relative;
    padding: clamp(36px, 4vw, 52px) 0 18px;
    margin-bottom: 0;
    background:
        linear-gradient(115deg, rgba(7, 20, 26, 0.88) 0%, rgba(10, 48, 58, 0.72) 45%, rgba(14, 94, 89, 0.58) 100%),
        radial-gradient(circle at top right, rgba(217, 164, 65, 0.25), transparent 32%),
        linear-gradient(135deg, #12322f 0%, #1d524b 45%, #6a817b 100%);
    overflow: visible;
}

.hero-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-section__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(7, 20, 26, 0.72) 0%, rgba(10, 48, 58, 0.58) 45%, rgba(14, 94, 89, 0.46) 100%),
        radial-gradient(circle at top right, rgba(217, 164, 65, 0.22), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.14));
}

.hero-section__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.015);
}

.hero-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

.hero-section__inner {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 28px;
}

.hero-section__inner--cinematic {
    position: relative;
    z-index: 1;
    align-items: center;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    min-height: clamp(320px, 30vw, 390px);
    padding-right: clamp(390px, 42vw, 560px);
}

.hero-section__content--cinematic {
    background: transparent;
    border: 0;
    backdrop-filter: none;
    color: var(--cc-white);
    box-shadow: none;
    padding: 8px 0;
    justify-self: start;
    width: min(100%, 560px);
    max-width: 560px;
    margin-left: 0;
    margin-top: -60px;
}

[data-hero-title],
[data-hero-desc] {
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-hero-title].is-hero-exiting,
[data-hero-desc].is-hero-exiting {
    opacity: 0;
    transform: translateY(10px);
}

[data-hero-title].is-hero-entering,
[data-hero-desc].is-hero-entering {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-section__content--cinematic p,
.hero-section__content--cinematic .section-kicker,
.hero-section__content--cinematic span {
    color: rgba(255, 255, 255, 0.92);
}

.hero-section__content--cinematic .section-kicker {
    color: #f5d594;
}

.hero-section__content--cinematic .button--secondary {
    border-color: rgba(255, 255, 255, 0.72);
    color: var(--cc-white);
}

.hero-showcase {
    position: absolute;
    right: 0;
    bottom: -64px;
    width: min(100%, 500px);
    z-index: 2;
}

.hero-showcase__panel {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: 0 32px 70px rgba(7, 20, 26, 0.22);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-showcase__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 14px 16px 16px;
}

.hero-showcase__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 118, 110, 0.24);
}

.hero-showcase__dot.is-active {
    background: var(--cc-primary);
}

.hero-showcase__slides {
    position: relative;
    aspect-ratio: 4 / 3.4;
    min-height: auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(32px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.hero-slide__media {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-image:
        linear-gradient(180deg, rgba(17, 37, 34, 0.10), rgba(17, 37, 34, 0.22)),
        var(--slide-image, linear-gradient(135deg, #dbeee9 0%, #9fcac0 50%, #6f938b 100%));
    background-size: cover;
    background-position: center;
    animation: heroKenBurns 10s ease-in-out infinite alternate;
}

.hero-slide__name {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    padding: 10px 18px;
    background: linear-gradient(0deg, rgba(10, 40, 35, 0.72), transparent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: left;
}

@keyframes heroKenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.hero-section h1,
.section-heading h2 {
    margin: 0 0 14px;
    line-height: 1.15;
}

.hero-section h1 {
    font-size: clamp(34px, 3.6vw, 56px);
}

.section-heading h2 {
    font-size: clamp(24px, 2vw, 36px);
    color: var(--cc-text);
}

[data-hero-desc] {
    font-size: clamp(22px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.25;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-section--welcome {
    margin-top: 100px;
    padding-bottom: 48px;
}

.welcome-block {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.welcome-block h2 {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.3;
    color: var(--cc-primary-dark, #0a5c56);
    margin: 0 0 22px;
}

.welcome-block p {
    font-size: clamp(16px, 1.4vw, 20px);
    color: var(--cc-muted);
    line-height: 1.7;
    margin: 0;
}

.booking-search-form {
    margin-top: 40px;
}

.booking-search-form__fields {
    display: flex;
    align-items: flex-end;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(15, 118, 110, 0.13), 0 2px 8px rgba(0,0,0,0.06);
    padding: 10px;
    flex-wrap: wrap;
}

.bsf-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 140px;
    padding: 10px 16px;
    border-right: 1px solid #e5e7eb;
    min-width: 130px;
}

.bsf-field:first-child {
    padding-left: 6px;
}

.bsf-field:last-of-type {
    border-right: none;
}

.bsf-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cc-primary, #0f766e);
    white-space: nowrap;
}

.bsf-field input {
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #1a2332;
    background: transparent;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.bsf-field input:focus {
    color: #1a2332;
}

.bsf-error {
    font-size: 11px;
    color: #dc2626;
    font-weight: 600;
    margin-top: 2px;
}

.bsf-divider {
    align-self: center;
    padding: 0 8px;
    color: #9ca3af;
    font-size: 18px;
    flex-shrink: 0;
}

.bsf-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cc-primary, #0f766e);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.bsf-submit:hover {
    background: #0a5c56;
    transform: translateY(-1px);
}

.home-section {
    padding: 56px 0;
}

.trust-bar {
    background: var(--cc-white, #fff);
    border-top: 3px solid var(--cc-primary);
    border-bottom: 1px solid var(--cc-border, #e5e7eb);
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    position: relative;
}

.trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0;
    padding-right: clamp(390px, 42vw, 560px);
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cc-primary);
    white-space: nowrap;
}

.trust-bar__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--cc-primary);
    stroke: currentColor;
}

.trust-bar__sep {
    width: 1px;
    height: 22px;
    background: rgba(15, 118, 110, .2);
    flex-shrink: 0;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--cc-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-reviews {
    background: linear-gradient(135deg, #0b5c56 0%, #083c37 100%);
    color: #fff;
}

.home-reviews .section-kicker {
    color: var(--cc-accent);
}

.home-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-reviews__meta h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 6px 0 0;
}

.home-reviews__avg {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 18px 28px;
    text-align: center;
    flex-shrink: 0;
    min-width: 130px;
}

.home-reviews__avg-number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cc-accent);
    margin-bottom: 6px;
}

.home-reviews__avg .cc-stars {
    color: var(--cc-accent);
    margin-bottom: 6px;
}

.home-reviews__avg-label {
    font-size: .78rem;
    opacity: .7;
    color: #fff;
}

.cc-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--cc-accent);
}

.cc-stars svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.home-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background .2s, transform .2s;
}

.review-card:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-3px);
}

.review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-card__date {
    font-size: .78rem;
    opacity: .55;
    color: #fff;
    white-space: nowrap;
}

.review-card__text {
    margin: 0;
    padding: 0;
    position: relative;
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    flex: 1;
}

.review-card__quote {
    width: 28px;
    height: 28px;
    color: var(--cc-accent);
    opacity: .4;
    display: block;
    margin-bottom: 8px;
}

.review-card__footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.review-card__author {
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
}

.review-card__product {
    font-size: .78rem;
    color: var(--cc-accent);
    opacity: .85;
}

.review-card--hidden {
    display: none;
}

.reviews-show-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.reviews-show-more {
    cursor: pointer;
    color: var(--cc-white);
    border-color: rgba(255, 255, 255, .6);
    transition: border-color 0.2s, color 0.2s;
}

.reviews-show-more:hover {
    border-color: var(--cc-white);
    color: var(--cc-white);
}

.home-reviews__empty {
    color: rgba(255, 255, 255, .6);
    text-align: center;
    padding: 40px 0;
    font-style: italic;
}

@media (max-width: 1200px) {
    .hero-section__inner--cinematic {
        gap: 20px;
        min-height: 330px;
        padding-right: clamp(300px, 34vw, 420px);
    }

    .hero-section__content--cinematic {
        width: min(100%, 520px);
        max-width: 520px;
        margin-left: 0;
    }

    .hero-showcase {
        width: min(100%, 420px);
        bottom: -44px;
    }
}

@media (max-width: 920px) {
    .hero-section__inner,
    .hero-section__inner--cinematic,
    .product-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero-section {
        margin-bottom: 10px;
    }

    .hero-section__inner--cinematic {
        min-height: auto;
        padding-right: 0;
    }

    .hero-section__content--cinematic {
        margin-left: 0;
        margin-top: 0;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-section__content--cinematic .hero-btns,
    .hero-section__content--cinematic .hero-actions {
        justify-content: center;
    }

    .hero-showcase {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 280px);
        margin: 10px auto 0;
    }

    .hero-showcase__slides {
        aspect-ratio: 4 / 3;
        min-height: 160px;
    }

    .hero-slide__media {
        min-height: 160px;
    }
}

@media (max-width: 860px) {
    .home-reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-reviews__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-reviews__avg {
        flex-direction: row;
        gap: 16px;
        padding: 14px 20px;
        align-items: center;
    }

    .home-reviews__avg-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .welcome-block h2 {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
        text-align: center;
    }

    .welcome-block p {
        text-align: center;
    }

    .booking-search-form {
        margin-top: 20px;
    }

    .booking-search-form__fields {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .bsf-field {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 8px;
        flex: none;
        width: 100%;
    }

    .bsf-field:last-of-type {
        border-bottom: none;
    }

    .bsf-divider {
        display: none;
    }

    .bsf-submit {
        width: 100%;
        border-radius: 10px;
        margin-top: 4px;
    }

    .home-section {
        padding: 32px 0;
    }

    .section-heading {
        text-align: center;
    }

    .section-heading h2 {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
    }
}

@media (max-width: 640px) {
    .hero-viewport {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
    }

    .hero-viewport .hero-section {
        flex: 1;
        padding: 14px 0 10px;
    }

    .trust-bar {
        border-top: none;
        border-bottom: none;
        background: transparent;
        padding: 0 0 4px;
    }

    .trust-bar__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 16px;
        padding-right: 16px;
    }

    .trust-bar__sep {
        display: none;
    }

    .trust-bar__item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding: 14px 10px;
        font-size: .82rem;
        background: rgba(15, 118, 110, 0.07);
        border: 1px solid rgba(15, 118, 110, 0.15);
        border-radius: 12px;
        white-space: normal;
    }

    .trust-bar__item svg {
        width: 22px;
        height: 22px;
    }
}