:root {
    --hotel-primary: #02515a;
    --hotel-accent: #f28706;
    --hotel-danger: #d93232;
    --hotel-surface: #ffffff;
    --hotel-muted: #5d6368;
    --hotel-bg: #f4f6f8;
}

.hoteles-page {
    background: linear-gradient(180deg, #f6f8fa 0%, #eef3f5 100%);
    padding-bottom: 48px;
    overflow-x: hidden;
}

.hoteles-page #content-info-hos {
    width: min(1120px, 92%);
    margin: 28px auto 12px;
    padding: 28px;
    background: var(--hotel-surface);
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(8, 28, 38, 0.08);
    text-align: left;
    align-items: flex-start;
}

.hoteles-page #content-info-hos h1 {
    width: 100%;
    margin: 0 0 10px;
    color: var(--hotel-primary);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.2;
}

.hoteles-page #content-info-hos p {
    width: 100%;
    margin: 0;
    color: var(--hotel-muted);
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.65;
}

.hoteles-page #s-hospedarse-cards {
    padding: 20px 0 24px;
}

.hoteles-page .hotel-top-search {
    width: 100%;
    padding: 10px 0 0;
}

.hoteles-page .hotel-filters-wrap {
    width: min(1120px, 92%);
    margin: 0 auto 20px;
    display: grid;
    gap: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
    border: 1px solid #e4eaee;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(8, 28, 38, 0.08);
}

.hoteles-page .hotel-toolbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.hoteles-page .hotel-toolbar__info h2 {
    margin: 0 0 8px;
    color: #02515a;
    font-size: clamp(1.5rem, 2.3vw, 2.05rem);
    font-family: "Muller Bold", sans-serif;
}

.hoteles-page .hotel-toolbar__info p {
    margin: 0;
    color: #536469;
    font-size: 1.03rem;
}

.hoteles-page .hotel-toolbar__search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hoteles-page .hotel-toolbar__search input {
    width: 420px;
    max-width: 68vw;
    min-width: 280px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #d1d9db;
    padding: 0 18px;
    color: #2c3f44;
    font-size: 1rem;
    font-family: "Muller Regular", sans-serif;
    background: #fff;
}

.hoteles-page .hotel-toolbar__search input:focus {
    outline: none;
    border-color: #02515a;
}

.hoteles-page .hotel-toolbar__search button {
    height: 48px;
    border: none;
    border-radius: 999px;
    padding: 0 18px;
    background: #02515a;
    color: #fff;
    font-size: 0.9rem;
    font-family: "Muller Bold", sans-serif;
    cursor: pointer;
}

.hoteles-page .hotel-toolbar__search button:hover {
    background: #03636f;
}

.hoteles-page .hotel-type-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.hoteles-page .hotel-filter-chip {
    border: 1px solid #d9e1e6;
    background: #f7fafc;
    color: #30414d;
    border-radius: 999px;
    padding: 8px 14px;
    min-height: 38px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: "Muller Bold", sans-serif;
    transition: all 0.2s ease;
}

.hoteles-page .hotel-filter-chip:hover {
    border-color: #9cb2bf;
}

.hoteles-page .hotel-filter-chip.is-active {
    background: #ba2c2f;
    border-color: #ba2c2f;
    color: #fff;
}

.hoteles-page #content-carousel-hosp {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 16px 0;
}

.hoteles-page .hotel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dce6eb;
    box-shadow: 0 12px 24px rgba(8, 28, 38, 0.12);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hoteles-page .hotel-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 32px rgba(8, 28, 38, 0.18);
}

.hoteles-page .hotel-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hoteles-page .hotel-card__body {
    padding: 14px 14px 16px;
    display: grid;
    gap: 8px;
    background: #02515a;
    position: relative;
}

.hoteles-page .hotel-card__body::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: url('/src/img/hospedaje/zigzag.webp') center/cover no-repeat;
}

.hoteles-page .hotel-card__type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: "Muller Bold", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #02515a;
    background: #fff;
    margin-top: 6px;
}

.hoteles-page .hotel-card.is-hostal .hotel-card__type {
    color: #fff;
    background: #f28706;
}

.hoteles-page .hotel-card h2 {
    margin: 0;
    font-family: "Muller Bold", sans-serif;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.3;
    min-height: 3.1rem;
    text-wrap: balance;
}

.hoteles-page .hotel-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 4px;
    padding: 7px 14px;
    border-radius: 999px;
    font-family: "Muller Bold", sans-serif;
    font-size: 0.9rem;
    color: #fff;
    background: #d93232;
}

.hoteles-page .hotel-empty-state {
    width: min(1120px, 92%);
    margin: 10px auto 0;
    padding: 14px;
    border-radius: 12px;
    border: 1px dashed #cbd6db;
    background: #fff;
    color: #51606c;
    text-align: center;
    font-family: "Muller Bold", sans-serif;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hoteles-page .hotel-empty-state[hidden] {
    display: none;
}

.hoteles-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hoteles-page .line-planes {
    padding-top: 18px;
}

.hoteles-page .content-title-p {
    background: #ba2c2f;
    padding: 26px 0;
}

.hoteles-page .content-title-p h3,
.hoteles-page .content-title-p span {
    color: #fff;
}

.hoteles-page #s-n-planes {
    margin-top: 10px;
}

.hoteles-page #content-cards-planes {
    width: min(1120px, 92%);
    margin: 0 auto 24px;
}

.hoteles-page .card-planes-n {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid #e4eaee;
    box-shadow: 0 10px 24px rgba(8, 28, 38, 0.09);
}

.hotel-interna-page {
    background: linear-gradient(180deg, #f6f8fa 0%, #eef3f5 100%);
    padding-bottom: 56px;
}

.hotel-interna-page .hotel-detail-shell {
    width: min(1140px, 92%);
    margin: 26px auto 0;
    padding: 26px;
    border-radius: 22px;
    background: var(--hotel-surface);
    border: 1px solid #e5ecef;
    box-shadow: 0 16px 34px rgba(8, 28, 38, 0.1);
}

.hotel-interna-page #title-popup-hotel {
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #1b2328;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    justify-content: flex-start;
}

.hotel-interna-page .hotel-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(2, 81, 90, 0.12);
    color: var(--hotel-primary);
    font-family: "Muller Bold", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hotel-interna-page #info-popup-hotel {
    align-items: stretch;
    gap: 20px;
}

.hotel-interna-page #info-popup-hotel-1,
.hotel-interna-page #info-popup-hotel-2 {
    width: 50%;
}

.hotel-interna-page #description-hotel {
    margin-bottom: 20px;
    color: #31393f;
    line-height: 1.7;
    font-family: "Muller Light", sans-serif;
    font-size: 1.02rem;
    text-wrap: pretty;
}

.hotel-interna-page .hotel-contact-list {
    width: 100%;
    display: grid;
    gap: 10px;
}

.hotel-interna-page .hotel-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid #e4eaee;
    background: #fafcfd;
    color: #263038;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hotel-interna-page .hotel-contact-item:hover {
    border-color: #c6d4dc;
    background: #f4f8fa;
}

.hotel-interna-page .hotel-contact-item img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.hotel-interna-page .hotel-contact-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    font-family: "Muller Bold", sans-serif;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hotel-interna-page #info-popup-hotel-1 > div a span,
.hotel-interna-page #info-popup-hotel-1 > div .hotel-contact-item span {
    width: auto;
    color: #263038;
    font-size: 0.95rem;
    font-family: "Muller Bold", sans-serif;
}

.hotel-interna-page .hotel-main-image {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #e4eaee;
}

.hotel-interna-page .hotel-gallery {
    margin-top: 22px;
    width: 100%;
    display: grid;
    gap: 10px;
}

.hotel-interna-page .hotel-gallery-stage {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4eaee;
    background: #eef3f6;
    aspect-ratio: 16 / 10;
}

.hotel-interna-page .hotel-gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.hotel-interna-page .hotel-gallery-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hotel-interna-page .hotel-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hotel-interna-page .hotel-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(2, 81, 90, 0.88);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-interna-page .hotel-gallery-nav.prev {
    left: 12px;
}

.hotel-interna-page .hotel-gallery-nav.next {
    right: 12px;
}

.hotel-interna-page .hotel-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.hotel-interna-page .hotel-gallery-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hotel-interna-page .hotel-gallery-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.hotel-interna-page .hotel-gallery-thumb.is-active {
    border-color: #f28706;
}

.hotel-interna-page .hotel-gallery-thumb:hover {
    transform: translateY(-1px);
}

@media screen and (max-width: 992px) {
    .hoteles-page #banner-hospedaje {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .hoteles-page #banner-hospedaje .titulo_pagina {
        font-size: clamp(1.6rem, 5vw, 2.1rem);
        text-align: center;
        width: 100%;
    }

    .hoteles-page #banner-hospedaje .titulo_pagina small {
        font-size: clamp(1.1rem, 3.8vw, 1.5rem);
    }

    .hoteles-page #content-info-hos {
        width: 94%;
        padding: 20px;
        border-radius: 16px;
        margin-top: 18px;
    }

    .hoteles-page #content-carousel-hosp {
        width: 94%;
        gap: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 10px;
    }

    .hoteles-page .hotel-filters-wrap {
        width: 94%;
        padding: 12px;
        border-radius: 14px;
    }

    .hoteles-page .hotel-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hoteles-page .hotel-toolbar__search {
        width: 100%;
    }

    .hoteles-page .hotel-toolbar__search input {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .hotel-interna-page .hotel-detail-shell {
        width: 94%;
        padding: 18px;
    }

    .hotel-interna-page #info-popup-hotel {
        flex-direction: column;
    }

    .hotel-interna-page #info-popup-hotel-1,
    .hotel-interna-page #info-popup-hotel-2 {
        width: 100%;
    }

    .hotel-interna-page .hotel-main-image {
        aspect-ratio: 16 / 10;
    }

    .hotel-interna-page .hotel-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hoteles-page .content-title-p h3 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        text-align: center;
    }

    .hoteles-page .content-title-p span {
        font-size: clamp(1rem, 3.8vw, 1.35rem);
        text-align: center;
    }
}

@media screen and (max-width: 620px) {
    .hoteles-page #content-carousel-hosp {
        grid-template-columns: 1fr;
    }

    .hoteles-page .hotel-filter-chip {
        padding: 7px 12px;
        min-height: 36px;
    }

    .hoteles-page .hotel-toolbar__search button {
        height: 44px;
    }

    .hoteles-page .hotel-card__body {
        padding: 14px;
        gap: 8px;
    }

    .hoteles-page .hotel-card h2 {
        min-height: 0;
        font-size: 1.08rem;
    }

    .hoteles-page .hotel-card__cta {
        width: 100%;
        min-height: 40px;
    }

    .hotel-interna-page #title-popup-hotel {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .hotel-interna-page #description-hotel {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .hotel-interna-page .hotel-contact-item {
        padding: 10px 12px;
        min-height: 48px;
    }

    .hotel-interna-page .hotel-contact-item span {
        font-size: 0.9rem;
    }

    .hotel-interna-page .hotel-gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .hotel-interna-page .hotel-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hotel-interna-page .hotel-gallery-thumb img {
        height: 62px;
    }
}
