/* ==========================================================================

   HOJA DE ESTILOS PARA PROYECTOS INDIVIDUALES

   Maquetación por: [Nombre de tu compañero]

   ========================================================================== */



.proyecto-single-container {

    padding-top: 70px; /* IMPORTANTE: Deja este margen para que el header fijo no pise su diseño */

    width: 100%;

    min-height: 100vh;

    box-sizing: border-box;

}


/* Él puede continuar escribiendo sus estilos aquí abajo libremente... */ 

/* ==========================================================================
   HOJA DE ESTILOS PARA PROYECTOS INDIVIDUALES
   Sección: Hero Banner (Modo Superpuesto / Full Screen)
   ========================================================================== */

:root {
    --rojo-guinda: #8C1527;
    --fuente-exo: 'Exo', sans-serif;
    --amarillo-ocre-trans: rgba(178, 142, 51, 0.85);
}

.proyecto-hero {
    position: relative;
    width: 100%;
    /* 1. EFECTO SUPERPUESTO: Neutraliza el padding-top de 70px del contenedor padre */
    margin-top: -70px; 
    /* 2. Ocupa el 100% de la altura de la ventana real */
    height: 100vh; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Capa oscura de contraste (Inicia más arriba para cubrir la zona del header) */
.proyecto-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* Contenido Central (Textos y Logo del proyecto) */
.proyecto-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    /* Ajuste para equilibrar el espacio visual considerando el header arriba y la cuña abajo */
    margin-top: 20px; 
}

.proyecto-logo-wrapper {
    margin-bottom: 20px;
}

.hero-project-logo {
    max-width: 190px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.proyecto-hero-title {
    font-family: var(--fuente-exo);
    font-weight: 300; /* Light */
    font-size: 3.9rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 0.6);
}

/* Cuña Asimétrica Amarilla Inferior con Blur */
.proyecto-hero-wedge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    height: 125px;
    background-color: var(--amarillo-ocre-trans);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 2;
    pointer-events: none;
}

/* Botón de Cotización Flotante de la Esquina Inferior Derecha */
.btn-hero-cotizar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 115px;
    height: 145px;
    background-color: var(--rojo-guinda);
    color: #ffffff;
    text-decoration: none;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-hero-cotizar:hover {
    background-color: #771126;
}

.btn-cotizar-inner {
    text-align: center;
    font-family: var(--fuente-exo);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-cotizar-icon svg {
    display: block;
    width: 26px;
    height: 26px;
}

.btn-cotizar-text {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
    .proyecto-hero-title {
        font-size: 2.6rem;
    }
    .hero-br-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .proyecto-hero {
        /* En móviles, el header mide 70px inicialmente o cambia en scroll, adaptamos el margen negativo */
        margin-top: -70px; 
        height: 90vh; /* Control balanceado en mobile */
    }
    .proyecto-hero-title {
        font-size: 2.1rem;
    }
    .proyecto-hero-wedge {
        max-width: 100%;
        height: 85px;
    }
    .btn-hero-cotizar {
        width: 95px;
        height: 115px;
    }
    .btn-cotizar-text {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Sección: Resumen y Especificaciones Técnicas
   ========================================================================== */

.proyecto-resumen {
    width: 100%;
    background-color: #ffffff;
    position: relative;
}

.proyecto-resumen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* División 50% y 50% perfecta */
    width: 100%;
    align-items: stretch;
}

/* Columna de la Imagen */
.proyecto-resumen-media {
    width: 100%;
    height: 100%;
}

.img-fachada {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garantiza que el render llene la columna si el texto de la derecha se extiende */
    display: block;
}

/* Columna del Texto */
.proyecto-resumen-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 80px; /* Margen interno generoso para el aire minimalista */
    box-sizing: border-box;
}

.resumen-info-inner {
    max-width: 480px; /* Acota el bloque para que se lea idéntico al mockup */
    width: 100%;
    text-align: center;
}

.proyecto-resumen-logo {
    margin-bottom: 35px;
}

.proyecto-resumen-logo img {
    max-width: 180px;
    margin: 0 auto;
}

.proyecto-resumen-text {
    font-family: var(--fuente-exo);
    font-weight: 300; /* Peso ligero según la tipografía de la imagen */
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.7; /* Interlineado amplio */
    margin: 0 0 45px 0;
    text-align: center;
}

/* Contenedor de Características (Iconos) */
.proyecto-features-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 420px;
    margin: 0 auto;
}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-icon img {
    height: 50px; /* Altura controlada para los iconos dorados */
    width: auto;
}

.feature-data {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-number {
    font-family: var(--fuente-exo);
    font-weight: 400;
    font-size: 1.2rem;
    color: #2c2c2c;
    margin-bottom: 2px;
}

.feature-label {
    font-family: var(--fuente-exo);
    font-weight: 400;
    font-size: 0.95rem;
    color: #1a1a1a;
}

/* Divisor Vertical Gris entre Características */
.feature-divider {
    width: 1px;
    height: 80px;
    background-color: #cccccc;
    margin: 0 10px;
}

/* Cinta Inferior / Marquee */
.proyecto-marquee-bar {
    width: 100%;
    background-color: #f7f7f7; /* Gris sutil de fondo */
    padding: 15px 0;
    border-top: 1px solid #eaeaea;
    overflow: hidden; /* Oculta el sobrante */
    display: flex;
    justify-content: center;
}

.marquee-text-content {
    font-family: var(--fuente-exo);
    font-weight: 300;
    font-size: 0.9rem;
    color: #b2b2b2; /* Gris claro de las letras */
    letter-spacing: 6px; /* Espaciado amplio característico */
    white-space: nowrap;
}

#invertido{
    filter: invert(1) brightness(0);
    height: 50px; 
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
    .proyecto-resumen-info {
        padding: 40px 40px;
    }
}

@media (max-width: 850px) {
    .proyecto-resumen-grid {
        grid-template-columns: 1fr; /* Colapsa a una sola columna en pantallas pequeñas */
    }
    
    .proyecto-resumen-media {
        height: 450px; /* Altura fija para que el render luzca bien en móviles */
    }
    
    .proyecto-resumen-info {
        padding: 50px 20px;
    }
    
    .proyecto-marquee-bar {
        padding: 12px 0;
    }
    
    .marquee-text-content {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }
}

