/* ================= RESET ================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */

body{
    font-family: "Times New Roman", Times, serif;
    background: #f7f4f0;
    overflow-x: hidden; 
}

/* ================= HEADER ================= */

.encabezado{
    width: 100%;
    height: 92;
    background: linear-gradient(to right,#0f1a2d,#0e5bbf);
    padding: 0 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 999;
}

.marca{
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-principal{
    width: 55px;
}

.texto-marca h1{
    color: white;
    font-size: 34px;
}

.texto-marca span{
    color: #d3d9e3;
    font-size: 15px;
}

.menu-navegacion{
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-logo{
    width: 45px;
    margin-right: 10px;
}

.menu-navegacion a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 17px;
}

.boton-header{
    background: #cbf08a;
    color: #02294ace;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
}

/* ================= HERO ================= */

.banner-principal{
    width: 100%;
    height: 900px;
    position: relative;
    margin-top: 92px;
}

.banner-principal img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-principal::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}

.contenido-banner{
    width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
    z-index: 5;
}

.contenido-banner h2{
    font-size: 95px;
    margin-bottom: 10px;
}

.contenido-banner h3{
    font-size: 38px;
    margin-bottom: 20px;
}

.contenido-banner p{
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contenido-banner button{
    padding: 18px 38px;
    background: #d8b0ca;
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 17px;
    cursor: pointer;
}

/* ================= PRODUCTOS ================= */

.seccion-productos{
    padding: 100px 90px;
     background: linear-gradient(to center,#ffffff,#4c5e8b61,#ffffff);
    text-align: center;
}

.titulo-pequeno{
    color: #656e18;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}

.seccion-productos h2{
    font-size: 58px;
    margin-top: 10px;
    color: #0a1f40;
}

.descripcion-productos{
    margin-top: 15px;
    font-size: 20px;
    color: #444;
    margin-bottom: 70px;
}

.contenedor-productos{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.producto-card{
    background: white;
    border-radius: 18px;
    padding: 35px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.icono-card{
    width: 52px;
    height: 52px;
    background: #081d3f;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-bottom: 25px;
}

.producto-card h3{
    font-size: 28px;
    color: #0b2144;
    margin-bottom: 14px;
}

.producto-card p{
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 17px;
}

.producto-card img{
    width: 100%;
    height: 250px;
    object-fit: contain;
}

/* ================= VIDEO ================= */

.seccion-video{
    background: linear-gradient(to right,#06142c,#1b59aa);
    padding: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.texto-video{
    width: 35%;
    color: white;
}

.texto-video span{
    color: #d8ff43;
    font-size: 14px;
    font-weight: bold;
}

.texto-video h2{
    font-size: 55px;
    margin: 18px 0;
}

.texto-video p{
    font-size: 20px;
    line-height: 1.8;
}

.contenedor-video video{
    width: 720px;
    border-radius: 18px;
}

/* ================= NOSOTROS ================= */

.seccion-nosotros{
    padding: 100px 80px;
    background: linear-gradient(to right,#ffffff,#4c5e8b61);
    text-align: center;
}

.seccion-nosotros span{
    color: #7e8f12;
    font-weight: bold;
}

.seccion-nosotros h2{
    font-size: 55px;
    color: #0a1e40;
    margin: 10px 0 70px;
}

.contenedor-nosotros{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.info-nosotros{
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.info-nosotros i{
    font-size: 42px;
    color: #081d3f;
    margin-bottom: 20px;
}

.info-nosotros h3{
    margin-bottom: 18px;
    font-size: 26px;
}

.info-nosotros p{
    line-height: 1.8;
    color: #444;
    font-size: 17px;
}

/* ================= CONTACTO ================= */

.seccion-contacto{
    padding: 100px 80px;
    background: linear-gradient(to right,#4c5e8b61,#ffffff);
    text-align: center;
}

.seccion-contacto span{
    color: #7e8f12;
    font-weight: bold;
}

.seccion-contacto h2{
    font-size: 55px;
    margin-top: 10px;
    color: #0a1e40;
}

.texto-contacto{
    margin-top: 15px;
    font-size: 20px;
    margin-bottom: 60px;
}

.contenedor-contacto{
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.formulario-contacto{
    width: 60%;
}

.fila-formulario{
    display: flex;
    gap: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea{
    width: 100%;
    padding: 18px;
    background: #071b3b;
    border: none;
    border-radius: 8px;
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.formulario-contacto textarea{
    height: 180px;
    resize: none;
}

.formulario-contacto button{
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 8px;
    background: #cbf08a;
    color: #071b3b;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.datos-contacto{
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
}

.item-contacto{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.item-contacto i{
    font-size: 25px;
    color: #081d3f;
    margin-top: 5px;
}

.item-contacto h3{
    margin-bottom: 8px;
    color: #081d3f;
}

/* ================= UBICACION ================= */

.seccion-ubicacion{
    padding: 100px 80px;
    background: linear-gradient(to center,#ffffff,#4c5e8b61,#ffffff);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.texto-ubicacion{
    width: 40%;
}

.texto-ubicacion span{
    color: #7e8f12;
    font-weight: bold;
}

.texto-ubicacion h2{
    font-size: 48px;
    color: #081d3f;
    margin: 20px 0 25px;
}

.texto-ubicacion p{
    font-size: 19px;
    margin-bottom: 18px;
    line-height: 1.7;
}

.seccion-ubicacion iframe{
    width: 720px;
    height: 420px;
    border: 0;
    border-radius: 18px;
}

/* ================= FOOTER ================= */

.footer-rimec{
    background: linear-gradient(to right,#06142c,#0b2c57);
    padding-top: 60px;
    color: white;
}

.footer-contenedor{
    width: 88%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.footer-logo{
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo img{
    width: 65px;
}

.footer-logo h3{
    font-size: 32px;
}

.footer-logo span{
    color: #d1d7e1;
}

.footer-links{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4{
    margin-bottom: 10px;
}

.footer-links a{
    color: #d5dbe4;
    text-decoration: none;
}

.footer-redes h4{
    margin-bottom: 18px;
}

.iconos-redes{
    display: flex;
    gap: 18px;
}

.iconos-redes a{
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.footer-copy{
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    padding: 25px;
    color: #d5dbe4;
    font-size: 15px;
}

.boton-catalogo{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 38px;
    background: #071b3b;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
}

.boton-catalogo:hover{
    background: #0d2f63;
}

@media screen and (max-width: 768px) {

    html, body {
        overflow-x: hidden;
    }

    /* ===== HEADER ===== */
    .encabezado {
        height: auto;
        padding: 14px 16px;
        flex-direction: column;
        gap: 12px;
    }

    .marca {
        flex-direction: row;
        align-items: center;
    }

    .texto-marca h1 {
        font-size: 22px;
    }

    .texto-marca span {
        font-size: 12px;
    }

    .logo-principal {
        width: 38px;
    }

    .menu-navegacion {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .menu-navegacion a {
        font-size: 14px;
    }

    .nav-logo {
        display: none;
    }

    .boton-header {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
    }

    /* ===== HERO ===== */
    .banner-principal {
        height: 250px;
        margin-top: 200px;
    }

    .banner-principal img {
        object-fit: cover;
        object-position: center;
    }

    .contenido-banner {
        width: 90%;
    }

    .contenido-banner h2 {
        font-size: 38px;
    }

    .contenido-banner h3 {
        font-size: 18px;
    }

    .contenido-banner p {
        font-size: 13px;
        line-height: 1.5;
    }

    .contenido-banner button {
        padding: 13px 24px;
        font-size: 14px;
    }

    /* ===== PRODUCTOS ===== */
    .seccion-productos {
        padding: 50px 16px;
    }

    .seccion-productos h2 {
        font-size: 34px;
    }

    .descripcion-productos {
        font-size: 16px;
    }

    .contenedor-productos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ===== VIDEO ===== */
    .seccion-video {
        padding: 50px 16px;
        flex-direction: column; /* 👈 clave */
        gap: 30px;
    }

    .texto-video {
        width: 100%;
    }

    .texto-video h2 {
        font-size: 34px;
    }

    .texto-video p {
        font-size: 16px;
    }

    .contenedor-video {
        width: 100%;
    }

    .contenedor-video video {
        width: 100%;
        border-radius: 12px;
    }

    /* ===== NOSOTROS ===== */
    .seccion-nosotros {
        padding: 50px 16px;
    }

    .seccion-nosotros h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .contenedor-nosotros {
        grid-template-columns: 1fr; /* 👈 clave */
        gap: 20px;
    }

    /* ===== CONTACTO ===== */
    .seccion-contacto {
        padding: 50px 16px;
    }

    .seccion-contacto h2 {
        font-size: 36px;
    }

    .contenedor-contacto {
        flex-direction: column; /* 👈 clave */
        gap: 30px;
    }

    .formulario-contacto {
        width: 100%;
    }

    .fila-formulario {
        flex-direction: column; /* nombre y email en columna */
        gap: 0;
    }

    .datos-contacto {
        width: 100%;
    }

    /* ===== UBICACION ===== */
    .seccion-ubicacion {
        padding: 50px 16px;
        flex-direction: column; /* 👈 clave */
        gap: 30px;
    }

    .texto-ubicacion {
        width: 100%;
    }

    .texto-ubicacion h2 {
        font-size: 32px;
    }

    .seccion-ubicacion iframe {
        width: 100%;
        height: 300px;
    }

    /* ===== FOOTER ===== */
    .footer-contenedor {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-links {
        align-items: center;
    }

    .iconos-redes {
        justify-content: center;
    }

    /* ====