/* ================================
   TESOROS DEL CARIBE - LUXURY STYLES
   Estilos principales de lujo para toda la web
   ================================ */

/* Unified animation classes - all variations */
.fade-in,
.contact-fade-in,
.about-fade-in {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide-up,
.contact-slide-up,
.about-slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.scale-in,
.contact-scale-in,
.about-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

/* Unified animate-in state for all classes */
.fade-in.animate-in,
.slide-up.animate-in,
.scale-in.animate-in,
.contact-fade-in.animate-in,
.contact-slide-up.animate-in,
.contact-scale-in.animate-in,
.about-fade-in.animate-in,
.about-slide-up.animate-in,
.about-scale-in.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Unified scroll reveal classes */
.reveal-on-scroll,
.contact-reveal-on-scroll,
.about-reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.reveal-on-scroll.revealed,
.contact-reveal-on-scroll.revealed,
.about-reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Legacy support - keep existing animation classes working */
.contact-revealed,
.about-revealed {
    animation: revealSection 0.5s ease-out;
}

@keyframes revealSection {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== VARIABLES DE LUJO =================== */
:root {
    /* Colores de lujo - Actualizado con dorados más metálicos */
    --gold-primary: #D4AF37;    /* Dorado metálico */
    --gold-light: #F4C430;      /* Dorado brillante */
    --gold-dark: #B8860B;       /* Dorado oscuro más suave */
    --gold-metallic: #E6BE8A;   /* Dorado metálico suave */
    --navy-primary: #1B365D;
    --navy-light: #2C4A6B;
    --navy-dark: #0F1E2E;
    
    /* Variables del hero */
    --hero-title-size: clamp(2.5rem, 5vw, 4rem);
    --hero-subtitle-size: calc(var(--hero-title-size) * 0.35);
    
    /* Colores neutros elegantes */
    --white-pure: #FFFFFF;
    --white-cream: #FAF9F6;
    --gray-platinum: #E5E4E2;
    --gray-silver: #C0C0C0;
    --gray-charcoal: #36454F;
    --black-luxury: #1C1C1C;
    
    /* Colores de acento */
    --turquoise-caribbean: #00CED1;
    --coral-sunset: #FF7F50;
    --emerald-ocean: #50C878;
    
    /* Tipografía de lujo */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espacios elegantes */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Contenedores */
    --container-max: 1550px;
    --container-padding: 3rem;
    
    /* Sombras de lujo */
    --shadow-subtle: 0 2px 8px rgba(27, 54, 93, 0.08);
    --shadow-elegant: 0 4px 20px rgba(27, 54, 93, 0.12);
    --shadow-luxury: 0 8px 40px rgba(27, 54, 93, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    
    /* Transiciones suaves */
    --transition-fast: 0.2s ease-out;
    --transition-smooth: 0.3s ease-in-out;
    --transition-elegant: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordes */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-width: 1px;
    
    /* Borde dorado del header */
    --header-golden-border: 6px solid;
    --header-golden-gradient: linear-gradient(90deg, 
        var(--gold-primary) 0%, 
        var(--gold-light) 25%, 
        var(--gold-metallic) 50%, 
        var(--gold-light) 75%, 
        var(--gold-primary) 100%
    );
    
    /* Borde estilizado para propiedades */
    --property-border-width: 3px;
    --property-border-radius: 16px;
    --property-border-gradient: linear-gradient(135deg, 
        var(--gold-primary) 0%, 
        var(--gold-light) 20%, 
        var(--gold-metallic) 40%, 
        var(--gold-light) 60%, 
        var(--gold-primary) 80%, 
        var(--gold-dark) 100%
    );
    --property-inner-border: 1px solid rgba(212, 175, 55, 0.3);
    --property-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
    --property-shadow-hover: 0 12px 48px rgba(212, 175, 55, 0.25);
    
    /* Z-index layers */
    --z-header: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;
}

/* =================== RESET Y BASE =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Aseguramos que todos los elementos hereden la fuente */
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gray-charcoal);
    background-color: var(--white-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.luxury-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =================== TIPOGRAFÍA DE LUJO =================== */
/* Fuentes Playfair Display */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-v39-latin-regular.woff2') format('woff2');
    size-adjust: 100%;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-v39-latin-600.woff2') format('woff2');
    size-adjust: 100%;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/playfair-display-v39-latin-700.woff2') format('woff2');
    size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--navy-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* =================== LAYOUT CONTAINERS =================== */
.container {
    width: 100%;
    margin: 0;
    padding: var(--container-padding);
    background-color: #e8eaed; /* Gris tecnológico moderno */
}

.main-content {
    flex: 1;
}

/* =================== HEADER DE LUJO =================== */
.luxury-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    border-bottom: var(--header-golden-border);
    border-image: var(--header-golden-gradient) 1;
    z-index: var(--z-header);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.15);
}

.luxury-nav {
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: var(--space-sm);
    color: var(--gold-primary);
}

/* Estilos para la imagen del logo */
.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 650;
    color: var(--navy-primary);
    text-decoration: none;
    position: relative;
    padding: var(--space-sm) 0;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

/* =================== BOTONES DE LUJO =================== */
.cta-button,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-elegant);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    min-height: 54px;
    box-sizing: border-box;
}

.cta-button.gold,
.btn-primary.gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white-pure);
    border: 2px solid var(--gold-primary);
}

/* Hover para botón dorado - EXPLORAR TESOROS */
.cta-button.gold:hover,
.btn-primary.gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary.navy {
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-dark));
    color: var(--white-pure);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    min-height: auto;
    height: auto;
}

.btn-secondary.navy:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white-pure) !important;
}

.btn-secondary.white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy-primary);
    border: 2px solid var(--white-pure);
    backdrop-filter: blur(10px);
}

/* Hover para botón blanco - CONTACTO */
.btn-secondary.white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* =================== MARQUEE DE LUJO =================== */
.luxury-marquee {
    width: 100%;
    overflow: hidden;
    background: var(--navy-primary);
    color: var(--white-pure);
    padding: 16px 0;
    position: relative;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-left: 69%; /* Agregamos padding izquierdo para mejor inicio */
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.marquee-content span {
    display: inline-block;
    padding-right: 60px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-primary);
    font-weight: 500;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive styles for marquee */
@media (max-width: 1200px) {
    .luxury-marquee {
        padding: 14px 0;
        padding-left: 69%;
    }
    
    .marquee-content span {
        font-size: 1.05rem;
        padding-right: 50px;
        letter-spacing: 1.1px;
    }
    
    .marquee-content {
        animation-duration: 55s;
    }
}

@media (max-width: 1024px) {
    .luxury-marquee {
        padding: 12px 0;
        padding-left: 69%;
    }
    
    .marquee-content span {
        font-size: 1rem;
        padding-right: 45px;
        letter-spacing: 1px;
    }
    
    .marquee-content {
        animation-duration: 50s;
    }
}

@media (max-width: 768px) {
    .luxury-marquee {
        padding: 11px 0;
        padding-left: 69%;
    }
    
    .marquee-content span {
        font-size: 0.95rem;
        padding-right: 40px;
        letter-spacing: 0.9px;
    }
    
    .marquee-content {
        animation-duration: 45s;
    }
}

@media (max-width: 480px) {
    .luxury-marquee {
        padding: 10px 0;
        padding-left: 69%;
    }
    
    .marquee-content span {
        font-size: 0.9rem;
        padding-right: 35px;
        letter-spacing: 0.8px;
    }
    
    .marquee-content {
        animation-duration: 40s;
    }
}

@media (max-width: 360px) {
    .luxury-marquee {
        padding: 9px 0;
        padding-left: 69%;
    }
    
    .marquee-content span {
        font-size: 0.85rem;
        padding-right: 30px;
        letter-spacing: 0.7px;
    }
    
    .marquee-content {
        animation-duration: 35s;
    }
}

/* Pausa la animación cuando el usuario prefiere reducir el movimiento */
@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
        white-space: normal;
        display: block;
        text-align: center;
        transform: none;
        width: 100%;
        padding: 0 20px;
    }
    
    .marquee-content span {
        display: inline;
        padding-right: 0;
        font-size: 0.95rem;
    }
}

/* =================== HERO SECTION =================== */
.hero-luxury {
    position: relative;
    padding: var(--space-xl) 0 calc(var(--space-2xl) + 70px);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white-pure);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    margin-top: -var(--space-xl);
    text-align: center;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-title,
.hero-subtitle,
.hero-accent {
    color: var(--gold-dark);
    background: linear-gradient(
        to right,
        var(--gold-dark) 0%,
        var(--gold-dark) 22%,
        var(--gold-primary) 32%,
        var(--gold-metallic) 47%,
        var(--gold-primary) 52%,
        var(--gold-dark) 72%,
        var(--gold-dark) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 8s linear infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

/* Estilos críticos del hero */
.hero-title {
    font-family: 'Playfair Display', ui-serif, Georgia, serif;
    font-size: var(--hero-title-size);
    font-weight: 700;
    line-height: 1.1;
    min-height: calc(var(--hero-title-size) * 1.8); /* Aumentado para más altura visual */
    position: relative;
}

/* Específico para h1 dentro de elementos semánticos - Corrige warning de Best Practices */
section h1.hero-title,
article h1.hero-title,
aside h1.hero-title,
nav h1.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.69), rgba(15, 30, 46, 0.69));
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
    margin: calc(var(--space-md) * -1) calc(var(--space-lg) * -1) calc(var(--space-sm) * -1) calc(var(--space-lg) * -1); /* Más margen arriba */
}

.hero-subtitle {
    display: block;
    font-size: var(--hero-subtitle-size);
    font-weight: 600;
    font-family: 'Playfair Display', ui-serif, Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-height: var(--hero-subtitle-size);
}
.hero-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    align-items: center;
}

/* Estilos específicos para botones del hero - FORZAR MISMO TAMAÑO */
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    min-width: 260px !important;
    width: 260px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 20px 40px !important;
    border: 2px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    vertical-align: top !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    font-size: 1.1rem !important;
}

/* Ajuste específico para centrar mejor el contenido del botón */
.hero-actions .btn-primary i,
.hero-actions .btn-secondary i {
    flex-shrink: 0 !important;
    width: 16px !important;
    text-align: center !important;
}

/* Asegurar que el texto esté perfectamente centrado */
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Estilos específicos para el botón blanco del hero */
.hero-actions .btn-secondary.white {
    border: 2px solid var(--white-pure) !important;
    padding: 18px 38px !important; /* 2px menos para compensar el borde */
}

/* =================== RESPONSIVE PARA BOTONES DEL HERO =================== */

/* Tablet grande (1200px y abajo) */
@media (max-width: 1200px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        min-width: 250px !important;
        width: 250px !important;
        height: 62px !important;
        min-height: 62px !important;
        max-height: 62px !important;
        padding: 19px 38px !important;
        font-size: 1.05rem !important;
        gap: 8px !important;
    }
    
    .hero-actions .btn-secondary.white {
        padding: 17px 36px !important;
    }
}

/* Tablet mediano (1024px y abajo) */
@media (max-width: 1024px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        min-width: 240px !important;
        width: 240px !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 18px 36px !important;
        font-size: 1rem !important;
        gap: 7px !important;
    }
    
    .hero-actions .btn-secondary.white {
        padding: 16px 34px !important;
    }
}

/* Tablet pequeño (768px y abajo) */
@media (max-width: 768px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        min-width: 220px !important;
        width: 220px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        padding: 16px 32px !important;
        font-size: 0.95rem !important;
        gap: 6px !important;
    }
    
    .hero-actions .btn-secondary.white {
        padding: 14px 30px !important;
    }
}

/* Mobile grande (640px y abajo) */
@media (max-width: 640px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        min-width: 200px !important;
        width: 200px !important;
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        padding: 15px 28px !important;
        font-size: 0.92rem !important;
        gap: 6px !important;
    }
    
    .hero-actions .btn-secondary.white {
        padding: 13px 26px !important;
    }
}

/* Mobile mediano (480px y abajo) */
@media (max-width: 480px) {
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        min-width: 190px !important;
        width: 190px !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        padding: 14px 24px !important;
        font-size: 0.9rem !important;
        gap: 6px !important;
    }
    
    .hero-actions .btn-secondary.white {
        padding: 12px 22px !important;
    }
}

/* =================== FIN RESPONSIVE BOTONES HERO =================== */

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(27, 54, 93, 0.69),
        rgba(15, 30, 46, 0.69)
    );
    padding: var(--space-md);
    border-radius: var(--border-radius);
    position: relative;
    width: 180px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.hero-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--gold-primary),
        var(--gold-dark)
    );
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.hero-stats .stat-item:hover::before {
    opacity: 0.15;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease-in-out;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-pure);
    max-width: 140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item:hover .stat-number {
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--white-pure);
    opacity: 0.8;
    animation: bounce 2s infinite;
    transition: var(--transition-smooth);
    z-index: 3;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    width: auto;
    text-align: center;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator i {
    font-size: 1.2rem;
    color: var(--gold-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =================== CARDS DE LUJO =================== */
.luxury-card {
    background: var(--white-pure);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 15px rgba(27, 54, 93, 0.08);
    transition: var(--transition-elegant);
    overflow: hidden;
}

/* =================== SECCIONES =================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3.5rem);
    color: var(--navy-primary);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-charcoal);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    padding-top: var(--space-xl);
}

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

/* Tablet Landscape (1024px y abajo) */
@media (max-width: 1024px) {
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 3rem);
        margin-bottom: var(--space-sm);
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        max-width: 550px;
        line-height: 1.6;
    }
}

/* Tablet Portrait (768px y abajo) */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .section-header {
        margin-bottom: var(--space-xl);
        padding: 0 var(--space-md);
    }
    
    .section-title {
        font-size: clamp(1.4rem, 3.5vw, 2.5rem);
        margin-bottom: var(--space-sm);
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        max-width: 90%;
        line-height: 1.5;
        opacity: 0.85;
    }
}

/* Mobile Large (480px y abajo) */
@media (max-width: 480px) {
    .section-header {
        margin-bottom: var(--space-lg);
        padding: 0 var(--space-sm);
    }
    
    .section-title {
        font-size: clamp(1.3rem, 3.5vw, 2rem);
        margin-bottom: 8px;
        line-height: 1.1;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        max-width: 95%;
        line-height: 1.4;
        opacity: 0.9;
    }
}

/* Mobile Medium (360px y abajo) */
@media (max-width: 360px) {
    .section-header {
        margin-bottom: var(--space-md);
        padding: 0 var(--space-xs);
    }
    
    .section-title {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
        margin-bottom: 6px;
        line-height: 1.1;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        max-width: 98%;
        line-height: 1.3;
        opacity: 0.9;
    }
}

/* Mobile Small (280px y abajo) */
@media (max-width: 280px) {
    .section-header {
        margin-bottom: var(--space-sm);
        padding: 0 4px;
    }
    
    .section-title {
        font-size: clamp(1.2rem, 8vw, 1.5rem);
        margin-bottom: 4px;
        line-height: 1;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        max-width: 100%;
        line-height: 1.2;
        opacity: 0.95;
    }
}

/* Extra Small Mobile (240px y abajo) */
@media (max-width: 240px) {
    .section-header {
        margin-bottom: 8px;
        padding: 0 2px;
    }
    
    .section-title {
        font-size: clamp(1.1rem, 9vw, 1.3rem);
        margin-bottom: 3px;
        line-height: 1;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        max-width: 100%;
        line-height: 1.1;
        opacity: 0.95;
    }
}

/* =================== MOBILE TOGGLE =================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white-pure);
    transition: var(--transition-smooth);
    border-radius: 2px;
    position: relative;
}
/* Estado activo del toggle */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1000px) {
    :root {
        --container-padding: 2.5rem;
    }
    
    .luxury-nav {
        padding: var(--space-sm) 0;
    }
    
    .logo-image {
        height: 55px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white-pure);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-elegant);
        gap: var(--space-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .hero-stats .stat-item {
        width: 160px;
        height: 90px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.8rem;
        max-width: 130px;
    }
    
    .hero-luxury {
        min-height: 45vh;
        padding: var(--space-lg) 0 calc(var(--space-xl) + 60px);
    }
    
    .hero-content {
        padding: 0 var(--container-padding);
        margin-top: -var(--space-lg);
    }
    
    .scroll-indicator {
        bottom: var(--space-md);
        padding: var(--space-xs) var(--space-sm);
        transform: translateX(-50%);
    }
    
    .scroll-indicator span {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .btn-secondary.navy {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    :root {
        --hero-title-size: clamp(1.75rem, 8.5vw, 2.5rem);
        --hero-subtitle-size: calc(var(--hero-title-size) * 0.48);
    }
    section h1.hero-title,
    article h1.hero-title,
    aside h1.hero-title,
    nav h1.hero-title {
        font-size: var(--hero-title-size);
    }
    .hero-subtitle {
        font-size: var(--hero-subtitle-size);
    }
    .luxury-nav {
        padding: var(--space-xs) 0;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .nav-container {
        padding: 0 var(--container-padding);
    }
    
    .hero-title {
        font-size: var(--hero-title-size);
    }
    
    .cta-button,
    .btn-primary,
    .btn-secondary {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
        min-height: 45px;
    }
    
    .btn-secondary.navy {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.85rem;
        min-height: 40px;
    }
    
    .hero-luxury {
        min-height: 35vh;
        padding: var(--space-md) 0 calc(var(--space-lg) + 50px);
    }
    
    .hero-content {
        padding: 0 var(--container-padding);
        margin-top: -var(--space-lg);
    }
    
    .scroll-indicator {
        bottom: var(--space-sm);
        padding: var(--space-xs) var(--space-sm);
        transform: translateX(-50%);
    }
    
    .scroll-indicator span {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .hero-stats .stat-item {
        width: 140px;
        height: 80px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.75rem;
        max-width: 110px;
    }

    section h1.hero-title,
    article h1.hero-title,
    aside h1.hero-title,
    nav h1.hero-title {
        font-size: var(--hero-title-size);
    }
    .hero-subtitle {
        font-size: var(--hero-subtitle-size);
    }
}

@media (max-width: 360px) {
    :root {
        --hero-title-size: clamp(1.35rem, 8vw, 1.7rem);
        --hero-subtitle-size: calc(var(--hero-title-size) * 0.46);
    }
    section h1.hero-title,
    article h1.hero-title,
    aside h1.hero-title,
    nav h1.hero-title {
        font-size: var(--hero-title-size);
    }
    .hero-subtitle {
        font-size: var(--hero-subtitle-size);
    }
}

/* Media query específico para dispositivos muy pequeños */
@media (max-width: 320px) {
    :root {
        --container-padding: 1.5rem;
    }
}

/* Media query para dispositivos extremadamente pequeños */
@media (max-width: 280px) {
    :root {
        --container-padding: 1.25rem;
    }
}

/* =================== UTILIDADES =================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.gold-text { color: var(--gold-primary); }
.navy-text { color: var(--navy-primary); }
.white-text { color: var(--white-pure); }

/* Agregamos el keyframe para el efecto de brillo rotativo */
@keyframes shineGradient {
    0% {
        background: linear-gradient(45deg, var(--gold-primary) 10%, var(--gold-light) 50%, var(--gold-primary) 90%);
        background-size: 200% 200%;
        background-position: 0% 0%;
    }
    50% {
        background: linear-gradient(45deg, var(--gold-primary) 10%, var(--gold-light) 50%, var(--gold-primary) 90%);
        background-size: 200% 200%;
        background-position: 100% 100%;
    }
    100% {
        background: linear-gradient(45deg, var(--gold-primary) 10%, var(--gold-light) 50%, var(--gold-primary) 90%);
        background-size: 200% 200%;
        background-position: 0% 0%;
    }
}

@keyframes shimmerText {
    0% {
        background-position: 200% center;
    }
    50% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}

@keyframes glowEffect {
    0% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
    75% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.3;
    }
}

/* =================== LUXURY SEARCH BAR =================== */
.hero-luxury .luxury-search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.69), rgba(15, 30, 46, 0.69));
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.hero-luxury .hero-search-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: var(--space-sm);
}

.hero-luxury .hero-location-selector {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    /* Aseguramos que el contenedor tenga un ancho máximo */
    max-width: calc(100% - 120px); /* Restamos el espacio del botón */
}

.hero-luxury .search-icon {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-left: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.hero-luxury .luxury-search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px 24px 12px 5px;
    font-size: 1.1rem;
    color: var(--gold-primary);
    font-family: var(--font-body);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Agregamos truncamiento de texto */
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.hero-luxury .luxury-search-input:focus {
    outline: none;
}

.hero-luxury .luxury-search-input option {
    background: var(--navy-primary);
    color: var(--white-pure);
    padding: 12px;
    font-size: 1rem;
    /* Aseguramos que las opciones también se trunquen */
    text-overflow: ellipsis;
    overflow: hidden;
}

.hero-luxury .luxury-search-button {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white-pure);
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 25px;
    margin-right: 5px;
    min-width: 120px;
    justify-content: center;
    flex-shrink: 0;
}

.hero-luxury .luxury-search-button:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Responsive para la barra de búsqueda del hero */
@media (max-width: 768px) {
    .hero-luxury .luxury-search-bar {
        max-width: 90%;
        padding: 3px;
    }

    .hero-luxury .search-icon {
        margin-left: 15px;
        font-size: 1rem;
    }

    .hero-luxury .luxury-search-input {
        font-size: 1rem;
        padding: 10px 15px 10px 5px;
    }

    .hero-luxury .luxury-search-button {
        padding: 10px 20px;
        min-width: auto;
    }

    .hero-luxury .luxury-search-button span {
        display: none;
    }
    
    .hero-luxury .hero-location-selector {
        max-width: calc(100% - 50px); /* Ajustamos el espacio para el botón sin texto */
    }
}

@media (max-width: 480px) {
    .hero-luxury .luxury-search-bar {
        max-width: 95%;
    }

    .hero-luxury .luxury-search-button {
        padding: 8px 16px;
    }
    
    .hero-luxury .luxury-search-input {
        font-size: 0.95rem;
        padding-right: 20px; /* Reducimos el padding para dar más espacio al texto */
    }
    
    .hero-luxury .search-icon {
        margin-left: 12px;
        margin-right: 8px;
    }
    
    .hero-luxury .hero-location-selector {
        max-width: calc(100% - 45px); /* Ajustamos aún más el espacio */
    }
}

@media (max-width: 360px) {
    .hero-luxury .luxury-search-input {
        font-size: 0.9rem;
        padding-right: 15px; /* Reducimos aún más el padding */
    }
    
    .hero-luxury .search-icon {
        margin-left: 10px;
        margin-right: 6px;
    }
    
    .hero-luxury .hero-location-selector {
        max-width: calc(100% - 40px); /* Ajuste final para pantallas muy pequeñas */
    }
}

/* =================== LOGO RESPONSIVE =================== */
.logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

/* =================== RESPONSIVE - TABLET (768px y abajo) =================== */
@media (max-width: 768px) {
    /* Logo */
    .logo-image {
        height: 55px;
    }
    
    /* Search Bar */
    .luxury-search-bar {
        max-width: 90%;
        padding: 3px;
    }

    .search-icon {
        margin-left: 15px;
        font-size: 1rem;
    }

    .luxury-search-input {
        font-size: 1rem;
        padding: 10px 15px 10px 5px;
    }

    .luxury-search-button {
        padding: 10px 20px;
    }

    .luxury-search-button span {
        display: none;
    }
}

/* =================== RESPONSIVE - MOBILE (480px y abajo) =================== */
@media (max-width: 480px) {
    /* Logo */
    .logo-image {
        height: 45px;
    }
}

/* =================== NOTIFICACIONES DE LUJO =================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-tooltip);
    background: var(--white-pure);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-luxury);
    border-left: 4px solid var(--gold-primary);
    padding: var(--space-lg);
    min-width: 320px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.notification-content i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    line-height: 1.5;
    color: var(--gray-charcoal);
    font-size: 0.95rem;
}

.notification-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: none;
    border: none;
    color: var(--gray-silver);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: 50%;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.notification-close:hover {
    background: var(--gray-platinum);
    color: var(--gray-charcoal);
}

.notification-close i {
    font-size: 0.9rem;
}

/* Tipos de notificación */
.notification.success {
    border-left-color: var(--emerald-ocean);
}

.notification.success .notification-content i {
    color: var(--emerald-ocean);
}

.notification.error {
    border-left-color: #DC3545;
}

.notification.error .notification-content i {
    color: #DC3545;
}

.notification.warning {
    border-left-color: var(--coral-sunset);
}

.notification.warning .notification-content i {
    color: var(--coral-sunset);
}

.notification.info {
    border-left-color: var(--turquoise-caribbean);
}

.notification.info .notification-content i {
    color: var(--turquoise-caribbean);
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .notification {
        padding: var(--space-md);
        font-size: 0.9rem;
    }
    
    .notification-content {
        gap: var(--space-sm);
    }
    
    .notification-content i {
        font-size: 1.1rem;
    }
    
    .notification-content span {
        font-size: 0.9rem;
    }
}

a {
    text-decoration: none;
}

/* =================== FORM VALIDATION STYLES =================== */
.field-error {
    color: #DC3545;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    display: block;
    margin-top: var(--space-xs);
    font-weight: 500;
    padding-left: var(--space-sm);
    position: relative;
}

/* Form validation responsive styles */
@media (max-width: 768px) {
    .field-error {
        font-size: clamp(0.7rem, 1.3vw, 0.8rem);
        padding-left: var(--space-sm);
    }
    
    .field-error::before {
        width: clamp(12px, 1.8vw, 14px);
        height: clamp(12px, 1.8vw, 14px);
        font-size: clamp(0.6rem, 1.1vw, 0.7rem);
    }
}

@media (max-width: 480px) {
    .field-error {
        font-size: clamp(0.65rem, 1.2vw, 0.75rem);
        padding-left: var(--space-xs);
    }
    
    .field-error::before {
        width: clamp(10px, 1.6vw, 12px);
        height: clamp(10px, 1.6vw, 12px);
        font-size: clamp(0.55rem, 1vw, 0.65rem);
    }
}

@media (max-width: 360px) {
    .field-error {
        font-size: clamp(0.6rem, 1.1vw, 0.7rem);
    }
    
    .field-error::before {
        width: clamp(9px, 1.4vw, 10px);
        height: clamp(9px, 1.4vw, 10px);
        font-size: clamp(0.5rem, 0.9vw, 0.6rem);
    }
}