/* ======================================= */
/* === ESTILOS BASE Y UTILIDADES COMUNES === */
/* ======================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
}

.btn-primary {
    background-color: #e5b300;
    color: #1a1a2e;
}

.btn-primary:hover {
    background-color: #ffda47;
}

.text-accent {
    color: #e5b300;
}

.icon {
    color: #e5b300;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-dark {
    background-color: #383857;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* ============================ */
/* === ESTILOS DE CARGA/SPINNER === */
/* ============================ */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #e5b300;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: none;
}

.loading-spinner-large {
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #ffda47;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========================== */
/* === ESTILOS DE HERO / CARRUSEL === */
/* ========================== */
.hero-section {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-background-image.active {
    opacity: 1;
}

.hero-content-wrapper {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-box {
    position: relative;
    z-index: 10;
}

/* =============================== */
/* === ESTILOS DE HABITACIONES / ACCORDION === */
/* =============================== */
.room-carousel-container {
    position: relative;
    height: 15rem;
    overflow: hidden;
}

.room-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.room-slide.active {
    opacity: 1;
}

.room-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 204, 21, 0.65);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #facc15;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.room-carousel-arrow:hover,
.room-carousel-arrow:focus-visible {
    background: #facc15;
    color: #111827;
    outline: none;
}

.room-carousel-arrow--prev {
    left: 0.75rem;
}

.room-carousel-arrow--next {
    right: 0.75rem;
}

.room-carousel-arrow svg {
    width: 1.35rem;
    height: 1.35rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.accordion-content.open {
    max-height: 1000px;
}

.room-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
    border: 1px solid #e5b300;
}

/* =========================== */
/* === ESTILOS DE INSTALACIONES / EVENTOS === */
/* =========================== */
.manual-carousel-container {
    height: 450px;
    background-color: #383857;
}

.manual-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
}

.manual-slide.active {
    opacity: 1;
}

.manual-text {
    background-color: rgba(0, 0, 0, 0.3);
}

.insta-icon {
    filter: drop-shadow(0 0 5px rgba(229, 179, 0, 0.8));
}

/* ======================= */
/* === ESTILOS DE MAPA === */
/* ======================= */
.map-container {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-thumbnail {
    position: relative;
    position: absolute;
    left: clamp(50%, 52%, 54%);
    top: clamp(47%, 49%, 51%);
    width: clamp(96px, 14vw, 148px);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -100%);
    border-radius: 1rem;
    overflow: hidden;
    border: 3px solid #facc15;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
    background: #111827;
    z-index: 2;
    pointer-events: none;
}

.map-thumbnail::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 20px;
    height: 20px;
    background: #facc15;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0.2rem;
    z-index: -1;
}

.map-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-thumbnail figcaption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.55rem 0.6rem;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.05));
    color: #f9fafb;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
}

.map-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
    color: #ffda47;
    display: inline-block;
}

/* ========================== */
/* === ESTILOS DE IDIOMA/FLAGS === */
/* ========================== */
.flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
    border: 2px solid white;
}

.flag:hover {
    transform: scale(1.15);
}

.active-flag {
    border: 2px solid #e5b300;
}

/* Ocultar elementos de Google Translate */
#google_translate_element {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

.goog-te-gadget {
    height: 0 !important;
    overflow: hidden !important;
}

/* ======================== */
/* === ESTILOS DE MENÚ MÓVIL === */
/* ======================== */
#mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: #1a1a2e;
    z-index: 60;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

#mobile-menu-container.open {
    transform: translateX(0);
}

/* ======================= */
/* === ESTILOS MODAL RESERVA (Booking) === */
/* ======================= */
/* ======================= */
/* === ESTILOS LATERAL MODAL (SIDEBAR) === */
/* ======================= */
#booking-modal {
    position: fixed;
    top: 0;
    right: 0;
    /* Align to right */
    width: 100%;
    max-width: 700px;
    /* Limit width - widened for calendar */
    height: 100%;
    background-color: #1a1a2e;
    z-index: 100;
    display: flex;
    /* Always display, control visibility with transform */
    flex-direction: column;
    transform: translateX(100%);
    /* Start hidden off-screen */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth slide */
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    /* Shadow on left side */
}

#booking-modal.open {
    transform: translateX(0);
    /* Slide in */
}

#booking-modal>div.relative.flex-grow {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#booking-loading-overlay {
    position: absolute;
    inset: 0;
    background-color: #1a1a2e;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.booking-iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.booking-iframe.loaded {
    opacity: 1;
}

.booking-close-button {
    background-color: #e5b300;
    color: #1a1a2e;
    font-weight: bold;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 0.75rem 0.75rem;
    position: sticky;
    top: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
}

.booking-close-button.loaded {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease-in 0.3s;
}

.booking-close-button:hover {
    background-color: #ffda47;
    transform: scale(1.005);
}

.close-button-text {
    white-space: normal;
    line-height: 1.2;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-button-text .main-text {
    font-size: 1.2rem;
}

.close-button-text .sub-text {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: normal;
    margin-top: 2px;
}

/* ======================= */
/* === ESTILOS MODAL KIKI === */
/* ======================= */
.kiki-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    animation: pulse-glow 2s infinite ease-in-out;
    transition: transform 0.2s;
    border: 2px solid #e5b300;
    box-shadow: 0 0 8px rgba(229, 179, 0, 0.7);
}

.kiki-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 218, 71, 1);
    animation: none;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(229, 179, 0, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 218, 71, 1);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(229, 179, 0, 0.7);
    }
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 220;
    display: none;
    justify-content: center;
    align-items: center;
}

.video-modal.open {
    display: flex;
}

.video-container {
    position: relative;
    width: 90%;
    max-height: 90vh;
    max-width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(229, 179, 0, 0.5);
}

.close-button {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    z-index: 101;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}

.close-button:hover {
    color: #ffda47;
}

@media (max-width: 640px) {
    .close-button {
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        font-size: 1.5rem;
    }

    .video-container {
        padding-top: 50px;
    }
}

/* Hero clarity override */
.hero-section::before {
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.68) 0%, rgba(5, 7, 11, 0.42) 34%, rgba(5, 7, 11, 0.08) 68%, rgba(5, 7, 11, 0.22) 100%),
        linear-gradient(180deg, rgba(5, 7, 11, 0.02) 0%, rgba(5, 7, 11, 0.42) 100%) !important;
}

.carousel-background-image {
    filter: saturate(1.05) contrast(1.02) brightness(1.16) !important;
}

.hero-text-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.hero-text-box h1,
.hero-text-box p {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-text-box .booking_window_trigger {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    .hero-section::before {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.24) 0%, rgba(5, 7, 11, 0.42) 48%, rgba(5, 7, 11, 0.72) 100%),
            linear-gradient(90deg, rgba(5, 7, 11, 0.54), rgba(5, 7, 11, 0.08)) !important;
    }

    .hero-text-box {
        padding: 0 !important;
        background: transparent !important;
    }
}

/* Accommodation catalogue: image-first cards */
#bungalows {
    background:
        radial-gradient(circle at 50% 0%, rgba(229, 179, 0, 0.055), transparent 32rem),
        #11141c !important;
}

#bungalows > div > .space-y-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: start;
}

#bungalows > div > .space-y-4 > .card-dark {
    background: #090c12;
    border-color: rgba(229, 179, 0, 0.22);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#bungalows > div > .space-y-4 > .card-dark:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 179, 0, 0.52);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

#bungalows .card-dark > button {
    position: relative;
    display: block;
    min-height: 0;
    padding: 0 0 1rem !important;
    overflow: hidden;
}

#bungalows .card-dark > button > div {
    display: block;
}

#bungalows .room-thumbnail {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    margin: 0 0 1rem;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    transition: transform 0.45s ease;
}

#bungalows .card-dark:hover .room-thumbnail {
    transform: scale(1.025);
}

#bungalows .card-dark > button > div > div {
    padding: 0 3.25rem 0 1rem;
}

#bungalows .card-dark > button h3 {
    margin-bottom: 0.35rem;
    color: #f8fafc;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.2;
    letter-spacing: 0.025em;
}

#bungalows .card-dark > button p {
    color: #d6b15d;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

#bungalows .card-dark > button > svg {
    position: absolute;
    right: 1rem;
    bottom: 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
}

#bungalows .accordion-content > div {
    padding: 1rem !important;
    background: #0d1118;
}

#bungalows .room-carousel-container {
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: 0.2rem !important;
}

#bungalows .accordion-content ul {
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
}

#bungalows .accordion-content .booking_window_trigger {
    width: 100%;
    border-radius: 0.2rem;
}

@media (max-width: 900px) {
    #bungalows > div > .space-y-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #bungalows > div > .space-y-4 {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    #bungalows .room-thumbnail {
        aspect-ratio: 16 / 10;
    }

    #bungalows .card-dark > button h3 {
        font-size: 1.05rem;
    }
}

/* Footer partners */
.partners-strip {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.6rem, 2vw, 1.25rem) !important;
}

.partner-link {
    min-height: 5.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0.45rem;
    background: rgba(255,255,255,0.025);
    opacity: 0.82 !important;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.partner-link:hover,
.partner-link:focus-visible {
    transform: translateY(-2px);
    opacity: 1 !important;
    border-color: rgba(229,179,0,0.35);
    background: rgba(229,179,0,0.045);
    outline: none;
}

.partner-logo {
    width: auto;
    max-width: 100%;
    height: 3rem !important;
    object-fit: contain;
    filter: none !important;
}

.partner-logo--wide { height: 2.65rem !important; }
.partner-logo--kiki { height: 3.65rem !important; }

@media (max-width: 640px) {
    .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .partner-link { min-height: 4.75rem; padding: 0.6rem !important; }
    .partner-logo { height: 2.55rem !important; }
    .partner-logo--wide { height: 2.15rem !important; }
    .partner-logo--kiki { height: 3rem !important; }
}

/* =============================== */
/* === HOME REFINEMENT 2026 === */
/* =============================== */
:root {
    --bs-bg: #090b10;
    --bs-band: #10141d;
    --bs-band-alt: #151821;
    --bs-border: rgba(250, 204, 21, 0.16);
    --bs-border-soft: rgba(255, 255, 255, 0.08);
    --bs-text: #f6f1e7;
    --bs-muted: #b8bfcb;
    --bs-gold: #facc15;
    --bs-gold-strong: #e5b300;
}

body {
    background:
        radial-gradient(circle at 12% 10%, rgba(127, 29, 29, 0.22), transparent 34rem),
        linear-gradient(180deg, var(--bs-bg) 0%, #0c0f16 42%, var(--bs-bg) 100%);
    color: var(--bs-text);
}

.btn-primary,
.booking_window_trigger.bg-yellow-500 {
    border-radius: 0.5rem !important;
    background: linear-gradient(135deg, var(--bs-gold), var(--bs-gold-strong));
    color: #111827;
    box-shadow: 0 16px 34px rgba(229, 179, 0, 0.22);
}

.hero-section {
    min-height: min(780px, 100svh);
    height: min(820px, 100svh);
    text-align: left;
    isolation: isolate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.72) 34%, rgba(5, 7, 11, 0.24) 68%, rgba(5, 7, 11, 0.55) 100%),
        linear-gradient(180deg, rgba(5, 7, 11, 0.08) 0%, rgba(5, 7, 11, 0.78) 100%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 9rem;
    z-index: 3;
    background: linear-gradient(180deg, transparent, var(--bs-bg));
    pointer-events: none;
}

.carousel-background-image {
    filter: saturate(0.96) contrast(1.04);
}

.hero-content-wrapper {
    justify-content: flex-start;
    background: transparent;
    z-index: 5;
}

.hero-text-box {
    width: min(100%, 48rem);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hero-text-box > p:first-child {
    display: none;
}

.hero-text-box h1 {
    max-width: 16ch;
    font-size: clamp(3rem, 5.7vw, 5.55rem) !important;
    line-height: 0.96 !important;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.44);
}

.hero-text-box p.text-lg,
.hero-text-box p.text-xl {
    max-width: 42rem;
    color: #e5e7eb !important;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
    line-height: 1.55 !important;
    text-wrap: pretty;
}

.hero-text-box .booking_window_trigger {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.95rem 1.45rem !important;
}

section#resort,
section#events {
    background: var(--bs-bg) !important;
}

section#bungalows,
section#location {
    background: linear-gradient(180deg, var(--bs-band), var(--bs-band-alt)) !important;
    border-top: 1px solid var(--bs-border-soft) !important;
    border-bottom: 1px solid var(--bs-border-soft) !important;
}

section#resort,
section#bungalows,
section#events,
section#location {
    position: relative;
    padding-top: clamp(4.5rem, 8vw, 7.5rem) !important;
    padding-bottom: clamp(4.5rem, 8vw, 7.5rem) !important;
}

section#resort h2,
section#bungalows h2,
section#events h2,
section#location h2 {
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 4vw, 3.5rem) !important;
    color: var(--bs-text);
    font-size: clamp(2.15rem, 4vw, 4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0;
    text-wrap: balance;
}

section#resort h2::after,
section#bungalows h2::after,
section#events h2::after,
section#location h2::after {
    content: "";
    display: block;
    width: 5rem;
    height: 2px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, var(--bs-gold), transparent);
}

section#resort .grid {
    gap: clamp(2rem, 5vw, 5rem) !important;
}

section#resort h3 {
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1;
    color: var(--bs-gold);
    text-wrap: balance;
}

section#resort p.text-lg,
section#events p.text-xl,
section#bungalows > .max-w-3xl > p,
section#location > div > p {
    color: var(--bs-muted);
    line-height: 1.7;
}

section#resort .space-y-4 > .flex {
    padding: 1rem 0;
    border-top: 1px solid var(--bs-border-soft);
}

.manual-carousel-container,
.room-carousel-container,
.map-container {
    border-radius: 0.5rem !important;
    border: 1px solid var(--bs-border) !important;
    background: #111827;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.manual-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(3, 7, 18, 0.82));
    pointer-events: none;
}

.manual-text {
    background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.78));
}

section#bungalows > .max-w-3xl {
    max-width: 80rem;
}

section#bungalows > .max-w-3xl > p,
section#events p.text-xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

section#bungalows .space-y-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card-dark {
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid var(--bs-border-soft);
    border-radius: 0.5rem !important;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.card-dark:hover {
    border-color: rgba(250, 204, 21, 0.28);
}

.card-dark > button {
    min-height: 7.25rem;
    background: transparent;
}

.card-dark > button:hover {
    background: rgba(250, 204, 21, 0.045) !important;
}

.room-thumbnail {
    width: 5rem;
    height: 5rem;
    border-radius: 0.45rem;
    border-color: rgba(250, 204, 21, 0.42);
}

.card-dark h3.text-xl {
    color: var(--bs-gold);
    line-height: 1.15;
}

.card-dark p.text-sm {
    color: #cbd5e1;
    letter-spacing: 0.04em;
}

.accordion-content > .border-t {
    border-top-color: var(--bs-border-soft) !important;
}

.room-carousel-container {
    height: clamp(16rem, 32vw, 22rem);
}

.accordion-content ul {
    columns: 2;
    column-gap: 2rem;
    color: #d1d5db;
}

section#events .w-full.max-w-4xl,
section#location .max-w-7xl {
    max-width: 76rem;
}

footer#contact {
    background: #07090d !important;
    border-top: 1px solid var(--bs-border) !important;
}

@media (max-width: 1023px) {
    section#bungalows .space-y-4 {
        grid-template-columns: 1fr;
    }

    .hero-text-box h1 {
        max-width: 12ch;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: calc(100svh - 4.35rem);
        text-align: left;
    }

    .hero-section::before {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.55) 0%, rgba(5, 7, 11, 0.85) 78%, rgba(5, 7, 11, 0.96) 100%),
            linear-gradient(90deg, rgba(5, 7, 11, 0.8), rgba(5, 7, 11, 0.28));
    }

    .hero-content-wrapper {
        position: absolute;
        align-items: flex-end;
        padding: 0 1rem 6rem;
    }

    .hero-text-box {
        width: 100%;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none;
    }

    .hero-text-box h1,
    h1.text-4xl,
    h1.text-5xl {
        font-size: clamp(2.45rem, 12vw, 3.7rem) !important;
        max-width: 11ch;
        line-height: 0.94 !important;
    }

    .hero-text-box p.text-lg,
    .hero-text-box p.text-xl {
        font-size: 1rem !important;
        line-height: 1.48 !important;
        max-width: 24rem;
    }

    section#resort,
    section#bungalows,
    section#events,
    section#location {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .room-thumbnail {
        width: 4rem;
        height: 4rem;
    }

    .room-carousel-container {
        height: clamp(15rem, 70vw, 20rem);
    }

    .accordion-content ul {
        columns: 1;
    }
}

/* ======================== */
/* === ESTILOS MODAL DAYPASS === */
/* ======================== */
#daypass-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 230;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    backdrop-filter: blur(0px);
}

#daypass-modal.open {
    background-color: rgba(10, 10, 20, 0.85);
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(12px);
}

.daypass-content {
    background: linear-gradient(160deg, rgba(26, 26, 46, 0.95) 0%, rgba(56, 56, 87, 0.9) 100%);
    border: none;
    border-radius: 1.5rem;
    max-width: 480px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(40px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(229, 179, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    /* Ocultar scrollbar pero permitir scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.daypass-content::-webkit-scrollbar {
    display: none;
}

#daypass-modal.open .daypass-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.daypass-media-container {
    position: relative;
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.daypass-video,
.daypass-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

.daypass-media-container:hover .daypass-video,
.daypass-media-container:hover .daypass-image {
    transform: scale(1.02);
}

.daypass-logo {
    width: 160px;
    height: auto;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(229, 179, 0, 0.3));
    transition: transform 0.3s ease;
}

.daypass-logo:hover {
    transform: scale(1.05);
}

/* Estilo para el texto flotante de 15€ - más elegante */
.daypass-price-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, rgba(229, 179, 0, 0.95) 0%, rgba(255, 218, 71, 0.9) 100%);
    border: none;
    border-radius: 50px;
    box-shadow:
        0 8px 32px rgba(229, 179, 0, 0.5),
        0 0 0 4px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1;
    z-index: 5;
    animation: pulse-price 2s ease-in-out infinite;
}

@keyframes pulse-price {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 8px 32px rgba(229, 179, 0, 0.5),
            0 0 0 4px rgba(255, 255, 255, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow:
            0 12px 40px rgba(229, 179, 0, 0.7),
            0 0 0 6px rgba(255, 255, 255, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
}

.daypass-price-overlay span {
    color: #1a1a2e;
    font-weight: 900;
}

@media (min-width: 640px) {
    .daypass-content {
        max-width: 520px;
    }

    .daypass-price-overlay {
        font-size: 3.5rem;
        padding: 0.8rem 2.5rem;
    }

    .daypass-logo {
        width: 180px;
    }
}

/* ======================== */
/* === PANEL LATERAL DE RESERVAS (IFRAME) === */
/* ======================== */
#booking-side-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 150;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

#booking-side-panel.open {
    background-color: rgba(10, 10, 20, 0.7);
    opacity: 1;
    visibility: visible;
}

.booking-panel-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: #1a1a2e;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
}

#booking-side-panel.open .booking-panel-content {
    transform: translateX(0);
}

.booking-panel-close {
    position: absolute;
    top: 1rem;
    left: -3.5rem;
    width: 48px;
    height: 48px;
    background-color: #e5b300;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s, transform 0.2s;
    z-index: 10;
}

.booking-panel-close:hover {
    background-color: #ffda47;
    transform: scale(1.1);
}

#booking-iframe {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    border: none;
    background-color: white;
}

/* Responsive para móviles */
@media (max-width: 640px) {
    .booking-panel-content {
        max-width: 100%;
    }
    
    .booking-panel-close {
        top: 0.5rem;
        left: auto;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

/* ======================================= */
/* === RESPONSIVE HARDENING GLOBAL === */
/* ======================================= */
html {
    width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5rem;
}

body {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

button,
a,
input,
textarea,
select {
    min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
a,
button,
span {
    overflow-wrap: anywhere;
}

header .max-w-7xl {
    gap: 0.75rem;
}

header nav {
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

header nav a {
    white-space: nowrap;
}

.hero-section {
    min-height: 620px;
    height: min(760px, 100svh);
    overflow: hidden;
}

.hero-content-wrapper {
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-text-box {
    width: min(100%, 56rem);
}

.hero-text-box .booking_window_trigger {
    margin-left: auto;
    margin-right: auto;
}

.manual-carousel-container {
    position: relative;
    min-height: 260px;
    height: clamp(260px, 46vw, 450px);
    overflow: hidden;
}

.manual-text {
    padding: clamp(1rem, 4vw, 2rem);
}

.manual-text h3 {
    font-size: clamp(1.35rem, 6vw, 1.875rem);
    line-height: 1.12;
}

.room-carousel-container {
    height: clamp(13rem, 58vw, 15rem);
}

.accordion-content.open {
    max-height: none;
}

.card-dark button {
    min-width: 0;
}

.card-dark button > .flex.items-center {
    min-width: 0;
}

.room-thumbnail {
    flex: 0 0 auto;
}

.map-container {
    height: clamp(320px, 70vh, 500px);
}

@media (max-width: 767px) {
    .map-thumbnail {
        left: 57%;
        top: 56%;
        width: clamp(90px, 32vw, 118px);
    }
}

#mobile-menu-container {
    width: min(22rem, 88vw);
    max-width: 100vw;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#mobile-menu-container nav a,
#mobile-menu-container nav button {
    max-width: 100%;
}

.video-modal {
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.video-container {
    width: min(100%, 980px);
    max-height: calc(100svh - 2rem);
}

.video-container video {
    max-height: calc(100svh - 2rem);
}

.close-button {
    top: 0.75rem;
    right: 0.75rem;
}

#daypass-modal {
    min-height: 100svh;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}

.daypass-content {
    width: min(100%, 32.5rem);
    max-height: calc(100svh - 1.5rem);
}

.daypass-content .p-6 {
    padding-left: clamp(1rem, 5vw, 1.5rem);
    padding-right: clamp(1rem, 5vw, 1.5rem);
}

.daypass-price-overlay {
    font-size: clamp(2rem, 12vw, 3.5rem);
    padding: 0.55rem clamp(1.2rem, 7vw, 2.5rem);
    white-space: nowrap;
}

.booking-panel-content,
#booking-modal {
    width: min(100%, 700px);
    max-width: 100vw;
}

#booking-iframe,
.booking-iframe {
    min-height: 0;
}

.booking-panel-close {
    left: auto;
    right: calc(min(100%, 500px) + 0.75rem);
}

@media (max-width: 1023px) {
    header nav {
        column-gap: 1rem;
    }
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    section {
        scroll-margin-top: 5rem;
    }

    header .max-w-7xl {
        min-height: 4.75rem;
    }

    header a.h-12 {
        height: 2.75rem;
        max-width: calc(100vw - 7.5rem);
    }

    .hero-section {
        min-height: calc(100svh - 4.35rem);
        height: auto;
        padding: 2.75rem 0 1.5rem;
    }

    .hero-content-wrapper {
        position: relative;
        min-height: inherit;
        display: flex;
        align-items: center;
        padding-bottom: 4rem;
    }

    .hero-text-box {
        width: 100%;
        padding: 1rem;
        border-radius: 0.9rem;
        background: rgba(0, 0, 0, 0.58) !important;
        border-color: rgba(250, 204, 21, 0.24) !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(8px);
    }

    .hero-text-box p:first-child {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
        line-height: 1.45;
    }

    .hero-text-box h1,
    h1.text-4xl,
    h1.text-5xl {
        font-size: clamp(1.5rem, 7.8vw, 2.15rem) !important;
        line-height: 1.06 !important;
        margin-bottom: 0.85rem !important;
    }

    .hero-text-box p.text-lg,
    .hero-text-box p.text-xl {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0 !important;
    }

    .hero-text-box .booking_window_trigger {
        display: none !important;
    }

    h2.text-3xl,
    h2.text-4xl {
        font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }

    .manual-carousel-container {
        border-radius: 0.75rem;
        min-height: 18rem;
    }

    .manual-text {
        padding: 1.1rem !important;
    }

    .manual-text h3 {
        font-size: 1.45rem !important;
        line-height: 1.12 !important;
    }

    .manual-text p {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }

    .carousel-button {
        padding: 0.6rem !important;
    }

    .carousel-button svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .card-dark button {
        padding: 1rem !important;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .card-dark button > .flex.items-center {
        align-items: flex-start;
        flex: 1 1 auto;
    }

    .room-thumbnail {
        width: 52px;
        height: 52px;
        margin-right: 0.75rem;
    }

    .card-dark h3.text-xl {
        font-size: 1rem;
        line-height: 1.25;
    }

    .booking_window_trigger {
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .map-container {
        border-radius: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text-box {
        padding: 0.95rem;
    }

    section#events .booking_window_trigger {
        display: block;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .manual-carousel-container {
        height: 300px;
    }

    .manual-text h3 {
        font-size: 1.25rem;
    }

    .daypass-logo {
        width: min(150px, 70vw);
    }

    .daypass-media-container {
        aspect-ratio: 4 / 3;
        border-radius: 0.75rem;
    }

    .daypass-content p.text-xl {
        font-size: 1rem;
        line-height: 1.45;
    }

    .daypass-content .text-left p {
        align-items: flex-start;
        line-height: 1.35;
    }

    #daypass-modal {
        align-items: center;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    }

    .video-modal {
        align-items: center;
        justify-content: center;
    }

    .video-container {
        width: 100%;
    }
}

/* Amenitiz booking modal overrides */
#booking-side-panel {
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

#booking-side-panel.open {
    background-color: rgba(10, 10, 20, 0.78);
}

#booking-side-panel .booking-panel-content {
    max-width: 1180px;
    height: min(900px, 92vh);
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
    overflow: hidden;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.28s ease;
}

#booking-side-panel.open .booking-panel-content {
    transform: translateY(0) scale(1);
}

#booking-side-panel .booking-panel-close {
    top: 1rem;
    right: 1rem;
    left: auto;
}

.booking-panel-fallback {
    position: absolute;
    right: 5rem;
    top: 1rem;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100% - 10rem);
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(26, 26, 46, 0.88);
    color: #e5e7eb;
    font-size: 0.86rem;
    line-height: 1.3;
}

.booking-panel-fallback p {
    margin: 0;
}

.booking-panel-fallback a {
    flex: 0 0 auto;
    color: #1a1a2e;
    background: #e5b300;
    padding: 0.5rem 0.7rem;
    border-radius: 0.5rem;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 640px) {
    #booking-side-panel {
        padding: 0;
    }

    #booking-side-panel .booking-panel-content {
        max-width: 100%;
        height: 100%;
        border-radius: 0;
    }

    #booking-side-panel .booking-panel-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }

    .booking-panel-fallback {
        left: 0.75rem;
        right: 3.75rem;
        top: 0.5rem;
        max-width: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        font-size: 0.78rem;
    }
}

/* Final hero and carousel readability overrides */

.hero-text-box {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-section::before {
    background:
        linear-gradient(90deg, rgba(5, 7, 11, 0.64) 0%, rgba(5, 7, 11, 0.38) 36%, rgba(5, 7, 11, 0.06) 70%, rgba(5, 7, 11, 0.18) 100%),
        linear-gradient(180deg, rgba(5, 7, 11, 0) 0%, rgba(5, 7, 11, 0.34) 100%) !important;
}

.carousel-background-image {
    filter: saturate(1.06) contrast(1.02) brightness(1.18) !important;
}

.hero-text-box h1,
.hero-text-box p {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.88), 0 1px 2px rgba(0, 0, 0, 0.95) !important;
}

.hero-text-box {
    width: min(100%, 58rem) !important;
}

.hero-text-box h1 {
    max-width: 17ch !important;
    font-size: clamp(4rem, 7.25vw, 7.4rem) !important;
    line-height: 0.9 !important;
    font-weight: 950 !important;
    text-shadow: 0 7px 28px rgba(0, 0, 0, 0.95), 0 2px 4px rgba(0, 0, 0, 1) !important;
}

.manual-text {
    align-items: flex-end !important;
    padding-bottom: 5.25rem !important;
}

#resort-dots,
#event-dots {
    bottom: 1.15rem !important;
}

@media (max-width: 767px) {
    .hero-text-box {
        padding: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .hero-section::before {
        background:
            linear-gradient(180deg, rgba(5, 7, 11, 0.18) 0%, rgba(5, 7, 11, 0.36) 48%, rgba(5, 7, 11, 0.68) 100%),
            linear-gradient(90deg, rgba(5, 7, 11, 0.50), rgba(5, 7, 11, 0.06)) !important;
    }

    .manual-text {
        padding-bottom: 4.75rem !important;
    }

    .hero-text-box h1 {
        max-width: 11ch !important;
        font-size: clamp(3.05rem, 14vw, 4.55rem) !important;
        line-height: 0.92 !important;
        margin-bottom: 1.15rem !important;
    }

    .hero-text-box p.text-lg,
    .hero-text-box p.text-xl {
        font-size: 1rem !important;
        line-height: 1.35 !important;
    }
}

/* Google reviews carousel */
.reviews-section {
    position: relative;
}

.reviews-heading {
    max-width: 46rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.reviews-kicker {
    margin: 0 0 0.55rem;
    color: #facc15;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.reviews-heading h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.05;
}

.reviews-carousel {
    position: relative;
}

.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(17.5rem, 31%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.25rem 3.25rem 0.75rem;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-height: 15rem;
    padding: 1.35rem;
    border: 1px solid rgba(250, 204, 21, 0.22);
    border-radius: 0.5rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(8, 12, 20, 0.96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    scroll-snap-align: center;
}

.review-stars {
    color: #facc15;
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.review-card p {
    margin: 0;
    color: #f8fafc;
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 650;
}

.review-card span {
    display: block;
    margin-top: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.reviews-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 999px;
    background: rgba(10, 14, 24, 0.88);
    color: #facc15;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reviews-nav:hover {
    border-color: rgba(250, 204, 21, 0.55);
    background: #facc15;
    color: #111827;
}

.reviews-prev {
    left: 0;
}

.reviews-next {
    right: 0;
}

@media (max-width: 767px) {
    .reviews-track {
        grid-auto-columns: 86%;
        padding: 0.25rem 2.75rem 0.75rem;
    }

    .review-card {
        min-height: 16rem;
        padding: 1.15rem;
    }

    .review-card p {
        font-size: 1rem;
    }

    .reviews-nav {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.65rem;
    }
}

/* Daypass modal refinement */
#daypass-modal.open {
    background:
        radial-gradient(circle at 50% 20%, rgba(250, 204, 21, 0.16), transparent 34rem),
        rgba(5, 7, 13, 0.88) !important;
    backdrop-filter: blur(14px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
}

.daypass-content {
    width: min(94vw, 68rem) !important;
    max-width: none !important;
    max-height: min(88svh, 760px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(21rem, 0.78fr);
    grid-template-areas:
        "header header"
        "media details";
    gap: 0;
    overflow: hidden !important;
    border: 1px solid rgba(250, 204, 21, 0.22) !important;
    border-radius: 0.85rem !important;
    background:
        linear-gradient(135deg, rgba(22, 24, 39, 0.98), rgba(36, 37, 62, 0.96)),
        #111827 !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
}

.daypass-content > .p-6:first-of-type {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 4rem 1.05rem 1.5rem !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.16);
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.09), transparent);
}

.daypass-content > .p-6:first-of-type p {
    margin: 0 !important;
    color: #facc15 !important;
    font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
}

.daypass-logo {
    width: clamp(9rem, 17vw, 13rem) !important;
    margin: 0 !important;
    flex: 0 0 auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.5)) !important;
}

.daypass-media-container {
    grid-area: media;
    height: 100%;
    min-height: 31rem;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.daypass-video,
.daypass-image {
    object-fit: cover !important;
}

.daypass-price-overlay {
    top: auto !important;
    left: 1.25rem !important;
    bottom: 1.25rem !important;
    transform: none !important;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 9.25rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: 0.65rem !important;
    background: linear-gradient(135deg, #ffd84a, #e5b300) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.45) inset !important;
    animation: none !important;
}

.daypass-price-overlay span {
    color: #111827 !important;
    font-size: clamp(3.2rem, 7vw, 4.75rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
}

.daypass-content > .p-6:last-of-type {
    grid-area: details;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 2.25rem) !important;
    text-align: left !important;
}

.daypass-content > .p-6:last-of-type > p:first-child {
    margin-bottom: 1.2rem !important;
    color: #f8fafc !important;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

.daypass-content .text-left {
    max-width: none !important;
    margin: 0 !important;
    display: grid;
    gap: 0.65rem;
}

.daypass-content .text-left p {
    display: grid !important;
    grid-template-columns: 1.55rem 1fr;
    align-items: start !important;
    gap: 0.65rem;
    margin: 0;
    color: #e5e7eb !important;
    font-size: 1.02rem;
    line-height: 1.35 !important;
}

.daypass-content .text-left p span:first-child {
    margin: 0 !important;
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.14);
    color: #facc15 !important;
    font-size: 1rem !important;
    line-height: 1;
}

.daypass-content > .p-6:last-of-type > p:last-child {
    margin-top: 1.35rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

@media (max-width: 767px) {
    .daypass-content {
        width: min(100%, 24rem) !important;
        max-width: none !important;
        max-height: calc(100svh - 1.5rem) !important;
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "media"
            "details";
        overflow-y: auto !important;
        border-radius: 0.8rem !important;
    }

    .daypass-content > .p-6:first-of-type {
        display: block;
        padding: 1.05rem 3.5rem 0.9rem 1rem !important;
        text-align: center !important;
    }

    .daypass-logo {
        width: min(10.5rem, 58vw) !important;
        margin: 0 auto 0.45rem !important;
    }

    .daypass-content > .p-6:first-of-type p {
        font-size: 1.1rem !important;
    }

    .daypass-media-container {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3 !important;
    }

    .daypass-price-overlay {
        left: 50% !important;
        bottom: 0.85rem !important;
        transform: translateX(-50%) !important;
        min-width: 8rem;
        padding: 0.62rem 1rem !important;
    }

    .daypass-price-overlay span {
        font-size: clamp(3rem, 16vw, 4rem);
    }

    .daypass-content > .p-6:last-of-type {
        padding: 1.15rem !important;
        text-align: left !important;
    }

    .daypass-content > .p-6:last-of-type > p:first-child {
        margin-bottom: 0.9rem !important;
        text-align: center;
        font-size: 1.15rem !important;
    }

    .daypass-content .text-left {
        gap: 0.5rem;
    }

    .daypass-content .text-left p {
        font-size: 0.95rem;
        line-height: 1.28 !important;
    }

    .daypass-content > .p-6:last-of-type > p:last-child {
        margin-top: 0.9rem !important;
        padding-top: 0.75rem;
        text-align: center;
        font-size: 0.82rem !important;
    }
}

/* Daypass modal v2 polish */
#daypass-modal {
    overscroll-behavior: contain;
}

#daypass-modal.open {
    padding: clamp(1rem, 2.5vw, 2rem) !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(250, 204, 21, 0.18), transparent 28rem),
        radial-gradient(circle at 80% 78%, rgba(120, 53, 15, 0.28), transparent 26rem),
        rgba(3, 7, 18, 0.88) !important;
}

.daypass-content {
    width: min(96vw, 72rem) !important;
    max-height: min(90svh, 800px) !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(22rem, 0.72fr) !important;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 0.65rem !important;
    background:
        linear-gradient(145deg, rgba(15, 18, 28, 0.98), rgba(34, 35, 54, 0.98)),
        #0b0f18 !important;
}

.daypass-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(250, 204, 21, 0.08), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
    z-index: 0;
}

.daypass-content > * {
    position: relative;
    z-index: 1;
}

.daypass-content > button[title="Cerrar"] {
    top: 1rem !important;
    right: 1rem !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: rgba(5, 7, 13, 0.72) !important;
}

.daypass-content > .p-6:first-of-type {
    min-height: 5.75rem;
    padding: 1.1rem 4.25rem 1rem 1.35rem !important;
}

.daypass-content > .p-6:first-of-type p::before {
    content: "Acceso diario";
    display: block;
    margin-bottom: 0.35rem;
    color: #d1d5db;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.daypass-media-container {
    min-height: clamp(30rem, 56vh, 39rem) !important;
    background: #05070d;
}

.daypass-media-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.06), transparent 45%, rgba(3, 7, 18, 0.34)),
        linear-gradient(180deg, transparent 58%, rgba(3, 7, 18, 0.54));
}

.daypass-video,
.daypass-image {
    width: 100% !important;
    height: 100% !important;
}

.daypass-price-overlay {
    left: clamp(1rem, 2vw, 1.5rem) !important;
    bottom: clamp(1rem, 2vw, 1.5rem) !important;
    min-width: 10rem;
}

.daypass-price-overlay::after {
    content: "DAYPASS";
    display: block;
    margin-left: 0.5rem;
    color: rgba(17, 24, 39, 0.78);
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.daypass-content > .p-6:last-of-type {
    background: rgba(3, 7, 18, 0.24);
}

.daypass-content > .p-6:last-of-type > p:first-child {
    max-width: 14rem;
}

.daypass-content .text-left {
    margin-top: 0.2rem !important;
}

.daypass-content .text-left p {
    min-height: 2.15rem;
}

.daypass-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.daypass-primary-action,
.daypass-secondary-action {
    width: 100%;
    min-height: 3rem;
    border-radius: 0.55rem;
    padding: 0.85rem 1rem;
    font-weight: 900;
    line-height: 1.15;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.daypass-primary-action {
    border: 0;
    background: linear-gradient(135deg, #facc15, #e5b300);
    color: #111827;
    box-shadow: 0 16px 36px rgba(229, 179, 0, 0.2);
}

.daypass-secondary-action {
    border: 1px solid rgba(250, 204, 21, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
}

.daypass-primary-action:hover,
.daypass-secondary-action:hover {
    transform: translateY(-1px);
}

@media (min-width: 768px) and (max-height: 760px) {
    .daypass-media-container {
        min-height: 26rem !important;
    }

    .daypass-content > .p-6:last-of-type {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    #daypass-modal.open {
        align-items: center !important;
        justify-content: center !important;
        padding: max(0.65rem, env(safe-area-inset-top)) max(0.65rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left)) !important;
    }

    .daypass-content {
        width: min(100%, 26.5rem) !important;
        max-height: calc(100svh - 1.3rem) !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "header"
            "media"
            "details" !important;
        border-radius: 0.65rem !important;
        scrollbar-width: thin;
    }

    .daypass-content > button[title="Cerrar"] {
        top: 0.7rem !important;
        right: 0.7rem !important;
        width: 2.45rem !important;
        height: 2.45rem !important;
    }

    .daypass-content > .p-6:first-of-type {
        min-height: 0;
        padding: 0.95rem 3.5rem 0.8rem 1rem !important;
    }

    .daypass-content > .p-6:first-of-type p::before {
        margin-bottom: 0.2rem;
        font-size: 0.62rem;
    }

    .daypass-media-container {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 0.76 !important;
    }

    .daypass-price-overlay {
        left: 0.9rem !important;
        right: auto !important;
        bottom: 0.7rem !important;
        transform: none !important;
        min-width: 7.75rem;
        border-radius: 0.5rem !important;
    }

    .daypass-price-overlay::after {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .daypass-content > .p-6:last-of-type {
        padding: 1rem !important;
    }

    .daypass-content > .p-6:last-of-type > p:first-child {
        max-width: none;
        margin-bottom: 0.75rem !important;
    }

    .daypass-content .text-left p {
        min-height: 0;
        grid-template-columns: 1.35rem 1fr;
        gap: 0.55rem;
        font-size: 0.9rem;
    }

    .daypass-content .text-left p span:first-child {
        width: 1.35rem;
        height: 1.35rem;
        font-size: 0.82rem !important;
    }

    .daypass-actions {
        margin-top: 0.95rem;
        gap: 0.55rem;
    }

    .daypass-primary-action,
    .daypass-secondary-action {
        min-height: 2.7rem;
        padding: 0.72rem 0.85rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 380px), (max-height: 680px) and (max-width: 767px) {
    .daypass-logo {
        width: min(8.25rem, 48vw) !important;
    }

    .daypass-content > .p-6:first-of-type p {
        font-size: 0.95rem !important;
    }

    .daypass-media-container {
        aspect-ratio: 1 / 0.68 !important;
    }

    .daypass-content > .p-6:last-of-type > p:first-child {
        font-size: 1rem !important;
    }

    .daypass-content .text-left {
        gap: 0.38rem;
    }

    .daypass-content > .p-6:last-of-type > p:last-child {
        display: none;
    }
}

/* 2026 homepage editorial layout: tighter rhythm, stronger visual hierarchy */
body {
    background: #05070b;
}

#home.hero-section {
    min-height: 34rem;
    height: clamp(34rem, 72svh, 46rem);
}

#home .hero-content-wrapper {
    align-items: flex-end;
    padding-bottom: clamp(2rem, 6vh, 4.5rem);
}

#home .hero-text-box {
    max-width: 46rem;
    padding: clamp(1.35rem, 3vw, 2.25rem) !important;
    border-radius: 0.35rem;
    border-color: rgba(229, 179, 0, 0.28);
    background: linear-gradient(120deg, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.55));
    backdrop-filter: blur(10px);
}

#home .hero-text-box h1 {
    max-width: 42rem;
    font-size: clamp(2.35rem, 5vw, 4.4rem) !important;
    letter-spacing: -0.035em;
}

#home .hero-text-box > p:last-of-type {
    max-width: 38rem;
    margin-bottom: 1.5rem !important;
}

#resort,
#opiniones,
#bungalows,
#events,
#location {
    padding-top: clamp(3.25rem, 6vw, 5rem) !important;
    padding-bottom: clamp(3.25rem, 6vw, 5rem) !important;
}

#resort h2,
#bungalows h2,
#events h2,
#location h2 {
    margin-bottom: 2rem !important;
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    letter-spacing: -0.025em;
}

#resort .grid {
    gap: clamp(2rem, 5vw, 5rem) !important;
}

#resort .manual-carousel-container {
    height: clamp(23rem, 40vw, 34rem);
    border-radius: 0.35rem;
}

#resort .space-y-4 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

#resort .space-y-4 > div {
    margin-top: 0 !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 179, 0, 0.25);
}

#opiniones .reviews-heading {
    margin-bottom: 1.5rem;
}

#opiniones .review-card {
    min-height: 12rem;
}

#bungalows > .max-w-3xl {
    max-width: 80rem;
}

#bungalows > div > p {
    margin-bottom: 2rem !important;
}

#bungalows > div > .space-y-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

#bungalows > div > .space-y-4 > .card-dark {
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.35rem;
    box-shadow: none;
}

#bungalows .card-dark > button {
    min-height: 7.25rem;
    padding: 1rem !important;
}

#bungalows .room-thumbnail {
    width: 6.5rem;
    height: 5.25rem;
    border-radius: 0.2rem;
}

#events h2 {
    margin-bottom: 0.75rem !important;
}

#events h2 + p {
    margin-bottom: 2rem !important;
}

#events .max-w-4xl {
    max-width: 64rem;
}

#events .manual-carousel-container {
    height: clamp(22rem, 42vw, 34rem);
    border-radius: 0.35rem;
}

#events .text-center.mt-12 {
    margin-top: 1.75rem !important;
}

#location .map-container {
    min-height: 25rem;
    border-radius: 0.35rem;
}

#contact {
    padding-top: 2.75rem !important;
    padding-bottom: 2.25rem !important;
}

@media (max-width: 767px) {
    #home.hero-section {
        min-height: 36rem;
        height: 78svh;
    }

    #home .hero-content-wrapper {
        padding-bottom: 1.25rem;
    }

    #home .hero-text-box {
        padding: 1.15rem !important;
    }

    #home .hero-text-box > p:first-child {
        font-size: 0.78rem !important;
    }

    #resort .space-y-4,
    #bungalows > div > .space-y-4 {
        grid-template-columns: 1fr;
    }

    #resort .manual-carousel-container,
    #events .manual-carousel-container {
        height: 19rem;
    }

    #bungalows .card-dark > button {
        min-height: 6.25rem;
    }

    #bungalows .room-thumbnail {
        width: 4.75rem;
        height: 4.25rem;
    }
}

/* Final apartment-card presentation overrides */
#bungalows > div > .space-y-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; align-items: start; }
#bungalows > div > .space-y-4 > .card-dark { background: #090c12; border-color: rgba(229, 179, 0, 0.24); }
#bungalows .card-dark > button { position: relative; display: block; min-height: 0; padding: 0 0 1rem !important; overflow: hidden; }
#bungalows .card-dark > button > div { display: block; }
#bungalows .room-thumbnail { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; margin: 0 0 1rem; border: 0; border-radius: 0; object-fit: cover; }
#bungalows .card-dark > button > div > div { padding: 0 3.25rem 0 1rem; }
#bungalows .card-dark > button h3 { margin-bottom: 0.35rem; color: #f8fafc; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.2; }
#bungalows .card-dark > button p { color: #d6b15d; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
#bungalows .card-dark > button > svg { position: absolute; right: 1rem; bottom: 1.35rem; width: 1.35rem; height: 1.35rem; }
#bungalows .accordion-content > div { padding: 1rem !important; background: #0d1118; }
#bungalows .room-carousel-container { height: auto; aspect-ratio: 16 / 10; border-radius: 0.2rem !important; }
#bungalows .accordion-content .booking_window_trigger { width: 100%; border-radius: 0.2rem; }
@media (max-width: 900px) { #bungalows > div > .space-y-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    #bungalows > div > .space-y-4 { grid-template-columns: 1fr; gap: 0.9rem; }
    #bungalows .room-thumbnail { width: 100%; height: auto; aspect-ratio: 16 / 10; }
}
