/* CONFIGURACIÓN GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 115px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1b1f23;
    background-color: #ffffff;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.contenedor {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* CABECERA */

.cabecera {
    width: 100%;
    background-color: #101820;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.18);
}

.cabecera-contenido {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: block;
}

.logo img {
    width: 155px;
    height: 80px;
    display: block;
    object-fit: contain;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 23px;
}

.menu a {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: #f58214;
}


/* PORTADA */

.inicio {
    min-height: calc(100vh - 105px);
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(5, 12, 18, 0.94) 0%,
            rgba(5, 12, 18, 0.84) 38%,
            rgba(5, 12, 18, 0.48) 62%,
            rgba(5, 12, 18, 0.16) 100%
        ),
        url("portada-industrial.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inicio-contenido {
    padding-top: 90px;
    padding-bottom: 90px;
}

.inicio-texto {
    max-width: 780px;
}

.etiqueta {
    color: #f58214;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.inicio h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.04;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.descripcion-inicio {
    max-width: 680px;
    font-size: 23px;
    line-height: 1.55;
    color: #e2e6e9;
    margin-bottom: 38px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


/* BOTONES GENERALES */

.boton {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.boton:hover {
    transform: translateY(-2px);
}

.boton-principal {
    background-color: #f58214;
    color: #ffffff;
    border: 2px solid #f58214;
}

.boton-principal:hover {
    background-color: #d96b05;
    border-color: #d96b05;
}

.boton-secundario {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.boton-secundario:hover {
    background-color: #ffffff;
    color: #101820;
}


/* SECCIONES */

.seccion {
    padding: 100px 0;
}

.seccion-gris {
    background-color: #f2f4f6;
}

.titulo-pequeno {
    color: #f58214;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.seccion h2 {
    color: #101820;
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 22px;
}

.texto-seccion {
    max-width: 820px;
    color: #555b61;
    font-size: 19px;
    line-height: 1.7;
}


/* TARJETAS DE SERVICIOS */

.tarjetas {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.tarjeta {
    min-height: 100%;
    background-color: #ffffff;
    border: 1px solid #dfe3e6;
    border-radius: 8px;
    padding: 32px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(16, 24, 32, 0.1);
}

.icono {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #101820;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 700;
    margin-bottom: 25px;
}

.tarjeta h3 {
    color: #101820;
    font-size: 23px;
    margin-bottom: 16px;
}

.tarjeta > p {
    color: #5a6066;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.lista-servicios {
    padding-left: 20px;
}

.lista-servicios li {
    color: #4f565c;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.lista-servicios li::marker {
    color: #f58214;
}


/* EMPRESA */

.empresa-contenido {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 70px;
}

.empresa-texto p:not(.titulo-pequeno) {
    color: #50565c;
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.empresa-cuadro {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 45px;
    box-shadow: 0 15px 35px rgba(16, 24, 32, 0.09);
}

.empresa-cuadro img {
    width: 290px;
    height: auto;
}


/* ZONA DE SERVICIO */

.zona-servicio {
    background-color: #101820;
}

.zona-servicio h2 {
    color: #ffffff;
}

.zona-servicio .texto-seccion {
    color: #d4d9dd;
}

.zona-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.zona-caja {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 9px;
    border-top: 5px solid #f58214;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.zona-caja h3 {
    color: #101820;
    font-size: 25px;
    margin-bottom: 24px;
}

.lista-zona {
    padding-left: 21px;
}

.lista-zona li {
    color: #4f565c;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.lista-zona li::marker {
    color: #f58214;
}

.zona-aviso {
    margin-top: 32px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.zona-aviso p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
}


/* CÓMO TRABAJAMOS */

.proceso {
    background-color: #f5f6f7;
}

.proceso-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.paso {
    position: relative;
    min-height: 245px;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #dfe3e6;
    border-radius: 9px;
    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.paso:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(16, 24, 32, 0.1);
}

.paso-numero {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background-color: #f58214;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

.paso h3 {
    color: #101820;
    font-size: 21px;
    margin-bottom: 14px;
}

.paso p {
    color: #565d63;
    font-size: 16px;
    line-height: 1.65;
}


/* POLÍTICA DE VISITA */

.politica-visita {
    margin-top: 40px;
    padding: 35px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: flex-start;
    background-color: #101820;
    border-radius: 9px;
    border-left: 6px solid #f58214;
}

.politica-icono {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f58214;
    color: #ffffff;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
}

.politica-texto h3 {
    color: #ffffff;
    font-size: 25px;
    margin-bottom: 15px;
}

.politica-texto p {
    color: #d5d9dd;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 10px;
}


/* CONTACTO */

.contacto {
    background-color: #ffffff;
}

.contacto-contenido {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.contacto-texto p:not(.titulo-pequeno) {
    color: #50565c;
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 15px;
}

.contacto-caja {
    background-color: #101820;
    color: #ffffff;
    padding: 45px;
    border-radius: 9px;
    box-shadow: 0 18px 40px rgba(16, 24, 32, 0.15);
}

.contacto-caja h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.contacto-caja > p {
    color: #d5d9dd;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 28px;
}


/* BOTONES DE CONTACTO */

.contacto-botones {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.contacto-botones .boton {
    width: 100%;
}

.boton-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    border: 2px solid #25d366;
}

.boton-whatsapp:hover {
    background-color: #1eaf55;
    border-color: #1eaf55;
}

.boton-llamar {
    background-color: #f58214;
    color: #ffffff;
    border: 2px solid #f58214;
}

.boton-llamar:hover {
    background-color: #d96b05;
    border-color: #d96b05;
}

.boton-correo {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.boton-correo:hover {
    background-color: #ffffff;
    color: #101820;
}


/* DATOS DE CONTACTO */

.datos-contacto {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.datos-contacto p {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}

.datos-contacto a {
    color: #ffffff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.datos-contacto a:hover {
    text-decoration: underline;
}


/* PIE DE PÁGINA */

.pie {
    background-color: #0a1016;
    color: #ffffff;
    padding: 35px 0;
}

.pie-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.pie-logo img {
    width: 120px;
    height: 65px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 5px;
}

.pie-informacion {
    text-align: right;
}

.pie-informacion p {
    color: #c7ccd1;
    font-size: 14px;
    line-height: 1.6;
}


/* BOTÓN FLOTANTE DE WHATSAPP */

.whatsapp-flotante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 52px;
    padding: 13px 20px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.whatsapp-flotante:hover {
    background-color: #1eaf55;
    transform: translateY(-3px);
}


/* DISEÑO PARA TABLET */

@media screen and (max-width: 1000px) {

    .menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .proceso-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media screen and (max-width: 900px) {

    .cabecera-contenido {
        min-height: auto;
        padding: 15px 0;
    }

    .logo img {
        width: 130px;
        height: 70px;
    }

    .inicio {
        background-position: 60% center;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }

    .empresa-contenido,
    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .empresa-cuadro {
        min-height: 280px;
    }

    .zona-grid {
        grid-template-columns: 1fr;
    }

    .zona-aviso {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* DISEÑO PARA MÓVIL */

@media screen and (max-width: 650px) {

    html {
        scroll-padding-top: 210px;
    }

    .cabecera-contenido {
        flex-direction: column;
        justify-content: center;
        padding: 12px 0 16px;
        gap: 14px;
    }

    .logo img {
        width: 125px;
        height: 65px;
    }

    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 15px;
    }

    .menu a {
        font-size: 13px;
    }

    .inicio {
        min-height: auto;
        background-position: 65% center;
    }

    .inicio-contenido {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .inicio h1 {
        font-size: 43px;
    }

    .descripcion-inicio {
        font-size: 19px;
    }

    .botones {
        flex-direction: column;
        align-items: stretch;
    }

    .boton {
        width: 100%;
    }

    .seccion {
        padding: 75px 0;
    }

    .tarjeta {
        min-height: auto;
        padding: 26px;
    }

    .empresa-cuadro {
        min-height: 240px;
        padding: 30px;
    }

    .empresa-cuadro img {
        width: 230px;
    }

    .zona-caja {
        padding: 27px;
    }

    .zona-aviso {
        padding: 24px;
    }

    .zona-aviso .boton {
        width: 100%;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
    }

    .paso {
        min-height: auto;
        padding: 26px;
    }

    .politica-visita {
        grid-template-columns: 1fr;
        padding: 27px;
    }

    .contacto-caja {
        padding: 30px;
    }

    .pie-contenido {
        flex-direction: column;
        text-align: center;
    }

    .pie-informacion {
        text-align: center;
    }

    .whatsapp-flotante {
        right: 14px;
        bottom: 14px;
        min-width: 110px;
        min-height: 48px;
        padding: 11px 16px;
        font-size: 14px;
    }

}