/* AN INFINITY HOTELS & RESORTS — HOTEL DETAIL V3 */

.ih-hotel-v3 {
    background: #fff;
    color: #17384f;
}

.ihv3-page {
    overflow: clip;
}

.ihv3-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 26px;
    padding-bottom: 18px;
    color: #6d8394;
    font-size: 13px;
}

.ihv3-breadcrumb a {
    color: #226b9b;
    text-decoration: none;
}

.ihv3-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 30px;
}

.ihv3-eyebrow {
    display: inline-block;
    color: #bd985e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ihv3-heading h1 {
    font-size: clamp(36px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -.055em;
    color: #0b304f;
    margin: 12px 0;
}

.ihv3-location {
    color: #718697;
    font-size: 16px;
}

.ihv3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 999px;
    background: linear-gradient(120deg, #0b4e7c, #138ac2);
    color: #fff !important;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 12px 26px rgba(14, 93, 142, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ihv3-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(14, 93, 142, .25);
}

.ihv3-gallery {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 12px;
    height: clamp(360px, 43vw, 570px);
}

.ihv3-gallery-main,
.ihv3-gallery-side button,
.ihv3-gallery-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.ihv3-gallery-main img,
.ihv3-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ihv3-gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    min-height: 0;
}

.ihv3-gallery-side button {
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #dcecf5;
}

.ihv3-gallery-open {
    position: absolute;
    right: 22px;
    bottom: 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0b304f;
    padding: 13px 21px;
    font-weight: 750;
    cursor: pointer;
}

.ihv3-gallery-placeholder {
    background: linear-gradient(145deg, #0b3556, #1e8bc2);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.ihv3-gallery-placeholder-light {
    background: linear-gradient(145deg, #e6f5ff, #b5dff4);
    color: #123d5c;
}

.ihv3-gallery-placeholder span,
.ihv3-gallery-placeholder small {
    font-size: 11px;
    letter-spacing: .13em;
}

.ihv3-gallery-placeholder strong {
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.2;
    margin: 12px 0;
}

.ihv3-photo-note {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    padding: 7px 12px;
    border-radius: 8px;
}

.ihv3-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #e2edf5;
    margin-top: 26px;
    backdrop-filter: blur(12px);
}

.ihv3-nav-inner {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.ihv3-nav a {
    color: #3b596f;
    padding: 20px 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    border-bottom: 2px solid transparent;
}

.ihv3-nav a:hover,
.ihv3-nav a:focus-visible {
    color: #0c78b4;
    border-bottom-color: #c8a76c;
}

.ihv3-section {
    padding-top: 85px;
    padding-bottom: 85px;
    scroll-margin-top: 85px;
}

.ihv3-section h2,
.ihv3-final-cta h2 {
    font-size: clamp(30px, 3.7vw, 50px);
    line-height: 1.12;
    letter-spacing: -.04em;
    color: #0b304f;
    margin: 13px 0 18px;
}

.ihv3-section p {
    color: #667f90;
    line-height: 1.85;
}

.ihv3-overview {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(30px, 6vw, 90px);
}

.ihv3-overview-copy > p {
    max-width: 750px;
    font-size: 17px;
}

.ihv3-feature-chips,
.ihv3-room-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.ihv3-feature-chips span,
.ihv3-room-facts span {
    border-radius: 999px;
    background: #e9f5fc;
    color: #225b7e;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
}

.ihv3-text-link {
    color: #0d7caf;
    font-weight: 800;
    text-decoration: none;
}

.ihv3-info-card {
    background: #f1f8fd;
    padding: clamp(24px, 4vw, 45px);
    border-radius: 24px;
    border: 1px solid #dfeef7;
}

.ihv3-info-card h3 {
    color: #0b304f;
    font-size: 25px;
    margin: 12px 0 22px;
}

.ihv3-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #d6e7f1;
}

.ihv3-info-row span {
    color: #6d8495;
}

.ihv3-info-row strong {
    text-align: right;
    color: #143b58;
}

.ihv3-info-card .ihv3-button {
    margin-top: 25px;
}

.ihv3-soft-section {
    background: linear-gradient(180deg, #f3faff, #f9fcff);
}

.ihv3-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.ihv3-section-heading p {
    max-width: 650px;
}

.ihv3-room-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.ihv3-room-card {
    background: #fff;
    border: 1px solid #e1edf4;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(11, 53, 85, .06);
}

.ihv3-room-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.ihv3-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ihv3-room-card:hover .ihv3-room-image img {
    transform: scale(1.035);
}

.ihv3-room-image small {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    padding: 5px 10px;
    border-radius: 7px;
}

.ihv3-room-content {
    padding: 27px;
}

.ihv3-room-content h3 {
    font-size: 25px;
    color: #103b59;
    margin: 0 0 10px;
}

.ihv3-room-content p {
    margin: 0;
}

.ihv3-amenities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.ihv3-amenity {
    background: #f3faff;
    border: 1px solid #e1eff7;
    border-radius: 15px;
    padding: 23px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.ihv3-amenity > span {
    color: #b99458;
    font-size: 22px;
}

.ihv3-amenity strong {
    color: #234f6b;
    font-size: 13px;
}

.ihv3-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ihv3-feature-card {
    background: #fff;
    border: 1px solid #e2edf5;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(10, 56, 89, .04);
}

.ihv3-feature-symbol {
    display: inline-flex;
    color: #b99458;
    font-size: 35px;
    margin-bottom: 16px;
}

.ihv3-feature-card h3 {
    color: #103b59;
    font-size: 22px;
}

.ihv3-feature-card a {
    display: inline-block;
    margin-top: 18px;
    font-weight: 800;
    color: #0e83b7;
    text-decoration: none;
}

.ihv3-location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f2f9fe;
    border-radius: 24px;
    overflow: hidden;
}

.ihv3-location-card > div:first-child {
    padding: clamp(25px, 5vw, 55px);
}

.ihv3-location-card h3 {
    font-size: 27px;
    color: #103b59;
}

.ihv3-location-art {
    background: linear-gradient(145deg, #0b304f, #1683ba);
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ihv3-location-art span {
    letter-spacing: .2em;
    font-size: 12px;
    color: #d5bd8d;
}

.ihv3-location-art strong {
    font-size: clamp(28px, 3vw, 47px);
    line-height: 1.15;
    margin-top: 20px;
}

.ihv3-policy-list {
    max-width: 1000px;
}

.ihv3-policy-list details {
    background: #fff;
    border: 1px solid #e0ecf4;
    border-radius: 13px;
    margin-bottom: 12px;
    padding: 21px 25px;
}

.ihv3-policy-list summary {
    cursor: pointer;
    color: #153e5b;
    font-weight: 800;
}

.ihv3-policy-list details p {
    margin-top: 15px;
}

.ihv3-final-cta {
    margin-top: 55px;
    margin-bottom: 75px;
    padding: clamp(30px, 5vw, 65px);
    background: linear-gradient(120deg, #0b304f, #176b9c);
    color: #fff;
    border-radius: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.ihv3-final-cta h2,
.ihv3-final-cta p {
    color: #fff;
}

.ihv3-final-cta .ihv3-button {
    background: #c8a76c;
    color: #102e43 !important;
    flex-shrink: 0;
}

.ihv3-empty {
    grid-column: 1 / -1;
    padding: 45px;
    background: #fff;
    border-radius: 20px;
}

.ihv3-mobile-cta {
    display: none;
}

.ihv3-lightbox[hidden] {
    display: none !important;
}

.ihv3-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 18, 30, .96);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 75px;
}

.ihv3-lightbox img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
}

.ihv3-lightbox button {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 27px;
}

.ihv3-lightbox [data-ihv3-close] {
    position: absolute;
    top: 20px;
    right: 25px;
}

.ihv3-lightbox [data-ihv3-counter] {
    position: absolute;
    bottom: 24px;
    color: #fff;
}

@media (max-width: 900px) {
    .ihv3-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .ihv3-gallery-main {
        aspect-ratio: 16 / 9;
    }

    .ihv3-gallery-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px;
    }

    .ihv3-overview,
    .ihv3-location-card {
        grid-template-columns: 1fr;
    }

    .ihv3-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ihv3-amenities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ihv3-heading {
        align-items: flex-start;
    }

    .ihv3-heading-cta {
        display: none;
    }

    .ihv3-heading h1 {
        font-size: 37px;
    }

    .ihv3-gallery-side {
        grid-template-rows: 110px;
    }

    .ihv3-gallery-placeholder {
        padding: 15px;
    }

    .ihv3-gallery-placeholder strong {
        font-size: 17px;
    }

    .ihv3-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .ihv3-room-grid,
    .ihv3-feature-grid {
        grid-template-columns: 1fr;
    }

    .ihv3-amenities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ihv3-section-heading,
    .ihv3-final-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .ihv3-mobile-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        background: #fff;
        border-top: 1px solid #dcebf4;
        box-shadow: 0 -8px 30px rgba(10, 45, 70, .12);
        padding: 12px 16px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .ihv3-mobile-cta span {
        color: #153c57;
        font-weight: 800;
        font-size: 12px;
    }

    .ihv3-mobile-cta a {
        border-radius: 999px;
        background: #0e7fb6;
        color: #fff;
        text-decoration: none;
        padding: 12px 16px;
        font-weight: 800;
        white-space: nowrap;
        font-size: 12px;
    }

    .ih-hotel-v3 {
        padding-bottom: 72px;
    }

    .ihv3-lightbox {
        padding: 60px 12px;
        gap: 7px;
    }

    .ihv3-lightbox button {
        flex-shrink: 0;
        width: 34px;
        height: 34px;
    }

    .ihv3-lightbox img {
        max-width: 65vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ih-hotel-v3 *,
    .ih-hotel-v3 *::before,
    .ih-hotel-v3 *::after {
        transition: none !important;
        animation: none !important;
    }
}