/* Homepage-only visual layer. Content and component behavior stay unchanged. */
.home-page-shell {
    --home-ivory: #f7f1e5;
    --home-paper: #fffaf1;
    --home-ink: #28231f;
    --home-green: #123f36;
    --home-burgundy: #7d2f2b;
    --home-gold: #c49350;
    overflow-x: clip;
    background: var(--home-ivory);
    color: var(--home-ink);
}

.home-page-shell .image-banner-top {
    margin-top: clamp(8rem, 13vw, 11rem);
    aspect-ratio: 1900 / 700;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 44px rgba(40, 35, 31, 0.14);
}

.home-page-shell .image-banner-top::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, rgba(18, 63, 54, 0.16), transparent 45%, rgba(40, 35, 31, 0.18));
}

.home-page-shell .home-banner-slider {
    isolation: isolate;
}

.home-page-shell .home-banner-slider .owl-dots {
    z-index: 3;
    right: clamp(16px, 4vw, 48px);
    bottom: clamp(16px, 3vw, 32px);
}

.home-page-shell .home-banner-slider .owl-dot span {
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 250, 241, 0.9);
    background: rgba(255, 250, 241, 0.34);
}

.home-page-shell .home-banner-slider .owl-dot.active span {
    background: var(--home-gold);
    border-color: var(--home-gold);
    box-shadow: 0 0 0 3px rgba(196, 147, 80, 0.2);
}

.home-page-shell > .branch-address-slider {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 1400px;
    margin: -1.25rem auto 0;
    padding: clamp(1rem, 2vw, 1.5rem);
    color: var(--home-ink) !important;
    background: rgba(255, 250, 241, 0.96) !important;
    border: 1px solid rgba(18, 63, 54, 0.12);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(40, 35, 31, 0.1);
}

.home-page-shell .branch-address-slide-grid {
    height: auto !important;
    grid-template-rows: none !important;
}

.home-page-shell .branch-address-slider :is(.splide__slide, .branch-address-card) {
    height: auto !important;
}

.home-page-shell .branch-address-card {
    min-height: 104px;
    padding: 14px 16px;
    color: var(--home-ink) !important;
    text-shadow: none !important;
    background: var(--home-paper) !important;
    border: 1px solid rgba(18, 63, 54, 0.14) !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 14px rgba(40, 35, 31, 0.05);
}

.home-page-shell .branch-address-card h3 {
    margin-bottom: 6px;
    color: var(--home-green);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
}

.home-page-shell .branch-address-card h3 a,
.home-page-shell .branch-address-card__phone {
    color: var(--home-burgundy) !important;
}

.home-page-shell .branch-address-card p {
    color: #675c51 !important;
}

.home-page-shell .branch-address-slider .splide__pagination__page {
    background: rgba(18, 63, 54, 0.28) !important;
}

.home-page-shell .branch-address-slider .splide__pagination__page.is-active {
    background: var(--home-burgundy) !important;
}

.home-page-shell .menu-book-section {
    padding: clamp(2.25rem, 5vw, 4.5rem) 0;
    background: transparent;
}

.home-page-shell .menu-book-experience {
    max-width: 1440px;
    margin: 0 auto;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.home-page-shell .menu-book-media,
.home-page-shell .menu-book-panel {
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(40, 35, 31, 0.1);
}

.home-page-shell .menu-book-media {
    background: #302a25;
}

.home-page-shell .menu-book-panel {
    border-color: rgba(196, 147, 80, 0.48);
    background: var(--home-green);
}

.home-page-shell .testimonial {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    background: var(--home-paper);
}

.home-page-shell .testimonial .section-title h2 {
    color: var(--home-green);
    font-family: "Playfair Display", Georgia, serif;
}

.home-page-shell .map {
    height: auto;
    padding: 0;
    background: var(--home-paper);
}

.home-page-shell .map__iframe {
    position: relative;
    inset: auto;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.home-page-shell .map__iframe iframe {
    display: block;
    width: 100%;
    height: 300px;
}

/* The floating contact control sits outside the homepage content wrapper. */
#web-app .zalo-btn .btn {
    width: 50px;
    height: 50px;
    padding: 0;
}

#web-app .zalo-btn .btn > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#web-app .zalo-btn .btn img {
    display: block;
    width: 100% !important;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-page-shell :is(a, button):focus-visible {
    outline: 3px solid var(--home-gold);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .home-page-shell .image-banner-top {
        margin-top: 6.75rem;
        border-radius: 0 0 14px 14px;
    }

    .home-page-shell > .branch-address-slider {
        width: calc(100% - 24px);
        margin-top: -0.75rem;
        padding: 0.75rem 0.75rem 1rem;
        border-radius: 12px;
    }

    .home-page-shell .branch-address-card {
        min-height: 54px;
        padding: 7px 10px;
    }

    .home-page-shell .menu-book-section {
        padding-top: 2rem;
    }

    #web-app .zalo-btn .btn {
        width: 45px;
        height: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page-shell .home-banner-slider .owl-dot span,
    .home-page-shell .menu-book-media,
    .home-page-shell .menu-book-panel {
        transition: none;
    }
}
