.elementor-32 .elementor-element.elementor-element-7faef57{--display:flex;}.elementor-32 .elementor-element.elementor-element-c7f65e8{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-caec78c *//* 1. LIENZO PRINCIPAL (Hero Proyectos) */
    .hero-projects-final {
        position: relative;
        width: 100%;
        height: 500px; /* Un poco más corto para ir al grano en la galería */
        background-color: #2C3E50;
        overflow: hidden;
        
        /* TU IMAGEN DE FONDO */
        background: url('https://tejadosleon.net/wp-content/uploads/2025/12/Gemini_Generated_Image_s42pk1s42pk1s42p-1-scaled.png') no-repeat center center;
        background-size: cover;
    }

    /* 2. VELO OSCURO (Para leer el texto) */
    .hero-projects-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Oscuro al 50% */
        z-index: 1;
    }

    /* 3. CONTENIDO (Centrado Matemático Infalible) */
    .hero-projects-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* ESTO LO CENTRA SÍ O SÍ */
        z-index: 10;
        text-align: center;
        width: 90%;
        max-width: 1000px;
    }

    /* 4. TÍTULO H1 (Nítido y Potente) */
    .hero-projects-content h1 {
        color: #FFFFFF !important;
        font-family: 'Georgia', serif; /* Tipografía elegante para proyectos */
        font-size: 3.5rem !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
        
        /* Sombra negra sólida para máxima legibilidad */
        text-shadow: 3px 3px 0px #000000 !important; 
    }

    /* 5. SUBTÍTULO */
    .hero-projects-content p {
        color: #f0f0f0 !important;
        font-family: 'Helvetica', sans-serif;
        font-size: 1.4rem !important;
        font-weight: 500;
        margin-bottom: 0 !important; /* Sin margen inferior */
        text-shadow: 1px 1px 0px #000000 !important;
    }

    /* MÓVIL */
    @media (max-width: 768px) {
        .hero-projects-final { height: 400px; }
        .hero-projects-content h1 { font-size: 2rem !important; }
        .hero-projects-content p { font-size: 1.1rem !important; }
    }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-10bbfcd *//* ESTILOS DE LA GALERÍA DE PROYECTOS */
    .portfolio-wrapper {
        font-family: 'Helvetica', 'Arial', sans-serif;
        color: #444;
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 20px;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
        margin-bottom: 60px;
    }

    /* TARJETA DE PROYECTO */
    .project-card {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s;
        display: flex;
        flex-direction: column;
    }
    
    .project-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

    /* IMAGEN DE LA TARJETA */
    .project-img {
        width: 100%;
        height: 250px;
        background-size: cover;
        background-position: center;
        border-bottom: 5px solid #2C3E50;
    }

    .project-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }

    /* ETIQUETAS */
    .project-tag {
        display: inline-block;
        font-size: 0.8rem;
        font-weight: 800;
        text-transform: uppercase;
        padding: 5px 10px;
        border-radius: 4px;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    .tag-slate { background: #2C3E50; color: white; }
    .tag-panel { background: #E67E22; color: white; }
    .tag-repair { background: #c0392b; color: white; }

    /* TEXTOS */
    .project-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #2C3E50;
        margin: 0 0 5px 0;
        font-family: 'Georgia', serif;
    }
    
    .project-location {
        color: #7f8c8d;
        font-size: 0.9rem;
        margin-bottom: 15px;
        display: block;
        font-weight: bold;
        text-transform: uppercase;
    }

    .project-desc { font-size: 0.95rem; line-height: 1.6; color: #555; margin-bottom: 20px; }

    /* CAJA 'EL RETO' */
    .challenge-box {
        margin-top: auto; /* Empuja la caja al fondo */
        background: #f8f9fa;
        padding: 15px;
        border-left: 3px solid #2C3E50;
        font-size: 0.9rem;
    }
    
    .challenge-label { color: #2C3E50; font-weight: 800; display: block; margin-bottom: 5px; }

    /* CTA FINAL */
    .projects-cta {
        text-align: center;
        background: #f4f6f7;
        padding: 50px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }/* End custom CSS */