
/*_______________________________ CSS PAGINA INDEX.HTML _____________________________*/

/*______________________________ WhatsApp Floating Button _____________________________*/

.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  text-align: center;
  text-decoration: none;
}

.whatsapp-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-content img {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}

.whatsapp-content img:hover {
  transform: scale(1.1);
}

.whatsapp-text {
  margin-top: 5px;
  font-size: 12px;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 3px black;
}

/*______________________________ End WhatsApp Floating Button _____________________________*/
/*______________________________ Franja Carrousel _____________________________*/

/* === Franja fija arriba === */
/* ============================= */
/* Carrusel superior */
/* ============================= */
.franja-logo-carrusel {
  width: 100%;
  height: 50px; /* 🔹 altura más angosta */
  background: linear-gradient(-45deg, #000000, #0a1a3a, #301934);
  background-size: 600% 600%;
  animation: fondoAnimado 15s ease infinite;
  display: flex;
  align-items: center;
  padding: 0 16px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.franja-logo-carrusel.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.logo-carrusel-franja {
  display: flex;
  gap: 60px; /* 🔹 menos espacio entre logos */
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  height: 40px; /* 🔹 logos más pequeños */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 40px; /* 🔹 logos más pequeños */
  width: auto;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 2px rgba(255,255,255,0.25));
  transition: transform 0.3s ease;
}

.logo-item:hover img {
  transform: scale(1.05); /* ligero efecto al hover */
}

/* Animación scroll infinito */
@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animación fondo */
@keyframes fondoAnimado {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Margen al header para no chocar con carrusel */
.navbar {
  margin-top: 50px; /* 🔹 coincide con la altura nueva del carrusel */
}

/*______________________________ End Franja Carrousel _____________________________*/
/*______________________________ Estilo del NavBar y Banner _____________________________*/

  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');
    /* ============================= */
    /* Estilo general del body */
    /* ============================= */
    body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      padding: 0;
      background: #000;
    }

    /* ============================= */
    /* Header y Navbar */
    /* ============================= */
   .navbar {
      background-color: rgba(0, 0, 0, 0.9);
      padding: 0.25rem 1rem;
      transition: all 0.4s ease, top 0.4s ease; /* agrega top para animación suave */
      box-shadow: 0 2px 6px rgba(0,0,0,0.6);
      position: fixed;
      width: 100%;
      z-index: 1500; /* menor que carrusel */
      top: 50px; /* <-- Inicialmente debajo del carrusel de 60px */
      margin-top: 0 !important;
    }
    .navbar.scrolled {
      background-color: rgba(0, 0, 0, 0.7);
      padding: 0.15rem 1rem;
    }

    /* Ocultar menú al hacer scroll, mostrar solo logo */
    .navbar.hidden {
      transform: translateY(-100%);
    }

    .navbar.show-logo {
      transform: translateY(0);
    }

    .navbar-brand img {
      height: 50px;
      transition: height 0.3s ease;
    }

    .navbar-nav {
      margin: 0 auto;
      transition: opacity 0.4s ease;
    }

    .navbar.hide-menu .navbar-nav {
      opacity: 0;
      pointer-events: none;
    }

    .navbar-nav .nav-link {
      color: white !important;
      font-weight: 500;
      margin: 0 8px;
      transition: color 0.3s;
    }

    .navbar-nav .nav-link:hover {
      color: #FFD700 !important;
    }

    /* ============================= */
    /* Botón hamburguesa */
    /* ============================= */
    .navbar-toggler,
    .desktop-toggler {
      border: none !important;
      background: transparent !important;
      padding: 0 !important;
      width: auto;
      height: auto;
      box-shadow: none !important;
    }

    .navbar-toggler:focus,
    .desktop-toggler:focus {
      outline: none !important;
      box-shadow: none !important;
    }

    .navbar-toggler i,
    .desktop-toggler i {
      font-size: 1.6rem;
      color: #fff;
      display: block;
    }

    /* ============================= */
    /* Botón Contacto */
    /* ============================= */
    .contact-highlight {
      color: #FFD700 !important;
      border: 2px solid #FFD700;
      border-radius: 6px;
      padding: 5px 10px;
      font-weight: 600;
      transition: background-color 0.3s, color 0.3s;
    }

    .contact-highlight:hover {
      background-color: #1814012d;
      color: #e9ec09 !important;
    }

    /* ============================= */
    /* Banner principal con video */
    /* ============================= */
    .main-banner {
      position: relative;
      width: 100%;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      text-align: center;
    }

    .main-banner video {
      position: absolute;
      top: 77%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: 0;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.55);
      z-index: 1;
    }

    .banner-text {
  position: relative;
  z-index: 2;
  color: white;
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  padding: 20px;
  margin-top: 80px; /* separa del navbar y carrusel */
  text-align: center;
}

/* Títulos más destacados */
.banner-text h1 {
  font-weight: 600; /* más marcado */
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.banner-text h2 {
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.banner-text h3 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 992px) {
  .banner-text {
    margin-top: 70px; /* se adapta al navbar más pequeño */
  }
  .banner-text h1 {
    font-size: 2.5rem;
  }
  .banner-text h2 {
    font-size: 1.8rem;
  }
  .banner-text h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .banner-text {
    margin-top: 60px;
    padding: 10px;
  }
  .banner-text h1 {
    font-size: 2rem;
  }
  .banner-text h2 {
    font-size: 1.5rem;
  }
  .banner-text h3 {
    font-size: 1.2rem;
  }
}

    /* ============================= */
    /* Offcanvas */
    /* ============================= */
    .offcanvas {
      background-color: rgba(10, 10, 10, 0.95);
      color: white;
    }

    .offcanvas .nav-link {
      color: white !important;
      font-weight: 500;
      margin: 10px 0;
    }

    .offcanvas .nav-link:hover {
      color: #FFD700 !important;
    }

    .offcanvas-header .btn-close {
      filter: invert(1);
    }

    /* Quitar scroll en side desktop */
    @media (min-width: 992px) {
      .offcanvas.sidepanel-offcanvas {
        overflow: hidden !important;
      }
    }

/*_______________________________________ Ajustes para pantallas pequeñas del banner___________________________ */
@media (max-width: 768px) {
  .main-banner {
    height: 77vh; /* reduce altura para móviles */
    padding: 0 10px;
  }

  .main-banner video {
    top: 78%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .main-banner {
    height: 60vh; /* altura menor en móviles pequeños */
  }

  .main-banner video {
    top: 79%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}
     
.main-banner {
  position: relative;
  width: 100%;
  height: 120vh; /* MÁS ALTA que la pantalla normal */
  overflow: hidden;
}

.main-banner video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* El video siempre llena el contenedor */
}

.main-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  top: 5%;
  transform: translateY(-50%);
}

.banner-title {
  font-size: 3rem;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .main-banner {
    height: 100vh; /* en móviles que ocupe toda la pantalla */
  }

  .banner-title {
    font-size: 2rem;
  }
}
/*______________________________ End Estilo del NavBar y Banner _____________________________*/
/*______________________________ Boton Contactanos _____________________________*/
/* Botón destacado */
.btn-contacto {
  background-color: #5f0518;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-contacto:hover {
  background-color: #63040c;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* Tipografía moderna y limpia */
.section-title,
.section-title *,
.highlight-subtitle,
.highlight-title,
.highlight-paragraph,
.fs-5,
strong {
  color: white !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}




/* Párrafo principal */
.highlight-paragraph {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Imagen decorativa */
img.img-fluid.rounded {
  object-fit: cover;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.image-wrapper {
  overflow: hidden;
  border-radius: 20px; /* Cambia el valor para más o menos curva */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Opcional: sombra suave */
}


/* Responsive */
@media (max-width: 768px) {
  .highlight-title {
    font-size: 2rem;
  }

  .highlight-paragraph {
    font-size: 1rem;
  }

  .btn-contacto {
    font-size: 0.95rem;
    padding: 10px 24px;
  }
}
/*______________________________ End Boton Contactanos _____________________________*/
/*______________________________ CSS VIDEO CONTAINER DE CONFIAZA EN LOS CLIENTES _____________________________*/

.confianza-clientes-section {
  position: relative;
  background: linear-gradient(160deg, #0d1f3f 0%, #001a33 100%);
  background-image: url('images/background-puntos.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  overflow: hidden;
}

.casos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 30, 0.75);
  z-index: 1;
}

.container.position-relative {
  position: relative;
  z-index: 2;
}

.section-title .sub-title {
  color: #fff;
  font-weight: 700;
}

.title {
  font-size: 2.7rem;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Por defecto: videos horizontales */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper.vertical {
  aspect-ratio: 9 / 16;         /* proporción vertical */
  max-width: 360px;             /* controla el ancho del video vertical */
  max-height: 75vh;             /* que no sobrepase el alto de la pantalla */
  background-color: black;
}

.video-wrapper video,
.video-wrapper.vertical video {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* muestra todo el contenido del video sin recortes */
  display: block;
  border-radius: 12px;
}


.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

@media (max-width: 768px) {
  .video-resena {
    font-size: 1rem;
  }
  .title {
    font-size: 2rem;
  }
}

/*______________________________ End CSS VIDEO CONTAINER DE CONFIAZA EN LOS CLIENTES _____________________________*/
/*______________________________ Boton Membresia _____________________________*/


  #promo-price {
    display: inline-block;
    transition: transform 1s ease, box-shadow 1s ease, opacity 1s ease;
  }
  .pulse {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(176, 0, 32, 0.6);
    opacity: 0.95;
  }

/*______________________________ End Boton Membresia _____________________________*/
/*______________________________ FOOTER INDEX _____________________________*/


    .footer-container h4 {
      font-size:1.2rem;
      font-weight:600;
      margin-bottom:15px;
      color:#fff;
    }

    .footer-nav ul {
      list-style:none;
      padding:0;
      margin:0;
      font-size:0.95rem;
    }
    .footer-nav ul li {
      margin:6px 0;
    }
    .footer-nav ul li a {
      color:#fff;
      text-decoration:none;
    }

    .social-icons a {
      color:#fff;
      text-decoration:none;
    }

    .footer-rights {
      margin:0;
      font-size:0.9rem;
      color:#fff;
    }

    .footer-logo-img {
      max-height:35px; /* Logo más pequeño */
    }
    .footer-logo-text {
      font-size:1.2rem;
      font-weight:600;
      color:#fff;
    }

    .footer-alianzas img {
      display:block !important;
      max-width:80% !important;
      height:auto !important;
      filter: brightness(1.1);
    }

    hr {
      border:0;
      border-top:1px solid rgba(255,255,255,0.2);
      margin:30px 0;
    }
    .alianzas-logos {
    max-width: 130px;      /* tamaño base más pequeño */
    height: auto;          /* mantiene proporciones */
    transition: transform 0.3s ease;
    display: block;
  }

  /* Hover ligero */
  .alianza-img:hover {
    transform: scale(1.05);
  }

  /* Responsive: aún más pequeño en pantallas móviles */
  @media (max-width:768px){
    .alianzas-logos {
      max-width: 100px ;
    }
  }

    @media (max-width:768px){
      .footer-container > div {
        flex:1 1 100% !important;
        text-align:center !important;
      }
      .footer-alianzas .alianzas-logos {
        justify-content:center;
      }
      .footer-logo-img {
        max-height:30px;
      }
    }

/*______________________________ End FOOTER INDEX _____________________________*/
