:root {
    --bs-primary: #5F0AFF;
  }
  
  .btn-primaryf {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
  }
  
  .text-primaryf {
    color: var(--bs-primary) !important;
  }
  
  .bg-primaryf {
    background-color: var(--bs-primary) !important;
  }

* { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: "Nunito",'Arial', sans-serif !important; padding-bottom: 60px; }

    /* FUENTES */

    .poppins-extralight {
      font-family: "Poppins", sans-serif !important;
      font-weight: 200 !important;
      font-style: normal !important;
    }

    .poppins-light {
      font-family: "Poppins", sans-serif !important;
      font-weight: 300 !important;
      font-style: normal !important;
    }

    .poppins-regular {
      font-family: "Poppins", sans-serif !important;
      font-weight: 400 !important;
      font-style: normal !important;
    }

    .poppins-semibold {
      font-family: "Poppins", sans-serif !important;
      font-weight: 600 !important;
      font-style: normal !important;
    }

    .poppins-bold {
      font-family: "Poppins", sans-serif !important;
      font-weight: 700 !important;
      font-style: normal !important;
    }


    /* FIN FUENTES */

   
    .preheader-desktop { background-color: #fff; display: none; }
    .preheader-mobile { background-color: #fff;  display: none; }

    /* Header móvil y escritorio */
    header.desktop, header.mobile {
      position: sticky;
      top: 2rem;
      background-color: #000;
      color: #fff;
      padding: 1rem;
      display: none;
      justify-content: space-between;
      align-items: center;
      z-index: 999;
      width: 100%;
    }
    nav a { color: #fff; margin-left: 1rem; text-decoration: none; }

    /* Hero */
   /* .hero {
      background: url('https://via.placeholder.com/1600x600') no-repeat center center/cover;
      color: white;
      padding: 5rem 2rem;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      position: relative;
      text-align: right;
    }*/
    /*.final-price {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.6);
      padding: 1rem;
      border-radius: 8px;
      margin-top: 2rem;
    }
    .hero .price {
      display: flex;
      align-items: center;
    }
    .hero .price .number { font-size: 3rem; margin-right: 0.5rem; }
    .hero .price .decimal { font-size: 1.5rem; line-height: 1; }
    .hero .currency { font-size: 1rem; }
     */
     .seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

    /* Carrousel */
    .carousel-desktop, .carousel-mobile {
      overflow-x: auto;
      display: flex;
      gap: 1rem;
      padding: 2rem;
      scroll-snap-type: x mandatory;
    }
    .carousel-desktop .card, .carousel-mobile .card {
      flex: 0 0 auto;
      width: 250px;
      background: #f8f8f8;
      border-radius: 8px;
      padding: 1rem;
      scroll-snap-align: start;
    }
    .carousel-desktop { display: none; }
    .carousel-mobile { display: none; }

    /* Faldón inferior */
    .faldon-desktop, .faldon-mobile {
      position: fixed;
      bottom: 0;
      width: 100%;
      color: white;
      text-align: center;
      padding: 1rem;
      z-index: 1001;
    }
    .faldon-desktop { background: #5a189a; display: none; }
    .faldon-mobile { background: #9d4edd; display: none; }



    .faldon-desktop a, .faldon-mobile a {
      color: yellow;
      margin-left: 1rem;
      text-decoration: underline;
    }

    /* Responsive */
    @media (min-width: 768px) {
      .preheader-desktop, header.desktop, .carousel-desktop, .faldon-desktop {
        display: flex;
      }
      .hero {
        align-items: flex-end;
        text-align: right;
      }
    }
    @media (max-width: 767px) {
      .preheader-mobile, header.mobile, .carousel-mobile, .faldon-mobile {
        display: flex;
      }
      .hero {
        align-items: center;
        text-align: center;
      }
    }

    .carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.carousel-track {
  overflow-x: auto;
  display: flex;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track .card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 8px;
}

.carousel-mobile .carousel-track .card {
  width: 80vw;
}

.carousel-desktop .carousel-track .card {
  width: 22vw;
}

/* Ocultar por defecto */
.carousel-mobile, .carousel-desktop {
  display: none;
}

/* Mostrar sólo en escritorio */
@media (min-width: 768px) {
  .carousel-desktop {
    display: flex;
  }
}

/* Mostrar sólo en móvil */
@media (max-width: 767px) {
  .carousel-mobile {
    display: flex;
  }
}

.btn-prev,
.btn-next {
  background: #333;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}

/* HERO y FOOTER ocupan todo el ancho de la pantalla */
/*.hero, footer {
  width: 100%;
  background-color: #f5f5f5; /* o tu imagen de fondo para el hero */
/*}*/

header, .hero, footer {
  width: 100%;
  background-color: #222; /* o imagen, gradiente, etc. */
  color: #fff;
}



/*@media (min-width: 992px) {
    .hero {
        height: 512px;
        background: #744dc2 url(https://finetworkofertas.com/img/generica/main-banner/main-banner-lg.png) center no-repeat;
    
    }
}*/

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* centrado por defecto en móvil */

}

/*.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}*/

/* Escritorio */
/*@media (min-width: 768px) {
  .hero-inner {
    justify-content: flex-start; /* alinea a la izquierda en escritorio */
  /*}*/

 /* .hero-content {
    align-items: flex-start;
    text-align: left;
  }
}*/

.wrapper-h {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10 10;
  display: flex;
  justify-content: flex-start; /* alinea todo a la izquierda */
  align-items: center;
  gap: 2rem; /* separación entre logo y nav */
}

/* Estilos de escritorio */
@media (min-width: 768px) {
  .wrapper-h {
    
    align-items: flex-start;
    text-align: left;
  }
}

/* Estilos opcionales para el nav */
.wrapper-h nav a {
  color: white;
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: bold;
}

.wrapper-h nav a:hover {
  text-decoration: underline;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  box-sizing: border-box;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Estilos de escritorio */
@media (min-width: 768px) {
  .wrapper {
    padding-top: 110px;
    align-items: flex-start;
    text-align: left;
  }
}

/* CONTENIDO PRINCIPAL CON ANCHO LIMITADO */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem;
  padding-bottom: 1rem;
}

/*.tariff-carousel {
    padding: 20px 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
}*/

.tariff-carousel {
    padding: 20px 0;

}

.tariff-carousel::-webkit-scrollbar {
  display: none;
}
.owl-carousel .tariff-card {
  /*margin: 0 10px;*/
}

.tariff-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px;
  width: auto;
  max-width: 300px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  transition: height 0.3s ease;
}
.tariff-header .tag {
  background-color: #FFD700;
  color: #333;
  font-weight: bold;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}
.plan-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}
.final-price {
  color: #5F0AFF;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 16px;
}
.tariff-toggle {
  border-top: 1px solid #eee;
  padding-top: 10px;
  margin-bottom: 15px;
  cursor: pointer;
}
.tariff-toggle .toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
}
.tariff-toggle .arrow {
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.tariff-toggle.open .arrow {
  transform: rotate(0deg);
}
.details-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  display: none;
}
.tariff-toggle.open .details-list {
  display: block;
}
.details-list li {
  font-size: 14px;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}
.details-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #5F0AFF;
}
.price-box {
  text-align: center;
  margin: 15px 0;
}
.price-main {
  font-size: 32px;
  font-weight: bold;
}
.price-main .decimals {
  font-size: 22px;
}
.price-main .currency {
  font-size: 14px;
  display: block;
}
.iva-text {
  font-size: 13px;
  color: #555;
  margin-top: 5px;
}
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn {
  padding: 10px;
  font-weight: bold;
  font-size: 15px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn.primary {
  background: transparent;
  border: 2px solid #5F0AFF;
  color: #5F0AFF;
}
.btn.primary:hover {
  background: #5F0AFF;
  color: #fff;
}
.btn.secondary {
  background: #5F0AFF;
  color: #fff;
  border: none;
}
.btn.secondary:hover {
  background: #7000cc;
}


/* Reset básico para que no interfiera tu otro CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Barra sticky con fondo completo */
.preheader-desktop {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
}

/* Contenedor centrado con contenido alineado a los extremos */
.preheader-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* Logo alineado a la izquierda */
.logo img {
  height: 80px;
  display: block;
}

/* Caja de llamada alineada a la derecha */
.call-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Parte superior negra */
.call-top {
  background-color: black;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
  width: 100%;
}

/* Parte inferior verde con número */
.call-bottom {
  
  width: 100%;
  background-color: #4DE0AD;
  color: black;
  font-weight: bold;
  font-size: 24px;
  padding: 6px 12px;
    text-align: center;
}

.call-bottom img {
  height: 24px;
}

/* PRUEBAS*/

.header-container {
    display: flex
;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.align-items-center {
    align-items: center !important;
}

.d-flex {
    display: flex !important;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/*ESTILOS HERO*/

.hero {
      height: 600px;
      background-image: url('../img/finetwork-fibra-movil-dbanner.jpg');
      background-size: cover;
      background-position: center;
      color: white;
      display: flex;
      align-items: center;
    }

.herofibra {
  background-image: url('../img/finetwork-fibra-hombre-feliz-hero.jpg') !important;
}

.heromovil {
  background-image: url('../img/finetwork-movil-mujer-feliz-hero.jpg') !important;

}

    .hero-form {
      max-width: 290px !important;
      margin-left: auto;
      background: white;
      padding: 1rem;
      border-radius: 0.5rem;
    }

    @media (max-width: 768px) {
      .hero {
        background-image: url('../img/finetwork-fibra-movil-mbanner.jpg');
        text-align: center;
      }

      .herofibra {
        background-image: url('../img/finetwork-fibra-hombre-feliz-hero-m.jpg');
        text-align: center;
      }

      .heromovil {
        background-image: url('../img/finetwork-movil-mujer-feliz-hero-m.jpg');
        text-align: center;
      }

      .hero-form {
        display: none;
      }
    }

    .price-box {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 0.75rem 1rem;
      border-radius: 1rem;
      display: inline-block;
    }

    .price {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.25rem;
    }

    .price-main {
      font-size: 5rem;
      line-height: 1;
    }

    .price-suffix {
      display: flex;
      flex-direction: column;
      font-size: 0.9rem;
      line-height: 1;
    }

    .price-suffix span {
      font-size: 1.75rem;
    }

/*FIN ESTILOS HERO*/

.price-box-c {
  margin-top: 15px;
}

.price-main-c {
  display: flex;
  align-items: flex-start;
  font-size: 5rem;
  font-weight: bold;
  line-height: 1;
}

.price-sub-c {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 5px;
  line-height: 1;
  margin-top: 2px;
}

.price-sub-c .decimals-c {
  font-size: 2rem;
  line-height: 1;
}

.price-sub-c .currency-c {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1;
}

.iva-text-c {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 5px;
}

.owl-nav button {
  background: none;
  border: none;
  font-size: 3rem; /* Aumenta el tamaño */
  color: #333;
  pointer-events: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-body form {
  padding-bottom: 80px;
}

@media (max-height: 700px) {
  .modal-body {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
}

.btn-formsf {
  color: #fff !important;
  background-color: #5F0AFF !important;
  border: 1px solid #5F0AFF !important;
}

.btn-formsf:hover {
  color: #fff !important;
  background-color: #5305e6 !important;
  border-color: #5F0AFF !important;
}

.btn-formsf:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5) !important;
}

.btn-formsf:active {
  color: #fff !important;
  background-color: #5305e6 !important;
  border-color: #5F0AFF !important;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

.btn-formsf:disabled {
  color: #fff !important;
  background-color: #5F0AFF !important;
  border-color: #0d6efd !important;
}

.btn-out-modalf {
  color: #5F0AFF !important;
  background-color: transparent !important;
  border: 1px solid #5F0AFF !important;
  background-image: none !important;
}

.btn-out-modalf:hover {
  color: #fff !important;
  background-color: #5F0AFF !important;
  border-color: #5F0AFF !important;
}

.btn-out-modalf:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(95, 10, 255, 0.5) !important; 
}

.btn-out-modalf:active {
  color: #fff !important;
  background-color: #5305e6 !important;
  border-color: #5305e6 !important;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
}

.btn-out-modalf:disabled {
  color: #5F0AFF !important;
  background-color: transparent !important;
  border-color: #5F0AFF !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  color: #fff !important;
  background-color: #5F0AFF !important;
  border-color: #5F0AFF !important;
}

nav a.active {
  color: #fff !important;
  border-bottom: 2px solid #5F0AFF !important;
}

nav a.activem {
  color: #5F0AFF !important;
  border-bottom: 2px solid #5F0AFF !important;
}

