/* Reset global para eliminar márgenes, padding, decoraciones y estilos de lista por defecto en todos los elementos */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
  }
  
  /* ================================
     ESTILOS GENERALES DEL SITIO
     ================================= */
  body {
    font-family: 'Poppins', sans-serif;
    background: #fff; /* Fondo suave de la página */
    color: #333;
    line-height: 1.5;
  }
  
  /* ================================
     BARRA DE MENÚ
     ================================= */
  .navbar {
    padding-right: 10px;
    /* Fondo con degradado lineal */
    background: linear-gradient(50deg, #0c69d1, #36bfed);
  }
  
  .navbarsub {
    /* Fondo con degradado lineal */
    background: linear-gradient(125deg, #0c69d1, #36bfed);
  }

  .navbar-brand {
    margin: 0;
    padding-left: 10px;
    width: 135px;
    height: 135px;
  }
  
  .navbar-brand img {
    max-height: 135px; /* Limita la altura del logo dentro de la marca */
  }
  
  .logo img {
    width: auto;
    height: auto;
  }
  
  /* Color de los elementos de lista dentro de la navegación */
  .navbar-nav li {
    color: #fff;
  }
  
  /* Enlaces dentro de la navbar se muestran en blanco */
  .navbar li a {
    color: white;
  }
  
  /* ================================
     RESPONSIVIDAD DE LA NAVBAR
     ================================= */
  /* Ajustes para pantallas menores a 768px */
  @media (max-width: 768px) {
    .logo img {
      width: 100px; /* Se reduce el tamaño del logo */
    }
    .navbar-nav {
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
    }
  }
  
  /* Ajustes para pantallas menores a 480px */
  @media (max-width: 480px) {
    .navbar-nav {
      flex-direction: column;
      align-items: center;
    }

    .carousel {
      width: 100%;
      height: 350px; /* Altura fija para el carrusel */
      display: flex;
    }
    
    .carousel-inner {
      width: 100%;
      height: 350px;
      overflow: hidden;
    }

    .carousel-caption h5 {
      font-size: .99rem;
      font-weight: 500;
      text-transform: uppercase;
    }
    
    .carousel-caption p {
      font-size: 70px;
    }

    .circulo-ift {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
      border-radius: 50%; /* Círculo perfecto */
      background-color: rgba(255, 255, 255, 0.10);
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 997;
    }
  }
  
  /* ================================
     CÍRCULO IFT (Logo en un círculo)
     ================================= */
  .circulo-ift {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 90px;
    height: 90px;
    border-radius: 50%; /* Círculo perfecto */
    background-color: rgba(255, 255, 255, 0.10);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 997;
  }
  
  /* Contenedor interno dentro del círculo para centrar el contenido */
  .demarcador {
    padding: 3px;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 998;
  }
  
  /* ================================
     AJUSTE DE IMÁGENES GLOBALES
     ================================= */
  /* Afecta a todas las imágenes para que se adapten al contenedor padre */
  img {
    width: 90%;
    height: 90%;
    object-fit: contain; /* Mantiene proporción de la imagen */
    display: block;
  }
  
  /* ================================
     CARRUSEL PERSONALIZADO
     ================================= */
  .container-fluid {
    margin: 0;
    padding: 2px;
  }
  
  .carousel {
    margin: 0;
    width: 100%;
    height: 465px; /* Altura fija para el carrusel */
    display: flex;
  }
  
  .carousel-inner {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 465px;
    overflow: hidden;
  }
  
  /* Estilo unificado para imágenes y videos en los slides del carrusel */
  .carousel-item img,
  .carousel-item video {
    width: 100%;
    height: 468px;
    object-fit: cover; /* Cubre el contenedor sin distorsión */
    display: block;
  }
  
  /* Estilos para la superposición de texto en el carrusel */
  .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    z-index: 10;
  }
  
  .carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .carousel-caption p {
    font-size: 1.2rem;
  }
  
  /* ================================
     LÍNEA DIVISORIA
     ================================= */
  hr {
    border: none;
    height: 1px;
    width: 100%;
    margin: .5rem auto;
    background: linear-gradient(50deg, #0c69d1 0%, #36bfed 70%);
    border-radius: 2px;
  }
  
.hr-serv {
    height: 2px;
    width: 90%;
    margin: 2rem auto;
    background: linear-gradient(90deg, #0c69d1 0%, #36bfed 70%);
    border-radius: 2px;
  }

  /* Línea blanca fina opcional */
  .hr-fo {
    margin: 5px auto;
    height: 1px;
    background: #fff;
  }
  
  /* ================================
     SECCIÓN "NOSOTROS"
     ================================= */
  .secciones {
    margin-top: 10px;
    padding-top: 10px;
    width: 100%;
    background-color: #f8f9fa;
  }
  
  .titulo h1 {
    text-align: justify;
  }
  
  .titulo-seccion {
    font-size: 2.5rem;
    font-weight: bold;
    color: #12295c;
    margin-bottom: 20px;
  }
  
  .nosotros-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #12295c;
    text-align: justify;
  }
  
  .nosotros-img {
    border-radius: 10px;
    max-height: 400px;
    object-fit: cover;
  }
  
  .nosotros-video {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    max-height: 400px;
  }
  
  /* ================================
     SECCIÓN MISIÓN, VISIÓN Y VALORES
     ================================= */
  .mision-vision-valores {
    color: #fff;
    padding: 40px 0;
    text-align: center;
  }
  
  /* Contenedor con fondo semitransparente para tarjetas de misión, visión y valores */
  .mision-vision-valores .container {
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .mision-vision-valores .card {
    background-color: #f8f9fa;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Efecto hover para las tarjetas */
  .mision-vision-valores .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(7, 145, 145, 0.2);
    border-right: 2px solid #0c69d1;
    border-bottom: 2px solid #0c69d1;
  }
  
  .mision-vision-valores .icon img {
    width: 50px;
    margin-bottom: 10px;
  }
  
  .mision-vision-valores h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #000;
  }
  
  .mision-vision-valores p,
  .mision-vision-valores ul {
    font-size: 1em;
    line-height: 1.5;
    color: #1b1b1b;
  }
  
  .mision-vision-valores ul {
    list-style: none;
    padding: 0;
  }
  
  .mision-vision-valores ul li {
    margin: 5px 0;
    font-weight: bold;
  }
  
  /* ================================
     RESPONSIVIDAD MISIÓN, VISIÓN Y VALORES
     ================================= */
  @media (min-width: 768px) {
    .mision-vision-valores .container {
      flex-direction: row;
      justify-content: space-around;
    }
    .mision-vision-valores .card {
      flex: 1;
      max-width: 300px;
    }
  }
  
  /* ================================
     EFECTO HOVER EN TABLAS
     ================================= */
  /* Cambia el fondo de las celdas al pasar el ratón */
  .custom-table tr:hover td {
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
  }
  
  /* ================================
     SECCIÓN SERVICIOS
     ================================= */
  .services-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .services-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
  }
  
  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .service {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Efecto hover en tarjeta de servicio */
  .service:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
  
  .service h3 {
    margin-bottom: 10px;
    color: #0073e6;
  }
  
  .service p {
    color: #555;
    font-size: 0.95em;
  }
  
  /* Clase para centrar contenido, se aplica a elementos flexibles */
  .centrar {
    align-content: center;
  }

  .lead{
    text-align: justify;
  }
  
  /* ================================
     BOTÓN DE COTIZACIÓN Y MODAL
     ================================= */
  .quote-button {
    margin: 10px;
    padding: 10px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }
  
  .quote-button:hover {
    background-color: #005bb5;
  }
  
  /* Modal para formulario de cotización */
  .quote-modal {
    display: none; /* Inicia oculto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
  }
  
  .quote-modal h3 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
  }
  
  .quote-modal input,
  .quote-modal textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .quote-modal button {
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
  }
  
  .quote-modal button:hover {
    background-color: #005bb5;
  }
  
  /* Capa superpuesta para modal, usada para oscurecer el fondo */
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  
  /* ================================
     SECCIÓN DE PLANES
     ================================= */
  h1 {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: 2rem;
    color: #0c69d1;
  }
  
  h2 {
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    font-size: 1.6rem;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
  }
  
  .pricing-section {
    margin-bottom: 3rem;
  }
  
  /* Decoración bajo el título de la sección de planes */
  .pricing-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #0c69d1 0%, #36bfed 100%);
    margin: 0.5rem auto 0;
    border-radius: 2px;
  }
  
  .plans-container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  /* Tarjetas de planes */
  .plan-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e4eaf1;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Efecto hover en las tarjetas de planes */
  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  
  /* Encabezado con fondo degradado */
  .plan-header {
    background: linear-gradient(135deg, #0c69d1 0%, #36bfed 100%);
    color: #fff;
    text-align: center;
    padding: 1.25rem 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .plan-icon {
    text-align: center;
    margin-top: 1rem;
    font-size: 2rem;
    color: #0c69d1;
  }
  
  .plan-price {
    text-align: center;
    background-color: #f9f9f9;
    padding: 1.5rem 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e4eaf1;
  }
  
  .plan-price span {
    display: block;
    font-size: 0.75rem;
    font-weight: normal;
    margin-top: 0.25rem;
    color: #666;
  }
  
  /* Lista de características de cada plan */
  .plan-features {
    list-style: none;
    padding: 1rem 1.5rem;
    color: #555;
  }
  
  .plan-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.95rem;
  }
  
  /* Guión antes de cada característica */
  .plan-features li::before {
    content: "-";
    color: #36bfed;
    position: absolute;
    left: 0;
    font-weight: bold;
  }
  
  .plan-action {
    text-align: center;
    padding: 1rem;
  }
  
  .btn-contract {
    display: inline-block;
    text-decoration: none;
    background: #36bfed;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
  }
  
  .btn-contract:hover {
    background: #0c69d1;
    color: #fff;
  }
  
  .format-link {
    display: inline-block;
    text-decoration: none;
    color: #0c69d1;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }
  
  .format-link:hover {
    text-decoration: underline;
  }
  
  /* Badge para planes recomendados */
  .plan-card.recommended::after {
    content: "Recomendado";
    position: absolute;
    top: 0;
    right: 0;
    background: #36bfed;
    color: #fff;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Leyenda al final de cada sección */
  .section-legend {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0 2rem;
  }
  
  /* ================================
     BOTÓN FLOTANTE DE WHATSAPP
     ================================= */
  .whatsapp-button {
    position: fixed;
    bottom: 60px;
    right: -1px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    cursor: pointer;
  }
  
  .whatsapp-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .whatsapp-button img {
    width: 35px;
    height: 35px;
  }
  
  /* ================================
     BOTÓN CIRCULAR DE "IR ARRIBA"
     ================================= */
  .btn-up {
    position: fixed;
    bottom: 25px;
    right: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background-color: #007bff;
    color: #160202;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  /* Animación con borde giratorio para el botón "ir arriba" */
  .btn-up::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    transform: rotate(-90deg);
    animation: fill-circle linear infinite;
  }
  
  /* Definición de la animación de giro del borde */
  @keyframes fill-circle {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Quita la animación si la clase "filled" está presente */
  .btn-up.filled::before {
    animation: none;
  }
  
  /* ================================
     SECCIÓN DE MAPA
     ================================= */
  /* Controles del mapa */
  #controls {
    margin: 10px 0;
  }
  
  #search-input {
    width: 250px;
    padding: 5px;
  }
  
  /* Estilos para cajas de texto y cobertura en el mapa */
  .textbox {
    width: 280px;
    height: 30px;
    text-align: start;
  }
  
  .coverage {
    width: 150px;
    height: 30px;
    text-align: center;
    align-items: center;
    border-radius: 5px;
  }
  
  /* Contenedor específico para mapas dentro de una clase "container mapa" */
  .container mapa {
    margin: 0;
    width: 100%;
    height: 400px;
  }
  
  /* Contenedor principal del mapa */
  #map {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    height: 77.5vh;
    width: 100%;
  }
  
  /* ================================
     FOOTER PERSONALIZADO
     ================================= */
  .footer-main {
    /* Fondo con degradado lineal */
    background: linear-gradient(-5deg, 
      #36bfed 0%, 
      #36bfed 33.33%, 
      #0c69d1 66.66%, 
      #0c69d1 100%);
    opacity: 5;
    color: #fff;
    margin: 0;
    padding: 20px 0;
    font-size: 0.8rem;
    width: 100%;
  }
  
  .contenedor-columnas {
    display: flex;
    align-content: space-between;
    padding: 10px;
  }
  
  .columna-footer {
    padding: 0 5px;
    width: 20%;
    color: #fff;
  }
  
  .columna-footer h5 {
    padding-left: 5px;
    text-align: left;
  }
  
  /* Estilos para listas y enlaces dentro del footer */
  .columna-footer ul,
  .columna-footer a {
    list-style-type: disc;
    color: #fff;
    padding-left: 5px;
    text-decoration: none;
  }
  
  /* Quitar viñetas para elementos con clase "no_estilo" */
  .no_estilo {
    list-style-type: none;
    padding: 0;
  }
  
  /* Estilos para elementos de lista dentro del footer */
  .columna-footer li,
  .columna-footer a {
    padding-left: 5px;
    display: list-item;
    text-decoration: none;
  }
  
  .columna-footer li a:hover {
    color: #c7c3c3;
    text-decoration: underline;
  }
  
  .footer hr {
    border-color: #fff;
  }
  
  .copyright span {
    color: #fff;
    font-weight: bold;
  }
  
  /* Contenedor para iconos sociales en el footer */
  .columna-footer .social-icons {
    display: flex;
    align-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  
  /* Enlaces para redes sociales */
  .columna-footer .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
    list-style: none;
  }
  
  .guion {
    font-size: larger;
  }
  
  /* ================================
     RESPONSIVIDAD DEL FOOTER
     ================================= */
  /* Ajustes para pantallas menores a 768px */
  @media (max-width: 768px) {
    .contenedor-columnas {
      display: grid;
      grid-template-columns: repeat(2, 50%);
      align-content: space-between;
    }
    .columna-footer {
      width: 100%;
    }
  }
  
  /* Ajustes para pantallas menores a 480px */
  @media (max-width: 480px) {

    .contenedor-columnas {
      display: flex;
      flex-direction: column;
      padding: 10px;
    }
    .columna-footer {
      width: 100%;
    }
    /* Centrar texto y quitar viñetas en pantallas pequeñas */
    .columna-footer ul,
    .columna-footer a {
      text-align: center;
      list-style-type: none;
    }
    .columna-footer h5 {
      text-align: center;
    }
  }



