/* ==================================================
   DRENATEC
   Hoja de estilos principal
   ================================================== */


/* ==================================================
   VARIABLES / COLORES DE LA MARCA
   ================================================== */

:root {

    --azul-drenatec: #008DD2;

    --negro: #111111;

    --gris: #666666;

    --gris-claro: #f5f5f5;

    --blanco: #ffffff;

}


/* ==================================================
   CONFIGURACIÓN GENERAL
   ================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: var(--blanco);

    color: var(--negro);
}


a {
    text-decoration: none;
    color: inherit;
}



/* ==================================================
   HEADER PRINCIPAL
   ================================================== */

#header-principal {

    width: 100%;

    background-color: var(--blanco);

    border-bottom: 3px solid var(--azul-drenatec);

}


/* Contenedor interno del header */

.header-contenedor {

    width: 90%;

    max-width: 1400px;

    min-height: 110px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}



/* ==================================================
   LOGO
   ================================================== */

.header-logo img {

    display: block;

    width: 230px;

    height: auto;

}



/* ==================================================
   MENÚ PRINCIPAL
   ================================================== */

#menu-principal ul {

    display: flex;

    align-items: center;

    gap: 45px;

    list-style: none;

}


#menu-principal a {

    position: relative;

    display: block;

    padding: 15px 0;

    color: var(--negro);

    font-size: 16px;

    font-weight: 600;

    transition: color 0.2s ease;

}


/* Al pasar el mouse */

#menu-principal a:hover {

    color: var(--azul-drenatec);

}


/* Página/sección activa */

#menu-principal a.activo {

    color: var(--azul-drenatec);

}


/* Línea debajo del elemento activo */

#menu-principal a.activo::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 5px;

    width: 100%;

    height: 2px;

    background-color: var(--azul-drenatec);

}



/* ==================================================
   CONTACTO DEL HEADER
   ================================================== */

.header-contacto {

    display: flex;

    align-items: center;

    gap: 25px;

}


/* Correo */

.header-correo {

    font-size: 14px;

    color: var(--negro);

}


.header-correo:hover {

    color: var(--azul-drenatec);

}



/* ==================================================
   BOTÓN TELÉFONO
   ================================================== */

#boton-telefono {

    display: inline-block;

    padding: 15px 22px;

    background-color: var(--azul-drenatec);

    color: var(--blanco);

    font-size: 15px;

    font-weight: 700;

    border-radius: 4px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;

}


#boton-telefono:hover {

    transform: translateY(-2px);

    opacity: 0.9;

}

/* ==================================================
   HERO / PORTADA PRINCIPAL
   ================================================== */

.hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.10) 100%
        ),
        url("../img/inicio/hero-drenatec.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}


/* Contenedor del contenido */

.hero-contenido {

    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

}


/* ==================================================
   TEXTO DEL HERO
   ================================================== */

.hero-texto {

    max-width: 700px;

    color: var(--blanco);

}


/* Texto pequeño superior */

.hero-etiqueta {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--azul-drenatec);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

}


/* Título principal */

.hero-texto h1 {

    margin-bottom: 25px;

    font-size: clamp(42px, 5vw, 72px);

    line-height: 1.05;

    font-weight: 800;

}


/* Parte azul del título */

.hero-texto h1 span {

    color: var(--azul-drenatec);

}


/* Descripción */

.hero-texto p {

    max-width: 600px;

    margin-bottom: 35px;

    font-size: 19px;

    line-height: 1.6;

    color: #eeeeee;

}


/* ==================================================
   BOTONES DEL HERO
   ================================================== */

.hero-botones {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

}


.boton {

    display: inline-block;

    padding: 16px 28px;

    border-radius: 4px;

    font-size: 15px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;

}


/* Botón azul */

.boton-principal {

    background-color: var(--azul-drenatec);

    color: var(--blanco);

}


.boton-principal:hover {

    transform: translateY(-2px);

}


/* Botón transparente */

.boton-secundario {

    border: 2px solid var(--blanco);

    color: var(--blanco);

}


.boton-secundario:hover {

    background-color: var(--blanco);

    color: var(--negro);

}

/* ==================================================
   SECCIÓN PRODUCTOS
   ================================================== */

.productos {
    padding: 100px 0;

    background-color: #f7f8f9;
}


.productos-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;
}


/* ==================================================
   ENCABEZADO DE PRODUCTOS
   ================================================== */

.productos-encabezado {
    max-width: 750px;

    margin-bottom: 55px;
}


.seccion-etiqueta {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--azul-drenatec);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;
}


.productos-encabezado h2 {
    margin-bottom: 20px;

    color: var(--negro);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;
}


.productos-encabezado h2 span {
    color: var(--azul-drenatec);
}


.productos-encabezado p {
    color: var(--gris);

    font-size: 18px;

    line-height: 1.6;
}


/* ==================================================
   GRID DE PRODUCTOS
   3 columnas x 2 filas
   ================================================== */

.productos-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


/* ==================================================
   TARJETA DE PRODUCTO
   ================================================== */

.producto-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    background-color: var(--blanco);

    border: 1px solid #e8e8e8;

    border-radius: 8px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.producto-card:hover {
    transform: translateY(-6px);

    border-color: var(--azul-drenatec);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.10);
}


/* ==================================================
   IMAGEN DEL PRODUCTO
   ================================================== */

.producto-imagen {
    width: 100%;

    height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background-color: var(--blanco);

    overflow: hidden;
}


.producto-imagen img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;
}


.producto-card:hover .producto-imagen img {
    transform: scale(1.04);
}


/* ==================================================
   INFORMACIÓN DEL PRODUCTO
   ================================================== */

.producto-info {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 28px 30px 32px;

    border-top: 1px solid #eeeeee;
}


.producto-info h3 {
    margin-bottom: 14px;

    color: var(--negro);

    font-size: 21px;

    line-height: 1.25;
}


.producto-info p {
    margin-bottom: 25px;

    color: var(--gris);

    font-size: 15px;

    line-height: 1.6;
}


/* ==================================================
   ENLACE MÁS INFORMACIÓN
   ================================================== */

.producto-enlace {
    margin-top: auto;

    color: var(--azul-drenatec);

    font-size: 15px;

    font-weight: 700;

    transition: opacity 0.2s ease;
}


.producto-enlace:hover {
    opacity: 0.7;
}

/* ==================================================
   SECCIÓN NOSOTROS
   ================================================== */

.nosotros {
    padding: 110px 0;

    background-color: var(--blanco);
}


.nosotros-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}


/* ==================================================
   IMAGEN
   ================================================== */

.nosotros-imagen {
    position: relative;

    height: 580px;

    overflow: hidden;

    border-radius: 8px;
}


.nosotros-imagen img {
    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* Detalle azul */

.nosotros-imagen::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 8px;

    height: 35%;

    background-color: var(--azul-drenatec);
}


/* ==================================================
   INFORMACIÓN
   ================================================== */

.nosotros-info h2 {
    max-width: 600px;

    margin-bottom: 25px;

    color: var(--negro);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;
}


.nosotros-info h2 span {
    color: var(--azul-drenatec);
}


.nosotros-info > p {
    max-width: 620px;

    margin-bottom: 18px;

    color: var(--gris);

    font-size: 17px;

    line-height: 1.7;
}


/* ==================================================
   CARACTERÍSTICAS
   ================================================== */

.nosotros-caracteristicas {
    margin: 35px 0;
}


.caracteristica {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    margin-bottom: 25px;
}


.caracteristica-icono {
    min-width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--azul-drenatec);

    color: var(--blanco);

    border-radius: 50%;

    font-weight: 700;
}


.caracteristica h3 {
    margin-bottom: 5px;

    color: var(--negro);

    font-size: 17px;
}


.caracteristica p {
    color: var(--gris);

    font-size: 15px;

    line-height: 1.5;
}


/* ==================================================
   BOTÓN NOSOTROS
   ================================================== */

.boton-nosotros {
    background-color: var(--azul-drenatec);

    color: var(--blanco);
}


.boton-nosotros:hover {
    transform: translateY(-2px);
}


/* ==================================================
   SECCIÓN CALIDAD Y CUMPLIMIENTO
   ================================================== */

.calidad {
    padding: 110px 0;

    background-color: #f7f8f9;
}


.calidad-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;
}


/* ==================================================
   ENCABEZADO DE CALIDAD
   ================================================== */

.calidad-encabezado {
    max-width: 750px;

    margin-bottom: 55px;
}


.calidad-encabezado h2 {
    margin-bottom: 20px;

    color: var(--negro);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;
}


.calidad-encabezado h2 span {
    color: var(--azul-drenatec);
}


.calidad-encabezado p {
    max-width: 700px;

    color: var(--gris);

    font-size: 18px;

    line-height: 1.6;
}


/* ==================================================
   ESTÁNDARES
   ================================================== */

.calidad-estandares {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    align-items: center;

    gap: 45px;

    padding: 45px 50px;

    background-color: var(--blanco);

    border: 1px solid #e8e8e8;

    border-radius: 8px;
}

/* ==================================================
   ESTÁNDAR
   ================================================== */

.estandar {
    min-width: 0;

    display: flex;

    align-items: center;

    justify-content: center;
}



/* ==================================================
   LOGO DEL ESTÁNDAR
   ================================================== */

.estandar img {
    display: block;

    width: 100%;

    max-width: 180px;

    height: 90px;

    object-fit: contain;
}

/* ==================================================
   SECCIÓN CONTACTO
   ================================================== */

.contacto {
    padding: 110px 0;

    background-color: #f7f8f9;
}


.contacto-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    align-items: start;
}


/* ==================================================
   INFORMACIÓN DE CONTACTO
   ================================================== */

.contacto-info h2 {
    max-width: 550px;

    margin-bottom: 25px;

    color: var(--negro);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;
}


.contacto-info h2 span {
    color: var(--azul-drenatec);
}


.contacto-descripcion {
    max-width: 570px;

    margin-bottom: 40px;

    color: var(--gris);

    font-size: 17px;

    line-height: 1.7;
}


/* ==================================================
   DATOS DE CONTACTO
   ================================================== */

.contacto-dato {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;
}


.contacto-icono {
    width: 50px;

    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--azul-drenatec);

    color: var(--blanco);

    border-radius: 50%;

    font-size: 20px;
}


.contacto-dato span {
    display: block;

    margin-bottom: 5px;

    color: var(--gris);

    font-size: 13px;

    font-weight: 600;
}


.contacto-dato a {
    color: var(--negro);

    font-size: 17px;

    font-weight: 700;
}


.contacto-dato a:hover {
    color: var(--azul-drenatec);
}


/* ==================================================
   BOTÓN WHATSAPP
   ================================================== */

.boton-whatsapp {
    display: inline-block;

    margin-top: 20px;

    padding: 16px 26px;

    background-color: var(--azul-drenatec);

    color: var(--blanco);

    border-radius: 4px;

    font-size: 15px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.boton-whatsapp:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}


/* ==================================================
   FORMULARIO
   ================================================== */

.contacto-formulario {
    padding: 45px;

    background-color: var(--blanco);

    border-radius: 8px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);
}


.contacto-formulario h3 {
    margin-bottom: 8px;

    color: var(--negro);

    font-size: 28px;
}


.contacto-formulario > p {
    margin-bottom: 30px;

    color: var(--gris);

    line-height: 1.6;
}


/* ==================================================
   CAMPOS
   ================================================== */

.campo-formulario {
    margin-bottom: 20px;
}


.campo-formulario label {
    display: block;

    margin-bottom: 8px;

    color: var(--negro);

    font-size: 14px;

    font-weight: 700;
}


.campo-formulario input,
.campo-formulario select,
.campo-formulario textarea {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #dcdcdc;

    border-radius: 4px;

    background-color: var(--blanco);

    color: var(--negro);

    font-family: inherit;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.campo-formulario textarea {
    resize: vertical;
}


.campo-formulario input:focus,
.campo-formulario select:focus,
.campo-formulario textarea:focus {
    border-color: var(--azul-drenatec);

    box-shadow:
        0 0 0 3px rgba(0, 141, 210, 0.10);
}


/* ==================================================
   BOTÓN ENVIAR
   ================================================== */

.boton-enviar {
    width: 100%;

    padding: 16px 25px;

    border: none;

    border-radius: 4px;

    background-color: var(--azul-drenatec);

    color: var(--blanco);

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.boton-enviar:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}

/* ==================================================
   PÁGINA DE CATEGORÍA
   ================================================== */

.categoria-contenedor {

    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

}


/* ==================================================
   PORTADA DE CATEGORÍA
   ================================================== */

.categoria-hero {

    padding: 35px 0 55px;

    background-color: var(--gris-claro);

}


/* ==================================================
   BREADCRUMB
   ================================================== */

.breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;

    color: var(--gris);

    font-size: 14px;

}


.breadcrumb a {

    color: var(--gris);

    text-decoration: none;

    transition: color 0.2s ease;

}


.breadcrumb a:hover {

    color: var(--azul-drenatec);

}


.breadcrumb span:last-child {

    color: var(--negro);

    font-weight: 600;

}


/* ==================================================
   INFORMACIÓN DE CATEGORÍA
   ================================================== */

.categoria-hero-contenido {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: end;

    gap: 80px;

}


/* ==================================================
   TÍTULO DE CATEGORÍA
   ================================================== */

.categoria-hero-titulo h1 {

    margin: 12px 0 0;

    color: var(--negro);

    font-size: clamp(48px, 5vw, 70px);

    line-height: 1;

    letter-spacing: -2px;

}


.categoria-hero-titulo h1 span {

    color: var(--azul-drenatec);

}


/* ==================================================
   DESCRIPCIÓN DE CATEGORÍA
   ================================================== */

.categoria-hero-descripcion {

    padding-bottom: 5px;

}


.categoria-hero-descripcion p {

    margin: 0;

    color: var(--gris);

    font-size: 17px;

    line-height: 1.7;

}


/* ==================================================
   CATÁLOGO DE PRODUCTOS
   ================================================== */

.catalogo-productos {

    padding: 60px 0 100px;

    background-color: var(--blanco);

}


/* ==================================================
   ENCABEZADO DEL CATÁLOGO
   ================================================== */

.catalogo-encabezado {

    max-width: 750px;

    margin-bottom: 35px;

}


.catalogo-encabezado h2 {

    margin: 15px 0 20px;

    color: var(--negro);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1.1;

}


.catalogo-encabezado h2 span {

    color: var(--azul-drenatec);

}


.catalogo-encabezado p {

    max-width: 650px;

    margin: 0;

    color: var(--gris);

    font-size: 17px;

    line-height: 1.6;

}


/* ==================================================
   GRID DEL CATÁLOGO
   ================================================== */

.catalogo-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

/* ==================================================
   CARD DE PRODUCTO
   ================================================== */

.catalogo-card {

    overflow: hidden;

    background-color: var(--blanco);

    border: 1px solid #e8e8e8;

    border-radius: 8px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


.catalogo-card:hover {

    transform: translateY(-5px);

    border-color: #dddddd;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);

}


/* ==================================================
   IMAGEN DEL PRODUCTO
   ================================================== */

.catalogo-card-imagen {

    height: 320px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    overflow: hidden;

    background-color: #f7f8f9;

}


.catalogo-card-imagen img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;

}


.catalogo-card:hover .catalogo-card-imagen img {

    transform: scale(1.04);

}


/* ==================================================
   INFORMACIÓN DEL PRODUCTO
   ================================================== */

.catalogo-card-info {

    padding: 28px 30px 30px;

}


.catalogo-card-categoria {

    display: block;

    margin-bottom: 12px;

    color: var(--azul-drenatec);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.catalogo-card-info h3 {

    margin: 0 0 15px;

    color: var(--negro);

    font-size: 22px;

    line-height: 1.3;

}


.catalogo-card-info p {

    margin: 0 0 25px;

    color: var(--gris);

    font-size: 15px;

    line-height: 1.6;

}


/* ==================================================
   ENLACE DEL PRODUCTO
   ================================================== */

.catalogo-card-enlace {

    padding: 0;

    border: 0;

    background: none;

    color: var(--azul-drenatec);

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: color 0.2s ease;

}


.catalogo-card-enlace:hover {

    color: var(--negro);

}

/* ==================================================
   MODAL DE PRODUCTO
   ================================================== */

.modal-producto {

    position: fixed;

    inset: 0;

    z-index: 2000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

}


.modal-producto.activo {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* ==================================================
   FONDO DEL MODAL
   ================================================== */

.modal-producto-fondo {

    position: absolute;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.65);

}


/* ==================================================
   CONTENIDO DEL MODAL
   ================================================== */

.modal-producto-contenido {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 1150px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 50px;

    background-color: var(--blanco);

    border-radius: 10px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(20px);

    transition: transform 0.25s ease;

}


.modal-producto.activo .modal-producto-contenido {

    transform: translateY(0);

}


/* ==================================================
   BOTÓN CERRAR
   ================================================== */

.modal-producto-cerrar {

    position: absolute;

    top: 20px;

    right: 22px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    background: none;

    color: var(--negro);

    font-size: 34px;

    line-height: 1;

    cursor: pointer;

}


/* ==================================================
   PARTE PRINCIPAL
   ================================================== */

.modal-producto-principal {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 55px;

    align-items: start;

}


/* ==================================================
   IMAGEN DEL PRODUCTO
   ================================================== */

.modal-producto-imagen-principal {

    height: 440px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background-color: #f7f8f9;

    border-radius: 8px;

}


.modal-producto-imagen-principal img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}

/* ==================================================
   MINIATURAS DEL PRODUCTO
   ================================================== */

.modal-producto-miniaturas {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 15px;

}


.modal-miniatura {

    width: 78px;

    height: 78px;

    padding: 7px;

    overflow: hidden;

    background-color: var(--blanco);

    border: 1px solid #dddddd;

    border-radius: 6px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;

}


.modal-miniatura:hover {

    transform: translateY(-2px);

    border-color: var(--azul-drenatec);

}


.modal-miniatura.activa {

    border: 2px solid var(--azul-drenatec);

}


.modal-miniatura img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

}


/* ==================================================
   INFORMACIÓN DEL PRODUCTO
   ================================================== */

.modal-producto-categoria {

    display: block;

    margin-bottom: 12px;

    color: var(--azul-drenatec);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.modal-producto-info h2 {

    margin: 0 40px 20px 0;

    color: var(--negro);

    font-size: 36px;

    line-height: 1.15;

}


.modal-producto-descripcion {

    margin: 0 0 30px;

    color: var(--gris);

    font-size: 16px;

    line-height: 1.7;

}


/* ==================================================
   CARACTERÍSTICAS
   ================================================== */

.modal-producto-bloque {

    padding-top: 25px;

    border-top: 1px solid #e8e8e8;

}


.modal-producto-bloque h3 {

    margin: 0 0 15px;

    color: var(--negro);

    font-size: 18px;

}


.modal-producto-bloque ul {

    margin: 0;

    padding-left: 20px;

    color: var(--gris);

}


.modal-producto-bloque li {

    margin-bottom: 8px;

    line-height: 1.5;

}


/* ==================================================
   INFORMACIÓN TÉCNICA
   ================================================== */

.modal-producto-tecnico {

    margin-top: 45px;

    padding-top: 35px;

    border-top: 1px solid #e8e8e8;

}


.modal-producto-tecnico h3 {

    margin: 0 0 25px;

    color: var(--negro);

    font-size: 22px;

}


/* ==================================================
   DATOS TÉCNICOS
   ================================================== */

.modal-producto-datos {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

}


.dato-tecnico {

    padding: 18px;

    background-color: #f7f8f9;

    border-radius: 6px;

}


.dato-tecnico span {

    display: block;

    margin-bottom: 7px;

    color: var(--gris);

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

}


.dato-tecnico strong {

    color: var(--negro);

    font-size: 14px;

}


/* ==================================================
   NORMAS
   ================================================== */

.modal-producto-normas {

    margin-top: 25px;

}


.modal-producto-normas span {

    display: block;

    margin-bottom: 8px;

    color: var(--negro);

    font-size: 14px;

    font-weight: 700;

}


.modal-producto-normas p {

    margin: 0;

    color: var(--gris);

    font-size: 14px;

    line-height: 1.6;

}


/* ==================================================
   BLOQUEAR SCROLL
   ================================================== */

body.modal-abierto {

    overflow: hidden;

}

/* ==================================================
   ACCIONES DEL PRODUCTO
   ================================================== */

.modal-producto-acciones {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;

}


.boton-producto-contacto,
.boton-producto-ficha {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 20px;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;

}


/* ==================================================
   SOLICITAR INFORMACIÓN
   ================================================== */

.boton-producto-contacto {

    background-color: var(--azul-drenatec);

    border: 1px solid var(--azul-drenatec);

    color: var(--blanco);

}


.boton-producto-contacto:hover {

    background-color: var(--negro);

    border-color: var(--negro);

}


/* ==================================================
   FICHA TÉCNICA
   ================================================== */

.boton-producto-ficha {

    background-color: var(--blanco);

    border: 1px solid #dddddd;

    color: var(--negro);

}


.boton-producto-ficha:hover {

    border-color: var(--azul-drenatec);

    color: var(--azul-drenatec);

}

/* ==================================================
   FOOTER
   ================================================== */

.footer {
    background-color: var(--blanco);

    color: var(--negro);

    border-top: 1px solid #e8e8e8;
}


.footer-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 75px 0;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;

    gap: 60px;
}


/* ==================================================
   LOGO Y MARCA
   ================================================== */

.footer-logo {
    display: block;

    width: 220px;

    height: auto;

    margin-bottom: 25px;
}


.footer-marca p {
    max-width: 350px;

    color: var(--gris);

    font-size: 15px;

    line-height: 1.7;
}


/* ==================================================
   COLUMNAS
   ================================================== */

.footer-columna h3 {
    margin-bottom: 25px;

    color: var(--negro);

    font-size: 17px;
}


.footer-columna ul {
    list-style: none;
}


.footer-columna li {
    margin-bottom: 12px;
}


.footer-columna a {
    color: var(--gris);

    font-size: 14px;

    transition: color 0.2s ease;
}


.footer-columna a:hover {
    color: var(--azul-drenatec);
}


.footer-columna > p {
    margin-bottom: 15px;
}


/* ==================================================
   PARTE INFERIOR DEL FOOTER
   ================================================== */

.footer-inferior {
    border-top: 1px solid #e8e8e8;
}

.footer-inferior-contenedor {
    width: 90%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 25px 0;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}


.footer-inferior p {
    color: #888888;

    font-size: 13px;
}

/* ==================================================
   BOTONES FLOTANTES
   ================================================== */

.botones-flotantes {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 1000;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;

}


/* ==================================================
   BOTÓN FLOTANTE GENERAL
   ================================================== */

.boton-flotante {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;

}


.boton-flotante:hover {

    transform: translateY(-3px);

}


/* ==================================================
   BOTÓN VOLVER ARRIBA
   ================================================== */

.boton-subir {

    border: 1px solid #dddddd;

    background-color: var(--blanco);

    color: var(--negro);

    font-size: 22px;

    font-weight: 700;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.10);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    pointer-events: none;

}


.boton-subir.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;

}


.boton-subir.visible:hover {

    color: var(--azul-drenatec);

    border-color: var(--azul-drenatec);

    transform: translateY(-3px);

}


/* ==================================================
   BOTÓN WHATSAPP
   ================================================== */

.boton-whatsapp-flotante {

    position: relative;

    background-color: var(--azul-drenatec);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.18);

}


.boton-whatsapp-flotante svg {

    width: 27px;

    height: 27px;

    fill: var(--blanco);

}


/* ==================================================
   TEXTO WHATSAPP
   ================================================== */

.tooltip-flotante {

    position: absolute;

    right: 65px;

    top: 50%;

    transform: translateY(-50%);

    width: max-content;

    padding: 9px 13px;

    background-color: var(--negro);

    color: var(--blanco);

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

}


.boton-whatsapp-flotante:hover .tooltip-flotante {

    opacity: 1;

    visibility: visible;

}

/* ==================================================
   RESPONSIVE - TABLET / CELULAR
   Posteriormente construiremos el menú hamburguesa.
   ================================================== */

@media (max-width: 1000px) {

    .header-contenedor {

        min-height: 90px;

    }


    .header-logo img {

        width: 190px;

    }


    .header-contacto {

        display: none;

    }
	

}


@media (max-width: 700px) {

    #menu-principal {

        display: none;

    }


    .header-contenedor {

        justify-content: center;

    }

}

/* ==================================================
   HERO - RESPONSIVE
   ================================================== */

@media (max-width: 700px) {

    .hero {

        min-height: 580px;

        background-position: center;

    }


    .hero-texto h1 {

        font-size: 42px;

    }


    .hero-texto p {

        font-size: 17px;

    }


    .hero-botones {

        flex-direction: column;

        align-items: flex-start;

    }

}

/* ==================================================
   PRODUCTOS - TABLET
   ================================================== */

@media (max-width: 1000px) {

    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ==================================================
   PRODUCTOS - CELULAR
   ================================================== */

@media (max-width: 650px) {

    .productos {
        padding: 70px 0;
    }


    .productos-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .producto-imagen {
        height: 260px;
    }


    .producto-info {
        padding: 24px;
    }

}

/* ==================================================
   NOSOTROS - RESPONSIVE
   ================================================== */

@media (max-width: 900px) {

    .nosotros-contenedor {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .nosotros-imagen {
        height: 450px;
    }

}


@media (max-width: 600px) {

    .nosotros {
        padding: 70px 0;
    }


    .nosotros-imagen {
        height: 350px;
    }

}


/* ==================================================
   CALIDAD - RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {


    .calidad-estandares {
        grid-template-columns: repeat(3, 1fr);

        gap: 35px;

        padding: 40px;
    }

}


@media (max-width: 600px) {

    .calidad {
        padding: 70px 0;
    }


    .calidad-estandares {
        grid-template-columns: repeat(2, 1fr);

        gap: 30px;

        padding: 30px 20px;
    }


    .estandar img {
        height: 70px;
    }

}

/* ==================================================
   CONTACTO - RESPONSIVE
   ================================================== */

@media (max-width: 900px) {

    .contacto-contenedor {
        grid-template-columns: 1fr;

        gap: 60px;
    }

}


@media (max-width: 600px) {

    .contacto {
        padding: 70px 0;
    }


    .contacto-formulario {
        padding: 30px 22px;
    }

}

/* ==================================================
   FOOTER - RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {

    .footer-contenedor {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .footer-contenedor {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 60px 0;
    }


    .footer-inferior-contenedor {
        flex-direction: column;

        gap: 10px;
    }

}

/* ==================================================
   BOTONES FLOTANTES - RESPONSIVE
   ================================================== */

@media (max-width: 600px) {

    .botones-flotantes {

        right: 15px;

        bottom: 15px;

        gap: 10px;

    }


    .boton-flotante {

        width: 48px;

        height: 48px;

    }


    .boton-whatsapp-flotante svg {

        width: 25px;

        height: 25px;

    }


    .tooltip-flotante {

        display: none;

    }

}

/* ==================================================
   PÁGINA DE CATEGORÍA - RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {

    .categoria-hero {

        padding: 45px 0 80px;

    }


    .breadcrumb {

        margin-bottom: 55px;

    }


    .catalogo-productos {

        padding: 80px 0 100px;

    }


    .catalogo-grid {

        grid-template-columns: repeat(2, 1fr);

    }
	
	.categoria-hero-contenido {

    grid-template-columns: 1fr;

    gap: 25px;

}

}


@media (max-width: 600px) {

    .categoria-hero {

        padding: 30px 0 60px;

    }


    .breadcrumb {

        margin-bottom: 40px;

        font-size: 13px;

    }


    .categoria-hero-contenido h1 {

        margin: 12px 0 20px;

        font-size: 46px;

        letter-spacing: -1px;

    }


    .categoria-hero-contenido p {

        font-size: 16px;

    }


    .catalogo-productos {

        padding: 65px 0 80px;

    }


    .catalogo-encabezado {

        margin-bottom: 40px;

    }


    .catalogo-encabezado p {

        font-size: 16px;

    }


    .catalogo-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }

}

.catalogo-card-imagen {

    height: 270px;

    padding: 25px;

}


.catalogo-card-info {

    padding: 25px;

}


.catalogo-card-info h3 {

    font-size: 20px;

}

.categoria-hero {

    padding: 25px 0 40px;

}


.breadcrumb {

    margin-bottom: 30px;

}


.categoria-hero-titulo h1 {

    font-size: 44px;

    letter-spacing: -1px;

}


.categoria-hero-descripcion p {

    font-size: 16px;

}


.catalogo-productos {

    padding: 45px 0 80px;

}

/* ==================================================
   MODAL DE PRODUCTO - RESPONSIVE
   ================================================== */

@media (max-width: 800px) {

    .modal-producto {

        padding: 15px;

    }


    .modal-producto-contenido {

        max-height: 95vh;

        padding: 50px 25px 30px;

    }


    .modal-producto-principal {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .modal-producto-imagen-principal {

        height: 300px;

    }


    .modal-producto-info h2 {

        font-size: 28px;

    }


    .modal-producto-datos {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 600px) {

    .modal-producto-acciones {

        flex-direction: column;

    }


    .boton-producto-contacto,
    .boton-producto-ficha {

        width: 100%;

    }

}