/* =========================================================
   VERANO 2027 — estilos de la home (index.php)
   Se carga solo en el inicio vía $extraCss, después de style.css.
   Todo con CSS nativo: sin librerías.
========================================================= */

:root {
    --v27-arena-oscuro: #8a7657;   /* arena con contraste suficiente sobre fondos claros */
    --v27-dorado: #e6c98f;
    --v27-linea: #e7e1d7;
    --v27-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --v27-gutter: max(5%, calc((100% - 1200px) / 2));
}

/* ---------- Utilidades ---------- */
.v27-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--v27-arena-oscuro);
    margin-bottom: 14px;
}
.v27-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.v27-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 1.1s var(--v27-ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}
.v27-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* =========================================
   HERO
========================================= */
.v27-hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v27-hero .hero-video {
    animation: v27Zoom 26s ease-in-out infinite alternate;
}
.v27-hero .hero-overlay {
    background: linear-gradient(180deg,
        rgba(20, 30, 21, 0.55) 0%,
        rgba(44, 62, 45, 0.42) 45%,
        rgba(20, 30, 21, 0.78) 100%);
}
.v27-hero .hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding-top: 70px;
    max-width: 900px;
}
.v27-hero .hero-tagline {
    letter-spacing: 0.32em;
}

.v27-hero-title {
    font-size: clamp(38px, 6.2vw, 78px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}
.v27-hero-title em {
    font-style: italic;
    color: var(--color-arena);
}
.v27-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: 0 0.12em 0.1em 0.02em;   /* aire para las itálicas y descendentes */
    margin: 0 -0.12em -0.1em -0.02em;
}
.v27-w > span {
    display: inline-block;
    transform: translateY(110%);
    animation: v27WordUp 1.1s var(--v27-ease) forwards;
    animation-delay: calc(0.35s + var(--i) * 0.09s);
}

.v27-hero-text {
    font-size: 17px;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
    animation: v27FadeUp 1s ease 1.2s both;
}

.v27-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    animation: v27FadeUp 1s ease 1.45s both;
}
.v27-hero-ctas .btn {
    margin: 0;
    border-radius: 999px;
}

.v27-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 18px 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--color-blanco);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-decoration: none;
    animation: v27FadeUp 1s ease 0.1s both;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.v27-hero-badge strong { color: var(--v27-dorado); }
.v27-hero-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}
.v27-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--v27-dorado);
    flex-shrink: 0;
    animation: navPulse 2.4s ease-out infinite;
}

.v27-scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 3;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    animation: v27FadeUp 1s ease 2s both;
}
.v27-scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--color-blanco);
    animation: v27Scroll 2s ease-in-out infinite;
}

/* El contenido del hero se desvanece al scrollear (navegadores que lo soportan) */
@supports (animation-timeline: scroll()) {
    .v27-hero .hero-content {
        animation: v27HeroOut linear both;
        animation-timeline: scroll(root);
        animation-range: 0 85vh;
    }
}

/* =========================================
   CINTA (MARQUEE)
========================================= */
.v27-marquee {
    background: var(--color-verde-bosque);
    color: var(--color-arena);
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid rgba(212, 197, 176, 0.15);
}
.v27-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: v27Marquee 50s linear infinite;
}
.v27-marquee:hover .v27-marquee-track { animation-play-state: paused; }
.v27-marquee span {
    font-family: var(--fuente-titulos);
    font-style: italic;
    font-size: 22px;
    white-space: nowrap;
    margin-right: 30px;
}
.v27-marquee i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-arena);
    opacity: 0.55;
    margin-right: 30px;
    flex-shrink: 0;
}

/* =========================================
   EL LUGAR
========================================= */
.v27-quote {
    font-family: var(--fuente-titulos);
    font-style: italic;
    font-size: 21px;
    line-height: 1.45;
    color: var(--color-verde-bosque);
    border-left: 2px solid var(--color-arena);
    padding-left: 18px;
    margin-top: 10px;
}
#el-lugar .css-slider {
    border-radius: 18px;
}

/* =========================================
   LA PROPUESTA
========================================= */
.v27-propuesta {
    background: var(--color-blanco);
    padding: 100px 0;
}
.v27-propuesta .section-title { margin-bottom: 10px; }

.v27-amenities {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin-top: 50px;
    background: var(--v27-linea);
    border: 1px solid var(--v27-linea);
    border-radius: 18px;
    overflow: hidden;
}
.v27-amenities li {
    background: var(--color-blanco);
    padding: 36px 20px 32px;
    text-align: center;
    transition: background-color 0.5s ease, opacity 0.9s ease, transform 1.1s var(--v27-ease);
    transition-delay: 0s, calc(var(--d, 0) * 70ms), calc(var(--d, 0) * 70ms);
}
.v27-amenities li:hover { background: var(--color-crema); }
.v27-amenities svg {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    fill: none;
    stroke: var(--color-verde-bosque);
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.5s var(--v27-ease);
}
.v27-amenities svg * {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s ease;
    transition-delay: calc(0.25s + var(--d, 0) * 90ms);
}
.v27-amenities li.is-in svg * { stroke-dashoffset: 0; }
.v27-amenities li:hover svg { transform: translateY(-4px); }
.v27-amenities strong {
    display: block;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: 19px;
    color: var(--color-verde-bosque);
    margin-bottom: 6px;
}
.v27-amenities span {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: #777;
}

/* =========================================
   RECORRIDO (carrusel)
========================================= */
.v27-recorrido {
    background: var(--color-crema);
    padding: 90px 0 70px;
    overflow: hidden;
}
.v27-recorrido-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
}
.v27-recorrido-head .section-title { margin-bottom: 0; }

.v27-carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.v27-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--color-verde-bosque);
    background: transparent;
    color: var(--color-verde-bosque);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.v27-carousel-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.v27-carousel-btn:hover {
    background: var(--color-verde-bosque);
    color: var(--color-blanco);
}
.v27-carousel-btn:active { transform: scale(0.94); }

.v27-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0 var(--v27-gutter) 6px;
    scroll-padding-inline: var(--v27-gutter);
    scrollbar-width: none;
    cursor: grab;
    outline: none;
}
.v27-carousel::-webkit-scrollbar { display: none; }
.v27-carousel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}
.v27-carousel.is-dragging img { pointer-events: none; }
.v27-carousel:focus-visible { outline: 2px solid var(--color-arena); outline-offset: 4px; }

.v27-slide {
    position: relative;
    flex: 0 0 clamp(250px, 27vw, 350px);
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--color-verde-bosque);
    user-select: none;
}
.v27-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--v27-ease);
}
.v27-slide:hover img { transform: scale(1.06); }
.v27-slide::after {
    content: "";
    position: absolute;
    inset: 45% 0 0 0;
    background: linear-gradient(transparent, rgba(15, 24, 16, 0.78));
    pointer-events: none;
}
.v27-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 22px 22px 24px;
    color: var(--color-blanco);
}
.v27-slide-num {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-arena);
    margin-bottom: 6px;
}
.v27-slide strong {
    display: block;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.15;
}
.v27-slide figcaption > span:last-child {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
    transform: translateY(6px);
    transition: transform 0.6s var(--v27-ease);
}
.v27-slide:hover figcaption > span:last-child { transform: none; }

.v27-progress {
    height: 2px;
    margin-top: 30px;
    background: var(--v27-linea);
    overflow: hidden;
    border-radius: 2px;
}
.v27-progress span {
    display: block;
    height: 100%;
    background: var(--color-verde-bosque);
    transform-origin: left;
    transform: scaleX(0.08);
    transition: transform 0.25s ease-out;
}

/* =========================================
   PREVENTA VERANO 2027
========================================= */
.v27-preventa {
    position: relative;
    overflow: hidden;
    background: var(--color-verde-bosque);
    color: var(--color-blanco);
    padding: 120px 0 56px;
    scroll-margin-top: 60px;
    isolation: isolate; /* la foto y el velo quedan detrás del contenido */
}
.v27-preventa-bg {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
}
.v27-preventa-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v27-preventa::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg,
        rgba(24, 36, 25, 0.97) 0%,
        rgba(36, 52, 37, 0.9) 45%,
        rgba(44, 62, 45, 0.62) 100%);
}
.v27-preventa-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.v27-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(212, 197, 176, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-arena);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.v27-preventa-title {
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: clamp(58px, 8.4vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--color-blanco);
    margin: 24px 0 16px;
}
.v27-preventa-title em {
    font-style: italic;
    color: var(--color-arena);
}

.v27-meses {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
}
.v27-meses i {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-arena);
    vertical-align: middle;
    margin: 0 10px;
}

.v27-preventa-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
}

.v27-countdown {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin: 28px 0 32px;
    padding: 12px 20px 12px 18px;
    border-left: 2px solid var(--color-arena);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 10px 10px 0;
}
.v27-cd-num {
    font-family: var(--fuente-titulos);
    font-size: 40px;
    line-height: 1;
    color: var(--color-arena);
}
.v27-cd-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.v27-preventa-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}
.v27-preventa-ctas .btn {
    margin: 0;
    border-radius: 999px;
}
.v27-tel {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.v27-tel strong { color: var(--color-blanco); font-weight: 600; }
.v27-tel:hover { color: var(--color-blanco); }

/* Tarjetas de beneficios */
.v27-beneficios {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.v27-beneficio {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-height: 170px;
    padding: 26px 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: opacity 0.9s ease, transform 0.6s var(--v27-ease), background-color 0.5s ease, border-color 0.5s ease;
    transition-delay: calc(var(--d, 0) * 110ms), 0s, 0s, 0s;
}
.v27-beneficio.is-in:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(212, 197, 176, 0.45);
}
/* brillo que cruza la tarjeta al pasar el mouse */
.v27-beneficio::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-18deg);
    transition: left 0.9s var(--v27-ease);
    pointer-events: none;
}
.v27-beneficio:hover::after { left: 130%; }

.v27-beneficio svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--color-arena);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: auto;
}
.v27-b-tag {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.75;
}
.v27-b-num {
    font-family: var(--fuente-titulos);
    font-size: 66px;
    line-height: 0.95;
    color: var(--color-arena);
}
.v27-b-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.v27-b-sub {
    font-size: 13px;
    opacity: 0.72;
}

.v27-beneficio--main {
    grid-row: 1 / span 2;
    justify-content: center;
    background: var(--color-arena);
    border-color: var(--color-arena);
    color: var(--color-verde-bosque);
}
.v27-beneficio--main.is-in:hover {
    background: #ddd0bd;
    border-color: #ddd0bd;
}
.v27-beneficio--main .v27-b-num {
    font-size: clamp(72px, 7vw, 108px);
    color: var(--color-verde-bosque);
    letter-spacing: -0.03em;
}
.v27-beneficio--main .v27-b-label { font-size: 15px; }

.v27-beneficio--gift {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    min-height: 0;
    padding-top: 48px;
    background: linear-gradient(120deg, rgba(212, 197, 176, 0.24), rgba(255, 255, 255, 0.05));
}
.v27-beneficio--gift svg { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.v27-b-body { display: flex; flex-direction: column; gap: 4px; }

.v27-legal {
    position: relative;
    margin-top: 56px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.55);
}

/* =========================================
   DE A DOS
========================================= */
.v27-dos {
    background: var(--color-blanco);
    padding: 110px 0;
}
.v27-dos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.v27-dos-media {
    position: relative;
    padding: 0 70px 70px 0;
}
.v27-dos-img {
    border-radius: 20px;
    overflow: hidden;
}
.v27-dos-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v27-dos-img--main { aspect-ratio: 4 / 5; }
.v27-dos-img--small {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44%;
    aspect-ratio: 3 / 4;
    border: 8px solid var(--color-blanco);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
}
.v27-dos-img--small.reveal-img::after { transition-delay: 0.3s; }

.v27-momentos {
    list-style: none;
    counter-reset: momento;
    margin: 28px 0 32px;
    border-top: 1px solid var(--v27-linea);
}
.v27-momentos li {
    counter-increment: momento;
    position: relative;
    padding: 15px 0 15px 44px;
    border-bottom: 1px solid var(--v27-linea);
    font-family: var(--fuente-titulos);
    font-style: italic;
    font-size: 19px;
    color: var(--color-verde-bosque);
    transition: padding-left 0.4s var(--v27-ease);
}
.v27-momentos li::before {
    content: counter(momento, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 20px;
    font-family: var(--fuente-textos);
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--v27-arena-oscuro);
}
.v27-momentos li:hover { padding-left: 52px; }

.v27-mini-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}
.v27-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.v27-chips span {
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid #e0d6c6;
    background: var(--color-crema);
    font-size: 13px;
    color: var(--color-verde-bosque);
}
.v27-dos .nota-chica { margin-top: 14px; }

/* =========================================
   CABAÑAS (sección existente, retoques)
========================================= */
#cabanas .cabanas-card { border-radius: 16px; }
#cabanas .img-inner { border-radius: 12px; }
.v27-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-verde-bosque);
    text-decoration: none;
}
.v27-link-arrow span { transition: transform 0.35s var(--v27-ease); }
.v27-link-arrow:hover span { transform: translateX(6px); }

/* =========================================
   ESPACIOS + QUINCHO
========================================= */
#espacios .esp-card { border-radius: 16px; }
.v27-badge-nuevo {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--color-arena);
    color: var(--color-verde-bosque);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.v27-quincho {
    display: grid;
    grid-template-columns: 1fr 2.3fr;
    gap: 44px;
    align-items: center;
    margin-top: 80px;
}
.v27-quincho-title {
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: 34px;
    line-height: 1.15;
    color: var(--color-verde-bosque);
    margin-bottom: 14px;
}
.v27-quincho-text p:last-child {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}
.v27-quincho-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
}
.v27-quincho-grid figure {
    margin: 0;
    padding: 0;
}
.v27-quincho-grid figure:nth-child(even) { margin-top: 44px; }
.v27-quincho-grid .img-inner {
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.v27-quincho-grid .img-inner img { height: 280px; }

/* =========================================
   PARALLAX CON SCROLL (solo navegadores que lo soportan)
========================================= */
@supports (animation-timeline: view()) {
    .v27-parallax img {
        animation: v27Parallax linear both;
        animation-timeline: view();
    }
}

/* =========================================
   KEYFRAMES
========================================= */
@keyframes v27WordUp  { to { transform: translateY(0); } }
@keyframes v27FadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes v27Zoom    { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes v27Scroll  {
    0%   { opacity: 0; transform: translateY(0); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}
@keyframes v27Marquee { to { transform: translateX(-50%); } }
@keyframes v27HeroOut { to { opacity: 0; transform: translateY(-60px); } }
@keyframes v27Parallax {
    from { transform: translateY(-7%) scale(1.14); }
    to   { transform: translateY(7%) scale(1.14); }
}

/* =========================================
   RESPONSIVE
========================================= */
@media screen and (max-width: 1100px) {
    .v27-amenities { grid-template-columns: repeat(5, 1fr); }
    .v27-amenities li { padding: 30px 14px 26px; }
    .v27-preventa-grid { gap: 40px; }
    .v27-quincho { grid-template-columns: 1fr; gap: 28px; }
}

@media screen and (max-width: 900px) {
    .v27-amenities { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
    .v27-amenities li:last-child:nth-child(odd) { grid-column: 1 / -1; }

    .v27-preventa { padding: 90px 0 44px; }
    .v27-preventa-grid { grid-template-columns: 1fr; gap: 44px; }

    .v27-dos { padding: 80px 0; }
    .v27-dos-grid { grid-template-columns: 1fr; gap: 50px; }
    .v27-dos-media { padding: 0 44px 50px 0; }

    .v27-quincho-grid { grid-template-columns: repeat(2, 1fr); }
    .v27-quincho-grid figure:nth-child(even) { margin-top: 30px; }
    .v27-quincho-grid .img-inner img { height: 220px !important; }
}

@media screen and (max-width: 768px) {
    .v27-br-desk { display: none; }
    .v27-hero .hero-content { padding-top: 90px; }
    .v27-hero-text { font-size: 15px; margin-bottom: 28px; }
    .v27-hero-ctas { flex-direction: column; align-items: center; }
    .v27-hero-ctas .btn { width: 100%; max-width: 300px; }
    .v27-hero-badge { font-size: 11px; padding: 7px 14px 7px 12px; }

    .v27-marquee { padding: 14px 0; }
    .v27-marquee span { font-size: 18px; margin-right: 22px; }
    .v27-marquee i { margin-right: 22px; }

    .v27-propuesta { padding: 70px 0; }
    .v27-recorrido { padding: 70px 0 56px; }
    .v27-recorrido-head { align-items: flex-end; }
    .v27-carousel-btn { width: 42px; height: 42px; }
    .v27-slide { flex-basis: 76vw; }
    .v27-carousel { gap: 14px; }

    .v27-preventa-ctas { flex-direction: column; align-items: flex-start; }
    .v27-preventa-ctas .btn { width: auto; margin: 0; }
    .v27-beneficio { min-height: 140px; padding: 22px 18px; border-radius: 16px; }
    .v27-b-num { font-size: 52px; }
    .v27-b-tag { left: 18px; top: 16px; }
    .v27-beneficio--gift { padding-top: 42px; }

    .v27-meses { font-size: 11px; letter-spacing: 0.16em; }
    .v27-meses i { margin: 0 7px; }

    #cabanas .amenities-list { max-width: 280px; margin: 0 auto; text-align: left; }

    .v27-momentos li { font-size: 17px; }
    .v27-quincho-title { font-size: 28px; }
}

@media screen and (max-width: 420px) {
    .v27-beneficios { grid-template-columns: 1fr; }
    .v27-beneficio--main { grid-row: auto; min-height: 190px; }
    .v27-cd-num { font-size: 32px; }
}

/* =========================================
   BOTÓN SUTIL "VERANO 2027" (home)
========================================= */
.v27-pill {
    position: fixed;
    left: 50%;
    bottom: 34px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    background: rgba(44, 62, 45, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 197, 176, 0.35);
    box-shadow: 0 10px 30px rgba(20, 30, 21, 0.25);
    color: var(--color-blanco);
    font-size: 13px;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: opacity 0.5s ease, transform 0.6s var(--v27-ease), background-color 0.3s ease;
}
.v27-pill.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.v27-pill:hover { background: var(--color-verde-bosque); }
.v27-pill svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--v27-dorado);
    stroke-width: 1.6;
    stroke-linecap: round;
    animation: v27Spin 18s linear infinite;
}
.v27-pill strong { font-weight: 600; color: var(--color-arena); }
.v27-pill em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--color-arena);
    color: var(--color-verde-bosque);
}
.v27-pill i {
    font-style: normal;
    transition: transform 0.35s var(--v27-ease);
}
.v27-pill:hover i { transform: translateX(4px); }
@keyframes v27Spin { to { transform: rotate(360deg); } }

@media screen and (max-width: 768px) {
    .v27-pill {
        bottom: 88px;           /* por encima de los botones flotantes de Reservar / WhatsApp */
        font-size: 12px;
        padding: 9px 14px 9px 12px;
    }
}

/* =========================================
   PÁGINA VERANO 2027
========================================= */
.v27-preventa--hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 150px 0 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.v27-preventa--hero .v27-scroll-cue { bottom: 24px; }

.v27-btn-verde {
    background: var(--color-verde-bosque);
    border-color: var(--color-verde-bosque);
    color: var(--color-blanco);
    border-radius: 999px;
}
.v27-btn-verde:hover {
    background: transparent;
    color: var(--color-verde-bosque);
}

/* Cómo reservar */
.v27-pasos-wrap { background: var(--color-crema); padding: 100px 0; }
.v27-pasos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 46px 0 44px;
    counter-reset: paso;
}
.v27-pasos li {
    position: relative;
    padding: 34px 30px 30px;
    background: var(--color-blanco);
    border: 1px solid var(--v27-linea);
    border-radius: 20px;
}
.v27-pasos li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -25px;
    width: 26px;
    height: 1px;
    background: var(--color-arena);
}
.v27-paso-num {
    display: block;
    font-family: var(--fuente-titulos);
    font-size: 44px;
    line-height: 1;
    color: var(--color-arena);
    margin-bottom: 18px;
}
.v27-pasos strong {
    display: block;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: 23px;
    color: var(--color-verde-bosque);
    margin-bottom: 8px;
}
.v27-pasos p { font-size: 14px; line-height: 1.75; color: #666; }

/* Mosaico */
.v27-verano { background: var(--color-blanco); padding: 100px 0; }
.v27-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px;
    gap: 14px;
    margin-top: 46px;
}
.v27-bento figure {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
}
.v27-bento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v27-bento figure:hover img { transform: scale(1.05); transition: transform 1.2s var(--v27-ease); }
.v27-bento figure::before {
    content: "";
    position: absolute;
    inset: 50% 0 0 0;
    z-index: 1;
    background: linear-gradient(transparent, rgba(15, 24, 16, 0.7));
    pointer-events: none;
}
.v27-bento figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 3;
    color: var(--color-blanco);
    font-family: var(--fuente-titulos);
    font-size: 19px;
    line-height: 1.2;
}
.v27-bento-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.v27-bento-b { grid-column: 3; grid-row: 1; }
.v27-bento-c { grid-column: 4; grid-row: 1; }
.v27-bento-d { grid-column: 3; grid-row: 2; }
.v27-bento-e { grid-column: 4; grid-row: 2; }

/* Cierre */
.v27-cierre {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 140px 0;
    text-align: center;
    color: var(--color-blanco);
    background: var(--color-verde-bosque);
}
.v27-cierre-bg { position: absolute; inset: -12% 0; z-index: -2; }
.v27-cierre-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v27-cierre::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(24, 36, 25, 0.72);
}
.v27-cierre-frase {
    font-family: var(--fuente-titulos);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.12;
    margin-bottom: 34px;
}
.v27-cierre-frase em { font-style: italic; color: var(--color-arena); }
.v27-cierre-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
    justify-content: center;
    align-items: center;
}
.v27-cierre-ctas .btn { margin: 0; border-radius: 999px; }
.v27-link-claro {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
}
.v27-link-claro:hover { color: var(--color-blanco); border-color: var(--color-blanco); }

@media screen and (max-width: 900px) {
    .v27-preventa--hero { padding: 130px 0 80px; }
    .v27-pasos { grid-template-columns: 1fr; gap: 14px; }
    .v27-pasos li:not(:last-child)::after { display: none; }
    .v27-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 190px 190px;
    }
    .v27-bento-a { grid-column: 1 / -1; grid-row: 1; }
    .v27-bento-b { grid-column: 1; grid-row: 2; }
    .v27-bento-c { grid-column: 2; grid-row: 2; }
    .v27-bento-d { grid-column: 1; grid-row: 3; }
    .v27-bento-e { grid-column: 2; grid-row: 3; }
    .v27-pasos-wrap, .v27-verano { padding: 70px 0; }
    .v27-cierre { padding: 100px 0; }
}
@media screen and (max-width: 768px) {
    .v27-cierre-ctas { flex-direction: column; }
    .v27-bento figcaption { font-size: 16px; left: 14px; bottom: 12px; }
}

/* Portada de la página Verano 2027: foto aérea completa, sin zoom ni movimiento */
.v27-preventa-bg--fija { inset: 0; }
.v27-preventa-bg--fija img { transform: none !important; animation: none !important; }

/* En celular la portada es muy alta: la foto (vertical) ocupa la parte de arriba
   y se funde con el verde, en lugar de estirarse a todo el alto */
.v27-preventa-bg--fija picture { display: block; width: 100%; height: 100%; }
@media screen and (max-width: 768px) {
    .v27-preventa-bg--fija { bottom: auto; height: 115svh; }
    .v27-preventa-bg--fija img {
        object-position: center 70% !important;
        -webkit-mask-image: linear-gradient(#000 55%, transparent);
        mask-image: linear-gradient(#000 55%, transparent);
    }
}

/* =========================================
   DECORACIÓN SUTIL (rama de chirca + ondas de mar)
   Dibujos propios en línea fina, casi transparentes, detrás del contenido.
========================================= */
.v27-deco { position: relative; isolation: isolate; overflow: hidden; }
.v27-deco::before,
.v27-deco::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }

/* Rama de chirca en un rincón */
.v27-deco--rama-der::before,
.v27-deco--rama-izq::before {
    width: 300px; height: 394px;
    background: url('img/2027/deco-chirca.svg') no-repeat center / contain;
    opacity: .09;
    animation: v27Brisa 14s ease-in-out infinite alternate;
}
.v27-deco--rama-der::before { top: 24px; right: -40px; transform-origin: 20% 95%; }
.v27-deco--rama-izq::before { bottom: 24px; left: -40px; transform-origin: 80% 95%; scale: -1 1; }

/* Ondas de mar como franja al pie */
.v27-deco--ondas::after {
    left: 0; right: 0; bottom: 18px; height: 96px;
    background: url('img/2027/deco-ondas.svg') repeat-x 0 50% / 120px 96px;
    opacity: .07;
}

/* La rama se mece apenas, como con brisa */
@keyframes v27Brisa {
    from { rotate: -2deg; }
    to   { rotate: 2deg; }
}

@media screen and (max-width: 768px) {
    .v27-deco--rama-der::before,
    .v27-deco--rama-izq::before { width: 180px; height: 236px; opacity: .08; }
    .v27-deco--rama-der::before { right: -50px; top: 12px; }
    .v27-deco--rama-izq::before { left: -50px; bottom: 12px; }
    .v27-deco--ondas::after { height: 70px; background-size: 90px 72px; bottom: 10px; }
}
@media screen and (max-width: 768px) {
    /* velo vertical: deja ver la foto arriba y oscurece donde está el texto */
    .v27-preventa--hero::before {
        background: linear-gradient(180deg,
            rgba(24, 36, 25, .45) 0%,
            rgba(24, 36, 25, .70) 22%,
            rgba(36, 52, 37, .92) 45%,
            rgba(44, 62, 45, 1) 70%);
    }
    .v27-preventa--hero .v27-preventa-intro { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
}

/* "Pensado para dos" en la página Verano: fondo crema para alternar con las secciones blancas */
.v27-page .v27-dos { background: var(--color-crema); }
.v27-btn-propuesta { margin: 0; border-radius: 999px; }

/* =========================================
   CELULAR: versión liviana y tranquila
   Sin video (queda la foto del primer cuadro), sin movimientos continuos
   y con el contenido visible de entrada.
========================================= */
@media screen and (max-width: 768px) {
    /* nada de zoom ni parallax ni brisa */
    .v27-hero .hero-video,
    .v27-parallax img,
    .v27-deco--rama-der::before,
    .v27-deco--rama-izq::before,
    .v27-hero .hero-content { animation: none !important; }
    .v27-parallax img { transform: none !important; }

    /* cinta de palabras: quieta */
    .v27-marquee-track { animation: none; }

    /* contenido visible sin esperar animaciones de entrada */
    .v27-reveal, .anim-slide-up { opacity: 1 !important; transform: none !important; transition: none !important; }
    .reveal-img::after { display: none; }
    .reveal-img img { opacity: 1 !important; transform: none !important; transition: none !important; }
    .v27-amenities svg * { stroke-dashoffset: 0 !important; transition: none !important; }

    /* slider de "El lugar": una sola foto fija (las demás ni se descargan) */
    .css-slider img { animation: none; }
    .css-slider img:first-child { opacity: 1; }
    .css-slider img:not(:first-child) { display: none; }

    /* botón flotante sin girar */
    .v27-pill svg { animation: none; }
}
@media screen and (max-width: 768px) {
    .v27-hero-badge-dot, .main-nav a.nav-destacado::before, .v27-scroll-cue span { animation: none; }
    .v27-scroll-cue { display: none; }
}

/* Orden nuevo de la página Verano: propuesta (blanco) → tu verano (crema) → pensado para dos (blanco) */
.v27-page .v27-verano { background: var(--color-crema); }
.v27-page .v27-dos { background: var(--color-blanco); }

/* Botones de la portada de Verano: mismo tamaño y misma forma */
.v27-preventa--hero .v27-preventa-ctas .btn {
    min-width: 270px;
    padding: 16px 30px;
    text-align: center;
    border-radius: 999px;
    border-width: 2px;
}
.v27-preventa--hero .v27-btn-propuesta {
    background: transparent;
    border-color: var(--color-arena);
    color: var(--color-arena);
}
.v27-preventa--hero .v27-btn-propuesta:hover {
    background: var(--color-arena);
    color: var(--color-verde-bosque);
}
.v27-preventa--hero .v27-tel { flex-basis: 100%; }
@media screen and (max-width: 768px) {
    .v27-preventa--hero .v27-preventa-ctas { flex-direction: column; align-items: stretch; }
    .v27-preventa--hero .v27-preventa-ctas .btn { width: 100%; min-width: 0; }
    .v27-preventa--hero .v27-tel { text-align: center; }
}
@media screen and (min-width: 769px) {
    /* compu: los dos botones lado a lado, exactamente del mismo ancho */
    .v27-preventa--hero .v27-preventa-ctas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
        max-width: 560px;
    }
    .v27-preventa--hero .v27-preventa-ctas .btn {
        min-width: 0;
        width: 100%;
        padding: 16px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .v27-preventa--hero .v27-tel { grid-column: 1 / -1; }
}


/* =========================================
   RETIROS 2027 — en segundo plano (la preventa va primero)
========================================= */
/* link discreto debajo de los botones de la portada */
.v27-hero-retiros {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    animation: v27FadeUp 1s ease 1.7s both;
    transition: color .3s ease, border-color .3s ease;
}
.v27-hero-retiros span { display: inline-block; transition: transform .35s var(--v27-ease); }
.v27-hero-retiros:hover { color: var(--color-blanco); border-color: var(--color-blanco); }
.v27-hero-retiros:hover span { transform: translateX(5px); }

/* franja al final del inicio */
.v27-retiros-teaser {
    background: var(--color-blanco);
    border-top: 1px solid var(--v27-linea);
    padding: 64px 0;
}
.v27-retiros-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px 50px;
}
.v27-retiros-teaser-title {
    font-family: var(--fuente-titulos);
    font-weight: 400;
    font-size: 38px;
    line-height: 1.15;
    color: var(--color-verde-bosque);
    margin-bottom: 10px;
}
.v27-retiros-teaser-text { font-size: 15px; line-height: 1.8; color: #666; max-width: 560px; }
.v27-retiros-teaser-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border: 1.5px solid var(--color-verde-bosque);
    border-radius: 999px;
    color: var(--color-verde-bosque);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease;
}
.v27-retiros-teaser-btn span { transition: transform .35s var(--v27-ease); }
.v27-retiros-teaser-btn:hover { background: var(--color-verde-bosque); color: var(--color-blanco); }
.v27-retiros-teaser-btn:hover span { transform: translateX(5px); }

@media screen and (max-width: 768px) {
    .v27-hero-retiros { animation: none; margin-top: 18px; font-size: 11px; }
    .v27-retiros-teaser { padding: 48px 0; }
    .v27-retiros-teaser-inner { flex-direction: column; align-items: flex-start; }
    .v27-retiros-teaser-title { font-size: 30px; }
}


/* =========================================
   TARIFAS (página Verano 2027) — tabla discreta
========================================= */
.v27-tarifas { background: var(--color-crema); padding: 90px 0; }
.v27-tarifas .section-title { margin-bottom: 12px; }
.v27-tarifas-intro { font-size: 14px; line-height: 1.8; color: #777; margin-bottom: 0; }

.v27-tarifas-tabla {
    max-width: 860px;
    margin: 40px auto 0;
    border-top: 1px solid var(--v27-linea);
}
.v27-tt-fila {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: baseline;
    gap: 16px;
    padding: 20px 6px;
    border-bottom: 1px solid var(--v27-linea);
}
.v27-tt-cabecera {
    padding: 12px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--v27-arena-oscuro);
}
.v27-tt-cabecera span:not(:first-child),
.v27-tt-precio { text-align: right; }
.v27-tt-periodo {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    color: var(--color-verde-bosque);
}
.v27-tt-precio strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-verde-bosque);
    letter-spacing: .02em;
}
.v27-tt-precio s {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #a9a29a;
}
.v27-tt-consultar { font-size: 13px; color: #888; }
.v27-tarifas-nota {
    max-width: 860px;
    margin: 22px auto 0;
    font-size: 12px;
    color: #888;
    text-align: center;
}
.v27-tarifas-nota a { color: var(--color-verde-bosque); }

@media screen and (max-width: 640px) {
    .v27-tarifas { padding: 64px 0; }
    .v27-tt-cabecera { display: none; }
    .v27-tt-fila {
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        padding: 18px 2px;
    }
    .v27-tt-periodo { grid-column: 1 / -1; font-size: 19px; }
    .v27-tt-precio { text-align: left; }
    .v27-tt-precio::before {
        content: attr(data-tipo);
        display: block;
        margin-bottom: 2px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--v27-arena-oscuro);
    }
}

/* Reserva online: botones bajo la tabla de tarifas y aviso de WhatsApp en los pasos */
.v27-tarifas-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.v27-tarifas-ctas .btn { min-width: 240px; border-radius: 50px; }
.v27-btn-borde { background: transparent; color: var(--color-verde-bosque); border: 1.5px solid var(--color-verde-bosque); }
.v27-btn-borde:hover { background: var(--color-verde-bosque); color: var(--color-blanco); }
.v27-pasos-wa { margin: 16px 0 0; font-size: 13px; color: #888; }
.v27-pasos-wa a { color: var(--color-verde-bosque); font-weight: 600; }
