/* =========================================
   ESTILOS EXCLUSIVOS: PÁGINA "PROYECTOS"
========================================= */

.hero-proyectos {
    min-height: 50vh;
    background: linear-gradient(135deg, #1a252f 0%, #0a0f14 100%);
    position: relative;
    overflow: hidden;
}

.malla-tecnica {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    background-image: 
        linear-gradient(rgba(255,107,0,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,0,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Tarjetas de Portafolio */
.card-proyecto {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-proyecto:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,107,0,0.15);
}

/* Contenedor de la foto del terreno */
.img-proyecto-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e2e8f0;
}

.img-proyecto-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-proyecto:hover .img-proyecto-box img {
    transform: scale(1.08);
}

/* Etiquetas flotantes sobre la foto */
.badge-video {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(255,30,30,0.9); color: white;
    padding: 5px 12px; border-radius: 30px;
    font-size: 0.75rem; font-weight: bold; letter-spacing: 1px;
    z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-cliente {
    position: absolute;
    bottom: 15px; right: 15px;
    background: rgba(26,37,47,0.9); color: white;
    padding: 5px 15px; border-radius: 4px;
    font-size: 0.7rem; font-weight: bold; text-transform: uppercase;
    z-index: 2; border-left: 3px solid var(--color-primario);
}

/* Cuerpo del proyecto */
.body-proyecto {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-detalles-pro {
    background: #f8fafc; color: #1a252f; border: 1px solid #e2e8f0;
    font-weight: 800; font-size: 0.8rem; letter-spacing: 1px;
    transition: all 0.3s ease; border-radius: 8px; padding: 12px;
    text-transform: uppercase; width: 100%; margin-top: auto;
}

.btn-detalles-pro:hover {
    background: var(--color-primario); color: white; border-color: var(--color-primario);
}