/* style.css */
:root {
    --aqua: #00e5ff;
    --silver: #ffffff;
    --dark: #050505;
}

body, html {
    margin: 0; padding: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: #fff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- NAVBAR DINÁMICA --- */
#navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 0; /* Espacio inicial generoso */
}

.nav-wrapper {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 70px; /* Logo grande imponente */
    width: auto;
    transition: 0.4s;
}

#navbar.scrolled .logo img { height: 50px; }

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
    margin: 0; padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--aqua); }

/* --- BURGER (MOBILE) --- */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 9px;
}

.burger span {
    width: 35px; height: 1px;
    background: #fff;
    transition: 0.4s;
}

/* --- PLACA MENÚ LATERAL --- */
.menu-overlay {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active { right: 0; }

.menu-side-panel {
    position: absolute;
    right: 0; width: 50%; height: 100%;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    padding: 120px 60px;
    box-sizing: border-box;
}

.close-btn {
    position: absolute;
    top: 40px; right: 40px;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    margin-bottom: 35px;
    display: block;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
}

/* --- HERO SLIDER --- */
.hero { position: relative; height: 100vh; overflow: hidden; }

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active { opacity: 1; }

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s linear;
}

.slide.active .slide-bg { transform: scale(1); }

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.8) 100%);
}

.hero-content { position: relative; z-index: 10; text-align: center; }

.tagline {
    font-size: 0.9rem;
    letter-spacing: 12px;
    color: var(--aqua);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hero-content h1 span { font-weight: 300; color: var(--silver); }

.big-center-logo {
    max-width: 320px;
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(0,229,255,0.3)); }
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
}

.arrow-down {
    width: 25px; height: 25px;
    border-right: 2px solid var(--aqua);
    border-bottom: 2px solid var(--aqua);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.3; }
    50% { transform: translateY(15px) rotate(45deg); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .burger { display: flex; }
    .menu-side-panel { width: 80%; }
}















/* --- SECCIÓN NOSOTROS --- */
.about-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin: 20px 0;
}

.about-text h2 span {
    font-weight: 300;
    color: var(--aqua);
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 500px;
}

.main-img-container {
    position: relative;
    border-left: 1px solid var(--aqua);
    padding-left: 20px;
}

.main-img-container img {
    width: 100%;
    filter: grayscale(40%) contrast(1.1);
    transition: 0.5s;
}

.main-img-container:hover img {
    filter: grayscale(0%);
}

/* --- LEGACY GRID (Los 9 Proyectos) --- */
.legacy-header {
    margin-bottom: 50px;
}

.legacy-header h3 {
    font-size: 1.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.legacy-header h3 span { color: var(--aqua); }

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.legacy-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.legacy-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.1;
    margin-bottom: -15px;
    transition: 0.4s;
}

.legacy-item p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.legacy-item:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--aqua);
    transform: translateY(-10px);
}

.legacy-item:hover span {
    opacity: 1;
    color: var(--aqua);
}

/* Proyecto Actual Highlight */
.active-project {
    border: 1px solid var(--aqua);
    background: rgba(0, 229, 255, 0.1);
}

.active-project small {
    color: var(--aqua);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-dot {
    position: absolute;
    top: 15px; right: 15px;
    width: 8px; height: 8px;
    background: var(--aqua);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--aqua);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-text p {
        margin: 0 auto;
    }

    .main-img-container {
        border-left: none;
        border-top: 1px solid var(--aqua);
        padding-left: 0;
        padding-top: 20px;
    }

    .legacy-grid {
        grid-template-columns: 1fr 1fr; /* Dos columnas en móvil para que se vea ordenado */
    }
}













/* --- SECCIÓN MISIÓN Y VISIÓN --- */
.values-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0a0a0a 100%);
}

.values-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    position: relative;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 0;
    background: var(--aqua);
    transition: 0.5s;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.value-card:hover::before {
    height: 100%;
}

.value-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-line {
    width: 40px;
    height: 1px;
    background: var(--aqua);
}

.tag {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.7rem;
    color: var(--aqua);
    font-weight: 600;
}

.value-card h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 80%;
}

.value-card h3 span {
    font-weight: 300;
    color: var(--silver);
    font-style: italic;
}

.value-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .values-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 40px 30px;
    }

    .value-card h3 {
        font-size: 1.6rem;
        max-width: 100%;
    }
}













.residenciales-section {
    padding: 120px 0;
    background: #ffffff; /* Toque claro solicitado */
    color: #050505;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.residenciales-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 80px;
    padding: 0 5%;
}

.residenciales-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    font-weight: 800;
    margin: 15px 0;
}

.residenciales-header p span {
    color: var(--aqua);
    font-weight: 600;
}

/* El "Lienzo" Diagonal */
.canvas-diagonal {
    width: 140%; /* Sobresale para evitar bordes vacíos al rotar */
    transform: rotate(-4deg); /* Inclinación bella */
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.marquee-row {
    display: flex;
    gap: 30px;
    white-space: nowrap;
}

/* Tarjetas Premium */
.card-p {
    width: 350px;
    height: 240px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.card-p img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.5s;
}

.card-p .info {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.card-p h4 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.card-p:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* --- ANIMACIONES --- */
.move-right {
    animation: slideRight 35s linear infinite;
}

.move-left {
    animation: slideLeft 35s linear infinite;
}

@keyframes slideRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Botón Final */
.action-area {
    margin-top: 100px;
    transform: rotate(0); /* El botón no debe estar chueco */
}

.btn-estrada {
    background: #050505;
    color: #fff;
    padding: 22px 50px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.4s;
}

.btn-estrada:hover {
    background: var(--aqua);
    color: #050505;
    transform: translateY(-5px);
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .canvas-diagonal { width: 200%; transform: rotate(-7deg); }
    .card-p { width: 280px; height: 190px; }
}













.legacy-emotional-section {
    padding: 150px 0;
    background: #ffffff; /* Blanco puro para transmitir paz y transparencia */
    color: var(--dark);
    position: relative;
}

.legacy-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Galería con Estilo "Fine Art" */
.legacy-gallery {
    position: relative;
    display: flex;
    gap: 20px;
}

.img-frame {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.frame-1 { width: 70%; transform: translateY(-20px); }
.frame-2 { width: 50%; height: 250px; align-self: flex-end; transform: translateX(-50px) translateY(40px); border: 10px solid #fff; }

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%); /* Un toque cálido y nostálgico */
}

.img-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--aqua);
    color: var(--dark);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 0.8rem;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(0,229,255,0.3);
}

/* Texto que evoca respeto */
.legacy-text h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 20px 0;
}

.legacy-text h2 span {
    color: var(--aqua);
    font-weight: 300;
    font-style: italic;
}

.pre-title {
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #999;
    font-weight: 600;
}

.highlight-p {
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 25px;
}

.legacy-content p {
    color: #666;
    line-height: 1.8;
}

.signature-box {
    margin-top: 50px;
}

.divider-gold {
    width: 60px;
    height: 3px;
    background: var(--aqua);
    margin-bottom: 20px;
}

.family-name {
    font-family: 'Playfair Display', serif; /* Si puedes importar una serif, se ve más elegante */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* Responsive para Móvil */
@media (max-width: 992px) {
    .legacy-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
    .legacy-gallery { justify-content: center; margin-bottom: 50px; }
    .divider-gold { margin: 20px auto; }
}




















