/* ===================================
   FINCA LOS BALCONES - ESTILO CABANA
   Luxury Resort Editorial
   =================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variables CSS */
:root {
    --color-cream: #F7F2EE;
    --color-cream-dark: #EDE6DE;
    --color-terracotta: #C4703F;
    --color-terracotta-light: #D4835A;
    --color-green-dark: #1A4D2E;
    --color-green-teal: #3B8D81;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', 'Inter', sans-serif;

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================================
   TIPOGRAFÍA ELEGANTE
   =================================== */

.font-serif {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Títulos principales - Serif elegante */
.title-hero {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.title-section {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-green-dark);
}

.title-subsection {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-green-dark);
}

/* Subtítulos - Sans mayúsculas */
.subtitle-caps {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-terracotta);
}

/* Números de sección */
.section-number {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 300;
    color: var(--color-cream-dark);
    line-height: 1;
    position: absolute;
    opacity: 0.5;
}

/* ===================================
   NAVBAR ELEGANTE
   =================================== */

.navbar-cabana {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s var(--transition-elegant);
}

.navbar-cabana.scrolled {
    background: rgba(247, 242, 238, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.navbar-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.navbar-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    /* Slightly smaller to accommodate two lines */
    font-weight: 500;
    color: var(--color-white);
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.navbar-cabana.scrolled .navbar-logo-text {
    color: var(--color-green-dark);
}

.navbar-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.navbar-menu a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-cabana.scrolled .navbar-menu a {
    color: var(--color-text);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-terracotta);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.4s var(--transition-elegant);
}

.navbar-cta:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
}

/* ===================================
   HERO - ESTILO CABANA
   =================================== */

.hero-cabana {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video de YouTube como fondo */
.hero-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: hidden;
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    /* Escalar el video para cubrir toda la pantalla sin barras negras */
    min-width: 177.78vh;
    /* 16:9 aspect ratio */
    min-height: 56.25vw;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Imagen de respaldo mientras carga el video */
.hero-fallback-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fallback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.25) 60%,
            rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
}

.hero-subtitle-large {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    color: var(--color-white);
    font-size: 1.8rem;
    text-decoration: none;
    animation: bounceDown 2s ease-in-out infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s var(--transition-elegant);
}

.hero-cta:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Scroll indicator elegante */
.scroll-line {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
}

.scroll-line span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    writing-mode: vertical-rl;
}

.scroll-line::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 60px;
    }

    50% {
        opacity: 1;
        height: 80px;
    }
}

/* ===================================
   SECCIONES CON NÚMEROS
   =================================== */

.section-cabana {
    position: relative;
    padding: 8rem 0;
    background: var(--color-cream);
}

.section-cabana-alt {
    background: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    position: relative;
}

.section-header .section-number {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.section-header .subtitle-caps {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.section-header .title-section {
    position: relative;
    z-index: 1;
}

/* ===================================
   LAYOUT ASIMÉTRICO
   =================================== */

.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.asymmetric-grid.reverse {
    direction: rtl;
}

.asymmetric-grid.reverse>* {
    direction: ltr;
}

.asymmetric-image {
    position: relative;
    overflow: hidden;
}

.asymmetric-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-elegant);
}

/* Diseño de Capas para Experiencia */
.experience-layered-container {
    position: relative;
    padding: 2rem;
}

.experience-main-image {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.experience-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-floating-logo {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.experience-floating-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.asymmetric-image:hover img {
    transform: scale(1.05);
}

.asymmetric-image-tall {
    height: 600px;
}

.asymmetric-image-wide {
    height: 400px;
}

.asymmetric-content {
    padding: 3rem;
}

/* ===================================
   TARJETAS ELEGANTES
   =================================== */

.card-elegant {
    background: var(--color-white);
    padding: 2.5rem;
    position: relative;
    transition: all 0.5s var(--transition-elegant);
}

.card-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-elegant);
}

.card-elegant:hover::before {
    transform: scaleX(1);
}

.card-elegant:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-cream-dark);
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===================================
    TARJETAS DE LUJO
   =================================== */

.card-luxury {
    position: relative;
    height: 480px;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    /* Bordes menos redondeados para mayor elegancia */
}

.card-luxury-img {
    position: absolute;
    inset: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-luxury-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* Marco Elegante */
.card-luxury::after {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transition: all 0.6s ease;
}

.card-luxury:hover::after {
    inset: 1rem;
    border-color: rgba(255, 255, 255, 0.6);
}

.card-luxury:hover .card-luxury-img {
    transform: scale(1.05);
}

.card-luxury-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    transform: translateY(10px);
    transition: transform 0.6s ease;
}

.card-luxury:hover .card-luxury-content {
    transform: translateY(0);
}

/* Números 01, 02, 03 Estilizados */
.card-luxury-number {
    font-family: var(--font-serif);
    font-size: 5rem;
    /* Tamaño prominente pero elegante */
    font-weight: 300;
    color: var(--color-terracotta);
    /* Color de acento */
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.9;
    font-style: italic;
    /* Toque artístico */
}

.card-luxury-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 400;
}

.card-luxury-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 90%;
}

/* ===================================
   TARJETAS VISUALES (ESPACIOS)
   =================================== */

.card-visual {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.6s var(--transition-elegant);
}

.card-visual-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.8s var(--transition-elegant);
}

.card-visual-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 77, 46, 0.9) 0%, rgba(26, 77, 46, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.card-visual-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.6s var(--transition-elegant);
}

.card-visual:hover .card-visual-bg {
    transform: scale(1.1);
}

.card-visual:hover .card-visual-content {
    transform: translateY(0);
}

.card-visual-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.card-visual-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.card-visual-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.6s var(--transition-elegant);
}

.card-visual:hover .card-visual-text {
    opacity: 1;
}

/* Restaurar Estilos de Estadísticas Limpias */
.stats-elegant-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(26, 77, 46, 0.1);
}

@media (min-width: 768px) {
    .stats-elegant-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item-elegant {
    text-align: center;
}

.stat-number-elegant {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-green-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label-elegant {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
}

/* ===================================
   BOTÓN CIRCULAR
   =================================== */

.btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-terracotta);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.4s var(--transition-elegant);
}

.btn-circle:hover {
    background: var(--color-green-dark);
    transform: scale(1.1);
}

/* ===================================
   GALERÍA FILTRABLE
   =================================== */

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    cursor: pointer;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-filter.active,
.gallery-filter:hover {
    color: var(--color-terracotta);
}

.gallery-filter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width 0.3s ease;
}

.gallery-filter.active::after,
.gallery-filter:hover::after {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s var(--transition-elegant);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-elegant);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 77, 46, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-category {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-terracotta-light);
    margin-bottom: 0.5rem;
}

.gallery-item-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-white);
}

/* ===================================
   TIMELINE ELEGANTE
   =================================== */

.timeline-elegant {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item-elegant {
    flex: 1;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.timeline-item-elegant::after {
    content: '';
    position: absolute;
    top: 4rem;
    right: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, var(--color-terracotta), transparent);
}

.timeline-item-elegant:last-child::after {
    display: none;
}

.timeline-icon-elegant {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--color-terracotta);
    transition: all 0.5s var(--transition-elegant);
}

.timeline-item-elegant:hover .timeline-icon-elegant {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
    color: var(--color-white);
    transform: scale(1.1);
}

.timeline-time-elegant {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-terracotta);
    margin-bottom: 0.75rem;
}

.timeline-title-elegant {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-green-dark);
    margin-bottom: 1rem;
}

.timeline-desc-elegant {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===================================
   CTA FINAL ELEGANTE
   =================================== */

.cta-elegant {
    position: relative;
    padding: 10rem 2rem;
    background: var(--color-green-dark);
    text-align: center;
    overflow: hidden;
}

.cta-elegant::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1544986581-efac024faf62?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-button-elegant {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.4s var(--transition-elegant);
}

.cta-button-elegant:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ===================================
   ANIMACIONES DE SCROLL
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-elegant);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--transition-elegant);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--transition-elegant);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .asymmetric-grid {
        grid-template-columns: 1fr;
    }

    .gallery-asymmetric {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 250px);
    }

    .gallery-item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .gallery-item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .gallery-item-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .gallery-item-4 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .gallery-item-5 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {

    /* ACCESSIBILITY: Global font size increase for elderly users */
    html {
        font-size: 18px !important;
    }

    body {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    p,
    li {
        font-size: 1.1rem !important;
        line-height: 1.7;
    }

    .text-sm {
        font-size: 1rem !important;
    }

    /* Navbar Mobile */
    .navbar-menu {
        display: none;
    }

    .navbar-logo-text {
        font-size: 1.1rem;
    }

    .navbar-cabana {
        padding: 1rem 1.5rem;
    }

    /* Hero Mobile */
    .hero-title {
        font-size: clamp(2rem, 12vw, 4rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-large {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .hero-tagline {
        font-size: 1.2rem !important;
        line-height: 1.5;
    }

    .hero-subtitle-large {
        font-size: 1.6rem !important;
    }

    .hero-text-slides {
        min-height: 280px;
        padding: 0 1rem;
    }

    /* Section Headers Mobile */
    .title-section {
        font-size: clamp(1.8rem, 8vw, 3rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .title-subsection {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .section-number {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Timeline Mobile */
    .timeline-elegant {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-item-elegant::after {
        display: none;
    }

    /* Section Padding Mobile */
    .section-cabana {
        padding: 4rem 0;
    }

    /* Stats Mobile */
    .stats-elegant-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .stat-number-elegant {
        font-size: 2.5rem;
    }

    .stat-label-elegant {
        font-size: 0.85rem;
    }

    /* Cards Mobile */
    .card-luxury {
        height: 380px;
    }

    .card-luxury-number {
        font-size: 3.5rem;
    }

    .card-luxury-title {
        font-size: 1.5rem;
    }

    .card-luxury-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .card-luxury-content {
        padding: 2rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .gallery-filter {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 180px;
    }

    /* Experience Grid Mobile */
    .asymmetric-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .experience-layered-container {
        position: relative;
        height: auto;
        padding: 1rem;
        margin-bottom: 0;
        z-index: 1;
    }

    .experience-main-image {
        height: 250px;
    }

    .experience-floating-logo {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: 15px;
        padding: 0.5rem;
    }

    .asymmetric-content {
        position: relative;
        z-index: 2;
        padding: 2rem 1rem;
        margin-top: 1rem;
        background: var(--color-cream);
    }

    .reveal-left,
    .reveal-right {
        transform: none !important;
        opacity: 1 !important;
    }

    .cta-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .cta-button-elegant {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    /* Slider Arrows */
    .slider-arrow {
        display: none;
    }

    /* Prevent text overflow globally */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

/* ===================================
   HERO SLIDER
   =================================== */

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s var(--transition-elegant);
}

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

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-out infinite alternate;
}

/* Text Slides */
.hero-text-slides {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-slide {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--transition-elegant);
    pointer-events: none;
}

.hero-text-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.4s var(--transition-elegant);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-arrow:hover {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
    transform: translateY(-50%) scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-dot.active {
    background: var(--color-terracotta);
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Hero CTA Large */
.hero-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.5s var(--transition-elegant);
    margin-top: 2rem;
}

.hero-cta-large:hover {
    background: var(--color-white);
    color: var(--color-terracotta);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-cta-large i {
    font-size: 1.5rem;
}