/* ====================================================================
   PUELO SECRETO — SECTIONS
   Estilos específicos de cada sección de la landing.
   ==================================================================== */

/* === HERO (sticky-follow + parallax) === */
#location *{
    color: #1c1c1c;
}
.ps-hero {
        position: sticky;
        top: 0;
        height: min(930px, 100svh);
        min-height: 680px;
        background: var(--forest-mid);
        overflow: hidden;
        z-index: 0;            /* bajo, para que las siguientes secciones cubran */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--white);
}

.ps-hero__slider {
        width: 100%;
        height: 100%;
}

.ps-hero__slide {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        height: 100%;
}

.ps-hero__bg {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(180deg, rgba(6, 22, 13, .44), rgba(9, 22, 12, .13) 45%, rgba(6, 21, 14, .67)), var(--slide-bg);
        background-size: cover;
        background-position: center;
        will-change: transform;
        z-index: 0;
}

.ps-hero__inner {
        position: relative;
        z-index: 1;
        padding: 25px;
        max-width: 1100px;
        opacity: 1;
        transition: opacity var(--t-slow), transform var(--t-slow);
}

.ps-hero.is-out .ps-hero__inner {
        opacity: 0;
        transform: translateY(-40px);
}

.ps-hero__title {
        margin-bottom: .2em;
}

.ps-hero__text {
        font-size: var(--fs-base);
        max-width: 600px;
        margin: 28px auto 38px;
}

.ps-hero__bottom {
        position: absolute;
        bottom: 38px;
        left: var(--container-pad);
        right: var(--container-pad);
        display: flex;
        justify-content: space-between;
        z-index: 1;
        letter-spacing: .2em;
        font-size: var(--fs-tiny);
        opacity: .8;
}

.ps-hero__scroll-hint {
        display: inline-flex;
        align-items: center;
        gap: 8px;
}
.ps-hero__scroll-arrow {
        animation: ps-scroll-hint 1.6s ease-in-out infinite;
        display: inline-block;
}
@keyframes ps-scroll-hint {
        0%, 100% { transform: translateY(0); opacity: 1; }
        50%      { transform: translateY(6px); opacity: .6; }
}

/* Hero arrows */
.ps-hero__nav {
        position: absolute;
        top: 50%;
        width: 48px;
        height: 48px;
        border: 1px solid var(--white-50);
        background: rgba(255, 255, 255, .08);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;
        transform: translateY(-50%);
        transition: var(--t-fast);
        opacity: 0;
        pointer-events: none;
}
.ps-hero:hover .ps-hero__nav {
        opacity: 1;
        pointer-events: auto;
}
.ps-hero__nav:hover {
        background: var(--white);
        color: var(--forest);
        border-color: var(--white);
}
.ps-hero__nav--prev { left: 24px; }
.ps-hero__nav--next { right: 24px; }
.ps-hero__nav--prev::before { content: '←'; font-size: 18px; }
.ps-hero__nav--next::before { content: '→'; font-size: 18px; }

/* === STORY === */
.ps-intro-photo {
        border-radius: var(--radius);
        box-shadow: var(--shadow-card);
}

/* Todas las secciones después del hero necesitan z-index superior y
   fondo propio para que "suban" por encima del hero sticky. */
.ps-intro,
.ps-yurts-section,
.ps-experiences-section,
.ps-reserve,
.ps-contact {
        position: relative;
        z-index: 1;
        background: var(--cream);
}
.ps-yurts-section,
.ps-location {
        position: relative;
        z-index: 1;
        background: var(--forest);
        color: var(--cream);
}
.ps-widephoto {
        position: relative;
        z-index: 1;
}

/* === YURTS === */
.ps-yurts-section { padding-top: 0; }
.ps-yurts-section .ps-center { margin-bottom: 60px; }

.ps-yurt {
        background: var(--cream-light);
        color: var(--forest);
        overflow: hidden;
        transition: transform var(--t-slow), box-shadow var(--t-slow);
        display: flex;
        flex-direction: column;
}
.ps-yurt:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-card);
}

.ps-yurt__photo img {
        height: 380px;
}

.ps-yurt-info {
        padding: 28px 32px 34px;
        flex: 1;
        display: flex;
        flex-direction: column;
}

.ps-yurt-info p { margin-top: 0; flex: 1; }

.ps-yurt-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--line);
        padding-top: 18px;
        margin-top: 22px;
        font-size: var(--fs-small);
        letter-spacing: .13em;
}

.ps-yurt-reserve {
        position: relative;
        transition: color var(--t-fast);
}
.ps-yurt-reserve::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 100%;
        height: 1px;
        background: currentColor;
        transform: scaleX(.6);
        transform-origin: left;
        transition: transform var(--t-med);
}
.ps-yurt-reserve:hover::after { transform: scaleX(1); }

/* === WIDE PHOTO === */
.ps-widephoto {
        height: 570px;
        position: relative;
        background: linear-gradient(rgba(21, 45, 32, .5), rgba(21, 45, 32, .44)), var(--forest-mid);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--white);
        padding: 35px;
        overflow: hidden;
        will-change: background-position;
}

.ps-widephoto--video .ps-widephoto__video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
}

.ps-widephoto__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(21, 45, 32, .5), rgba(21, 45, 32, .44));
        z-index: 1;
}

.ps-widephoto__content {
        position: relative;
        z-index: 2;
        max-width: 1000px;
}
.ps-widephoto__content h2 { max-width: 900px; margin: 12px auto 0; }

/* === EXPERIENCES === */
.ps-experiences-section h2 { margin-bottom: 50px; }

.ps-experience {
        background: transparent;
        transition: transform var(--t-slow);
}
.ps-experience:hover { transform: translateY(-4px); }

.ps-experience__photo img { height: 320px; }

.ps-experience-info { padding-top: 22px; }

.ps-experience-info h3 {
        font-size: 27px;
        margin: 0 0 10px;
}

.ps-experience-info p {
        font-size: 14px;
        margin: 0;
}

/* === LOCATION === */
.ps-location { padding-top: 0; }
.ps-location .ps-intro { gap: var(--gutter-intro); }

/* === RESERVE === */
.ps-reserve__intro p:first-of-type {
        margin-top: 14px;
}

/* === CONTACT === */
.ps-contact__intro p strong { color: var(--forest); }
.ps-contact__intro p:last-of-type { margin-bottom: 0; }
