/* Hotel Gran Wolf — showcase de detalle de unidad.
   Layout moderno: hero / trust strip / "the stay" / planes (rate-pills) /
   features / testimonial / CTA banner.
   v: 2026-05-09-r8 (compact mobile plan cards) */

/* Override: body.home setea color: var(--ink) en h1..h4 con más specificidad
   que nuestras clases. Forzamos blanco en las secciones oscuras del showcase. */
body.home .hsx-hero__title,
body.home .hsx-cta__title { color: #fff; }
body.home .hsx-plans .hsx-plan__name,
body.home .hsx-plans h2,
body.home .hsx-plans h3 { color: var(--ink-deep, #2f0a15); }

.hsx-hero {
    --hsx-hero-overlay: .55;     /* 0..1 — sobreescrito inline desde el admin */
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-deep, #2f0a15) center/cover no-repeat;
    color: #fff;
    padding: 5rem 1.25rem 6rem;
    text-align: center;
    overflow: hidden;
}
/* Overlay: gradiente que va del valor base al doble (clamp en 1) en el pie,
   para mantener contraste extra abajo donde está el CTA. */
.hsx-hero::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(20,8,12, calc(var(--hsx-hero-overlay) * 0.85)) 0%,
        rgba(20,8,12, var(--hsx-hero-overlay)) 60%,
        rgba(20,8,12, min(calc(var(--hsx-hero-overlay) * 1.25), 0.95)) 100%
    );
}

/* Slideshow (modo carrusel) — patrón equivalente al .hero del home. */
.hsx-hero__slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hsx-hero__slide {
    position: absolute; inset: 0;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; transition: opacity 1.4s ease-in-out;
    transform: scale(1.05);
}
.hsx-hero__slide.is-active { opacity: 1; animation: hsxHeroKenBurns 8s ease-out forwards; }
@keyframes hsxHeroKenBurns {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}

/* Video de fondo (modo video) */
.hsx-hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hsx-hero__inner { position: relative; max-width: 760px; z-index: 2; }
.hsx-hero__kicker {
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin: 0 0 1.4rem;
    font-weight: 400;
}
.hsx-hero__title {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-weight: 200;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.12;
    margin: 0 0 1.2rem;
    color: #fff;
    letter-spacing: .005em;
}
.hsx-hero__lede {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,.82);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-weight: 300;
}
.hsx-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.8rem;
    background: rgba(189,152,92,.92);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}
.hsx-hero__cta:hover { background: var(--gold, #bd985c); transform: translateY(-1px); }
.hsx-hero__cta-arrow { display: inline-block; }

/* ───── Trust strip (debajo del hero, sobre cream) ───── */
.hsx-trust {
    background: #f4f1ea;
    padding: 1.6rem 1.25rem;
}
.hsx-trust__row {
    max-width: 980px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.hsx-trust__item {
    display: flex; align-items: center; gap: .9rem;
    justify-content: center;
}
.hsx-trust__icon {
    flex: 0 0 auto;
    color: var(--gold, #bd985c);
    width: 26px; height: 26px;
}
.hsx-trust__icon svg { width: 100%; height: 100%; }
.hsx-trust__text { line-height: 1.35; }
.hsx-trust__title {
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    color: var(--ink-deep, #2f0a15);
    margin: 0;
    font-weight: 500;
}
.hsx-trust__sub {
    font-size: .76rem; color: #7a6770; margin: .15rem 0 0;
    font-weight: 300;
}
@media (max-width: 720px) {
    .hsx-trust__row { grid-template-columns: 1fr; gap: 1rem; }
    .hsx-trust__item { justify-content: flex-start; }
}

/* ───── The Stay (intro + cards) ───── */
.hsx-stay { background: #f4f1ea; padding: 4.5rem 1.25rem 5rem; }
.hsx-stay__grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 3rem; align-items: start;
}
.hsx-stay__grid--solo {
    grid-template-columns: 1fr;
    max-width: 760px;
    text-align: center;
}
.hsx-stay__grid--solo .hsx-stay__divider { margin-inline: auto; }
.hsx-stay__intro { padding-top: .5rem; }
.hsx-stay__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 1rem;
    font-weight: 500;
}
.hsx-stay__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1.2rem;
    line-height: 1.15;
}
.hsx-stay__divider {
    width: 60px; height: 1px;
    background: var(--ink-deep, #2f0a15);
    opacity: .35;
    margin: 0 0 1.5rem;
    border: 0;
}
.hsx-stay__lede {
    color: #6b5560;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}

.hsx-stay__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}
.hsx-stay-card {
    background: #fff;
    border: 1px solid #ece6d5;
    transition: transform .22s, box-shadow .22s, border-color .22s;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
}
.hsx-stay-card:hover,
.hsx-stay-card:focus-visible {
    border-color: var(--gold, #bd985c);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(20,8,12,.08);
    outline: none;
}
.hsx-stay-card[data-stay-card] { cursor: pointer; }
.hsx-stay-card__more {
    margin-top: auto;
    padding-top: .5rem;
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    font-weight: 500;
    align-self: flex-start;
    transition: color .15s, transform .15s;
}
.hsx-stay-card:hover .hsx-stay-card__more { color: var(--ink-deep, #2f0a15); transform: translateX(2px); }
.hsx-stay-card__media {
    background: #ddd6c7 center/cover no-repeat;
    aspect-ratio: 4/3;
}
.hsx-stay-card__body { padding: 1.1rem 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.hsx-stay-card__head {
    display: flex; justify-content: space-between; align-items: center;
    gap: .6rem;
}
.hsx-stay-card__name {
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-deep, #2f0a15);
    margin: 0;
    font-weight: 500;
}
.hsx-stay-card__cap {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: 'Jost', sans-serif;
    font-size: .78rem;
    color: #6b5560;
}
.hsx-stay-card__cap svg { width: 14px; height: 14px; }
.hsx-stay-card__desc {
    font-size: .9rem; color: #6b5560; line-height: 1.55; margin: 0;
    font-weight: 300;
}
.hsx-stay__cta-wrap { grid-column: 1/-1; text-align: center; margin-top: .8rem; }

@media (max-width: 880px) {
    .hsx-stay__grid { grid-template-columns: 1fr; gap: 2rem; }
    .hsx-stay__cards { grid-template-columns: 1fr; }
}

/* ───── About this place ───── */
.hsx-about {
    background: #fff;
    padding: 4rem 1.25rem 4.5rem;
}
.hsx-about__inner {
    max-width: 760px; margin: 0 auto; text-align: center;
}
.hsx-about__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1.4rem;
}
.hsx-about__divider {
    width: 48px; height: 1px;
    background: var(--gold, #bd985c);
    opacity: .65;
    margin: 0 auto 1.5rem;
    border: 0;
}
.hsx-about__text {
    font-size: 1rem;
    line-height: 1.75;
    color: #5a4854;
    margin: 0;
    font-weight: 300;
}

/* ───── Amenities — "Lo que este lugar ofrece" ───── */
.hsx-amenities { background: #f4f1ea; padding: 4rem 1.25rem 4.5rem; }
.hsx-amenities__head { max-width: 1100px; margin: 0 auto 2.4rem; text-align: center; }
.hsx-amenities__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1rem;
}
/* Wrapper que reparte amenities (de la habitación, en 2 sub-cols) y haras
   (del entorno, en 1 sub-col) cuando ambos están cargados. Si solo hay
   amenities el bloque se ve idéntico al diseño previo. */
.hsx-amenities__split {
    max-width: 1100px; margin: 0 auto;
}
.hsx-amenities__split--two {
    display: grid;
    grid-template-columns: 2fr 1fr; /* room ocupa 2/3, haras 1/3 */
    gap: 2rem 3.5rem;
    align-items: start;
}
.hsx-amenities__col-label {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .9rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid #d8cdaf;
    text-align: left;
    font-weight: 500;
}
.hsx-amenities__grid {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 2.5rem;
}
/* En modo dual, cada sub-grid arranca al ancho que le toca (no max-width
   centrado), y la columna de haras es de 1 sola sub-columna. */
.hsx-amenities__split--two .hsx-amenities__grid { max-width: none; margin: 0; }
.hsx-amenities__split--two .hsx-amenities__col--haras .hsx-amenities__grid {
    grid-template-columns: 1fr;
    gap: 0;
}
@media (max-width: 880px) {
    .hsx-amenities__split--two { grid-template-columns: 1fr; gap: 2rem; }
}
.hsx-amen {
    display: flex; align-items: center; gap: 1rem;
    padding: .9rem .2rem;
    border-bottom: 1px solid #e0d8c5;
}
.hsx-amen:last-child,
.hsx-amen:nth-last-child(2):nth-child(odd) { /* última fila si está completa */
    border-bottom: 0;
}
.hsx-amen__icon {
    flex: 0 0 auto;
    color: var(--gold, #bd985c);
    width: 26px; height: 26px;
}
.hsx-amen__icon svg { width: 100%; height: 100%; }
.hsx-amen__label {
    font-size: 1rem; color: var(--ink-deep, #2f0a15); margin: 0;
    font-weight: 400;
}
@media (max-width: 720px) { .hsx-amenities__grid { grid-template-columns: 1fr; gap: 0; } }

/* ───── Property info ───── */
.hsx-info { background: #fff; padding: 4rem 1.25rem 4.5rem; }
.hsx-info__head { max-width: 1100px; margin: 0 auto 2.4rem; text-align: center; }
.hsx-info__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1rem;
}
.hsx-info__row {
    max-width: 980px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.hsx-info__cell {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 1.2rem .8rem;
    border-left: 1px solid #ece6d5;
}
.hsx-info__cell:first-child { border-left: 0; }
.hsx-info__icon {
    color: var(--gold, #bd985c);
    width: 26px; height: 26px;
    margin-bottom: .6rem;
}
.hsx-info__icon svg { width: 100%; height: 100%; }
.hsx-info__value {
    font-family: var(--font-display, serif);
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--ink-deep, #2f0a15);
    line-height: 1;
    margin: 0 0 .35rem;
}
.hsx-info__label {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #6b5560;
    margin: 0;
    font-weight: 500;
}
@media (max-width: 760px) {
    .hsx-info__row { grid-template-columns: repeat(2, 1fr); }
    .hsx-info__cell { border-left: 0; border-top: 1px solid #ece6d5; }
    .hsx-info__cell:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 420px) {
    .hsx-info__row { grid-template-columns: 1fr; }
    .hsx-info__cell { border-top: 1px solid #ece6d5; }
    .hsx-info__cell:first-child { border-top: 0; }
}

/* ───── Animaciones sutiles (una por vez, ciclo largo) sobre los íconos
   de "Información de la propiedad". El orden esperado es: 1) horario
   apertura · 2) horario cierre · 3) check-in · 4) check-out. ──────── */
.hsx-info__icon svg { display: block; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
    /* 1 · Apertura: la pieza emerge desde abajo y se asienta. */
    .hsx-info__row .hsx-info__cell:nth-child(1) .hsx-info__icon svg {
        animation: hsx-info-rise 14s ease-in-out infinite;
    }
    /* 2 · Cierre: la pieza desciende desde arriba. */
    .hsx-info__row .hsx-info__cell:nth-child(2) .hsx-info__icon svg {
        animation: hsx-info-fall 14s ease-in-out 3.2s infinite;
    }
    /* 3 · Check-in: la llave gira como en una cerradura, alrededor de la cabeza. */
    .hsx-info__row .hsx-info__cell:nth-child(3) .hsx-info__icon svg {
        animation: hsx-info-turn 14s ease-in-out 6.4s infinite;
        transform-origin: 33% 63%; /* bow del SVG (cx=8, cy=15 en viewBox 24x24) */
    }
    /* 4 · Check-out: la puerta gira sobre su bisagra y "cierra". */
    .hsx-info__row .hsx-info__cell:nth-child(4) .hsx-info__icon svg {
        animation: hsx-info-door 14s ease-in-out 9.6s infinite;
        transform-origin: left center;
    }
}

@keyframes hsx-info-rise {
    0%, 78%, 100% { transform: translateY(0); opacity: 1; }
    82%           { transform: translateY(8px); opacity: .45; }
    93%           { transform: translateY(0); opacity: 1; }
}
@keyframes hsx-info-fall {
    0%, 78%, 100% { transform: translateY(0); opacity: 1; }
    82%           { transform: translateY(-8px); opacity: .45; }
    93%           { transform: translateY(0); opacity: 1; }
}
@keyframes hsx-info-turn {
    0%, 78%, 100% { transform: rotate(0deg); }
    84%           { transform: rotate(-26deg); }
    89%           { transform: rotate(10deg); }
    95%           { transform: rotate(0deg); }
}
@keyframes hsx-info-door {
    0%, 75%, 100% { transform: perspective(260px) rotateY(0deg); }
    79%           { transform: perspective(260px) rotateY(-44deg); }
    87%           { transform: perspective(260px) rotateY(-44deg); }
    96%           { transform: perspective(260px) rotateY(0deg); }
}

/* ───── Galería carrusel (después de Acerca, antes de Planes) ───── */
.hsx-gallery {
    background: #fff;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
}
.hsx-gallery__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.4rem;
    padding: 0 1.25rem;
}
.hsx-gallery__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .8rem;
    font-weight: 500;
}
.hsx-gallery__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0;
}
.hsx-gallery__viewport {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}
.hsx-gallery__track {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 18%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Difuminado en los costados — el track aparece desvanecido en los bordes */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.hsx-gallery__track::-webkit-scrollbar { display: none; }
.hsx-gallery__slide {
    flex: 0 0 64%;
    max-width: 760px;
    margin: 0;
    aspect-ratio: 16 / 10;
    background: #ddd6c7;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 18px 36px rgba(20, 8, 12, .12);
    transition: transform .35s ease, box-shadow .35s ease;
}
.hsx-gallery__slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.hsx-gallery__slide:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(20, 8, 12, .18); }

.hsx-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #ece6d5;
    color: var(--ink-deep, #2f0a15);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(20, 8, 12, .12);
    transition: background .2s, transform .15s, opacity .2s;
}
.hsx-gallery__nav:hover { background: var(--gold, #bd985c); color: #fff; transform: translateY(-50%) scale(1.05); }
.hsx-gallery__nav--prev { left: max(1rem, 4%); }
.hsx-gallery__nav--next { right: max(1rem, 4%); }

@media (max-width: 880px) {
    .hsx-gallery__track {
        padding: 0 8%;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
                mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    .hsx-gallery__slide { flex-basis: 82%; }
    .hsx-gallery__nav { width: 38px; height: 38px; }
    .hsx-gallery__nav--prev { left: .4rem; }
    .hsx-gallery__nav--next { right: .4rem; }
}

/* ───── Plans / "Elige tu experiencia" (dark) ───── */
.hsx-plans {
    background: #2c2922;
    color: rgba(255,255,255,.92);
    padding: 4.5rem 1.25rem 5rem;
}
.hsx-plans__head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.hsx-plans__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold-soft, #d4b86a);
    margin: 0 0 1rem;
    font-weight: 500;
}
.hsx-plans__divider {
    width: 60px; height: 1px;
    background: var(--gold, #bd985c);
    opacity: .55;
    margin: 0 auto;
    border: 0;
}
.hsx-plans__grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: start;
}

/* Defaults para el modo colapsable (desktop). Tienen que estar ANTES del @media
   mobile para que el cascade resuelva bien — si están después, el `display:
   contents` base override el `display: block` del @media y los extras nunca
   se colapsan. */
.hsx-plan__extras { display: contents; }
.hsx-plan__toggle { display: none; }

/* Breakpoint intermedio: en tablet (≤960px) las cards se apilan a 1 columna
   ancha porque a 320px-por-card no entra el contenido legible. El @media de
   768 ya las refina más para mobile. Acá también activamos el modo "colapsado":
   el wrapper .hsx-plan__extras se oculta hasta que la card recibe .is-expanded
   y aparece el botón sutil "Ver detalles ▾" para que el usuario abra. */
@media (max-width: 960px) {
    .hsx-plans__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 1.4rem;
    }
    .hsx-plan--top { transform: none; }
    .hsx-plan:hover { transform: none; }

    /* Modo colapsable */
    .hsx-plan__extras {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .35s ease, opacity .25s ease, margin-top .25s ease;
        margin-top: 0;
    }
    .hsx-plan.is-expanded .hsx-plan__extras {
        max-height: 1200px;   /* suficiente para el contenido más largo */
        opacity: 1;
        margin-top: .8rem;
    }

    .hsx-plan__toggle {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        align-self: center;
        margin-top: .9rem;
        background: transparent;
        border: 0;
        padding: .5rem .85rem;
        font-family: 'Jost', sans-serif;
        font-size: .72rem;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: var(--gold, #bd985c);
        cursor: pointer;
        border-bottom: 1px solid transparent;
        transition: color .2s ease, border-color .2s ease;
    }
    .hsx-plan__toggle:hover { color: var(--ink-deep, #2f0a15); border-bottom-color: var(--gold, #bd985c); }
    .hsx-plan__toggle-chev { transition: transform .25s ease; }
    .hsx-plan.is-expanded .hsx-plan__toggle-chev { transform: rotate(180deg); }
}
.hsx-plan {
    position: relative;
    background: #fff;
    color: var(--ink-deep, #2f0a15);
    display: flex; flex-direction: column;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
    box-shadow: 0 4px 16px rgba(20, 8, 12, .08);
    overflow: hidden;
}
.hsx-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(20, 8, 12, .35);
}
.hsx-plan--top {
    outline: 1px solid var(--gold, #bd985c);
    outline-offset: -1px;
}
.hsx-plan__badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--ink-deep, #2f0a15);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
    padding: .35rem .75rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.hsx-plan__media {
    aspect-ratio: 16 / 10;
    background: #4a4338 center/cover no-repeat;
    position: relative;
}
.hsx-plan__media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.18) 100%);
}
.hsx-plan__body {
    padding: 2rem 1.6rem 2rem;
    text-align: center;
    flex: 1;
    display: flex; flex-direction: column;
    gap: .6rem;
}
.hsx-plan__name {
    font-family: 'Jost', sans-serif;
    font-size: .95rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 .15rem;
    font-weight: 500;
    line-height: 1.3;
}
.hsx-plan__board {
    font-family: 'Jost', sans-serif;
    font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .8rem;
    font-weight: 500;
    position: relative;
    padding-bottom: .85rem;
}
.hsx-plan__board::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 1px;
    background: var(--gold, #bd985c);
    opacity: .4;
}
.hsx-plan__lede {
    font-size: .9rem;
    line-height: 1.65;
    color: #6b5560;
    margin: 0 0 1.2rem;
    padding-bottom: 1.2rem;
    font-weight: 300;
    position: relative;
}
.hsx-plan__lede::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(189,152,92,.5), transparent);
}
.hsx-plan__incl {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0 auto 1.8rem;
    display: flex; flex-direction: column;
    gap: 0;
    font-size: .9rem;
    color: #3d2c34;
    line-height: 1.5;
    text-align: left;
    max-width: 280px;
    width: 100%;
    position: relative;
}
.hsx-plan__incl::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(189,152,92,.3), transparent);
}
.hsx-plan__incl li {
    padding: .65rem 0 .65rem 1.9rem;
    position: relative;
    font-weight: 400;
    border-bottom: 1px solid rgba(189, 152, 92, .12);
    transition: background .2s ease, padding .2s ease;
}
.hsx-plan__incl li:last-child { border-bottom: 0; }
.hsx-plan__incl li:first-child { padding-top: 0; }
.hsx-plan__incl li:first-child::before { top: .35em; }

/* Checkmark sutil dorado en círculo translúcido */
.hsx-plan__incl li::before {
    content: '';
    position: absolute;
    left: 0; top: .85em;
    width: 16px; height: 16px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bd985c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/10px no-repeat,
        rgba(189, 152, 92, .12);
    transition: background-color .2s ease, transform .2s ease;
}
.hsx-plan__incl li:hover::before {
    background-color: rgba(189, 152, 92, .25);
    transform: scale(1.08);
}
.hsx-plan__incl strong {
    color: var(--ink-deep, #2f0a15);
    font-weight: 600;
}

.hsx-plan__details { margin-top: 1.4rem; }
.hsx-plan__details > summary { list-style: none; cursor: pointer; }
.hsx-plan__details > summary::-webkit-details-marker { display: none; }
.hsx-plan__cta {
    display: inline-block;
    padding: .85rem 1.8rem;
    background: var(--ink-deep, #2f0a15);
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease;
    align-self: center;
}
.hsx-plan__cta:hover { background: #1d040c; }

/* Botón "Reservar este plan" directo (sin desplegable). Pegado al final del
   contenido natural — no fuerza altura igualada entre cards. */
.hsx-plan__reserve-direct {
    margin-top: 0;
    align-self: stretch;
    text-align: center;
    padding: 1rem 1.4rem;
    font-size: .76rem;
    letter-spacing: .26em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: background .3s ease, transform .25s ease, letter-spacing .3s ease;
}
.hsx-plan__reserve-direct::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(115deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, .22) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%);
    transform: skewX(-18deg);
    transition: left .9s cubic-bezier(.2, .7, .3, 1);
    z-index: -1;
}
.hsx-plan__reserve-direct:hover {
    background: var(--gold, #bd985c);
    letter-spacing: .3em;
}
.hsx-plan__reserve-direct:hover::before { left: 175%; }
.hsx-plan__reserve-direct:focus-visible {
    outline: 2px solid var(--gold, #bd985c);
    outline-offset: 3px;
}

/* (Defaults de .hsx-plan__extras y .hsx-plan__toggle movidos arriba, antes del
   @media de 960px, para que el cascade respete el override mobile.) */

@media (max-width: 980px) {
    .hsx-plans__grid { grid-template-columns: 1fr; max-width: 480px; gap: 1.2rem; }
}
.hsx-plan__details > summary [data-open] { display: none; }
.hsx-plan__details[open] > summary [data-closed] { display: none; }
.hsx-plan__details[open] > summary [data-open] { display: inline; }

.hsx-plan__panel {
    text-align: left;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #ece6d5;
    animation: hsxPanelFade .25s ease-out;
}
@keyframes hsxPanelFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.hsx-plan__panel-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .7rem;
    font-weight: 500;
    text-align: center;
}
.hsx-plan__rates {
    list-style: none; padding: 0; margin: 0 0 1rem;
    display: flex; flex-direction: column; gap: .35rem;
}
.hsx-plan__rates li {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .55rem .2rem;
    border-bottom: 1px dashed #ece6d5;
    font-size: .9rem;
}
.hsx-plan__rates li:last-child { border-bottom: 0; }
.hsx-plan__rates-pax {
    color: #6b5560;
    font-weight: 300;
}
.hsx-plan__rates-price {
    font-family: var(--font-display, serif);
    font-weight: 400;
    color: var(--ink-deep, #2f0a15);
    font-size: 1.1rem;
}
.hsx-plan__incl--all { margin-top: .5rem; margin-bottom: 1.2rem; max-width: none; }
.hsx-plan__reserve {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: .85rem 1.4rem;
    background: var(--gold, #bd985c);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .15s;
}
.hsx-plan__reserve:hover { background: #a48149; transform: translateY(-1px); }

/* ───── Página unificada — header de unidades + cards split ───── */
.hsx-units {
    background: #fff;
    padding: 4.5rem 1.25rem 2rem;
}
/* Variante "compañera" usada cuando insertamos una unidad complementaria
   (ej: bungalow dentro de la página combinada de pesebreras). Más claro
   visualmente del bloque pesebreras-céntrico que viene arriba. */
.hsx-units--companion {
    background: #ece6d9;
    padding: 4rem 1.25rem 4.5rem;
    margin-top: 0;
}
.hsx-units--companion .hsx-unit { margin-bottom: 0; }
.hsx-units--companion .hsx-units__head { margin-bottom: 2.6rem; }
.hsx-units__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}
.hsx-units__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .8rem;
    font-weight: 500;
}
.hsx-units__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1rem;
}
.hsx-units__lede {
    color: #6b5560;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    font-weight: 300;
}

.hsx-unit {
    max-width: 1200px;
    margin: 0 auto 3.5rem;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hsx-unit--alt { grid-template-columns: 1fr 1.05fr; }
.hsx-unit--alt .hsx-unit__media { order: 2; }

.hsx-unit__media {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #ddd6c7;
    box-shadow: 0 18px 40px rgba(20, 8, 12, .12);
}
.hsx-unit__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.hsx-unit:hover .hsx-unit__media img { transform: scale(1.03); }
.hsx-unit__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #b8a989;
    font-family: var(--font-display, serif);
    font-size: 1.1rem;
}
.hsx-unit__num {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    background: rgba(255,255,255,.92);
    color: var(--ink-deep, #2f0a15);
    font-family: 'Jost', sans-serif;
    font-size: .7rem;
    letter-spacing: .2em;
    padding: .4rem .7rem;
    font-weight: 500;
}

.hsx-unit__body { padding: 1rem 0; }
.hsx-unit__kicker {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .9rem;
    font-weight: 500;
}
.hsx-unit__name {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1.1rem;
    line-height: 1.15;
}
.hsx-unit__desc {
    color: #5a4854;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.4rem;
    font-weight: 300;
}
.hsx-unit__meta {
    list-style: none;
    padding: 0; margin: 0 0 1.6rem;
    display: flex; flex-direction: column;
    gap: .55rem;
}
.hsx-unit__meta li {
    font-size: .9rem;
    color: #6b5560;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.5;
}
.hsx-unit__meta li::before {
    content: '';
    position: absolute; left: 0; top: .55em;
    width: 5px; height: 5px;
    background: var(--gold, #bd985c);
    border-radius: 50%;
}
.hsx-unit__meta strong {
    color: var(--ink-deep, #2f0a15);
    font-weight: 500;
}
.hsx-unit__note {
    font-style: italic;
    color: #8a7a82;
}
.hsx-unit__ctas {
    display: flex; gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.hsx-unit__cta-primary {
    display: inline-block;
    padding: .9rem 1.7rem;
    background: var(--ink-deep, #2f0a15);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .15s;
}
.hsx-unit__cta-primary:hover { background: var(--gold, #bd985c); transform: translateY(-1px); }
.hsx-unit__cta-secondary {
    color: var(--ink-deep, #2f0a15);
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .8rem;
    letter-spacing: .12em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .2s;
}
.hsx-unit__cta-secondary:hover { color: var(--gold, #bd985c); }

@media (max-width: 880px) {
    .hsx-unit, .hsx-unit--alt { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 2.8rem; }
    .hsx-unit--alt .hsx-unit__media { order: 0; }
    .hsx-unit__body { padding: 0; }
}
@media (max-width: 768px) {
    .hsx-units { padding: 3.4rem 1.1rem 1.6rem; }
    .hsx-units__head { margin-bottom: 2.2rem; }
    .hsx-units__title { font-size: clamp(1.6rem, 6vw, 2rem); }
    .hsx-units__lede { font-size: .94rem; line-height: 1.6; }
    .hsx-unit { gap: 1.4rem; margin-bottom: 2.4rem; }
    .hsx-unit__media { aspect-ratio: 16 / 11; box-shadow: 0 12px 24px rgba(20,8,12,.1); }
    .hsx-unit__name { font-size: clamp(1.5rem, 5.6vw, 1.85rem); margin-bottom: .9rem; }
    .hsx-unit__desc { font-size: .94rem; line-height: 1.65; margin-bottom: 1.2rem; }
    .hsx-unit__meta li { font-size: .88rem; }
    .hsx-unit__ctas { gap: .8rem; }
    .hsx-unit__cta-primary { padding: .8rem 1.4rem; font-size: .7rem; letter-spacing: .18em; }
    .hsx-unit__cta-secondary { font-size: .78rem; }
}
@media (max-width: 480px) {
    .hsx-unit__ctas { flex-direction: column; align-items: stretch; }
    .hsx-unit__cta-primary { text-align: center; width: 100%; }
    .hsx-unit__cta-secondary { text-align: center; align-self: center; }
}

/* ───── Tabla de tarifas (read-only, después de Planes) ───── */
.hsx-rates {
    background: #fff;
    padding: 4.5rem 1.25rem 5rem;
    text-align: center;
}
.hsx-rates__head {
    max-width: 760px;
    margin: 0 auto 2rem;
}
.hsx-rates__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    margin: 0 0 .8rem;
    font-weight: 500;
}
.hsx-rates__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1rem;
}
.hsx-rates__lede {
    color: #6b5560;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}
.hsx-rates__switch {
    display: inline-flex;
    background: #f4efe2;
    border: 1px solid #e8dfc8;
    border-radius: 999px;
    padding: .3rem;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    max-width: 100%;
}
.hsx-rates__switch-btn {
    appearance: none; background: transparent; border: 0;
    padding: .55rem 1.2rem;
    font-family: inherit;
    font-size: .9rem;
    color: #6b5560;
    cursor: pointer;
    border-radius: 999px;
    transition: background .2s, color .2s, box-shadow .2s;
    text-align: center;
    line-height: 1.25;
}
.hsx-rates__switch-btn small {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: .62rem;
    color: #9a8a8f;
    font-weight: 400;
    margin-top: .2rem;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.hsx-rates__switch-btn:hover { color: var(--ink-deep, #2f0a15); }
.hsx-rates__switch-btn.is-active {
    background: #fff;
    color: var(--ink-deep, #2f0a15);
    box-shadow: 0 1px 3px rgba(20,8,12,.12), 0 0 0 1px #ece6d5;
    font-weight: 500;
}
.hsx-rates__switch-btn.is-active small { color: var(--gold, #bd985c); }

.hsx-rates__panel {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    animation: hsxRatesFade .25s ease-out;
}
.hsx-rates__panel.is-active { display: block; }
@keyframes hsxRatesFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.hsx-rates__table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #ece6d5;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(20,8,12,.06);
}
.hsx-rates__table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
}
.hsx-rates__table thead th {
    background: #faf7f1;
    border-bottom: 1px solid #ece6d5;
    padding: 1rem 1.1rem;
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: #6b5560;
    font-weight: 500;
    text-align: center;
}
.hsx-rates__table thead th.hsx-rates__plan-col { text-align: left; }
.hsx-rates__table tbody tr { transition: background .15s; }
.hsx-rates__table tbody tr:hover { background: #faf7f1; }
.hsx-rates__table tbody td {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #f4efe2;
    text-align: center;
    vertical-align: middle;
}
.hsx-rates__table tbody tr:last-child td { border-bottom: 0; }
.hsx-rates__table tbody td.hsx-rates__plan-col {
    text-align: left;
    color: var(--ink-deep, #2f0a15);
    min-width: 200px;
}
.hsx-rates__plan-col strong {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: .25rem;
}
.hsx-rates__plan-col small {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold, #bd985c);
    border: 1px solid currentColor;
    padding: .12rem .55rem;
    border-radius: 999px;
}
.hsx-rates__price {
    font-family: var(--font-display, serif);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink-deep, #2f0a15);
    font-variant-numeric: tabular-nums;
}
.hsx-rates__dash {
    color: #c4b8b0;
    font-size: 1.1rem;
}

.hsx-rates__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 1.4rem auto 0;
    padding: 0 .25rem;
    color: #6b5560;
    font-size: .9rem;
}
.hsx-rates__foot strong { color: var(--ink-deep, #2f0a15); font-weight: 500; }
.hsx-rates__cta {
    display: inline-block;
    padding: .75rem 1.4rem;
    background: var(--ink-deep, #2f0a15);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .15s;
}
.hsx-rates__cta:hover { background: var(--gold, #bd985c); transform: translateY(-1px); }

@media (max-width: 720px) {
    .hsx-rates { padding: 3.5rem 1rem 4rem; }
    .hsx-rates__table thead th { padding: .65rem .55rem; font-size: .6rem; letter-spacing: .14em; }
    .hsx-rates__table tbody td { padding: .75rem .55rem; }
    .hsx-rates__price { font-size: .95rem; }
    .hsx-rates__switch-btn { padding: .5rem .85rem; font-size: .85rem; }
}

/* ───── Features strip ───── */
.hsx-features {
    background: #f4f1ea;
    padding: 3.5rem 1.25rem;
}
.hsx-features__row {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}
.hsx-feature {
    display: flex; align-items: flex-start; gap: 1rem;
}
.hsx-feature__icon {
    flex: 0 0 auto;
    color: var(--gold, #bd985c);
    width: 32px; height: 32px;
}
.hsx-feature__icon svg { width: 100%; height: 100%; }
.hsx-feature__title {
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 .35rem;
    font-weight: 500;
}
.hsx-feature__text {
    font-size: .86rem; color: #6b5560; line-height: 1.5; margin: 0;
    font-weight: 300;
}
@media (max-width: 980px) { .hsx-features__row { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 540px) { .hsx-features__row { grid-template-columns: 1fr; } }

/* ───── Testimonial ───── */
.hsx-testimonial {
    background: #ece6d9;
    padding: 4.5rem 1.25rem 5rem;
    text-align: center;
}
.hsx-testimonial__inner { max-width: 720px; margin: 0 auto; }
.hsx-testimonial__quote-mark {
    font-family: var(--font-display, serif);
    font-size: 4.5rem; line-height: .8;
    color: var(--gold, #bd985c);
    margin: 0 0 .8rem;
}
.hsx-testimonial__quote {
    font-family: var(--font-display, serif);
    font-weight: 300;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    line-height: 1.4;
    color: var(--ink-deep, #2f0a15);
    margin: 0 0 1.4rem;
    font-style: italic;
}
.hsx-testimonial__author {
    font-family: 'Jost', sans-serif;
    font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
    color: #7a6770;
    margin: 0;
}
.hsx-testimonial__dots {
    display: flex; gap: .4rem; justify-content: center; margin-top: 1.2rem;
}
.hsx-testimonial__dots span {
    width: 5px; height: 5px; border-radius: 50%; background: rgba(120, 110, 100, .35);
}

/* ───── Final CTA banner ───── */
.hsx-cta {
    position: relative;
    background: var(--ink-deep, #2f0a15) center/cover no-repeat;
    color: #fff;
    padding: 5.5rem 1.25rem 6rem;
    text-align: center;
    overflow: hidden;
}
.hsx-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,8,12,.55), rgba(20,8,12,.78));
}
.hsx-cta__inner { position: relative; max-width: 720px; margin: 0 auto; }
.hsx-cta__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin: 0 0 1.2rem;
    font-weight: 400;
}
.hsx-cta__title {
    font-family: var(--font-display, serif);
    font-weight: 200;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 1.6rem;
    color: #fff;
}
.hsx-cta__btn {
    display: inline-block;
    padding: 1rem 1.8rem;
    background: rgba(189,152,92,.92);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}
.hsx-cta__btn:hover { background: var(--gold, #bd985c); transform: translateY(-1px); }
.hsx-cta__fineprint {
    font-size: .8rem; color: rgba(255,255,255,.65); margin: 1.2rem 0 0;
    font-weight: 300;
}

/* CTA inline en sección "The Stay" */
.hsx-btn-outline {
    display: inline-block;
    padding: .9rem 1.6rem;
    border: 1px solid var(--ink-deep, #2f0a15);
    background: transparent;
    color: var(--ink-deep, #2f0a15);
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.hsx-btn-outline:hover { background: var(--ink-deep, #2f0a15); color: #fff; }
.hsx-btn--filled {
    background: rgba(189,152,92,.16);
    border-color: var(--gold, #bd985c);
    color: var(--ink-deep, #2f0a15);
}
.hsx-btn--filled:hover { background: var(--gold, #bd985c); color: #fff; }

/* ───── Modal de "The Stay" cards (info expandida de cada unidad) ───── */
.hsx-modal {
    position: fixed; inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.hsx-modal[hidden] { display: none; }
.hsx-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(20, 8, 12, .68);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: hsxModalFadeBg .25s ease-out;
}
@keyframes hsxModalFadeBg { from { opacity: 0; } to { opacity: 1; } }
.hsx-modal__panel {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(20, 8, 12, .5);
    animation: hsxModalSlide .3s ease-out;
}
@keyframes hsxModalSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hsx-modal__close {
    position: absolute;
    top: .8rem; right: .8rem;
    z-index: 2;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.95);
    border: 1px solid #ece6d5;
    border-radius: 50%;
    color: var(--ink-deep, #2f0a15);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.hsx-modal__close:hover { background: var(--ink-deep, #2f0a15); color: #fff; }
.hsx-modal__media {
    aspect-ratio: 16 / 9;
    background: #ddd6c7 center/cover no-repeat;
}
.hsx-modal__media.is-empty {
    background: linear-gradient(135deg, #ece6d9, #ddd6c7);
}
.hsx-modal__body { padding: 1.8rem 2rem 2rem; }
.hsx-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hsx-modal__title {
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-deep, #2f0a15);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
}
.hsx-modal__cap {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .12em;
    color: #6b5560;
    flex-shrink: 0;
    white-space: nowrap;
}
.hsx-modal__desc {
    color: #5a4854;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.6rem;
    font-weight: 300;
}
.hsx-modal__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hsx-modal__cta {
    display: inline-block;
    padding: .85rem 1.6rem;
    background: var(--ink-deep, #2f0a15);
    color: #fff;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .76rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, transform .15s;
}
.hsx-modal__cta:hover { background: var(--gold, #bd985c); transform: translateY(-1px); }
.hsx-modal__secondary {
    color: var(--ink-deep, #2f0a15);
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: .78rem;
    letter-spacing: .12em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .2s;
}
.hsx-modal__secondary:hover { color: var(--gold, #bd985c); }

@media (max-width: 600px) {
    .hsx-modal { padding: 0; }
    .hsx-modal__panel { max-height: 100vh; height: 100vh; max-width: none; }
    .hsx-modal__body { padding: 1.4rem 1.2rem 1.6rem; }
    .hsx-modal__title { font-size: .78rem; }
    .hsx-modal__desc { font-size: .94rem; line-height: 1.6; margin-bottom: 1.4rem; }
    .hsx-modal__actions { flex-direction: column; align-items: stretch; gap: .8rem; }
    .hsx-modal__cta { text-align: center; }
    .hsx-modal__secondary { text-align: center; align-self: center; }
}

/* ════════════════════════════════════════════════════════════════════════
   Refinamiento móvil — pase global de pulido para que se vea pro en mobile.
   No pisa los breakpoints específicos de cada sección, los complementa.
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* HERO compacto pero impactante */
    .hsx-hero { min-height: 62vh; padding: 4rem 1.1rem 4.5rem; }
    .hsx-hero__kicker { font-size: .68rem; letter-spacing: .26em; margin-bottom: 1rem; }
    .hsx-hero__title { font-size: clamp(1.75rem, 7vw, 2.4rem); line-height: 1.18; margin-bottom: 1rem; }
    .hsx-hero__lede { font-size: .94rem; line-height: 1.55; margin-bottom: 1.6rem; }
    .hsx-hero__cta { padding: .85rem 1.5rem; font-size: .72rem; gap: .6rem; }

    /* TRUST STRIP — alineación clara, gap chico */
    .hsx-trust { padding: 1.4rem 1.1rem; }
    .hsx-trust__row { gap: .9rem; }
    .hsx-trust__item { gap: .75rem; }
    .hsx-trust__icon { width: 22px; height: 22px; }
    .hsx-trust__title { font-size: .8rem; }
    .hsx-trust__sub { font-size: .74rem; line-height: 1.35; }

    /* THE STAY — vertical, paddings compactos */
    .hsx-stay { padding: 3rem 1.1rem 3.4rem; }
    .hsx-stay__grid { gap: 1.8rem; }
    .hsx-stay__eyebrow { font-size: .68rem; letter-spacing: .26em; margin-bottom: .75rem; }
    .hsx-stay__title { font-size: clamp(1.55rem, 5.6vw, 1.9rem); margin-bottom: .9rem; }
    .hsx-stay__divider { margin-bottom: 1rem; }
    .hsx-stay__lede { font-size: .94rem; line-height: 1.65; }
    .hsx-stay__cards { gap: 1rem; }
    .hsx-stay-card__media { aspect-ratio: 5 / 3; }
    .hsx-stay-card__body { padding: .9rem 1rem 1.1rem; gap: .4rem; }
    .hsx-stay-card__name { font-size: .76rem; letter-spacing: .14em; }
    .hsx-stay-card__cap { font-size: .72rem; }
    .hsx-stay-card__desc { font-size: .86rem; line-height: 1.5; }
    .hsx-stay__cta-wrap { margin-top: .4rem; }
    .hsx-btn-outline { display: block; padding: .85rem 1.2rem; font-size: .72rem; text-align: center; }

    /* ABOUT */
    .hsx-about { padding: 3rem 1.1rem 3.4rem; }
    .hsx-about__title { font-size: clamp(1.55rem, 5.6vw, 1.9rem); margin-bottom: 1rem; }
    .hsx-about__divider { margin-bottom: 1.2rem; }
    .hsx-about__text { font-size: .94rem; line-height: 1.7; }

    /* PLANS — cards más compactas + apiladas. En desktop son 3 columnas;
       en tablet/mobile colapsan a 1 columna ancha legible. La card
       "Recomendado" pierde el outline elevado y se distingue solo por el
       badge para evitar que se vea descolocada en stacked layout. */
    .hsx-plans { padding: 3rem 1.1rem 3.4rem; }
    .hsx-plans__head { margin-bottom: 1.8rem; }
    .hsx-plans__eyebrow { font-size: .68rem; letter-spacing: .26em; margin-bottom: .75rem; }
    .hsx-plans__grid {
        gap: 1.4rem;
        max-width: 520px;
        grid-template-columns: 1fr;
    }
    .hsx-plan { box-shadow: 0 6px 18px rgba(20, 8, 12, .12); }
    .hsx-plan:hover { transform: none; box-shadow: 0 6px 18px rgba(20, 8, 12, .12); }
    .hsx-plan--top { transform: none; outline: 1px solid var(--gold, #bd985c); outline-offset: -1px; }
    /* Versión MUY compacta para que entren las 3 cards en pantalla. La info
       extra (lista de inclusiones + CTA reservar) sigue colapsada detrás del
       botón "Ver detalles ▾" — solo esta versión "header" se reduce. */
    .hsx-plan__media { aspect-ratio: 21 / 9; }            /* antes 16/9 */
    .hsx-plan__body { padding: 1rem 1.1rem 1.1rem; gap: .35rem; text-align: center; }
    .hsx-plan__name { font-size: .82rem; letter-spacing: .18em; margin: 0; }
    .hsx-plan__board { font-size: .62rem; letter-spacing: .12em; padding-bottom: .55rem; margin-bottom: .35rem; }
    .hsx-plan__board::after { width: 24px; }
    .hsx-plan__lede { font-size: .85rem; line-height: 1.45; padding-bottom: .8rem; }
    .hsx-plan__lede::after { width: 24px; bottom: .25rem; }
    .hsx-plan__incl { font-size: .88rem; max-width: none; gap: .4rem; text-align: left; padding: 0 .5rem; }
    .hsx-plan__details { margin-top: 1.2rem; }
    .hsx-plan__cta { padding: .75rem 1.3rem; font-size: .72rem; letter-spacing: .18em; }
    .hsx-plan__panel { margin-top: 1.1rem; padding-top: 1rem; }
    .hsx-plan__panel-eyebrow { font-size: .64rem; letter-spacing: .22em; margin-bottom: .55rem; }
    .hsx-plan__rates li { padding: .45rem .1rem; font-size: .9rem; }
    .hsx-plan__rates-price { font-size: 1.05rem; }
    .hsx-plan__reserve { padding: .85rem 1.2rem; font-size: .7rem; letter-spacing: .18em; }
    .hsx-plan__badge { top: .7rem; left: 50%; transform: translateX(-50%); font-size: .58rem; padding: .25rem .7rem; letter-spacing: .18em; }
    /* Toggle "Ver detalles" más cerca del lede */
    .hsx-plan__toggle { margin-top: .2rem; padding: .35rem .7rem; font-size: .68rem; letter-spacing: .2em; }
    /* Reduce gap entre cards para que entren mejor */
    .hsx-plans { padding: 2.4rem 1.1rem 2.6rem; }
    .hsx-plans__head { margin-bottom: 1.4rem; }
    .hsx-plans__grid { gap: 1rem; }

    /* GALLERY — full bleed con flechas más chicas */
    .hsx-gallery { padding: 3rem 0 3.4rem; }
    .hsx-gallery__head { margin-bottom: 1.4rem; padding: 0 1.1rem; }
    .hsx-gallery__eyebrow { font-size: .68rem; letter-spacing: .26em; margin-bottom: .6rem; }
    .hsx-gallery__title { font-size: clamp(1.5rem, 5.6vw, 1.85rem); }
    .hsx-gallery__slide { box-shadow: 0 12px 24px rgba(20,8,12,.1); }
    .hsx-gallery__nav { width: 36px; height: 36px; }
    .hsx-gallery__nav svg { width: 16px; height: 16px; }

    /* RATES — switch + tabla más finas */
    .hsx-rates { padding: 3rem 1.1rem 3.4rem; }
    .hsx-rates__head { margin-bottom: 1.5rem; }
    .hsx-rates__eyebrow { font-size: .68rem; letter-spacing: .26em; margin-bottom: .7rem; }
    .hsx-rates__title { font-size: clamp(1.5rem, 5.6vw, 1.85rem); margin-bottom: .8rem; }
    .hsx-rates__lede { font-size: .9rem; line-height: 1.55; }
    .hsx-rates__switch { margin-bottom: 1.5rem; padding: .25rem; }
    .hsx-rates__switch-btn { padding: .5rem .9rem; font-size: .82rem; }
    .hsx-rates__switch-btn small { font-size: .58rem; letter-spacing: .12em; margin-top: .15rem; }
    .hsx-rates__price { font-size: .98rem; }
    .hsx-rates__plan-col strong { font-size: .92rem; }
    .hsx-rates__plan-col small { font-size: .58rem; letter-spacing: .14em; padding: .08rem .45rem; }
    .hsx-rates__foot {
        margin-top: 1.2rem;
        flex-direction: column;
        align-items: stretch;
        gap: .8rem;
        font-size: .85rem;
    }
    .hsx-rates__foot > span { text-align: center; }
    .hsx-rates__cta { display: block; text-align: center; padding: .85rem 1.2rem; font-size: .7rem; letter-spacing: .18em; }

    /* AMENITIES — lista vertical pulida */
    .hsx-amenities { padding: 3rem 1.1rem 3.4rem; }
    .hsx-amenities__head { margin-bottom: 1.6rem; }
    .hsx-amenities__title { font-size: clamp(1.5rem, 5.6vw, 1.85rem); }
    .hsx-amen { padding: .8rem .15rem; gap: .9rem; }
    .hsx-amen__icon { width: 22px; height: 22px; }
    .hsx-amen__label { font-size: .94rem; }

    /* PROPERTY INFO */
    .hsx-info { padding: 3rem 1.1rem 3.4rem; }
    .hsx-info__head { margin-bottom: 1.4rem; }
    .hsx-info__title { font-size: clamp(1.5rem, 5.6vw, 1.85rem); }
    .hsx-info__cell { padding: 1rem .55rem; }
    .hsx-info__icon { width: 22px; height: 22px; margin-bottom: .45rem; }
    .hsx-info__value { font-size: 1.4rem; margin-bottom: .25rem; }
    .hsx-info__label { font-size: .65rem; letter-spacing: .18em; }

    /* FEATURES */
    .hsx-features { padding: 2.6rem 1.1rem 3rem; }
    .hsx-features__row { gap: 1.4rem; }
    .hsx-feature { gap: .85rem; }
    .hsx-feature__icon { width: 26px; height: 26px; }
    .hsx-feature__title { font-size: .72rem; letter-spacing: .22em; margin-bottom: .3rem; }
    .hsx-feature__text { font-size: .84rem; line-height: 1.5; }

    /* TESTIMONIAL */
    .hsx-testimonial { padding: 3rem 1.1rem 3.4rem; }
    .hsx-testimonial__quote-mark { font-size: 3rem; margin-bottom: .5rem; }
    .hsx-testimonial__quote { font-size: clamp(1.1rem, 4.4vw, 1.4rem); line-height: 1.45; margin-bottom: 1.1rem; }
    .hsx-testimonial__author { font-size: .68rem; letter-spacing: .26em; }
    .hsx-testimonial__dots { margin-top: 1rem; }

    /* CTA banner */
    .hsx-cta { padding: 4rem 1.1rem 4.4rem; }
    .hsx-cta__eyebrow { font-size: .68rem; letter-spacing: .26em; margin-bottom: 1rem; }
    .hsx-cta__title { font-size: clamp(1.5rem, 5.6vw, 2rem); margin-bottom: 1.4rem; }
    .hsx-cta__btn { padding: .85rem 1.5rem; font-size: .72rem; letter-spacing: .18em; display: inline-block; }
    .hsx-cta__fineprint { font-size: .76rem; line-height: 1.45; margin-top: 1rem; }
}

/* Phone chico — refinos finales */
@media (max-width: 480px) {
    .hsx-hero { min-height: 56vh; }
    .hsx-hero__cta { width: 100%; max-width: 320px; justify-content: center; }
    .hsx-stay__cards { grid-template-columns: 1fr; }
    .hsx-trust__row { gap: .75rem; }
    .hsx-trust__title { font-size: .78rem; }
    .hsx-plan__incl { max-width: none; }
    .hsx-cta__btn { width: 100%; max-width: 320px; }
    .hsx-rates__switch { width: 100%; }
    .hsx-rates__switch-btn { flex: 1; min-width: 0; padding: .5rem .55rem; }
    .hsx-info__value { font-size: 1.25rem; }
    .hsx-info__cell { padding: .85rem .45rem; }
}
