@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
    --hero-height: 80vh;
    --grid-gap: 30px;
    --accent-color: #ce5d5c;
    --accent-color-hover: #a8140e;
}

body {
    padding-top: 65px;
    font-family: 'Geomanist';
}
b, strong{
    font-weight: 500;
}

/* Estilos generales del navbar */
.navbar .navbar-logo {
    letter-spacing: -0.1em;
    padding: 0;
    img {
        display: block;
    }
}

.navbar a {
    font-family: Oswald, sans-serif;
    padding: 20px 15px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.55rem;
    --accent-color: rgb(166,6,4);
}

/* === INICIO DE ESTILOS PARA EL EFECTO DE SUBMENÚS === */
.navbar .nav-container {
    position: relative; /* Contexto general */
}

.navbar .menu {
    margin: 0;
    padding: 0;
    overflow: visible; /* Revertimos el overflow:hidden de CSSkel para que los submenús sean visibles */
    transition: max-height .2s ease-out;
    display: flex; /* Mantenemos flex para escritorio, pero ajustaremos */
    align-items: center;
    list-style: none; /* Elimina viñetas por defecto */
    position: static; /* Restauramos el posicionamiento natural */
    width: auto; /* Asegura que el ancho sea automático */
}

.navbar .menu > li {
    position: relative; /* Cada <li> padre es un punto de referencia para el submenú */
    /*margin: 0 10px; /* Espaciado entre ítems */
    margin: 0;
    white-space: nowrap; /* Evita que el texto se desborde */
}

.navbar .menu > li > a {
    display: inline-block; /* Necesario para hover y posicionamiento */
    padding: 20px 15px;
    z-index: 1; /* Asegura que el enlace esté por encima si hay superposición */
}

.navbar .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%; /* Debajo del <li> padre */
    left: 0; /* Alineado con el borde izquierdo del <li> padre */
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.navbar .menu > li:hover > .submenu {
    visibility: visible;
    opacity: 1;
}

.navbar .submenu li {
    margin: 0;
}

.navbar .submenu a {
    display: block;
    padding: 10px 15px;
    font-size: 0.9em;
    color: var(--text-color-normal);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color-softer);
    width: 100%;
}

.navbar .submenu a:hover {
    background-color: var(--background-color-softer);
    color: var(--accent-color);
}

/* Estilos para el botón de cierre */
.close-btn {
    display: none; /* Oculto por defecto en todos los casos */
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.3em;
    color: var(--text-color-normal);
    cursor: pointer;
    padding: 0 10px;
    background-color: var(--background-color-softer);
    border: 1px solid var(--border-color-softer);
    border-radius: 3px;
    z-index: 1001;
}

.close-btn:hover {
    color: var(--accent-color);
    background-color: var(--background-color);
}

/** GENERAL POSITIONS **/
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.grid_vertical-center{
    align-items: center;
}

.brand {
    width: 200px;
    margin: 0 auto;
    img{
        width: 100%;
    }
}
.brand-title {
    text-align: center;
    margin: 0 auto .5em;
    color: #252525;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: .5em;
}
/* Ajustes para móviles (breakpoint de CSSkel a 900px) */
@media (max-width: 900px) {
    .navbar .menu {
        display: none; /* Oculto por defecto en móviles */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--background-color);
        padding: 10px 0; /* Espaciado interno */
    }
    .navbar .menu-btn:checked + .menu-icon + .menu + .close-btn {
        display: block; /* Muestra el botón de cierre solo cuando el menú está abierto */
    }
    .navbar .menu-btn:checked + .menu-icon + .menu {
        display: flex;
        flex-direction: column;
        max-height: 80vh; /* Altura máxima visible */
        overflow-y: auto; /* Scroll si se excede */
        scroll-behavior: smooth;
    }
    .navbar .menu > li {
        width: 100%;
        margin: 0;
    }
    .navbar .menu > li > a {
        width: 100%;
        text-align: left;
    }
    .navbar .submenu {
        position: static; /* Submenús en flujo normal en móviles */
        box-shadow: none;
        visibility: visible; /* Siempre visible si el menú está abierto */
        opacity: 1;
        width: 100%;
        background-color: var(--background-color-softer);
        display: none; /* Oculto por defecto en móviles */
    }
    .navbar .menu-btn:checked + .menu-icon + .menu .submenu {
        display: block; /* Muestra submenús cuando el menú está abierto */
    }
    .navbar .menu > li:hover > .submenu,
    .navbar .submenu:hover {
        visibility: visible; /* Redundante en móviles, pero por seguridad */
        opacity: 1;
    }
}
/* === FIN DE ESTILOS PARA EL EFECTO DE SUBMENÚS === */

/* Resto de los estilos existentes */
.hero {
    width: 100%;
    height: var(--hero-height);
    position: relative; /* Contexto para el ::before */
    background: #1F4362 url(../../content/media/promos/pt590_radio_tetra_hytera.webp) center center no-repeat;
    background-size: cover;
    color: #fff;
}

.hero::before {
    content: ''; /* Necesario para que ::before se renderice */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.5) 0%, /* Negro semi-transparente en la parte superior */
        rgba(0, 0, 0, 0) 70% /* Transparente en la parte inferior */
    );
    z-index: 1; /* Asegura que el degradado esté detrás del contenido */
}

.hero .grid-container {
    height: var(--hero-height);
    place-items: center;
    position: relative; /* Asegura que el contenido esté por encima del ::before */
    z-index: 2; /* Coloca el contenido por encima del degradado */
}

.hero-msg h1 {
    font-size: 3.8em;
    text-transform: uppercase;
    text-align: left;
}

.hero-msg p {
    font-size: 1.3em;
    line-height: 1.2;
}

.wrapper {
    width: min(90%, 1068px);
    margin-inline: auto;
}

@media (max-width: 900px) {
    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.4) 80% /* Oscuridad residual al 80%, ajustable */
        );
    }
}

.heading-black {
    padding-bottom: 50px;
    opacity: .98;
    color: #000;
    text-align: center;
}

.heading-title {
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 10px;
}

h1{
    text-align: center;
    letter-spacing: -.15rem;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.1rem;
    margin: 0;
}
h3{
    letter-spacing: -.05rem;
}
h4{
    letter-spacing: 0;
}
h5{
    letter-spacing: -.01em;
    font-weight: 400;
}
#services {
    padding-bottom: 100px;
}

#services h3 {
    font-size: 3rem;
    font-weight: 600;
    color: #444;
}

.container75 {
    width: 75%;
    margin: 0 auto;
}

.service-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 220px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-color: #000;
}

.service-link {
    font-size: 2em;
    text-align: center;
    color: #fff;
    padding: 1em 0;
}

.service-body {
    text-align: center;
    width: 305px;
    max-width: 100%;
    position: relative;
    opacity: .999;
    z-index: 2;
    margin: 35px auto auto auto;
    padding: 30px 30px 0px 30px;
    background-color: #f7f7f7;
}

.bg-white {
    background-color: #fff;
}

.bg-gray {
    background-color: #f7f7f7;
}

.bg-1 {
    background: url(../../content/media/site/mantenimiento2.webp) center center no-repeat;
    background-size: cover;
}

.bg-2 {
    background: url(../../content/media/site/instalaciones.webp) center center no-repeat;
    background-size: cover;
}

.bg-3 {
    background: url(../../content/media/site/proyectos.webp) center center no-repeat;
    background-size: cover;
}

footer {
    background-color: #333;
    color: #ccc;
    min-height: 5em;
    padding-top: 4em;
    font-size: 1.5rem;
}

.copyright {
    font-size: 1.2rem;
    text-align: center;
    padding: 2em 0 1em;
}

footer h4 {
    font-size: .9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}

.footer-menu li {
    margin-bottom: .2em;
}

footer a {
    text-decoration: none;
    color: #fff !important;
}

footer a:hover {
    color: #b20c05;
}

.social-links {
    font-size: 1.6em;
}

.social-links a:hover {
    color: #fff;
}

.jumbotron {
    padding: 4em 2em;
    margin-bottom: 2em;
    background-color: #e9ecef;
    border-radius: .3em;
}

.img-responsive {
    width: 100%;
}

.well {
    background: #ddd;
}

.well p, .well h4 {
    padding-left: 20px;
    padding-right: 20px;
}

.well h4 {
    margin-top: .3em;
}

@media (max-width:720px){
    .social-links{
        margin-bottom: 1em;
    }
    .hero-msg h1 {
        font-size: 3.2em;
    }
}

  /* Parte final de la pagina */

  h5{
        margin-bottom:.3em;
        text-transform: uppercase;
        font-size: 1.1em;
        font-weight: 600;
    }
    a{
        text-decoration: none;
    }
    .img-responsive{
        width: 100%;
    }
    h1{
        margin-bottom: .3em;
        font-size: 3rem;
        letter-spacing: 0em;
        font-weight: 600;
        border-bottom: 1px solid #ccc;
    }
    h1 small{
        display: block;
        font-size: 1.5rem;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: .1em;
    }
    h5{
        letter-spacing: 0;
    }
    .descripcion{
        font-weight: 400;
        font-size: 1.1em;
        line-height: 1.3;
    }
    .product-brand{
        /*height: 30px;*/
        max-width: 110px;
        max-height: 30px;
        margin-bottom: 1em;
    }
    .model-title{
        margin-bottom: 1em;
        text-align: center;
    }
    .system-font{
        font-family: system-ui;
        font-size: 1.5rem;
        font-weight: 400;
    }
    .system-font ul{
        margin-left: 1.5em;
    }
    .system-font li{
        margin-bottom:0;
        line-height: 1.3;
        list-style-type: square;
    }
    table.accesorios{
        margin: 0 auto;
        font-size: .9em;
        line-height: 1;
    }
    .pdf-download{
        margin-bottom: 1em;
    } 
    .pdf-download a {
        background-color: #d02030;
        padding: 0.7em 1em 0.7em 3.5em;
        color: white;
        border-radius: 15px;
        font-size: .8em;
        text-transform: uppercase;
        background: #d40000 url(https://insignia-link.com.mx/content/media/site/pdf-button.png) no-repeat left center;
        background-size: 17%;
    }
    .ytvideo iframe{
        width: 90%;
        height: 280px;
    }
    .ytvideo.hide-on-desktop iframe{
        width: 100%;
        height: 180px;
    }

/* Whatsapp button*/


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 4px 12px rgba(0,0,0,0.4);
}



/* Parte related */


.list-item{
        transition: all .5s;
        position: relative;
        margin-bottom: 40px;
        padding-top: 10px;
    }
    .list-item:hover{
        /*
        -webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.15); 
        box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.15);
        z-index: 1;
        */
    }
    .model-title{
        /*margin-top: -20px;*/
        position: absolute;
        width: 100%;
        top: -0.5em;
        transition: all 0.3s ease;
        line-height: 1.1;
        left: 0;
    }
    .model-title a{
        color: #787878;
        text-decoration: none;
        font-size: 1.4em;
        font-weight: 500;
        line-height: 1;
    }
    .model-image{
        /*overflow: hidden;*/
    }
    .model-image img{
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        transition: all 0.3s ease
            height: 100%;
    }
    .list-item:hover .model-image img{
        transform: scale(1.6);
    }
    .list-item:hover .model-title a{
        color: #fff;
        font-weight: 600;
        text-shadow: 0px 0px 7px rgba(0,0,0,0.92);
    }
    .list-item:hover .model-title{
        top: 0;
        font-size: 2em;
        height: 10px;
    }
    .model-marca{
        top: -28px;
        position: absolute;
        width: 100%;
        background: transparent;
    }
    .model-marca a{
        text-decoration: none;
        font-size: .8em;
        font-weight: 600;
    }

    .heading-primary {
  color: #545251;
  font-size: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em; 

}

/* titulo principal */

.main-title {
  color: #B91C24;
  font-size: 24px;
  font-weight: 600; 
  font-weight: regular;
}


/* alerta */

.text-alert {
  color: #B91C24;        
  font-size: 20px;       /* 1rem es el tamaño "regular" estándar del navegador */
  font-weight: 400;      /* Grosor regular (no negrita) */
  line-height: 1.5;      /* Mejora la legibilidad en párrafos según SEO y accesibilidad */
  margin-bottom: 1.2rem; 
}

.product-title {
  color: #545251;
  font-size: 19px;
  font-weight: 400; 
  margin: 0; 
}

.product-title2 {
  color: #545251;
  text-align: center;
  font-size: 23px;
  font-weight: 400; 
  margin: 0; 
}

/* Asegura que el contenedor centre el contenido */
.col-md-6.text-center {
  text-align: center;
}

/* img-responsive adaptado: responsivo sin agrandar */
.img-responsive {
  max-width: 100%;  /* Se adapta al contenedor sin exceder original */
  width: auto;      /* Respeta tamaño intrínseco */
  height: auto;
}

/* Imagen  seguro en el contenedor */
.col-md-6 img {
  max-width: 100%;
  width: auto;      /* Cambio clave: no fuerza 100% */
  height: auto;
  margin: 0 auto;
  display: block;   /* Ayuda al centrado */
}


/* Estilo del botón */

    .boton-link {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none; /* Quita el subrayado */
  color: #0066ff;        /* Color de letra negro */
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin: 5px;
  transition: all 0.3s ease;
}

.boton-borde {
  border: 2px solid #4d82be; /* Borde negro para hacer juego */
  border-radius: 5px;        /* Bordes redondeados */
}


.boton-link {
    color: #36454F !important; /* El color negro */
    text-decoration: none;      /* Quita el subrayado azul de los links */
}

.boton-link:hover {
  background-color: #0066ff; /* Fondo negro para que resalte el texto */
  color: #ffffff !important; /* Letra blanca al pasar el hover */
}

/* Contenedor principal de descripción */
.product-description-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Badge de Stock */
.badge-stock {
    background-color: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    display: inline-block;
}
/* Badge de Stock */
.badge-stock1 {
    background-color: #ec5353;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    display: inline-block;
}

/* Encabezado secundario */
.product-subtitle {
    margin-top: 15px;
    color: #333;
}

/* Caja de beneficios (¿Por qué comprar con nosotros?) */
.benefits-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.benefits-box h4 {
    margin-top: 0;
    color: #d32f2f;
    margin-bottom: 10px;
}

.benefits-list {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Sección de contenido del paquete */
.package-info {
    margin-top: 20px;
}

/* Contenedor y Botón de WhatsApp */
.cta-wrapper {
    text-align: center;
    margin-top: 35px;
}

.btn-whatsapp-cta {
    background-color: #25d366;
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-whatsapp-cta:hover {
    background-color: #1eb954;
    transform: translateY(-2px);
}
  
  