/* ================================
   ContaPyme Pricing Cards – CSS COMPLETO - SIN CAMBIOS VISUALES
   ================================ */

/* ---------- Paquetes ---------- */

.section-paquetes {
  background-color: #e9f3ff;
}

.paquetes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #00AAF8;
  height: 700px;
  gap: 30px;
}

.texto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tittle-principal-paquetes {
  color: white;
  text-align: center;
  margin-bottom: 20px;
  width: 1000px;
  font-size: 47.78px;
  font-weight: 500;
}

.subtittle-principal-paquetes {
  color: white;
  text-align: center;
  margin-bottom: 20px;
  width: 1000px;
  font-size: 33.18px;
  font-weight: 500;
}

.text-principal-paquetes {

  font-size: 25px;
  text-align: center;
  width: 926px;
  line-height: 1;
  margin-bottom: 15px;
}

.text-principal-paquetes-bold {
  font-weight: bold;
}

.texto-final-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tittle-final-paquetes {
  color: #00AAF8;
  text-align: center;
  margin-bottom: 15px;
  width: 1000px;
  font-size: 35px;
  font-weight: bold;
}

.text-final-paquetes {
  font-size: 25px;
  text-align: center;
  width: 1000px;
  line-height: 1;
  margin-bottom: 15px;
}

.n-paquetes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.paquetes-content {
  display: flex;
  width: 65%;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}

.paquete-1,
.paquete-2,
.paquete-3 {
  display: flex;
  align-items: flex-start;
  border: 2px solid #00AAF8;
  background: white;
  border-radius: 16px;
  padding: 35px;
  position: relative;
  width: 100%;
  height: 210px;
}

.tittle-paquetes {
  color: #007BFF;
  font-size: 27.65px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 10px;
}

.texts-paquetes {
  color: #4A5568;
  font-size: 16px;
}

.pasos-content {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.numeros-cuadros {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  transform: translateY(40px);
  z-index: 1;
}

.img-pasouno,
.img-pasodos,
.img-pasotres {
  padding-right: 390px;
}

@media (max-width: 2300px) {
  .paquetes-content {
    width: 73%;
  }
}

@media (max-width: 2100px) {
  .paquetes-content {
    width: 84%;
  }
}

@media (max-width: 1980px) {
  .paquetes-content {
    width: 89%;
  }
}

@media (max-width: 1750px) {
  .paquetes-content {
    width: 84%;
  }
}

@media (max-width: 1440px) {

  .paquetes-container {
    height: 500px;
    gap: 0;
  }

  .paquetes-content {
    width: 93%;
  }

  .paquete-1,
  .paquete-2,
  .paquete-3 {
    height: 190px;
  }

  .subtittle-principal-paquetes {
    font-size: 23.04px;
  }

  .tittle-principal-paquetes {
    font-size: 33.18px;
    margin-top: 70px;
  }

  .tittle-paquetes {
    font-size: 23px;
  }

  .texts-paquetes {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {

  .paquetes-content {
    width: 65%;
    gap: 60px;
  }

  .numeros-cuadros {
    width: 100%;
    justify-content: flex-start;
    transform: translateY(30px);
  }

  .paquete-1,
  .paquete-2,
  .paquete-3 {
    margin: 0 auto;
    width: 270px;
    height: 170px;
    padding: 35px 20px;
  }

  .tittle-paquetes {
    font-size: 17px;
  }

  .texts-paquetes {
    font-size: 10px;
  }

  .img-pasouno,
  .img-pasodos,
  .img-pasotres {
    width: 440px;
  }

  .button-p {
    max-width: 200px !important;
    height: 55px !important;
  }

  .text-button {
    font-size: 18px !important;
  }
}

@media (max-width: 768px) {
  .paquetes-content {
    flex-direction: column;
    gap: 0px;
    align-items: normal;
  }

  .n-paquetes {
    height: 600px;
    align-items: normal;
  }

  .texto-container {
    height: 200px;
  }

  .paquete-1,
  .paquete-2,
  .paquete-3 {
    width: 424px;
    height: 140px;
    padding: 25px 20px;
  }

  .paquetes-container {
    height: 900px;
  }

  .subtittle-principal-paquetes {
    width: 334px;
    font-weight: bold;
  }

  .tittle-principal-paquetes {
    width: 418px;
    font-weight: bold;
    margin-top: 30px;
  }

  .tittle-paquetes {
    font-size: 23.04px;
  }

  .texts-paquetes {
    font-size: 11.33px;
  }
}

@media (max-width: 425px) {
  .paquetes-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 90%;
  }

  .pasos-content {
    width: 100%;
    align-items: center;
  }

  .n-paquetes {
    height: auto;
    align-items: center;
  }

  .texto-container {
    height: auto;
    margin-bottom: 30px;
  }

  .paquete-1,
  .paquete-2,
  .paquete-3 {
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 170px;
    padding: 25px 20px;
    box-sizing: border-box;
  }

  .paquetes-container {
    justify-content: normal;
    height: auto;
    padding-bottom: 50px;
  }

  .subtittle-principal-paquetes {
    width: 90%;
    font-size: 17px;
    font-weight: bold;
  }

  .tittle-principal-paquetes {
    width: 90%;
    font-size: 23px;
  }

  .tittle-paquetes {
    font-size: 20px;
  }

  .texts-paquetes {
    font-size: 14px;
  }

  .text-button {
    font-size: 14px !important;
  }
}


/* ---------- Botones ---------- */

.buttons-paquetes {
  display: flex;
  gap: 10px;
  justify-content: center;
  transform: translateY(-40px);
}

.button-p {
  background-color: white;
  color: #007BFF;
  border-radius: 10px;
  border: 1px solid #0097D6;
  cursor: pointer;
}

.button-p {
  width: 100%;
  max-width: 321px;
  height: 72px;
}


.text-button {
  text-align: center;
  font-size: 23.04px;
  font-weight: bold;
  margin-top: 15px;
}

.contadores:hover,
.contadores-p:active {
  background-color: #007BFF;
  color: white;
}

.empresarios:hover,
.empresarios-p:active {
  background-color: #007BFF;
  color: white;
}

/* ---------- Botones Empresarios ---------- */

.buttons-empresarios {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}

.button-p-empresarios {
  background-color: white;
  color: #007BFF;
  border-radius: 10px;
  border: 1px solid #0097D6;
  cursor: pointer;
}

.button-p-empresarios {
  width: 100%;
  max-width: 316px;
  height: 52px;
}

.text-button-empresarios {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}

.buttons-empresarios {
  display: none;
}

.puntoVenta:hover,
.puntoVenta.active {
  background-color: #C93565 !important;
  border: 1px solid #C93565 !important;
  color: white !important;
}

.servicios:hover,
.servicios.active {
  background-color: #E8352E !important;
  border: 1px solid #E8352E !important;
  color: white !important;
}

.comercio:hover,
.comercio.active {
  background-color: #7535AD !important;
  border: 1px solid #7535AD !important;
  color: white !important;
}

.manuFactura:hover,
.manuFactura.active {
  background-color: #4A3ECF !important;
  border: 1px solid #4A3ECF !important;
  color: white !important;
}

@media (max-width: 1300px) {

  .buttons-empresarios {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

}

@media (max-width: 900px) {

  .button-p {
    height: 65px;
  }

  .text-button {
    font-size: 20px;
    margin-top: 18px;
  }

  .button-p-empresarios {
    height: 50px;
  }

}

@media (max-width: 700px) {

  .buttons-paquetes {
    width: 80%;
    margin: 0 auto;
  }

  .button-p {
    height: 65px;
  }

  .text-button {
    font-size: 20px;
    margin-top: 18px;
  }

  .button-p-empresarios {
    height: 50px;
  }

}

@media (max-width: 600px) {

  .buttons-paquetes {
    width: 60%;
  }

  .button-p {
    height: 60px;
  }

  .text-button {
    font-size: 18px;
  }

  .buttons-empresarios {
    flex-direction: column;
    align-items: center;
  }

  .button-p-empresarios {
    max-width: 280px;
  }

}

@media (max-width: 400px) {

  .text-button {
    font-size: 16px;
  }

  .text-button-empresarios {
    font-size: 14px;
  }

}


/* ---------- Cards Contador ---------- */

.cards-slider {
  position: relative;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}

.cards-viewport {
  width: 100%;
  overflow: hidden;
}

.cards-contadores {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 70px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border: 2px solid white;
  border-radius: 40px;
  cursor: pointer;
}

.card {
  width: 100%;
  max-width: 534px;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}


/* ---------- Card Descuento ---------- */

.card-descuento {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 15px;
}

.text-descuento {
  background-color: #00BFFF;
  width: 70px;
  border-radius: 20px;
  padding: 5px;

  font-size: 18px;
  font-weight: bold;
  color: white;
}

.text-cliente {
  width: 297px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
  color: #3DCEED;
}

/* ---------- -------------- ---------- */

.content-total {
  width: 448px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

/* ---------- Card Contenido ---------- */

.card-content {
  display: flex;
  flex-direction: column;
  width: 448px;
}

.tittle-card {
  text-align: center;
  color: #007BFF;
  font-size: 39.81px;
  font-weight: bold;
  margin-bottom: 15px;
}

.text-card {
  text-align: center;
  font-size: 16px;
  color: #000;
}

.price-card {
  text-align: center;
  font-weight: 1000;
  font-size: 39.81px;
  color: #00AAF8;
  margin-top: 15px;
}

.oldprice-card {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #3DCEED;
}

.oldprice-cards {
  text-align: center;
  font-size: 23.04px;
  font-weight: 500;
  color: #3DCEED;
}

.content-año-mes-precio {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.mes {
  font-weight: bold;
  font-size: 20px;
}

.año {
  font-size: 15px;
}

.q-card {
  font-size: 23.04px;
  font-weight: bold;
  color: #007BFF;
  margin-bottom: 5px;
}

.p-card {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: bold;
  color: #4A5568;
  width: 100%;
}

.text-p-card {
  margin-top: 2px;
}

.info-card-content {
  display: flex;
  flex-direction: column;
  width: 425px;
  margin-top: 20px;
}

/* ---------- Cards Info ---------- */

.text-info-card {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.2;
}

.text-info-card-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.left-content {
  display: flex;
  align-items: center;
  gap: 2px;
}

.right-icon {
  margin-left: auto;
}

.tooltip-container {
  position: relative;
  display: flex;
  align-items: center;
}

.tooltip-box {
  position: absolute;
  top: 50%;
  right: calc(100% + 5px);
  /* Sale hacia la izquierda del ícono (su borde derecho pegado al borde izquierdo del ícono más 5px) */
  /* Aplicamos scaleX(-1) para que el "pico" del globo que miraba a la izquierda ahora mire hacia la derecha, apuntando al ícono */
  transform: translateY(-50%) scaleX(-1);

  width: 213px;
  height: 109px;

  background-image: url("../../iconos/Mas-info.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;

  z-index: 999999;
}

.tooltip-container:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}

.tooltip-box p {
  /* Restablecemos el espejado dentro del párrafo para que el texto sí sea legible de izquierda a derecha */
  transform: scaleX(-1);
  font-size: 12px;
  color: #4A5568;
  text-align: left;
  margin: 0;
  width: 150px;
}

.textmin-info-card {
  display: flex;
  font-size: 16px;
  color: #4A5568;
  line-height: 1.2;
  align-items: flex-start;
  margin-left: 20px;
}

.button-info-card {
  display: flex;
}

.des-info-card {
  list-style: none;
}

.btn-op-info-card {
  display: flex;
  width: 425px;
  color: #0097D6;
  background-color: white;
  border: 1px solid white;
  font-size: 16px;
  font-weight: bold;
}

.img-lista {
  margin-left: 30px;
}

.op-info-card .text-info-card {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.op-info-card:hover .text-info-card,
.op-info-card.active .text-info-card {
  max-height: 500px;
  opacity: 1;
}


.btn-op-info-card {
  cursor: pointer;
}

.excel-info-card-content {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #00BFFF;
  margin-top: 15px;
}

.proveedor-info-card-content {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #00BFFF;
  margin-top: 15px;
}

/* ---------- Btn Perzonaliza tu paquete ---------- */

.azulclaro:hover {
  background-color: white !important;
  color: #00BFFF !important;
  border: 1px solid #00BFFF !important;
}

.azulcclaro:hover {
  background-color: white !important;
  color: #00AAF8 !important;
  border: 1px solid #00AAF8 !important;
}

.azuloscuro:hover {
  background-color: white !important;
  color: #007BFF !important;
  border: 1px solid #007BFF !important;
}

.rojo:hover {
  background-color: white !important;
  color: #C93565 !important;
  border: 1px solid #C93565 !important;
}

.rojo-coral:hover {
  background-color: white !important;
  color: #E8352E !important;
  border: 1px solid #E8352E !important;
}

.aguamarina:hover {
  background-color: white !important;
  color: #0071A5 !important;
  border: 1px solid #0071A5 !important;
}

.verde:hover {
  background-color: white !important;
  color: #006080 !important;
  border: 1px solid #006080 !important;
}

.lila:hover {
  background-color: white !important;
  color: #3F51B5 !important;
  border: 1px solid #3F51B5 !important;
}

.morado:hover {
  background-color: white !important;
  color: #7535AD !important;
  border: 1px solid #7535AD !important;
}

/* ---------- Cards Perso ---------- */

.perso-card-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 447.65px;
  margin-top: 20px;
  margin-bottom: 50px;
}

.btn-perso-card {
  color: #007BFF;
  font-size: 16px;
  font-weight: bold;
  width: 444px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  background-color: white;
}

.tittle-des-perso-card {
  font-size: 23.04px;
  font-weight: bold;
  color: #0097D6;
  text-align: center;
}

.selec-des-perso-card-content {
  display: flex;
  background-color: #D5E9FF;
  border-radius: 20px;
  width: 447.65px;
  height: 146px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.text-selec-des-perso-card {
  font-size: 16px;
  font-weight: bold;
  color: #0097D6;
}

.btn-selec-des-perso-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #0097D6;
  border-radius: 10px;
  width: 282px;
  height: 50px;
  font-size: 16px;
  color: #007BFF;
  background-color: white;
  margin-bottom: 20px;
}

.selector-des-perso-card-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 447.65px;
  height: 146px;
  background-color: #ECFBFE;
  gap: 10px;
  margin-top: 20px;
}

.text-selector-des-perso-card {
  font-size: 16px;
  font-weight: bold;
  color: #007BFF;
  text-align: center;
}

.text2-selector-des-perso-card {
  font-size: 13.33px;
  text-align: center;
  width: 356px;
  color: #00BFFF;

}

.input-selector-des-perso-card {
  width: 282px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  text-align: center;
  color: #007BFF;
  background-color: white;
  font-size: 16px;
}

.ttl-des-perso-card-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  width: 447px;
  height: 398px;
  border-radius: 20px;
  background: linear-gradient(to right, #00AAF8, #0071A5);
}

.tittle-ttl-des-perso-card {
  font-size: 16px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.box-box-ttl-des-perso-card {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.text-box-ttl-des-perso-card {
  font-size: 16px;
  color: #EEF2F7;
  width: 210px;
}

.price-box-ttl-des-perso-card {
  font-size: 16px;
  font-weight: bold;
  color: #EEF2F7;
}

.separador {
  border: 1px solid white;
  width: 367px;
}

.total-box-ttl-des-perso-card {
  font-size: 23.04px;
  font-weight: bold;
  color: #EEF2F7;
  margin-top: 15px;
  margin-bottom: 15px;
}

.btn-box-ttl-des-perso-card {
  width: 247px;
  height: 47px;
  border-radius: 10px;
  border: 1px solid #0097D6;
  background-color: white;
  font-size: 16px;
  font-weight: bold;
  color: #007BFF;
}

.des-perso-card-content {
  display: none;
}

.perso-card-content.active .des-perso-card-content {
  display: block;
}

.btn-perso-card {
  cursor: pointer;
}

.cards-slider {
  position: relative;
  overflow: hidden;
}

.cards-contadores-track {
  overflow: hidden;
}

.slider-arrow {
  display: none;
}


@media (max-width: 1440px) {
  .card {
    max-width: 410px;
  }

  .cards-contadores,
  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    gap: 20px !important;
  }

  .content-total,
  .card-content,
  .info-card-content,
  .excel-info-card-content,
  .proveedor-info-card-content,
  .perso-card-content,
  .selec-des-perso-card-content,
  .selector-des-perso-card-content,
  .ttl-des-perso-card-content,
  .btn-perso-card {
    width: 350px;
  }


  .text-info-card-box {
    width: 99.10%;
  }

  .box-ttl-des-perso-card,
  .separador {
    width: 320px;
  }

  /*----- Contenido Card ------*/

  .tittle-card {
    font-size: 30px;
  }

  .text-card {
    font-size: 13px;
    width: 90%;
    margin: 0 auto;
  }

  .price-card {
    font-size: 35px;
  }

  .mes {
    font-size: 17px;
  }

  .oldprice-cards,
  .text-descuento {
    font-size: 18px;
  }

  .q-card {
    font-size: 20px;
  }

  .text-p-card,
  .text-info-card,
  .btn-op-info-card,
  .excel-info-card-content,
  .proveedor-info-card-content {
    font-size: 14px;
  }

  .tittle-des-perso-card {
    font-size: 20px;
  }

  .total-box-ttl-des-perso-card {
    font-size: 18px;
  }

}

@media (max-width: 1024px) {
  .contuno {
    margin-left: 0px !important;
  }

  .card {
    /* Ancho suficiente para que se vean dos en pantalla de 1024px */
    max-width: 440px;
    width: 100%;
  }

  .cards-contadores,
  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    gap: 50px !important;
  }

}

@media (max-width: 768px) {
  .card {
    max-width: 350px;
  }

  .cards-contadores {
    gap: 20px !important;
  }

  .content-total,
  .card-content,
  .info-card-content,
  .excel-info-card-content,
  .proveedor-info-card-content,
  .perso-card-content,
  .selec-des-perso-card-content,
  .selector-des-perso-card-content,
  .ttl-des-perso-card-content,
  .btn-perso-card {
    width: 300px;
  }

  .text-info-card-box2 {
    width: 69.50% !important;
  }

  .text-info-card-box {
    width: 99.10%;
  }

  .box-ttl-des-perso-card,
  .separador {
    width: 260px;
  }

  /*----- Contenido Card ------*/

  .tittle-card {
    font-size: 25px;
  }

  .text-card {
    font-size: 11px;
    width: 75%;
    margin: 0 auto;
  }

  .price-card {
    font-size: 30px;
  }

  .mes {
    font-size: 15px;
  }

  .oldprice-cards,
  .text-descuento {
    font-size: 15px;
  }

  .oldprice-cards {
    font-size: 15px;
  }

  .q-card {
    font-size: 16px;
  }

  .text-p-card,
  .text-info-card,
  .btn-op-info-card,
  .excel-info-card-content,
  .proveedor-info-card-content {
    font-size: 12px;
  }

  .tittle-des-perso-card {
    font-size: 16px;
  }

  .total-box-ttl-des-perso-card {
    font-size: 18px;
  }

  .text-box-ttl-des-perso-card {
    font-size: 14px;
    width: 160px;
  }

  .price-box-ttl-des-perso-card {
    font-size: 12px;
  }

  .text2-selector-des-perso-card {
    width: 250px;
  }

  .total-box-ttl-des-perso-card {
    font-size: 15px;
  }

}

/* ---------- Cards Empresarios Punto ---------- */

.cards-empresarios-punto {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

.cards-empresarios-punto,
.empresarios-slider {
  display: none;
}

/* ---------- Cards Empresarios Servicios ---------- */

.cards-empresarios-servicios {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 70px 0;
  align-items: flex-start;
}

.cards-empresarios-servicios {
  display: none;
}

/* ---------- Cards Empresarios Comercio ---------- */

.cards-empresarios-comercio {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 70px 0;
  align-items: flex-start;
}

.cards-empresarios-comercio {
  display: none;
}

/* ---------- Cards Empresarios Manu Factura ---------- */

.cards-empresarios-manufactura {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 70px 0;
  align-items: flex-start;
}

.cards-empresarios-manufactura {
  display: none;
}

/* ---------- Formulario ---------- */

.modal-formulario {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  width: 90%;
  max-width: 900px;
  height: auto;
  /* CAMBIAR */
  background: transparent;
  /* CAMBIAR */
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-cerrar {
  justify-content: end;
}

.modal-contenido iframe {
  width: 100%;
  height: 100%;
}


#modalFormulario {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);

  display: none;
  /* se activa con JS */
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

#iframeFormulario {
  width: 100%;
  height: 600px;
  /* Altura fija elegante */
  border: none;
  background: transparent;
}


/* Quitamos por completo la query de 375px vieja que pisaba esto con malas configuraciones. Como ya le dimos % y auto, 425 cubre perfecto hacia abajo y elimina los bugs */


/* ------------------------------------------------------------------------- */
/* SLIDER LOGIC CSS */
/* ------------------------------------------------------------------------- */

.cards-slider {
  position: relative;
  width: 100%;
  /* max-width: 100%;  <-- Dejar que herede o se ajuste */
}

.cards-viewport {
  width: 100%;
  margin: 0 auto;
  /* overflow hidden se aplica dinámicamente o aquí */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #00AAF8;
  color: #00AAF8;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  user-select: none;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #00AAF8;
  color: white;
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

/* Estado ACTIVO del slider */
.cards-slider.active-slider .cards-viewport {
  overflow: hidden;
}

.cards-slider {
  --card-half-width: 267px;
  /* Fallback based on 534px normal width */
}

@media (max-width: 1024px) {
  .cards-slider {
    --card-half-width: 220px;
    /* (440px / 2) */
  }
}

@media (max-width: 768px) {
  .cards-slider {
    --card-half-width: 175px;
    /* (350px / 2) */
  }
}

@media (max-width: 425px) {
  .cards-slider {
    --card-half-width: 45vw;
    /* (90vw / 2) */
  }
}

.cards-slider.active-slider .cards-contadores,
.cards-slider.active-slider .cards-empresarios-servicios,
.cards-slider.active-slider .cards-empresarios-comercio,
.cards-slider.active-slider .cards-empresarios-manufactura {
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap;
  padding: 20px calc(50% - var(--card-half-width)) !important;
  gap: 20px !important;
  /* Asegurar gap */
  transition: transform 0.4s ease;
  /* Transición suave */
}

.cards-slider.active-slider .card {
  flex-shrink: 0;
  margin: 0;
  /* width: se mantiene del original */
}

/* Ajustes Responsive para las flechas */
@media (max-width: 700px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .slider-arrow.prev {
    left: 5px;
  }

  .slider-arrow.next {
    right: 5px;
  }
}

/* ---------- Responsive Cards Empresarios (Mobile L, M, S) ---------- */
@media (max-width: 425px) {

  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
  }
}

@media (max-width: 375px) {

  /* Ajustes adicionales si se requieren para 375px */
  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    gap: 15px;
    margin: 30px 0;
  }
}

@media (max-width: 320px) {

  /* Ajustes adicionales si se requieren para 320px */
  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    gap: 10px;
    margin: 20px 0;
  }
}

/* --- Fix de Anchos y Padding en Móviles para Evitar Margen Blanco (Overflow) --- */
html,
body {
  overflow-x: hidden;
}

.section-paquetes,
.paquetes-container {
  max-width: 100%;
}

@media (max-width: 425px) {

  .paquete-1,
  .paquete-2,
  .paquete-3 {
    width: 100% !important;
    max-width: 90vw;
    box-sizing: border-box;
    height: auto !important;
    min-height: 140px;
  }

  .numeros-cuadros {
    width: 100%;
    justify-content: center;
    /* Centrado en móviles */
    transform: translateY(10px);
    /* Un poco más arriba para compensar el montaje */
  }

  .img-pasouno,
  .img-pasodos,
  .img-pasotres {
    width: 60px !important;
    height: 60px;
    max-width: 320px;
    padding-right: 0 !important;
    object-fit: contain;
    margin: -30px auto -20px auto;
    /* Subir imagen (margin-top negativo) */
    z-index: 2;
    position: relative;
    display: block;
  }

  .tittle-principal-paquetes,
  .subtittle-principal-paquetes {
    width: 100% !important;
    max-width: 90vw;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .cards-contadores,
  .cards-empresarios-servicios,
  .cards-empresarios-comercio,
  .cards-empresarios-manufactura {
    padding: 0 5vw !important;
    box-sizing: border-box;
    gap: 10vw !important;
    justify-content: flex-start !important;
    /* Permitir que el carrusel deslice con JS sin amontonarlas al centro en los siguientes pasos */
  }

  .card {
    width: 90vw !important;
    max-width: none !important;
    min-width: 90vw !important;
    flex: 0 0 90vw !important;
    box-sizing: border-box;
    margin: 0 !important;
  }

  .content-total,
  .card-content,
  .info-card-content,
  .perso-card-content,
  .selec-des-perso-card-content,
  .selector-des-perso-card-content,
  .ttl-des-perso-card-content,
  .btn-perso-card,
  .excel-info-card-content,
  .proveedor-info-card-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 30px 5% !important;
    /* Añadimos 30px de relleno arriba y abajo, y 5% a los lados */
    margin: 0 auto !important;
    /* Centrado automático para cajas hijas */
  }

  /* Reducimos el padding superior o inferior exclusivo para esos bloquecitos si hace falta, pero manteniendo sus márgenes 100% contenidos */
  .excel-info-card-content,
  .proveedor-info-card-content {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  /* Aseguramos que los textos que deben ir al centro, lo hagan de forma forzada si algún padre lo anuló */
  .tittle-card,
  .text-card,
  .price-card-total,
  .price-card,
  .oldprice-cards,
  .text-descuento,
  .tittle-des-perso-card {
    text-align: center !important;
    justify-content: center !important;
  }

  .box-ttl-des-perso-card,
  .separador,
  .text-info-card-box,
  .text-info-card-box2,
  .list-info-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Para las listas de chulitos azules (features) */
  .list-info-card {
    padding-left: 20px !important;
    padding-right: 10px !important;
  }

  .text-box-ttl-des-perso-card {
    width: auto !important;
  }

  .input-selector-des-perso-card,
  .btn-selec-des-perso-card {
    max-width: 90% !important;
    margin: 0 auto !important;
    display: block;
  }
}

/* ---------- ICONOS ESCALABLES (MÁSCARAS CSS) ---------- */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.icon-check-small {
  -webkit-mask-image: url('iconos/check_small-verde.svg');
  mask-image: url('iconos/check_small-verde.svg');
  width: 24px;
  height: 24px;
}

.icon-check {
  -webkit-mask-image: url('iconos/Check-verde.svg');
  mask-image: url('iconos/Check-verde.svg');
  width: 26px;
  height: 26px;
}

.icon-frame {
  -webkit-mask-image: url('iconos/Frame-verde.svg');
  mask-image: url('iconos/Frame-verde.svg');
  width: 24px;
  height: 24px;
}

.icon-group18 {
  -webkit-mask-image: url('iconos/Group 18-verde.svg');
  mask-image: url('iconos/Group 18-verde.svg');
  width: 18px;
  height: 18px;
}

/* Botones puro CSS (+ y -) */
.icon-btn-css {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.icon-btn-css::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  background-color: white;
  border-radius: 1px;
}

.icon-mas-css::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 12px;
  background-color: white;
  border-radius: 1px;
}

/* ---------- Modal Formulario ---------- */
#modalFormulario {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#modalFormulario.active {
  display: flex !important;
}

.modal-contenido {
  position: relative;
  background-color: white;
  padding: 0;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.btn-cerrar {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.btn-cerrar:hover {
  background-color: #ff4d4d;
  color: white;
  border-color: #ff4d4d;
  transform: scale(1.1);
}

#iframeFormulario {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .btn-cerrar {
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* ---------- Responsive Cards Native Slider ---------- */

.slider-arrow {
  display: none !important;
}

@media (max-width: 1700px) {
  .cards-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .cards-viewport::-webkit-scrollbar {
    height: 8px;
  }

  .cards-viewport::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }

  .cards-viewport::-webkit-scrollbar-track {
    background: transparent;
  }

  .cards-contadores {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
    padding: 0 40px;
    margin-bottom: 40px;
  }

  .card {
    scroll-snap-align: center;
    width: 534px;
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  .cards-viewport::-webkit-scrollbar {
    display: none;
  }

  .cards-viewport {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .card {
    width: calc(100vw - 80px);
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .cards-contadores {
    padding: 0 20px;
  }

  .card {
    width: calc(100vw - 40px);
  }
}