        /* CONFIGURACIÓN GLOBAL */
        :root {
            --bg-color: #FAFAFA;
            --text-color: #1A1A1A;
            --text-light: #4D4D4D;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: 'Montserrat', 'Century Gothic', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1, h2, h3, h4 { text-transform: uppercase; font-weight: 300; letter-spacing: 0.15em; }
        a { text-decoration: none; color: var(--text-color); transition: opacity 0.3s ease; }
        a:hover { opacity: 0.5; }

        /* --- SPLASH SCREEN INTRO --- */
        #splash-screen {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100%; height: 100%;
            background-color: var(--bg-color);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
        }
        
        .splash-logo {
            width: 350px;
            max-width: 80%;
            opacity: 0;
            animation: splashAnim 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes splashAnim {
            0% { opacity: 0; transform: translateY(10px); }
            20% { opacity: 1; transform: translateY(0); }
            80% { opacity: 1; transform: translateY(0); }
            100% { opacity: 0; transform: translateY(-10px); }
        }

        .splash-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
        }

        @media (max-width: 768px) {
            .splash-logo {
                width: 250px;
            }
        }

        /* NAVEGACIÓN Y LOGO */
        .menu-icon {
            display: none;
            font-size: 28px;
            cursor: pointer;
            color: var(--text-color);
            user-select: none;
        }
        
        /* --- BANNER PROMOCIONAL --- */
        .promo-top-bar {
            position: absolute;
            top: 0; left: 0; width: 100%;
            background-color: #EC7000;
            color: #fff;
            text-align: center;
            padding: 8px 15px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 1001;
            letter-spacing: 0.05em;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 35px;
            box-sizing: border-box;
            text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .promo-top-bar {
                font-size: 0.65rem;
                min-height: 45px;
            }
        }
        
        nav {
            position: fixed; top: 35px; width: 100%; padding: 18px 5%;
            display: flex; justify-content: space-between; align-items: center;
            background: rgba(250, 250, 250, 0.98); backdrop-filter: blur(5px); z-index: 1000;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: padding 0.3s ease, background 0.3s ease;
        }

        nav.scrolled {
            padding: 6px 5%;
            background: rgba(250, 250, 250, 0.95);
            top: 0;
        }

        .logo img { 
            height: 60px !important; 
            max-height: 60px !important;
            width: auto !important; 
            display: block; 
            transition: height 0.3s ease; 
        }

        nav.scrolled .logo img {
            height: 40px !important;
            max-height: 40px !important;
        }

        .nav-links { 
            display: flex; 
            align-items: center; 
            gap: 30px; 
            font-size: 11px; 
            letter-spacing: 0.1em; 
            text-transform: uppercase; 
        }

        /* --- MENÚS DESPLEGABLES --- */
        .dropdown { position: relative; display: inline-block; }
        .dropdown .dropbtn { cursor: pointer; padding-bottom: 10px; }
        .dropdown-content {
            display: none; position: absolute; background-color: rgba(250, 250, 250, 0.98);
            min-width: 180px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.05);
            z-index: 1001; top: 100%; left: -15px; border-top: 2px solid var(--text-color);
        }
        .dropdown-content a {
            color: var(--text-color); padding: 12px 20px; text-decoration: none;
            display: block; text-align: left; font-size: 11px; transition: background 0.3s;
        }
        .dropdown-content a:hover { background-color: #f1f1f1; opacity: 1; }
        .dropdown:hover .dropdown-content { display: block; animation: fadeInDropdown 0.3s ease; }
        @keyframes fadeInDropdown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- BARRA DE BÚSQUEDA MEJORADA --- */
        .search-container { display: flex; align-items: center; margin-left: 10px; }
        .search-input {
            padding: 8px 12px; border: none; border-bottom: 1px solid var(--text-color);
            background: transparent; font-family: 'Montserrat', sans-serif; font-size: 11px;
            letter-spacing: 0.1em; text-transform: uppercase; outline: none; width: 200px;
            transition: all 0.3s ease; color: var(--text-color);
        }
        .search-input::placeholder { color: #aaa; text-transform: none; font-style: italic; letter-spacing: normal; }
        .search-input:focus { width: 250px; border-bottom: 2px solid var(--text-color); }

        /* SECCIONES BASE */
        section { padding: 120px 10%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
        .section-header { margin-bottom: 80px; text-align: center; }
        .section-header h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.3; }
        .section-header p { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

        /* 1. HERO SECTION */
        #hero {
            height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
            background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)), 
                        url('../renders/render-principal.jpg') center/cover;
        }
        #hero h1 { font-size: 3.5rem; font-weight: 200; color: #fff; animation: fadeIn 2s ease-in; line-height: 1.4; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* 2. TECNOLOGÍA (METODOLOGÍA REDISEÑADA) */
        .split-screen { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .tech-text h3 { font-size: 2rem; margin-bottom: 30px; }
        
        /* Grid de 4 Pasos */
        .pasos-metodologia { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
        .paso { padding: 25px; background: #fff; border: 1px solid #eaeaea; border-left: 3px solid var(--text-color); transition: transform 0.3s; }
        .paso:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .paso strong { display: block; font-size: 0.95rem; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
        .paso p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }
        
        .tech-image img { width: 100%; height: auto; border: 1px solid #eaeaea; }

        /* 3. PORTAFOLIO GRILLA - ESTILO REVISTA */
        #portafolio { scroll-snap-align: start; scroll-margin-top: 80px; }
        .portfolio-grid {
            display: grid;
            grid-template-rows: repeat(2, 400px);
            grid-auto-columns: calc(33.333% - 10px);
            grid-auto-flow: column;
            gap: 15px;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding-bottom: 20px;
        }
        .portfolio-grid::-webkit-scrollbar { display: none; }
        .portfolio-item { scroll-snap-align: start; position: relative; overflow: hidden; background: #000; cursor: pointer; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        .portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1); opacity: 0.9; display: block; }
        
        .span-2x2 { grid-row: span 2; grid-column: span 2; } 
        .span-1x2 { grid-row: span 2; grid-column: span 1; } 
        .span-2x1 { grid-row: span 1; grid-column: span 2; }

        .portfolio-overlay {
            position: absolute; bottom: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 40%, transparent 100%);
            display: flex; align-items: flex-end; justify-content: flex-start;
            padding: 40px;
            opacity: 0; transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .overlay-jerarquia { text-align: left; display: flex; flex-direction: column; gap: 8px; transform: translateY(20px); transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
        .titulo-wrapper { display: flex; align-items: baseline; justify-content: flex-start; gap: 12px; }
        .txt-casa, .txt-nombre { font-size: 2rem; font-weight: 300; letter-spacing: 0.1em; color: #FAFAFA; line-height: 1.1; }
        .txt-ver { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.2em; color: #fff; margin-top: 15px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 6px; display: inline-block; width: fit-content; transition: border-color 0.4s; }
        .txt-ver:hover { border-color: #FAFAFA; }
        .txt-sector { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; color: #d4d4d4; text-transform: uppercase; }

        .portfolio-item:hover img { transform: scale(1.08); opacity: 1; } 
        .portfolio-item:hover .portfolio-overlay { opacity: 1; }
        .portfolio-item:hover .overlay-jerarquia { transform: translateY(0); }

        /* --- PAGINACIÓN REVISTA (desktop) --- */
        .portfolio-pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            margin-top: 60px;
            padding: 10px 0;
        }
        .page-btn {
            background: none;
            border: 1px solid #1a1a1a;
            width: 46px; height: 46px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1rem;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.3s, color 0.3s, opacity 0.3s;
            color: #1a1a1a;
            font-family: 'Montserrat', sans-serif;
        }
        .page-btn:hover:not(:disabled) { background: #1a1a1a; color: #fff; }
        .page-btn:disabled { opacity: 0.2; cursor: not-allowed; }
        .page-dots { display: flex; gap: 8px; align-items: center; }
        .page-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: #ccc;
            transition: background 0.3s, width 0.3s, border-radius 0.3s;
            cursor: pointer;
        }
        .page-dot.active { background: #1a1a1a; width: 22px; border-radius: 3px; }
        .page-counter { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--text-light); text-transform: uppercase; }

        /* 4. VANGUARDIA */
        .materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
        .material-card { 
            background: #fff; border: 1px solid #eaeaea; text-align: left; 
            display: flex; flex-direction: column; 
            transition: transform 0.3s, box-shadow 0.3s; /* <-- Agregamos la transición */
        }
        .material-card:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* <-- Agregamos el efecto hover */
        }
        .material-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid #eaeaea; }
        .material-content { padding: 40px; }
        .material-card h4 { margin-bottom: 15px; font-weight: 600; font-size: 1.1rem; }

        /* 5. SLIDER INTERACTIVO */
        #slider { padding: 40px 0 !important; width: 100%; }
        .slider-wrapper { position: relative; width: 95vw; max-width: 1800px; margin: 0 auto; height: auto !important; overflow: hidden; display: grid; align-items: center; }
        .slider-wrapper img { grid-area: 1 / 1; width: 100%; height: auto; pointer-events: none; }
        .slider-wrapper img.img-overlay { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); z-index: 1; transform: translateY(0); }
        .slider-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
        .slider-line { position: absolute; top: 0; left: 50%; width: 3px; height: 100%; background: #1A1A1A; z-index: 2; pointer-events: none; transform: translateX(-50%); box-shadow: 0 0 15px rgba(0,0,0,0.5); }
        
        /* 6. SOBRE NOSOTROS */
        .nosotros-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
        .nosotros-card { 
            padding: 40px; background: #fff; border: 1px solid #eaeaea; 
            transition: transform 0.3s, box-shadow 0.3s; /* <-- Agregamos la transición */
        }
        .nosotros-card:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* <-- Agregamos el efecto hover */
        }
        .nosotros-card h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-color); border-bottom: 2px solid var(--text-color); padding-bottom: 10px; display: inline-block; }
        .nosotros-card p { font-size: 0.95rem; color: var(--text-light); }
        
        .carousel-container { position: relative; width: 100%; height: 500px; overflow: hidden; background: #eee; }
        .carousel-slide { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease-in-out; }
        .carousel-slide img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
        .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(26, 26, 26, 0.5); color: #fff; border: none; padding: 15px 20px; cursor: pointer; font-size: 1.5rem; z-index: 10; transition: background 0.3s ease; }
        .carousel-btn:hover { background: rgba(26, 26, 26, 0.9); }
        .prev-btn { left: 0; }
        .next-btn { right: 0; }
        .carousel-caption { position: absolute; bottom: 30px; left: 30px; background: rgba(250, 250, 250, 0.9); padding: 15px 25px; z-index: 10; }
        .carousel-caption h3 { font-size: 1rem; margin: 0; }

        /* 7. CONTACTO Y FOOTER */
        .contact-section { padding: 100px 10%; background-color: var(--bg-color); display: flex; justify-content: center; }
        .contact-container { width: 100%; max-width: 1200px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; text-align: left; }
        .section-title { font-size: 2rem; font-weight: 300; letter-spacing: 0.15em; margin-bottom: 10px; }
        .contact-subtitle { color: var(--text-light); margin-bottom: 40px; font-size: 0.95rem; }
    /* =========================================================================
       SECCIÓN LEGAL, COOKIES Y CHECKBOX
       ========================================================================= */

    .legal-content {
        max-width: 900px;
        margin: 120px auto 60px auto;
        padding: 0 20px;
    }

    .legal-text {
        background: #fff;
        padding: 40px;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .legal-text h2 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
        color: #1a1a1a;
        font-weight: 600;
    }

    .legal-text p, .legal-text ul {
        font-size: 1rem;
        line-height: 1.6;
        color: #555;
        margin-bottom: 15px;
    }

    .legal-text ul {
        padding-left: 20px;
    }

    .legal-text li {
        margin-bottom: 8px;
    }

    .footer-links-legal {
        margin-top: 15px;
        font-size: 0.85rem;
    }

    .footer-links-legal a {
        color: #888;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-links-legal a:hover {
        color: #fff;
    }

    /* Banner de Cookies */
    .cookie-banner {
        position: fixed;
        bottom: -150px;
        left: 0;
        width: 100%;
        background-color: rgba(26, 26, 26, 0.95);
        color: #fff;
        z-index: 9999;
        transition: bottom 0.5s ease-in-out;
        padding: 20px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        backdrop-filter: blur(10px);
    }

    .cookie-banner.show {
        bottom: 0;
    }

    .cookie-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .cookie-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }

    .cookie-buttons {
        display: flex;
        gap: 10px;
    }

    .cookie-btn {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }

    .cookie-btn.aceptar {
        background-color: #fff;
        color: #1a1a1a;
    }

    .cookie-btn.aceptar:hover {
        background-color: #e0e0e0;
    }

    .cookie-btn.rechazar {
        background-color: transparent;
        color: #ccc;
        border: 1px solid #555;
    }

    .cookie-btn.rechazar:hover {
        background-color: #333;
        color: #fff;
    }

    @media (min-width: 768px) {
        .cookie-content {
            flex-direction: row;
            text-align: left;
        }
        .cookie-content p {
            text-align: left;
            flex: 1;
            padding-right: 20px;
        }
    }

    /* Checkbox en Formulario */
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .checkbox-group input[type="checkbox"] {
        margin-top: 4px;
        cursor: pointer;
        accent-color: #1a1a1a;
    }

    .checkbox-group label {
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.4;
        cursor: pointer;
    }

    .checkbox-group label a {
        color: #1a1a1a;
        text-decoration: underline;
    }
}
        .showroom-info { margin-bottom: 30px; }
        .showroom-info p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 10px; }
        .showroom-info strong { color: var(--text-color); font-weight: 600; }
        .map-box { width: 100%; height: 250px; border: 1px solid #ddd; background-color: #eee; }
        .contact-form { display: flex; flex-direction: column; gap: 20px; text-align: left; }
        .form-row { display: flex; gap: 20px; }
        .form-group { width: 100%; }
        .contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid #ddd; background-color: #fff; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; transition: border-color 0.3s; outline: none; }
        .contact-form input:focus, .contact-form textarea:focus { border-color: #1A1A1A; }
        .submit-btn { background-color: #1A1A1A; color: #fff; padding: 18px; border: none; font-family: 'Montserrat', sans-serif; letter-spacing: 0.1em; font-weight: 600; cursor: pointer; transition: background-color 0.3s; margin-top: 10px; }
        .submit-btn:hover { background-color: #4D4D4D; }

        footer { background: var(--text-color); color: var(--bg-color); padding: 100px 10%; text-align: center; }
        footer h2 { font-size: 2rem; margin-bottom: 60px; line-height: 1.4; padding-bottom: 15px; padding-top: 10px; }
        .footer-info { display: flex; justify-content: space-around; border-top: 1px solid #333; padding-top: 40px; }
        .footer-block p { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #888; }
        .footer-block h4 { font-size: 1.2rem; margin-top: 10px; text-transform: none; letter-spacing: normal; color: var(--bg-color); }


        /* RESPONSIVO 900px — SLIDER HORIZONTAL TIPO REVISTA EN MÓVIL */
        @media (max-width: 900px) {
            .split-screen, .materials-grid, .footer-info, .nosotros-grid, .contact-container { grid-template-columns: 1fr; flex-direction: column; gap: 40px; }
            #hero h1 { font-size: 2.5rem; }
            .carousel-container { height: 350px; }

            #portafolio {
                padding: 0 !important;
                overflow: hidden;
            }
            #portafolio .section-header {
                padding: 20px 5% 15px !important;
                margin-bottom: 0 !important;
                text-align: left !important;
            }
            #portafolio .section-header h2 { font-size: 1.6rem !important; margin-bottom: 8px !important; }
            #portafolio .section-header p { display: none; }

            /* Slider horizontal — usa scroll nativo con snap */
            .portfolio-grid {
                display: flex !important;
                flex-direction: row !important;
                height: calc(100vh - 120px) !important;
                width: 100% !important;
                overflow-x: scroll !important;
                overflow-y: hidden !important;
                scroll-snap-type: x mandatory !important;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none !important;
                -ms-overflow-style: none;
                transition: none !important;
            }
            .portfolio-grid::-webkit-scrollbar { display: none !important; }

            /* Cada proyecto ocupa el 100% del ancho y hace snap */
            .portfolio-item {
                flex-shrink: 0 !important;
                width: 100% !important;
                height: 100% !important;
                border-radius: 12px !important;
                overflow: hidden !important;
                margin: 0 !important;
                box-shadow: none !important;
                scroll-snap-align: start !important;
                scroll-snap-stop: always !important;
                will-change: auto !important;
                transition: none !important;
            }
            .span-2x2, .span-1x2, .span-2x1 { all: unset; flex-shrink: 0; display: block; width: 100%; scroll-snap-align: start; }

            /* Overlay siempre visible */
            .portfolio-overlay {
                opacity: 1 !important;
                background: linear-gradient(to top,
                    rgba(5,5,5,0.97) 0%,
                    rgba(5,5,5,0.5) 40%,
                    rgba(5,5,5,0.05) 70%,
                    transparent 100%) !important;
                padding: 35px 28px !important;
            }
            .overlay-jerarquia { transform: translateY(0) !important; gap: 8px !important; }
            .txt-casa { font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.25em !important; color: rgba(255,255,255,0.55) !important; }
            .txt-nombre { font-size: 1.9rem !important; font-weight: 300 !important; line-height: 1.1 !important; }
            .txt-sector { font-size: 0.72rem !important; letter-spacing: 0.18em !important; color: rgba(255,255,255,0.45) !important; }
            .txt-ver { margin-top: 14px !important; font-size: 0.72rem !important; letter-spacing: 0.18em !important; padding: 9px 18px !important;
                border: 1px solid rgba(255,255,255,0.35) !important; border-radius: 30px !important;
                display: inline-block !important; width: auto !important; }

            /* Barra de progreso inferior */
            .mobile-progress-bar {
                height: 2px; background: rgba(255,255,255,0.15);
                margin: 0; position: relative;
            }
            .mobile-progress-fill {
                height: 100%; background: #fff;
                transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            }

            /* Controles de navegación */
            .mobile-magazine-nav {
                display: flex; align-items: center; justify-content: space-between;
                padding: 10px 20px;
                background: #fafafa;
            }
            .mag-nav-btn {
                background: none; border: none;
                font-size: 1.3rem; cursor: pointer;
                color: #1a1a1a; padding: 6px 10px;
                opacity: 0.85; transition: opacity 0.2s;
                font-family: 'Montserrat', sans-serif;
                line-height: 1;
            }
            .mag-nav-btn:active { opacity: 0.4; }
            .mag-nav-btn[disabled] { opacity: 0.15; pointer-events: none; }
            .mag-slide-counter {
                font-size: 0.7rem; letter-spacing: 0.18em;
                color: #888; text-transform: uppercase;
                font-family: 'Montserrat', sans-serif;
            }

            /* Ocultar paginación desktop en móvil */
            .portfolio-pagination { display: none !important; }
        }

        @media (max-width: 768px) {
            nav {
                top: 45px;
                padding: 15px 5%;
                flex-direction: row !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                justify-content: space-between !important;
                min-height: unset;
                background: rgba(250, 250, 250, 0.99) !important;
                box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            }
            nav.scrolled { padding: 10px 5%; top: 0; }
            .logo { order: 1; }
            .logo img { height: 35px !important; max-height: 35px !important; }
            nav.scrolled .logo img { height: 28px !important; max-height: 28px !important; }
            .menu-icon { order: 2; display: block !important; font-size: 1.6rem; margin-left: auto; }
            section { padding: 80px 5%; }
            .menu-icon { display: block; }
            .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(250, 250, 250, 0.98); flex-direction: column; align-items: flex-start; gap: 0; padding: 0; box-shadow: 0px 10px 15px rgba(0,0,0,0.05); display: none; }
            .nav-links.active { display: flex; }
            .nav-links > a, .dropdown { width: 100%; padding: 20px 5%; border-bottom: 1px solid #eaeaea; font-size: 13px; }
            .dropdown .dropbtn { padding-bottom: 0; width: 100%; display: block; text-align: left; }
            .dropdown-content { position: static; box-shadow: none; border-top: none; background: transparent; padding-left: 15px; display: none; }
            .dropdown:hover .dropdown-content { display: block; }
            
            /* Ajuste Buscador Móvil Integrado */
            .search-container { width: 100%; padding: 0; margin: 0; }
            .search-input { width: 100%; padding: 20px 5%; border-bottom: 1px solid #eaeaea; font-size: 13px; border-radius: 0; }
            .search-input:focus { width: 100%; border-bottom: 1px solid var(--text-color); }
            
            .stats-section { flex-direction: column; gap: 50px; padding: 60px 20px; }
        }
        @media (max-width: 600px) { 
            .form-row { flex-direction: column; gap: 20px; } 
            .pasos-metodologia { grid-template-columns: 1fr; }
        }
        
        /* MÉTRICAS */
        .stats-section { display: flex; justify-content: center; align-items: center; gap: 100px; padding: 80px 20px; background-color: transparent; width: 100%; }
        .stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
        .stat-number { font-size: 4rem; font-weight: 800; color: #1a1a1a; margin: 0; line-height: 1; }
        .stat-label { font-size: 0.9rem; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 3px; margin-top: 15px; }


/* --- STYLES FROM ACABADOS.HTML --- */

        /* CONFIGURACIÓN GLOBAL */
        :root { --bg-color: #FAFAFA; --text-color: #1A1A1A; --text-light: #4D4D4D; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Montserrat', sans-serif; line-height: 1.6; overflow-x: hidden; }
        a { text-decoration: none; color: var(--text-color); transition: opacity 0.3s ease; }
        a:hover { opacity: 0.5; }

        /* NAVEGACIÓN Y BOTONES */
        .page-other nav {
            position: fixed; top: 0; width: 100%; padding: 40px 65px;
            display: flex; justify-content: space-between; align-items: center;
            background: rgba(250, 250, 250, 0.95); backdrop-filter: blur(5px); z-index: 1000;
        }
        .page-other .logo img { 
            height: 65px !important; 
            max-height: 65px !important;
            width: auto !important; 
            display: block; 
            transform: none !important; 
        }
        .nav-links-right { display: flex; gap: 30px; align-items: center; }
        .back-link { 
            font-size: 11px; 
            letter-spacing: 0.1em; 
            text-transform: uppercase; 
            color: var(--text-color);
            transition: opacity 0.3s ease;
        }
        .back-link:hover { opacity: 0.5; }

        /* HEADER DEL CATÁLOGO */
        .catalog-header {
            padding: 200px 10% 80px 10%;
            text-align: center;
        }
        .catalog-header p { font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 15px; }
        .catalog-header h1 { font-size: 3.5rem; font-weight: 200; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-color); }

        /* --- GRILLA TETRIS LIMPIA --- */
        .portfolio-section { padding: 0 10% 120px 10%; }
        .portfolio-grid { 
            display: grid;  
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
            grid-auto-rows: 300px; 
            gap: 5px; 
            grid-auto-flow: dense; 
        }
        
        .portfolio-item { position: relative; overflow: hidden; background: #000; cursor: pointer; }
        .portfolio-item.large { grid-column: span 2; grid-row: span 2; }
        
        /* Blindaje anti-transparencia para proteger la iluminación del render */
        .portfolio-item a { display: block; width: 100%; height: 100%; }
        .portfolio-item a:hover { opacity: 1 !important; }
        
        /* Zoom puro y elegante sin ningún filtro oscuro */
        .portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
        .portfolio-item:hover img { transform: scale(1.05); }

        /* ESTADO VACÍO */
        .empty-state { text-align: center; padding: 100px 0; color: var(--text-light); font-size: 1.1rem; grid-column: 1 / -1; }

        @media (max-width: 900px) {
            .portfolio-item.large { grid-column: span 1; grid-row: span 1; }
            .catalog-header h1 { font-size: 2.5rem; }
            .page-other nav { padding: 20px 5%; flex-direction: column; gap: 20px; }
        }
    

/* --- STYLES FROM ACCESO-DIRECT-WDAWDS-88.HTML --- */

        :root { --bg-color: #f4f6f8; --text-color: #2b2b2b; --card-bg: #ffffff; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Montserrat', sans-serif; padding: 40px 5%; }
        
        .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 2px solid #e0e4e8; padding-bottom: 20px; flex-wrap: wrap; gap: 20px; }
        .header h1 { font-weight: 300; letter-spacing: 0.1em; font-size: 2rem; color: #111; }
        .controles-top { display: flex; gap: 10px; flex-wrap: wrap; }
        
        .btn-accion { cursor: pointer; text-decoration: none; padding: 12px 20px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 6px; border: none; font-family: 'Montserrat', sans-serif; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .btn-gantt { background: #0ea5e9; color: white; } .btn-gantt:hover { background: #0284c7; }
        
        .search-container { margin-bottom: 40px; }
        .search-box { width: 100%; padding: 16px 20px; font-size: 1rem; border: none; border-radius: 8px; font-family: 'Montserrat', sans-serif; box-shadow: 0 4px 15px rgba(0,0,0,0.03); background: #ffffff; transition: box-shadow 0.3s; }
        .search-box:focus { outline: none; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

        .btn-filtro { background: #e5e7eb; color: #333; border: none; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; white-space: nowrap; font-family: 'Montserrat', sans-serif; font-weight: 600; transition: all 0.3s; }
        .btn-filtro:hover { background: #d1d5db; transform: translateY(-2px); }
        .btn-filtro.active { background: #1A1A1A; color: white; transform: scale(1.05); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
        
        .clientes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
        
        .cliente-card { background: var(--card-bg); padding: 25px; border-left: 6px solid #1A1A1A; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.03); transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s; position: relative; cursor: pointer; }
        .cliente-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
        .cliente-card.editing { cursor: default; border-left: 8px solid #0ea5e9; box-shadow: 0 8px 25px rgba(14,165,233,0.15); transform: scale(1.02); z-index: 10; }
        
        .c-nombre { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; color: #111; display: flex; justify-content: space-between; align-items: center; }
        .c-dato { font-size: 0.85rem; color: #555; margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
        .c-dato strong { font-weight: 700; color: #a1a1aa; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
        
        .estado-badge { display: inline-block; padding: 6px 14px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 15px; border-radius: 20px; }
        .est-cotizando { background: #e0f2fe; color: #0284c7; } .est-diseno { background: #ffedd5; color: #ea580c; } .est-fabricacion { background: #f3e8ff; color: #7e22ce; } .est-instalacion { background: #cffafe; color: #0891b2; } .est-finalizado { background: #dcfce7; color: #16a34a; } .est-pausado { background: #fee2e2; color: #ef4444; } .est-default { background: #f1f5f9; color: #475569; }
        
        .edit-input, .edit-select { padding: 10px; border: 1px solid #e5e7eb; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; width: 100%; background: #f8fafc; transition: border-color 0.2s; }
        .edit-input:focus, .edit-select:focus { outline: none; border-color: #94a3b8; }
        
        .btn-listo { width: 100%; padding: 12px; background: #10b981; color: white; border: none; border-radius: 6px; font-weight: 700; font-family: 'Montserrat', sans-serif; margin-top: 15px; cursor: pointer; transition: background 0.3s; }
        .btn-listo:hover { background: #059669; }

        .btn-mapa { text-decoration: none; background: #f1f5f9; color: #334155; padding: 8px 14px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; transition: background 0.2s; }
        .btn-mapa:hover { background: #e2e8f0; color: #0f172a; }
        
        .toast { visibility: hidden; min-width: 250px; background-color: #1f2937; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: 30px; font-size: 0.9rem; font-weight: 600; transform: translateX(-50%); box-shadow: 0 10px 25px rgba(0,0,0,0.2);}
        .toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s;}
        @keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} } @keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
        /* ESTILOS MODAL AÑADIR CLIENTE */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; justify-content: center; align-items: center; }
        .modal-content { background: #fff; padding: 30px; border-radius: 8px; width: 90%; max-width: 450px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-top: 5px solid #1A1A1A; animation: fadeInDropdown 0.3s ease; }
        .modal-content h3 { font-weight: 700; margin-bottom: 10px; text-transform: uppercase; color: #111; }
        .form-group-modal { margin-bottom: 15px; }
        .form-group-modal label { display: block; font-size: 0.8rem; font-weight: 700; color: #0ea5e9; margin-bottom: 5px; text-transform: uppercase; }
        .form-group-modal input { width: 100%; padding: 12px; border: 1px solid #e5e7eb; border-radius: 6px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; }
        .modal-botones { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
        .btn-cancelar { background: #e5e7eb; color: #333; padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: 'Montserrat', sans-serif; }
        .btn-cancelar:hover { background: #d1d5db; }
        .btn-guardar-modal { background: #1A1A1A; color: white; padding: 10px 20px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: 'Montserrat', sans-serif; }
        .btn-guardar-modal:hover { background: #333; }


/* --- STYLES FROM EQUIPO.HTML --- */

        /* Heredamos la configuración global de tu web */
        :root { --bg-color: #FAFAFA; --text-color: #1A1A1A; --text-light: #4D4D4D; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Montserrat', sans-serif; line-height: 1.6; }
        h1, h2, h3, h4 { text-transform: uppercase; font-weight: 300; letter-spacing: 0.15em; }
        a { text-decoration: none; color: var(--text-color); transition: opacity 0.3s ease; }
        a:hover { opacity: 0.5; }

        /* Navegación básica replicada */
        .page-other { padding-top: 150px; background: var(--bg-color); min-height: 100vh; }
        .page-other nav { position: fixed; top: 35px; width: 100%; padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(250, 250, 250, 0.95); backdrop-filter: blur(5px); z-index: 1000; border-bottom: 1px solid #eaeaea; transition: top 0.3s ease, padding 0.3s ease; }
        .page-other nav.scrolled { top: 0; padding: 15px 5%; }
        .page-other .logo img { height: 50px; width: auto; }
        .nav-links { display: flex; gap: 30px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
        
        /* --- ESTILOS EXCLUSIVOS PARA LA PÁGINA DE EQUIPO --- */
        .team-section { padding: 180px 10% 100px 10%; min-height: 80vh; text-align: center; }
        .section-header { margin-bottom: 80px; }
        .section-header h1 { font-size: 2.5rem; font-weight: 300; margin-bottom: 15px; }
        .section-header p { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

        .team-category { margin-bottom: 80px; }
        .team-category h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.2em; margin-bottom: 50px; color: var(--text-color); display: inline-block; border-bottom: 1px solid #ddd; padding-bottom: 15px; }
        
        .team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 60px; }
        .team-member { text-align: center; min-width: 280px; }
        .team-member h4 { font-size: 1.4rem; font-weight: 400; margin-bottom: 8px; text-transform: none; letter-spacing: normal; }
        .team-member p { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.15em; }
        .team-member .highlight-role { font-weight: 600; color: var(--text-color); }

        footer { background: var(--text-color); color: var(--bg-color); padding: 80px 10%; text-align: center; margin-top: 50px; }
        footer h2 { font-size: 1.5rem; margin-bottom: 40px; }

        @media (max-width: 768px) {
            .nav-links { display: none; } /* En móvil puedes agregar el menú hamburguesa luego */
            .team-grid { gap: 40px; flex-direction: column; align-items: center; }
            .team-section { padding-top: 130px; }
        }
    

/* --- STYLES FROM LOGISTICA.HTML --- */

        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f7f6; margin: 0; padding: 20px; }
        .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; }
        .header h1 { margin: 0; color: #333; font-size: 24px; }
        .btn-volver { padding: 10px 15px; background-color: #333; color: #fff; text-decoration: none; border-radius: 6px; font-weight: bold; }
        
        .controles-vista { margin-bottom: 15px; display: flex; gap: 10px; }
        .controles-vista button { padding: 8px 15px; border: 1px solid #ccc; background-color: #fff; cursor: pointer; border-radius: 4px; font-weight: bold; }
        .controles-vista button:hover, .controles-vista button.activo { background-color: #000; color: #fff; border-color: #000; }
        .gantt-wrapper { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); overflow-x: auto; }

        .asignacion-rapida { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; border-left: 5px solid #0ea5e9; }
        .grupo-form { display: flex; flex-direction: column; gap: 6px; }
        .grupo-form label { font-size: 0.65rem; color: #64748b; font-weight: bold; text-transform: uppercase; }
        .input-rapido { padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 6px; font-family: inherit; font-size: 0.9rem; transition: border-color 0.2s; width: 100%; box-sizing: border-box;}
        .input-rapido:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
        .btn-asignar { padding: 0 20px; height: 42px; background: #1A1A1A; color: white; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; transition: background 0.3s; }
        .btn-asignar:hover { background: #333; }

        #custom-select-container { position: relative; }
        .dropdown-content { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: #ffffff; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 1001; border: 1px solid #cbd5e1; border-top: none; border-radius: 0 0 6px 6px; max-height: 250px; overflow-y: auto; }
        .dropdown-content.show { display: block; }
        .dropdown-item { padding: 10px 12px; cursor: pointer; font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid #f1f5f9; transition: background 0.2s; }
        .dropdown-item:hover { background-color: #f0f9ff; }
        .estado-agendado { color: #94a3b8; }
        .estado-sin-fecha { font-weight: 700; color: #111; }

        .toast { visibility: hidden; min-width: 250px; background-color: #1f2937; color: #fff; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: 30px; font-size: 0.9rem; font-weight: 600; transform: translateX(-50%); box-shadow: 0 10px 25px rgba(0,0,0,0.2);}
        .toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s;}
        @keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} } @keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }
    

/* --- STYLES FROM PROYECTO.HTML --- */

        /* CONFIGURACIÓN GLOBAL (Igual a tu Index para consistencia) */
        :root {
            --bg-color: #FAFAFA;
            --text-color: #1A1A1A;
            --text-light: #4D4D4D;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: 'Montserrat', 'Century Gothic', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* NAVEGACIÓN UNIFICADA */
        .page-other nav {
            position: fixed; top: 0; width: 100%; padding: 40px 65px;
            display: flex; justify-content: space-between; align-items: center;
            background: rgba(250, 250, 250, 0.95); backdrop-filter: blur(5px); z-index: 1000;
        }
        .page-other .logo img { 
            height: 65px !important; 
            max-height: 65px !important;
            width: auto !important; 
            display: block; 
            transform: none !important; 
        }
        .back-link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--text-color); transition: opacity 0.3s; }
        .back-link:hover { opacity: 0.5; }

        /* CONTENEDOR DE LA MEMORIA DE ARQUITECTURA */
        .project-header {
            padding: 160px 10% 60px 10%;
            max-width: 1200px;
        }
        .project-header h1 { font-size: 2.5rem; font-weight: 200; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 25px; line-height: 1.3; }
        
        /* Ficha Técnica Estilo Catálogo */
        .meta-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-bottom: 40px;
            border-top: 1px solid #eaeaea;
            padding-top: 30px;
        }
        .meta-item p { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #888; margin-bottom: 5px; }
        .meta-item h3 { font-size: 1.1rem; font-weight: 300; }
        
        .project-description {
            font-size: 1.05rem; color: var(--text-light); max-width: 800px; margin-top: 20px; text-align: justify;
        }

        /* 👑 GRILLA ASIMÉTRICA DE RENDERS (Estilo Visual Alta Gama) */
        .renders-section { padding: 0 10% 120px 10%; }
        
        .renders-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Dos columnas base */
            grid-auto-rows: 550px; /* Altura de fila fija para mantener proporciones limpias */
            gap: 15px; /* Espaciado fino entre renders */
        }
        
        .render-wrapper { position: relative; overflow: hidden; background: #eee; border: 1px solid #eaeaea; }
        .render-wrapper img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            transition: transform 0.6s ease;
            
            /* 🚀 TRUCO DE RENDIMIENTO: Alivia la carga de la tarjeta gráfica */
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            transform: translateZ(0); /* Fuerza el uso de aceleración por hardware */
        }        .render-wrapper:hover img { transform: scale(1.02); }

        /* REGLAS ESTRUCTURALES DE LA GRILLA (Modificables) */
        .render-wrapper.panoramico { grid-column: span 2; } /* Ocupa todo el ancho */
        .render-wrapper.alto { grid-row: span 2; height: 100%; } /* Doble de alto */

        /* MENSAJE DE CARGA */
        .loading-state { font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: #888; text-align: center; padding: 100px 0; }

        /* RESPONSIVE */
        @media (max-width: 900px) {
            .meta-grid { grid-template-columns: 1fr; gap: 20px; }
            .renders-grid { grid-template-columns: 1fr; grid-auto-rows: 350px; }
            .render-wrapper.panoramico { grid-column: span 1; }
            .render-wrapper.alto { grid-row: span 1; }
            .project-header h1 { font-size: 1.8rem; }
        }

        /* ESTILO PARA LOS TAGS INTERACTIVOS DE ACABADOS */
        .tags-container { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

        .tag-acabado {
            display: inline-block;
            background-color: var(--text-color);
            color: var(--bg-color);
            padding: 5px 12px;
            font-size: 0.7rem;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.15em;
            transition: opacity 0.3s;
        }
        /* ESTILO PARA LOS ENLACES DE AMBIENTES (Anti-Azul) */
        .meta-item h3 a.enlace-ambiente {
            color: var(--text-color) !important;
            text-decoration: none !important;
            transition: opacity 0.3s ease;
        }
        
        .meta-item h3 a.enlace-ambiente:hover {
            opacity: 0.5 !important;
        }
        .tag-acabado:hover { opacity: 0.7; }

        /* LIGHTBOX PARA IMÁGENES A PANTALLA COMPLETA */
        .lightbox-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 100000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .lightbox-overlay.active {
            display: flex;
            opacity: 1;
        }
        .lightbox-img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 4px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
            transform: scale(0.9);
            transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        }
        .lightbox-overlay.active .lightbox-img {
            transform: scale(1);
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 40px;
            font-weight: 300;
            cursor: pointer;
            z-index: 100001;
            transition: opacity 0.2s;
        }
        .lightbox-close:hover {
            opacity: 0.7;
        }
        .render-wrapper img {
            cursor: pointer;
            transition: transform 0.3s ease, filter 0.3s ease;
        }
        .render-wrapper img:hover {
            transform: scale(1.02);
            filter: brightness(1.1);
        }
/* --- WHATSAPP BOTON --- */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20b858;
    opacity: 1;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 75px; /* Elevado significativamente para evitar cualquier barra de navegación móvil */
        right: 20px;
        z-index: 99999;
    }
    .whatsapp-btn svg {
        width: 32px;
        height: 32px;
    }
}

