﻿:root {
    --color-primary: #556b2f; /* Olive Green */
    --color-primary-dark: #3e4e22;
    --color-black: #111111;
    --color-gold: #c5a059;
    --color-gold-light: #e3c485;
    --color-white: #f8f9fa;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.loader-title {
    color: var(--color-gold);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.loader-subtitle {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Header (Clean, no gradient, no line) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background-color 0.3s;
}

/* Optional: Make header solid when scrolling past hero */
.header.scrolled {
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(10px);
}

.header.scrolled .theme-switch-wrapper {
    opacity: 0;
    pointer-events: none;
}

.logo {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--color-gold);
    font-weight: 300;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(17, 17, 17, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}
#side-menu {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

#side-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#side-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--color-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity var(--transition-speed);
}

#side-menu a:hover, #side-menu a.active {
    opacity: 1;
}

#side-menu a .label {
    margin-right: 15px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s, transform 0.3s;
}

#side-menu a:hover .label, #side-menu a.active .label {
    opacity: 1;
    transform: translateX(0);
}

#side-menu a .dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-white);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
}

#side-menu a.active .dot, #side-menu a:hover .dot {
    background-color: var(--color-gold);
    transform: scale(1.3);
}

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color var(--transition-speed);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

/* Toggle Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(17, 17, 17, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.mode-text {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-gold);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--color-white);
    transition: .4s;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(30px);
    background-color: var(--color-black);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-bg {
    position: absolute; /* Cambiado a absoluto para scroll natural y suave */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: none;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,17,17,0);
    z-index: -1;
    pointer-events: none;
    transition: background 0.1s;
}

/* Shared Section Styles */
section:not(.hero-section) {
    /* Fondo transparente para que el hero se vea a travÃ©s si la opacidad no es 1, 
       o le damos fondos muy sutiles */
    background-color: transparent;
    position: relative;
    z-index: 5;
    padding: 100px 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Introduccion Section con Video de Fondo */
.intro-section {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,17,17,0.5); /* Oscurece el video para que resalte el texto */
    z-index: 1;
}

.intro-wrapper-centered {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 40px;
}

.intro-wrapper-centered h2 {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.intro-wrapper-centered p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Fichas Section */
.fichas-wrapper {
    max-width: 1200px;
    width: 100%;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    height: 350px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.6);
    border: 1px solid var(--color-gold);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.card:hover .card-bg {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.2) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-content p {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.card:hover .card-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Amenities Section */
.amenities-section {
    background-color: #050505 !important;
}

.amenities-wrapper {
    max-width: 1200px;
    width: 100%;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.amenity-card {
    text-align: center;
}

.amenity-img {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.amenity-card h3 {
    color: var(--color-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.amenity-card p {
    color: #999;
    font-size: 1rem;
}

/* Closing Section */
.closing-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: var(--color-black) !important;
}

.video-container-tech {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
    transition: transform 0.1s ease-out; /* Parallax smooth */
}

#tech-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle effect */
    mix-blend-mode: screen;
}

.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0.4) 50%, rgba(85,107,47,0.7) 100%);
    z-index: 1;
}

.closing-content {
    max-width: 800px;
}

.closing-content h2 {
    font-size: 3rem;
    color: var(--color-gold);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 30px;
}

.closing-content p {
    font-size: 1.2rem;
    color: var(--color-white);
}

/* Contact Section */
.contact-wrapper {
    max-width: 600px;
    width: 100%;
    background: rgba(255,255,255,0.03);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--color-white);
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-btn {
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Modals */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(17,17,17,0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-white);
    margin: auto;
    width: 85vw; /* 85% del ancho de la pantalla */
    max-width: 1400px;
    height: 85vh; /* 85% del alto de la pantalla */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    color: var(--color-white);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.close-btn:hover {
    color: var(--color-gold);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Dar un poco mÃ¡s de espacio a la imagen */
    height: 100%;
}

.modal-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-black); /* Fondo oscuro para los bordes */
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Galeria de Imagenes en Modal */
.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}
.gallery-container::-webkit-scrollbar-track {
    background: var(--color-black);
}
.gallery-container::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-black);
}

.modal-info {
    padding: 50px;
    background-color: var(--color-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    height: 100%;
}

.modal-info h2 {
    color: var(--color-gold);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.modal-info .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.availability {
    background-color: rgba(85, 107, 47, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.availability h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--color-white);
}

.availability ul {
    list-style: none;
}

.availability li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #aaa;
}

.availability li strong {
    color: var(--color-gold);
}

/* Selectors y Letras */
.floor-selector {
    margin-bottom: 20px;
}

.floor-selector h3 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.floor-select {
    width: 100%;
    padding: 12px;
    background: rgba(17,17,17,0.8);
    border: 1px solid var(--color-gold);
    color: var(--color-white);
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    margin-bottom: 20px;
}

.floor-select:focus {
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.letters-container {
    margin-bottom: 25px;
    background: rgba(255,255,255,0.02);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--color-gold);
}

.letter-group {
    margin-bottom: 10px;
}
.letter-group:last-child {
    margin-bottom: 0;
}

.letter-group-title {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.letter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.letter-btn {
    background: transparent;
    border: 1px solid #444;
    color: var(--color-white);
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.letter-btn:hover, .letter-btn.active {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.variant-list {
    display: none;
}

.variant-list.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}



/* Responsive */
@media (max-width: 900px) {
    #side-menu {
        display: none;
    }
    .header {
        padding: 1.5rem 2rem;
    }
    .intro-wrapper {
        flex-direction: column;
    }
    .intro-image {
        width: 100%;
        height: 100%;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .closing-content h2 {
        font-size: 2rem;
    }
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-image {
        height: 250px;
    }
    .modal-info {
        padding: 30px;
    }
    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}
/* =========================================================
   REDISEÑO NEOCLÁSICO & MINIMALISTA (NUEVA ESTRUCTURA)
   ========================================================= */

/* Loader Elegante */
.neo-loader .loader-title {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}
.loader-progress {
    width: 250px;
    height: 1px;
    background: rgba(197, 160, 89, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.loader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: loadingBar 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes loadingBar {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Header Navbar Flotante */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(17,17,17,0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.top-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}
.top-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.top-menu a:hover {
    color: var(--color-gold);
}
#side-menu {
    display: none !important; /* Ocultar menú lateral viejo */
}

/* Switch Día/Noche Minimalista */
.neo-switch .theme-switch {
    width: 44px;
    height: 22px;
}
.neo-switch .slider:before {
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-white);
}
.neo-switch input:checked + .slider:before {
    transform: translateX(22px);
}
.neo-switch .icon-sun, .neo-switch .icon-moon {
    position: absolute;
    top: 4px;
    font-size: 10px;
    color: var(--color-gold);
}
.neo-switch .icon-sun { left: 5px; }
.neo-switch .icon-moon { right: 5px; }

/* Hero Section */
.neo-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 60px;
}
.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 300;
}
.hero-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 10px;
    color: var(--color-white);
    margin-bottom: 40px;
    text-shadow: 0 5px 30px rgba(0,0,0,0.9);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    padding-top: 40px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-num {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: 5px;
}
.stat-text {
    font-size: 0.85rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Secciones Generales */
.gold-title {
    color: var(--color-gold);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.neo-btn {
    padding: 15px 45px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}
.neo-btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.5);
}

/* Arquitectura Section */
.architecture-section {
    padding: 140px 20px;
    background: var(--color-black);
    text-align: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
.architecture-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
.arch-desc {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #999;
    margin-bottom: 80px;
    font-weight: 300;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}
.feature-box {
    padding: 40px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: transform 0.4s, border-color 0.4s;
}
.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}
.feature-box h3 {
    color: var(--color-white);
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.feature-box p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Preventa Section */
.cta-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, rgba(17,17,17,1) 0%, rgba(30,30,30,1) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
.cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.cta-wrapper p {
    font-size: 1.15rem;
    color: #aaa;
    margin-bottom: 50px;
    font-weight: 300;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}
.btn-whatsapp:hover {
    background: #25D366;
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}
.btn-call {
    border-color: #fff;
    color: #fff;
}
.btn-call:hover {
    background: #fff;
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Contacto Section */
.contact-section {
    padding: 120px 20px;
    background: var(--color-black);
    display: flex;
    justify-content: center;
}
.contact-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
}
.contact-desc {
    color: #999;
    margin-bottom: 50px;
    font-size: 1.1rem;
    font-weight: 300;
}
.contact-info {
    margin-bottom: 60px;
    text-align: left;
    background: rgba(255,255,255,0.02);
    padding: 40px;
    border-left: 2px solid var(--color-gold);
}
.contact-info p {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info strong {
    color: var(--color-gold);
    font-weight: 400;
    margin-right: 10px;
}

/* Footer Neoclasico */
.neo-footer {
    background: #080808;
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 50px;
    gap: 50px;
}
.footer-brand h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 3px;
}
.footer-brand span {
    color: var(--color-gold);
    font-weight: 300;
}
.footer-brand p {
    color: #777;
    max-width: 400px;
    line-height: 1.8;
    font-weight: 300;
}
.footer-links h4 {
    color: var(--color-gold);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 300;
    letter-spacing: 1px;
}
.footer-links a:hover {
    color: var(--color-white);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #444;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Media Queries (Responsive Adjustments) */
@media (max-width: 900px) {
    .top-navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .top-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 40px;
    }
    .cta-buttons {
        flex-direction: column;
    }
}
.top-navbar {
    transition: all 0.4s ease;
}
.header.scrolled.top-navbar {
    padding: 10px 50px;
    background: rgba(10,10,10,0.95);
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}
/* =========================================================
   AJUSTES OLIVA, NEOCLÁSICO Y SEPARACIÓN DE PORTADA
   ========================================================= */

/* Preventa Intro Section (Bajo el Hero) */
.preventa-intro-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #111111 0%, #1e2613 100%);
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}
.hero-content {
    padding-top: 0; /* Reset since it's no longer floating over the hero */
}

/* Modificaciones de Arquitectura (Tarjetas Flotantes & Oliva) */
.feature-box {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(60, 74, 43, 0.1));
    border: 1px solid rgba(60, 74, 43, 0.5);
}
.feature-box:hover {
    transform: translateY(-12px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 45px rgba(197, 160, 89, 0.15);
}

/* Ajuste a Sección de Contacto (Más Verde Olivo) */
.contact-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1c2411 100%);
}
.contact-info {
    background: rgba(60, 74, 43, 0.2);
    border-left: 3px solid var(--color-gold);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =========================================================
   OVERRIDE: BRILLO DORADO PARA FICHAS DE ARQUITECTURA
   ========================================================= */

.feature-box {
    transition: all 0.5s ease;
}

.feature-box:hover {
    transform: translateY(-12px);
    background: linear-gradient(145deg, #c5a059, #8a6c32) !important; /* var(--color-gold) gradients */
    border-color: #f7d894 !important;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.7), 0 15px 45px rgba(197, 160, 89, 0.4) !important;
}

.feature-box:hover h3 {
    color: #000 !important;
    text-shadow: none;
}

.feature-box:hover p {
    color: #222 !important;
}
/* =========================================================
   MENU HAMBURGUESA, SWITCH MONOCROMO & MOBILE
   ========================================================= */

/* Convertir Nav en Menú Pestaña Lateral */
.top-navbar {
    flex-wrap: nowrap;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s;
}

.top-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}
.top-menu.open {
    right: 0;
}
.top-menu ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 0;
}
.top-menu a {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--color-white);
}

/* Switch Monocromático (Silueta Blanca) */
.neo-switch .slider {
    background-color: transparent !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
}
.neo-switch .slider:before {
    background-color: #ffffff !important;
}
.neo-switch input:checked + .slider {
    background-color: transparent !important;
}
.neo-switch input:checked + .slider:before {
    background-color: #ffffff !important;
}
.neo-switch .icon-sun, .neo-switch .icon-moon {
    color: rgba(255,255,255,0.7) !important;
    text-shadow: none !important;
}

/* Ajustes Responsive (Pantalla Vertical Celular) */
@media (max-width: 768px) {
    .preventa-intro-section {
        padding: 60px 15px;
    }
    .hero-title {
        font-size: 2.5rem !important;
        letter-spacing: 4px !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        letter-spacing: 2px !important;
    }
}
/* =========================================================
   USER REQUEST OVERRIDES: TRANSPARENT HEADER, LENIS & MODAL LOADER
   ========================================================= */

/* Transicion suave para hero bg */
.hero-bg {
    transition: background-image 1.5s ease-in-out !important;
}

/* Header totalmente transparente siempre */
.header, .top-navbar, .header.scrolled, .header.scrolled.top-navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Animaciones suaves extra al scrollear */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Loader Bar */
.modal-loader-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.modal-loader-text {
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.modal-loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.modal-loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    animation: load-slide 1s ease-in-out forwards;
}

@keyframes load-slide {
    0% { left: -100%; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 100%; }
}



/* =========================================================
   PRELOADER VIDEO & TEXT STYLES
   ========================================================= */
.loader-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    animation: fadeInVideo 1.5s ease forwards;
}

@keyframes fadeInVideo {
    to { opacity: 1; }
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: -1;
}

.loader-content {
    z-index: 1;
}

.loader-quality-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease-in-out;
}
