        /* Estilos Base */
        html, body { 
            height: 100%; 
            margin: 0;
            overflow-x: hidden;
            font-family: 'Roboto', sans-serif;
            background-color: #fff;
        }
        
        .page-transition { animation: fadeIn 0.6s ease-out forwards; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        
        /* Efecto Blanco y Negro a Color para Miniaturas */
        .thumb-bw {
            filter: grayscale(100%);
            transition: all 0.5s ease;
            transform: scale(1);
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .thumb-item:hover .thumb-bw {
            filter: grayscale(0%);
            transform: scale(1.05);
            z-index: 10;
        }

        /* Tarjetas de Información */
        .info-card {
            background-color: #F8F9FA;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0.5rem;
            height: 100%;
            width: 100%;
            border: 1px solid #E2E8F0;
            transition: background-color 0.3s;
            aspect-ratio: 4/3;
        }
        .info-card:hover {
            background-color: #E0E7FF;
            border-color: #2E4A6D;
        }
        .info-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: #64748B; font-weight: 700; margin-bottom: 4px; }
        .info-value { font-size: 11px; font-weight: 400; color: #1F344D; text-align: center; }
        
        .hidden-section { display: none !important; }
        
        .nav-gradient {
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
        }
        
        .zoom-overlay {
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .group:hover .zoom-overlay {
            opacity: 1;
        }
        
        #lightbox { backdrop-filter: blur(15px); }
        
        /* Ajuste Lightbox */
        #lightbox-img {
            max-height: 80vh; 
            max-width: 90vw;  
            box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.8);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 2px;
        }

        .active-tab {
            color: #fff !important;
            font-weight: 500 !important;
            border-bottom: 1px solid #fff;
        }
        
        /* Grid de Miniaturas Estructurado */
        .thumb-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.5rem;
            margin-top: 1.5rem;
            align-content: start;
        }
        .thumb-item {
            aspect-ratio: 4/3;
            overflow: hidden;
            cursor: pointer;
            border-radius: 1px;
            background-color: #f3f4f6;
        }
        .thumb-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .thumb-item:hover img {
            transform: scale(1.1);
        }

        /* Thumbnails Home */
        .home-thumb {
            height: 80px; 
            overflow: hidden;
            cursor: pointer;
            border: 1px solid transparent;
            transition: all 0.3s;
        }
        .home-thumb:hover {
            border-color: #2E4A6D;
            transform: translateY(-2px);
        }

        /* Inputs Contacto */
        .contact-input {
            width: 100%;
            border: 1px solid #e2e8f0;
            padding: 12px;
            font-size: 0.8rem;
            font-weight: 300;
            color: #475569;
            transition: all 0.3s;
            background-color: #f8fafc;
        }
        .contact-input:focus {
            outline: none;
            border-color: #2E4A6D;
            background-color: #fff;
            box-shadow: 0 0 0 1px rgba(46, 74, 109, 0.1);
        }
        .contact-label {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #1F344D;
            margin-bottom: 0.5rem;
            display: block;
        }
        
        .project-meta { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; font-size: 11px; font-weight: 500; color: #2E4A6D; text-transform: uppercase; letter-spacing: 0.05em; }

        @media print {
            nav, footer, #chatToggleBtn, #chatWidget, .zoom-overlay, #mobile-menu-btn, button, .hidden-section, .thumb-grid { display: none !important; }
            .page-section { display: block !important; page-break-after: always; height: auto !important; overflow: visible !important;}
            body { color: black; background: white; }
        }
    </style>