:root {
    --dark: #0a0a0a;
    --gold: #c5a47e;
    --white: #ffffff;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--dark); color: var(--white); font-family: var(--font-sans); overflow-x: hidden; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 40px 5%; z-index: 2000;
}

.nav-container {
    max-width: 1600px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

.brand { display: flex; align-items: center; gap: 15px; }
.brand-main {
    font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
    border-right: 1px solid var(--gold); padding-right: 15px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-size: 13px; font-weight: 600; letter-spacing: 4px; }
.brand-sub { font-size: 8px; letter-spacing: 2px; opacity: 0.5; margin-top: 2px; }

/* Menú Desktop: Visible por defecto */
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { 
    text-decoration: none; color: var(--white); font-size: 11px; 
    letter-spacing: 2px; text-transform: uppercase; transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* Hamburguesa: OCULTA EN COMPUTADORA */
.hamburger {
    display: none; cursor: pointer; width: 30px; height: 18px;
    position: relative; flex-direction: column; justify-content: space-between;
    z-index: 3000;
}
.hamburger span { width: 100%; height: 1px; background: var(--white); transition: 0.4s; }

/* Animación Hamburguesa */
.hamburger.active .line-1 { transform: translateY(8px) rotate(45deg); }
.hamburger.active .line-2 { transform: translateY(-8px) rotate(-45deg); }

/* --- MOBILE OVERLAY --- */
.mobile-overlay {
    position: fixed; inset: 0; z-index: 2500; display: flex; justify-content: flex-end;
    visibility: hidden; pointer-events: none;
}
.mobile-overlay.active { visibility: visible; pointer-events: all; }
.overlay-close-area {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px); opacity: 0; transition: 0.5s;
}
.mobile-overlay.active .overlay-close-area { opacity: 1; }
.menu-panel {
    width: 100%; max-width: 400px; height: 100%; background: rgba(10, 10, 10, 0.95);
    display: flex; justify-content: center; align-items: center;
    transform: translateX(100%); transition: 0.5s cubic-bezier(0.85, 0, 0.15, 1);
}
.mobile-overlay.active .menu-panel { transform: translateX(0); }
.mobile-links { list-style: none; text-align: center; }
.mobile-links a { font-family: var(--font-serif); font-size: 2.2rem; color: var(--white); text-decoration: none; display: block; margin: 30px 0; }

/* --- HERO --- */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--dark), transparent); }
.hero-mini-tag { font-size: 10px; letter-spacing: 5px; opacity: 0.6; margin-bottom: 20px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(3rem, 10vw, 7.5rem); text-transform: uppercase; line-height: 0.9; }
.bottom-txt { display: block; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--white); }

.hero-actions { display: flex; justify-content: center; gap: 20px; margin-top: 50px; }
.btn-fill { background: var(--gold); color: var(--dark); padding: 18px 40px; text-decoration: none; font-weight: 600; font-size: 11px; letter-spacing: 2px; transition: 0.4s; }
.btn-outline { border: 1px solid var(--white); color: var(--white); padding: 18px 40px; text-decoration: none; font-weight: 600; font-size: 11px; letter-spacing: 2px; transition: 0.4s; }

/* --- MEDIA QUERIES (AQUÍ OCURRE LA MAGIA) --- */
@media (max-width: 850px) {
    /* Ocultamos el menú de texto */
    .nav-links { display: none; }
    /* Mostramos la hamburguesa */
    .hamburger { display: flex; }
    
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-fill, .btn-outline { width: 80%; text-align: center; }
}


















/* --- ESTILOS GENERALES DE SECCIONES --- */
section { padding: 120px 5%; overflow: hidden; }
.container { max-width: 1400px; margin: 0 auto; }
.section-tag { font-size: 10px; letter-spacing: 5px; color: var(--gold); display: block; margin-bottom: 20px; }
.section-title { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 30px; font-weight: 400; }
.section-title span { font-style: italic; opacity: 0.7; }

/* --- FILOSOFÍA --- */
.phil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.phil-text p { font-size: 16px; line-height: 1.8; opacity: 0.6; font-weight: 300; max-width: 500px; }
.phil-image img { width: 100%; height: 600px; object-fit: cover; filter: grayscale(100%); transition: 0.8s; }
.phil-image img:hover { filter: grayscale(0%); }

/* --- PORTFOLIO ASIMÉTRICO (Bento Grid Style) --- */
.portfolio-header { margin-bottom: 60px; }
.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 300px; 
    gap: 30px; 
}

.project-item { position: relative; overflow: hidden; cursor: pointer; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1); }

/* Tamaños de la cuadrícula */
.project-item.tall { grid-row: span 2; }
.project-item.wide { grid-column: span 1; }
.project-item.small { grid-row: span 1; }

/* Hover Effects */
.project-info {
    position: absolute; bottom: 0; left: 0; padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%; transform: translateY(20px); opacity: 0; transition: 0.5s;
}

.project-item:hover img { transform: scale(1.08); }
.project-item:hover .project-info { transform: translateY(0); opacity: 1; }

.project-info h3 { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 2px; }
.project-info span { font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
    .phil-grid { grid-template-columns: 1fr; gap: 40px; }
    .phil-image img { height: 400px; }
    .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
    .project-item.tall, .project-item.wide { grid-row: span 1; grid-column: span 1; }
}
















/* --- LOGROS --- */
.achievements { background: #0f0f0f; padding: 80px 5%; border-top: 1px solid rgba(255,255,255,0.05); }
.ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.ach-num { display: block; font-family: var(--font-serif); font-size: 3rem; color: var(--gold); margin-bottom: 10px; }
.ach-label { font-size: 10px; letter-spacing: 3px; opacity: 0.6; }

/* --- PROCESO --- */
.process { background: var(--dark); }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; }
.step { position: relative; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.step-num { position: absolute; top: -15px; left: 0; background: var(--dark); padding-right: 20px; color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }
.step h3 { font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; font-weight: 600; }
.step p { font-size: 14px; line-height: 1.6; opacity: 0.5; font-weight: 300; }

/* --- SERVICIOS --- */
.services { background: #0f0f0f; }
.services-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { 
    padding: 60px 40px; 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.5s; 
    background: linear-gradient(145deg, #121212, #0a0a0a);
}
.service-card:hover { border-color: var(--gold); transform: translateY(-10px); }
.service-icon { 
    font-family: var(--font-serif); 
    font-size: 3rem; 
    color: var(--gold); 
    margin-bottom: 30px; 
    opacity: 0.3; 
}
.service-card h3 { font-size: 18px; margin-bottom: 20px; letter-spacing: 1px; }
.service-card p { font-size: 14px; line-height: 1.7; opacity: 0.5; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .ach-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .process-steps, .services-wrapper { grid-template-columns: 1fr; gap: 50px; }
}











/* --- EQUIPO --- */
.team { background: var(--dark); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; }

.member-card {
    background: #181818; 
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden; 
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.member-card:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); 
}

.member-photo {
    width: 100%; height: 350px;
    overflow: hidden;
    position: relative;
}

.member-photo img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.member-card:hover .member-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: #181818; /* Asegura que el fondo sea sólido debajo del texto */
}

.member-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.member-info span {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a img {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: invert(100%); /* Para que los iconos se vean blancos */
}

.social-links a:hover img {
    opacity: 1;
    filter: invert(0%) sepia(100%) saturate(7000%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Color dorado al pasar el mouse */
}


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .team-grid { grid-template-columns: 1fr; gap: 40px; }
    .member-photo { height: 300px; }
}












/* --- MATERIALIDAD --- */
.materiality { background: #0a0a0a; position: relative; }

.mat-layout { 
    display: grid; 
    grid-template-columns: 0.9fr 1.1fr; 
    gap: 100px; 
    align-items: center; 
}

.mat-content p { 
    font-size: 15px; 
    line-height: 1.8; 
    opacity: 0.6; 
    margin-bottom: 40px; 
    font-weight: 300;
}

.mat-list { list-style: none; }
.mat-list li { 
    font-size: 12px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.mat-list li span { color: var(--gold); font-family: var(--font-serif); font-size: 16px; }

/* Visual Grid */
.mat-visual-grid { position: relative; height: 600px; }

.mat-img-large { 
    width: 80%; 
    height: 80%; 
    overflow: hidden; 
}

.mat-img-large img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s; }

.mat-img-small { 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: 50%; 
    height: 50%; 
    border: 15px solid var(--dark); 
    overflow: hidden; 
    z-index: 2;
}

.mat-img-small img { width: 100%; height: 100%; object-fit: cover; }

.mat-visual-grid:hover .mat-img-large img { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .mat-layout { grid-template-columns: 1fr; gap: 50px; }
    .mat-visual-grid { height: 400px; }
}
















/* --- FOOTER MM --- */
.footer-mm {
    background: #050505;
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .brand-main {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.5;
    max-width: 300px;
}

.footer-mm h4 {
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--gold);
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 15px; }
.footer-nav a {
    text-decoration: none;
    color: var(--white);
    font-size: 13px;
    opacity: 0.6;
    transition: 0.3s;
}
.footer-nav a:hover { opacity: 1; padding-left: 5px; color: var(--gold); }

/* Iconos de Redes Sociales */
.social-icons {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--white);
    opacity: 0.4;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    opacity: 1;
    color: var(--gold);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.4;
}

.credits span {
    color: var(--gold);
    font-weight: 600;
    margin-left: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}







/* --- INTRO SCREEN DE LÚJO --- */
.intro-screen {
    position: fixed;
    inset: 0;
    background: var(--dark); /* Fondo negro absoluto */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté por encima de todo */
    overflow: hidden; /* Para que la transición sea limpia */
    transition: transform 1.5s cubic-bezier(0.85, 0, 0.15, 1); /* Transición suave de salida */
}

.intro-screen.hidden {
    transform: translateY(-100%); /* Se desliza hacia arriba */
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Empieza invisible */
    transform: translateY(20px); /* Empieza un poco abajo */
    animation: fadeInIntro 1.5s forwards ease-out 0.5s; /* Animación de entrada con retardo */
}

.intro-mm {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 15vw, 12rem); /* Muy grande y responsivo */
    color: var(--white);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -5px; /* Un poco de kerning negativo para un look compacto */
    text-shadow: 0 0 30px rgba(197, 164, 126, 0.2); /* Sombra sutil de oro */
}

.intro-details {
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 2vw, 1.3rem);
    color: var(--gold);
    letter-spacing: 8px; /* Amplio espaciado para elegancia */
    text-transform: uppercase;
    opacity: 0.7;
    white-space: nowrap; /* Asegura que no se rompa en varias líneas */
}

/* Animaciones para la Intro */
@keyframes fadeInIntro {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}










.proyectos-premium { padding: 100px 5%; background: #0a0a0a; }
.grid-proyectos { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }

.card-proyecto { 
    background: #111; 
    border: 1px solid rgba(255,255,255,0.05); 
    overflow: hidden; 
    transition: 0.4s;
}

/* El slider de fotos */
.slider-container {
    width: 100%;
    height: 300px;
    overflow-x: scroll; /* Permite deslizar con el dedo */
    display: flex;
    scroll-snap-type: x mandatory;
}

.slider-container::-webkit-scrollbar { display: none; } /* Ocultar barra */

.slides img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    pointer-events: none; /* Evita arrastrar la imagen */
}

.info-proyecto { padding: 25px; text-align: center; }
.info-proyecto h3 { font-family: var(--font-serif); letter-spacing: 2px; margin-bottom: 20px; font-size: 1.2rem; }

.acciones-venta { display: flex; flex-direction: column; gap: 10px; }

.btn-comprar {
    background: var(--white); color: var(--dark);
    border: none; padding: 12px; font-weight: 700; cursor: pointer; font-size: 11px; letter-spacing: 1px;
}

.btn-whatsapp {
    background: transparent; border: 1px solid var(--gold); color: var(--gold);
    padding: 12px; font-weight: 600; cursor: pointer; font-size: 11px; letter-spacing: 1px;
    transition: 0.3s;
}

.btn-whatsapp:hover { background: var(--gold); color: var(--dark); }

.aviso-legal { 
    text-align: center; margin-top: 50px; font-size: 10px; opacity: 0.3; letter-spacing: 1px; 
}





























/* Corrección Navbar: Empujar el contenido hacia abajo */
.arch-page { padding-top: 120px; } /* Ajuste para que el navbar no tape */

/* Sección Intro */
.arch-intro { padding: 80px 0; }
.intro-flex { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.intro-image-wrapper { position: relative; }
.intro-image-wrapper img { width: 100%; height: 500px; object-fit: cover; }
.experience-tag { 
    position: absolute; bottom: 30px; left: -30px; background: var(--gold); 
    color: var(--dark); padding: 15px 30px; font-weight: 700; letter-spacing: 2px; font-size: 11px;
}

/* Grid de Proyectos */
.grid-arch { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 60px; }
.arch-card { background: #0f0f0f; border: 1px solid rgba(255,255,255,0.05); }

.visual-trigger { position: relative; cursor: pointer; overflow: hidden; height: 300px; }
.visual-trigger img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.visual-trigger:hover img { transform: scale(1.1); filter: brightness(0.5); }

.zoom-icon { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--white); border: 1px solid var(--white); padding: 10px 20px;
    font-size: 10px; letter-spacing: 2px; opacity: 0; transition: 0.5s;
}
.visual-trigger:hover .zoom-icon { opacity: 1; }

.arch-info { padding: 30px; text-align: center; }
.arch-info h3 { font-family: var(--font-serif); margin-bottom: 10px; color: var(--gold); }
.arch-info p { font-size: 12px; opacity: 0.5; margin-bottom: 25px; }

.arch-btns { display: flex; gap: 10px; flex-direction: column; }
.btn-buy { background: var(--white); color: var(--dark); padding: 15px; text-decoration: none; font-weight: 700; font-size: 11px; letter-spacing: 1px; transition: 0.3s; }
.btn-wa { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 15px; font-weight: 600; font-size: 11px; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.btn-wa:hover { background: var(--gold); color: var(--dark); }

/* Galería Emergente */
.gallery-modal {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(10px);
    justify-content: center; align-items: center;
}
.gallery-content { position: relative; max-width: 90%; max-height: 80%; }
.gallery-content img { width: 100%; height: auto; border: 2px solid rgba(197, 164, 126, 0.3); }

.gallery-nav { position: absolute; top: 50%; background: none; border: none; color: white; font-size: 30px; cursor: pointer; padding: 20px; }
.prev { left: -60px; }
.next { right: -60px; }
.close-gallery { position: absolute; top: 30px; right: 40px; color: white; font-size: 40px; cursor: pointer; }

.copyright-notice { text-align: center; margin-top: 60px; font-size: 9px; opacity: 0.3; letter-spacing: 2px; }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .arch-page { padding-top: 100px; }
    .intro-flex { grid-template-columns: 1fr; }
    .intro-image-wrapper img { height: 300px; }
    .experience-tag { left: 0; bottom: -20px; }
    .prev { left: 10px; } .next { right: 10px; }
}

















/* --- CONSTRUCTION V2 --- */
.construction-v2 { background: #050505; color: #fff; }

/* Hero Full Screen */
.c-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.c-hero-video-bg {
    position: absolute; inset: 0; z-index: -1;
}

.c-hero-video-bg img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}

.c-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 10vw, 8rem);
    text-align: center;
    line-height: 0.9;
}

.c-hero h1 span { color: var(--gold); }

/* Por qué nosotros */
.c-why { padding: 150px 0; }
.why-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text h2 { font-size: 3rem; margin-bottom: 30px; font-family: var(--font-serif); }
.why-image img { width: 100%; height: 600px; object-fit: cover; border: 1px solid var(--gold); padding: 15px; }

/* Showcase Item */
.c-item {
    margin-bottom: 150px;
    cursor: pointer;
}

.c-item-img {
    height: 70vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.c-item-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.c-item:hover .c-item-img img { transform: scale(1.1); }

.c-item-hover {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.5s;
}

.c-item:hover .c-item-hover { opacity: 1; }

.c-item-info { display: flex; align-items: center; gap: 40px; }
.c-number { font-family: var(--font-serif); font-size: 4rem; color: rgba(255,255,255,0.1); }
.c-item-info h3 { font-size: 2rem; letter-spacing: 2px; }

/* Lightbox */
.lightbox-modal {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(15px);
    justify-content: center; align-items: center;
}

.lb-content { width: 80%; max-height: 80vh; position: relative; }
.lb-content img { width: 100%; height: 80vh; object-fit: contain; }

.lb-nav {
    position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 40px;
}

.lb-nav button {
    background: none; border: 1px solid var(--gold); color: var(--gold);
    padding: 10px 30px; cursor: pointer; font-size: 20px; transition: 0.3s;
}

.lb-nav button:hover { background: var(--gold); color: #000; }

.lb-close { position: absolute; top: 40px; right: 40px; font-size: 50px; color: #fff; cursor: pointer; }

/* Celular */
@media (max-width: 768px) {
    .why-wrapper { grid-template-columns: 1fr; }
    .c-item-img { height: 40vh; }
    .c-number { font-size: 2.5rem; }
}
















/* --- GRID DE PROYECTOS --- */
.c-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 50px; }

.c-item { cursor: pointer; position: relative; }
.c-item-img { height: 500px; overflow: hidden; position: relative; }
.c-item-img img { width: 100%; height: 100%; object-fit: cover; transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1); }

.c-item-hover { 
    position: absolute; inset: 0; background: rgba(0,0,0,0.7); 
    display: flex; align-items: center; justify-content: center; 
    opacity: 0; transition: 0.5s; backdrop-filter: blur(5px);
}
.c-item-hover span { border: 1px solid var(--gold); padding: 15px 30px; color: var(--gold); letter-spacing: 2px; font-size: 10px; }

.c-item:hover .c-item-img img { transform: scale(1.1); }
.c-item:hover .c-item-hover { opacity: 1; }

.c-item-info { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.c-number { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); opacity: 0.5; }

/* --- VISOR DE DETALLES (DENTRO DE LA MISMA PÁGINA) --- */
.details-viewer { 
    padding: 100px 5%; background: #000; border-top: 1px solid var(--gold);
    animation: slideIn 0.8s forwards; 
}

@keyframes slideIn { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

.details-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

.details-gallery { position: relative; height: 600px; }
.details-gallery img { width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); }

.gallery-nav { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 10px; }
.gallery-nav button { background: var(--gold); border: none; padding: 15px 25px; cursor: pointer; color: #000; font-weight: bold; }

.details-text h2 { font-family: var(--font-serif); font-size: 3rem; margin: 20px 0; color: var(--gold); }
.details-text p { opacity: 0.7; line-height: 1.8; margin-bottom: 40px; }

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.specs-grid label { display: block; font-size: 10px; letter-spacing: 2px; color: var(--gold); opacity: 0.6; }

.btn-close-view { background: transparent; border: 1px solid #fff; color: #fff; padding: 15px 30px; cursor: pointer; letter-spacing: 2px; font-size: 10px; }

/* Mobile */
@media (max-width: 768px) {
    .details-container { grid-template-columns: 1fr; }
    .details-gallery { height: 350px; }
}




















/* --- VARIABLES DE MUEBLES --- */
:root {
    --carbon: #121212;
    --olivo-deep: #3d441e; /* Verde olivo oscuro y elegante */
    --olivo-claro: #acc073;
    --oro-soft: #c5a47e;
}

.muebles-page { background: var(--carbon); color: #fff; }

/* Hero con degradado verde olivo sutil */
.m-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #121212 0%, #1e2410 100%); /* Degradado a verde oscuro */
}

.m-hero-text { position: relative; z-index: 2; max-width: 600px; }
.m-hero-text h1 { font-family: var(--font-serif); font-size: 4rem; line-height: 1.1; margin: 20px 0; }
.m-hero-text h1 span { color: var(--olivo-claro); font-style: italic; }

/* Grid Estilo Galería de Arte */
.m-gallery { padding: 100px 0; }
.m-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
    gap: 60px 40px; 
}

.m-item { position: relative; }

.m-box {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.05);
}

.m-box img { 
    width: 100%; height: 100%; object-fit: cover; 
    filter: brightness(0.7) grayscale(0.3);
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.m-overlay {
    position: absolute; inset: 0;
    background: rgba(61, 68, 30, 0.9); /* Overlay Verde Olivo */
    display: flex; align-items: center; padding: 40px;
    opacity: 0; transition: 0.5s;
    transform: translateY(20px);
}

.m-item:hover .m-overlay { opacity: 1; transform: translateY(0); }
.m-item:hover .m-box img { transform: scale(1.1); filter: brightness(0.5); }

.m-detail-info h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 15px; color: #fff; }
.m-detail-info p { font-size: 13px; line-height: 1.6; opacity: 0.8; margin-bottom: 30px; }

/* Botón WhatsApp Estilo Boutique */
.btn-m-wa {
    background: transparent; border: 1px solid #fff; color: #fff;
    padding: 12px 25px; font-size: 10px; font-weight: 700; letter-spacing: 2px;
    cursor: pointer; transition: 0.3s;
}
.btn-m-wa:hover { background: #fff; color: var(--olivo-deep); }

/* Etiquetas Inferiores */
.m-label { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.m-label span { font-family: var(--font-serif); font-size: 1.5rem; color: var(--olivo-claro); }
.m-label h4 { font-size: 10px; letter-spacing: 4px; opacity: 0.5; }

/* Mobile */
@media (max-width: 768px) {
    .m-hero-text h1 { font-size: 2.8rem; }
    .m-box { height: 400px; }
}






















.checkout-container { padding: 100px 0; background: #0a0a0a; color: #fff; }
.checkout-grid { 
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; 
    background: #111; padding: 40px; border: 1px solid rgba(255,255,255,0.05);
}

/* Lado del Resumen */
.order-summary { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 40px; }
.order-details { margin: 30px 0; background: #000; padding: 20px; border-radius: 4px; }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 14px; opacity: 0.8; }
.price-tag { color: var(--gold); font-weight: 700; }
.total { border-top: 1px solid #333; padding-top: 15px; margin-top: 15px; font-size: 18px; font-weight: 700; opacity: 1; }
#total-price { color: var(--gold); font-size: 24px; }

/* Formulario */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.input-group input { 
    width: 100%; background: #000; border: 1px solid #333; padding: 15px; 
    color: #fff; border-radius: 0; outline: none; transition: 0.3s;
}
.input-group input:focus { border-color: var(--gold); }

.btn-pay-now { 
    width: 100%; background: var(--gold); color: #000; border: none; 
    padding: 20px; font-weight: 700; letter-spacing: 2px; cursor: pointer; 
    transition: 0.4s; margin-top: 10px;
}
.btn-pay-now:hover { background: #fff; transform: translateY(-5px); }
.note { font-size: 10px; opacity: 0.4; margin-top: 15px; text-align: center; }

/* Celular */
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; padding: 20px; }
    .order-summary { border-right: none; border-bottom: 1px solid #333; padding-right: 0; padding-bottom: 30px; }
}















/* Estilos para la cuadrícula de contacto */
.contact-main { padding: 100px 0; background: #0a0a0a; min-height: 100vh; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* Lado Izquierdo */
.contact-info h1 { font-family: 'Playfair Display', serif; font-size: 3rem; color: #fff; margin: 20px 0; }
.contact-info h1 span { color: #c5a47e; }
.contact-info p { color: #888; line-height: 1.6; margin-bottom: 40px; }
.info-item { margin-bottom: 25px; border-left: 2px solid #c5a47e; padding-left: 20px; }
.info-item strong { display: block; font-size: 10px; letter-spacing: 2px; color: #c5a47e; margin-bottom: 5px; }
.info-item p { margin-bottom: 0; color: #fff; }

/* Lado Derecho - Formulario */
.contact-form-box { background: #111; padding: 50px; border-radius: 4px; border: 1px solid #222; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 9px; letter-spacing: 2px; color: #888; margin-bottom: 10px; }
.input-group input, .input-group textarea { 
    width: 100%; background: #000; border: 1px solid #333; padding: 15px; color: #fff; outline: none; 
}
.input-readonly { border: 1px dashed #c5a47e !important; color: #c5a47e !important; font-weight: bold; cursor: not-allowed; }

.btn-send { 
    width: 100%; background: #c5a47e; color: #000; border: none; padding: 20px; 
    font-weight: bold; letter-spacing: 2px; cursor: pointer; transition: 0.4s; 
}
.btn-send:hover { background: #fff; transform: translateY(-5px); }

/* Adaptación para móviles */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}



















/* SECCIÓN NOSOTROS PREMIUM */
.nosotros-premium { padding: 120px 0; background: #000; color: #fff; overflow: hidden; }

.nosotros-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.display-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin: 20px 0; }
.display-title span { color: var(--gold); font-style: italic; }
.lead-text { font-size: 1.1rem; opacity: 0.7; line-height: 1.8; font-weight: 300; }

/* Grid de Ecosistema */
.ecosistema-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-bottom: 60px;
}

.ecosistema-card { 
    background: #0a0a0a; 
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.card-image { 
    position: relative; 
    height: 450px; 
    overflow: hidden; 
    filter: grayscale(100%); 
    transition: 0.5s; 
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s; }

.card-overlay { 
    position: absolute; 
    bottom: 0; left: 0; width: 100%; 
    padding: 30px; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.card-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; letter-spacing: 2px; }
.card-overlay h3 span { color: var(--gold); }

.card-content { padding: 30px; opacity: 0; transform: translateY(20px); transition: 0.5s; }
.card-content p { font-size: 0.9rem; line-height: 1.6; color: #888; }

/* Efectos Hover */
.ecosistema-card:hover { transform: translateY(-10px); }
.ecosistema-card:hover .card-image { filter: grayscale(0%); }
.ecosistema-card:hover .card-image img { transform: scale(1.1); }
.ecosistema-card:hover .card-content { opacity: 1; transform: translateY(0); }

/* Destacar la del centro (Construcción) */
.ecosistema-card.featured { transform: translateY(-20px); border: 1px solid rgba(197, 164, 126, 0.3); }

/* Footer de Nosotros */
.nosotros-footer { 
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    border-top: 1px solid #222; 
    padding-top: 40px; 
}
.valor-item { font-size: 10px; letter-spacing: 3px; color: #555; }
.valor-item strong { color: var(--gold); margin-right: 10px; }

/* Mobile */
@media (max-width: 900px) {
    .ecosistema-grid { grid-template-columns: 1fr; }
    .display-title { font-size: 2.5rem; }
    .card-image { height: 300px; }
    .nosotros-footer { flex-direction: column; align-items: center; gap: 20px; }
}















/* FOOTER DE CONTACTO */
.contact-footer {
    background: #000;
    padding: 60px 0 40px;
    border-top: 1px solid #1a1a1a;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-tag {
    font-size: 10px;
    letter-spacing: 4px;
    color: #c5a47e; /* Tu color dorado */
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    filter: grayscale(100%) brightness(150%); /* Hace que los logos se vean blancos/gris elegante */
    transition: 0.3s;
}

.payment-icons:hover {
    filter: grayscale(0%) brightness(100%); /* Recuperan su color al pasar el mouse */
}

.payment-icons img {
    height: 25px; /* Tamaño discreto y elegante */
    width: auto;
}

.footer-legal {
    border-top: 1px solid #111;
    width: 100%;
    padding-top: 30px;
}

.footer-legal p {
    font-size: 11px;
    color: #444;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.security-text {
    color: #2ecc71 !important; /* Un verde suave para indicar seguridad */
    font-weight: 500;
}

/* Responsivo */
@media (max-width: 600px) {
    .payment-icons { gap: 20px; }
    .payment-icons img { height: 20px; }
}