/* ===================== RESET BÁSICO ===================== */

body{ 
    margin: 0; 
    padding: 0; 
    transition: opacity 1s ease; 
}

.fade-out{ 
    opacity: 0;
}

/* ===================== FONDO ===================== */ 

.fondo{ 
    background: radial-gradient(circle at center, #383c3c 0%, #090909 60%, black 100%); 
}

/* ===================== LOGO ===================== */ 

.logo{ 
    height: 40px; 
    width: auto; 
}

/* ===================== MARCA DE AGUA ===================== */ 

.marca-agua{ 
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: clamp(120px, 30vw, 500px);
    opacity: 0.10; z-index: -1; 
    pointer-events: none; 
}
.marca-agua1{ 
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    /*width: clamp(1200px, 30vw, 500px);*/ 
    opacity: 1.00; z-index: -1; 
    pointer-events: none; 
}

/* ===================== MENÚ ===================== */ 

.menu{ 
    background-image: url("../vista_imagenes/mobiliaria5.jpg"); 
    background-size: cover; 
    background-position: center; 
    min-height: 25vh; 
}

/* ===================== CONTENIDO GENERAL ===================== */ 

.contenido{ 
    padding: 40px; 
} 
    @media (max-width:768px)
    { 
        .contenido{ 
            padding: 20px; 
        } 
    }

/* ===================== HERO ===================== */ 

.hero{ 
    display: flex; 
    align-items: center; 
    min-height: 80vh; padding: 0 10%;
} 
.hero-content{ 
    max-width: 800px; 
} 
.hero-logo img{ 
    width: clamp(120px,25vw,300px); 
    opacity: 0.9; 
} 
    @media (max-width:768px){ 
        .hero{ 
            flex-direction: column; 
            justify-content: center; 
            align-items: center; 
            text-align: center; 
            padding: 60px 5%; 
        } 
        .hero-content{ 
            max-width: 100%; 
        } 
    }

/* ===================== TIPOGRAFÍA ===================== */ 

.letras{ 
    font-family: 'Zilla Slab', serif;
} 
.sub{ 
    font-family: 'Zilla Slab', serif;
    font-size: clamp(18px,2vw,30px); 
    color: #be7f52d2; 
    letter-spacing: 2px; 
    margin-bottom: 10px;
} 
.titulo{ 
    font-family: 'Zilla Slab', serif; 
    font-size: clamp(40px,6vw,110px);
    font-weight: 700; /* Extra bold para el impacto visual */
    color: #aeacab; 
    line-height: 1; 
    margin-bottom: 20px; 
} 
.parrafo{ 
    font-family: 'Zilla Slab', serif; 
    font-size: clamp(16px,1.3vw,25px); 
    color: white; 
    line-height: 1.6; 
}


/* ===================== SERVICIOS ===================== */ 
.servicios{ 
    display: grid; 
    grid-template-columns: repeat(2,1fr); 
    gap: 30px; margin-top: 40px; 
} 
    
@media (max-width:768px){ 
    .servicios{ 
        grid-template-columns: repeat(2,1fr); 
    } 
} 

@media (max-width:480px){ 
    .servicios{ 
        grid-template-columns: 1fr; 
    } 
}

    /* ===================== PROYECTOS ===================== */ 
.proyecto{ 
    position: relative; 
    overflow: hidden; 
} 
.proyecto img{
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    transition: 0.5s; 
} 
.proyecto:hover img{ 
    transform: scale(1.1); 
} 
@media (max-width:768px){

    .proyecto img{
        height: 140px;
        object-fit: cover;
    }

}
@media (max-width:480px){

    .proyecto img{
        height: 120px;
    }

}

.nombre{ 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
    background: rgba(0, 0, 0, 0.858); 
    color: white; 
    text-align: center; 
    padding: 10px; 
    font-family: 'Zilla Slab', serif;
}

/* ===================== CONTENEDOR GENERAL ===================== */ 
.contenedor{ 
    padding: 0 10%; 
}

/* ===================== HERRAMIENTAS ===================== */ 
.herramientas{ 
    margin-top: 100px; 
    padding: 80px 10%; 
    background: #111; 
    color: white; 
} 
/*.herramientasback{
    background-image: url("../vista_imagenes/textura4.png");
}*/
.herramientas-grid{ 
    display: flex; 
    gap: 40px; 
    align-items: flex-start; 
} 
@media (max-width:900px){ 
    .herramientas-grid{ 
        flex-direction: column; 
        gap: 30px; 
    } 
}
.simulador-box, .cita-box{ 
    flex: 1; background: #1a1a1a; 
    padding: 40px; 
    border-radius: 12px; 
    font-family: 'Zilla Slab', serif;
}

/* ===================== FORMULARIOS ===================== */ 
.simulador-form{ 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
} 
@media (max-width:600px){ 
    .simulador-form{ 
        flex-direction: column; 
    } 
} 
.form-cita{ 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
}


@media (max-width:768px){ 
    .form-cita{ 
        grid-template-columns: 1fr; 
    } 
} 
.campo{ 
    display: flex; 
    flex-direction: column; 
} 
.campo label{ 
    font-size: 13px; 
    margin-bottom: 5px; 
    color: #bcbcbc; 
}
.simulador-form input, .simulador-form select, .form-cita input, .form-cita textarea{ 
    width: 100%; 
    padding: 10px 12px; 
    border-radius: 6px; 
    border: none; 
    background: #2a2a2a; 
    color: white; 
    font-size: 14px; 
}
.form-cita textarea{ 
    min-height: 80px; 
} 

.form-cita select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    background: #2a2a2a;
    color: white;
}
/* ===================== RESULTADO ===================== */ 
#resultado{ 
    margin-top: 15px; font-size: 18px; 
} 
.nota{ 
    font-size: 12px; 
    color: rgba(255,255,255,0.6); 
    margin-top: 8px; 
}
/*=======================SIMULADOR==========*/

.bloque {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sub input, .sub select {
    margin-top: 10px;
}

.eliminar {
    min-width: 40px;
}

/*=============para factura========*/

.tabla-factura {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
}

.fila {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.encabezado {
    background: #000;
    font-weight: bold;
}

.total {
    background: #111;
    font-weight: bold;
}

/* ===================== FOOTER ===================== */ 
.footer{ 
    margin-top: 80px; 
    padding: 60px 10% 20px; 
    background: #0a0a0a; 
    color: white; 
    font-family: 'Zilla Slab', serif;
} 
.footer-contenido{ 
    display: grid; 
    grid-template-columns: repeat(4,1fr); 
    gap: 40px; 
} 
@media (max-width:1024px){ 
    .footer-contenido{ 
        grid-template-columns: repeat(2,1fr); 
    } 
}

@media (max-width:768px){ 
    .footer-contenido{ 
        grid-template-columns: 1fr; 
        gap: 30px; 
    } 
    .footer-col{ 
        text-align: left; 
    } 
    .red{ 
        justify-content:flex-start; 
    } 
} 
.footer-col h3{ 
    margin-bottom: 15px; 
}
.footer-col p{
    margin: 5px 0; 
    color: #bcbcbc;
    font-size: 14px; 
} 
.footer-copy{ 
    border-top: 1px solid #333; 
    margin-top: 40px; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 13px; 
    color: #8a8a8a; 
}
/* ===================== REDES ===================== */ 
.red{ 
    display: flex; 
    align-items: center; 
    gap: 10px; 
} 
.red img{ 
    width: 20px;
}

/*CHAT*/
/*boton WHATSAPP*/
.whatsapp-boton{
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.whatsapp-icono{
    font-size: 22px;
}

.whatsapp-texto{
    font-size: 14px;
}

/*para que el boton sea responsivo*/
@media (max-width:500px){

.whatsapp-texto{
    display: none;
}

.whatsapp-boton{
    padding: 14px;
}

}
/* ===== BOTÓN SIMULADOR ===== */
.simulador-form button{
    flex: 1;
    min-width: 120px;
    padding: 12px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* ===== BOTÓN FORMULARIO ===== */
.form-cita button{
    grid-column: span 2;
    padding: 12px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* ===== HOVER ===== */
.simulador-form button:hover,
.form-cita button:hover{
    background: #dcdcdc;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width:768px){

    .form-cita button{
        grid-column: span 1;
    }

    .simulador-form{
        flex-direction: column;
    }

    .simulador-form button{
        width: 100%;
    }
}

/* ===================== RESPONSIVE EXTRA GENERAL ===================== */

@media (max-width: 768px){

    /* evita desbordes horizontales típicos */
    body{
        overflow-x: hidden;
    }

    /* ================= HERO ================= */
    .hero{
        min-height: auto;
        padding: 40px 5%;
    }

    .hero-content{
        text-align: center;
    }

    .hero-logo img{
        width: clamp(100px, 40vw, 200px);
    }

    /* ================= TIPOGRAFÍA ================= */
    .titulo{
        font-size: clamp(28px, 8vw, 60px);
    }

    .sub{
        font-size: 16px;
        letter-spacing: 1px;
    }

    .parrafo{
        font-size: 16px;
    }

    /* ================= CONTENEDORES ================= */
    .contenedor{
        padding: 0 5%;
    }

    /* ================= MARCA DE AGUA ================= */
    .marca-agua,
    .marca-agua1{
        width: 90%;
        opacity: 0.05;
    }

    /* ================= MENU ================= */
    .menu{
        min-height: 18vh;
    }

    /* ================= PROYECTOS ================= */
    .proyecto img{
        height: 180px;
    }

    /* ================= HERRAMIENTAS ================= */
    .herramientas{
        padding: 50px 5%;
    }

    .simulador-box,
    .cita-box{
        padding: 25px;
    }

    /* ================= TABLA FACTURA ================= */
    .fila{
        grid-template-columns: 1fr;
        text-align: left;
        gap: 5px;
    }

    /* ================= FOOTER ================= */
    .footer{
        padding: 40px 5% 20px;
    }

    .footer-copy{
        font-size: 12px;
    }

    /* ================= WHATSAPP ================= */
    .whatsapp-boton{
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }
}
