.planes-section {
    padding: 40px;
    background-color: #fff;
    text-align: center;
  }
  
  .planes-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 3%;
  }
  
  .plan-card {
    width: 290px;
    border: 2px solid #ccc;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    /*padding: 20px;*/
    position: relative;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-left: 2%;
    position: relative;
    padding-right: 40px;
  }
  
  .plan-card:hover {
    transform: translateY(-5px);
  }
  
  .plan-logo {
    width: 180px;
    margin-bottom: 10px;
    margin-left: -93%;
    margin-top: -28%;
  }
  
  .plan-card h4 {
    font-size: 14px;
    color: #666;
  }
  
  .plan-card h2 {
    font-size: 16px;
    color: #222;
    margin: 10px 0;
  }
  
  .precio-anterior {
    text-decoration: line-through;
    font-size: 13px;
    color: #999;
  }
  
  .ahorro {
    font-size: 14px;
    color: #c0392b;
    margin-bottom: 15px;
  }
  
  .plan-card ul {
    list-style: none;
    padding: 21px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    
  }
  
  .iconos {
    /*display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;*/

    position: absolute;
    top: 72%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  /*.iconos img {
    width: 28px;
  }*/
  
  /* Plan Colors */
  .primus {
    border-color: #e74c3c;
    color: #e74c3c;
  }
  
  .fortis {
    border-color: #555;
    color: #555;
  }
  
  .optimus {
    border-color: #007399;
    color: #007399;
  }
  .flexis{
    border-color: #A6A6A6 ;
    color: #A6A6A6;
  }
  /* Prevención de desbordamiento horizontal en testimonios */
  .testimonios {
      overflow-x: hidden;
      max-width: 100%;
  }

  .testimonios .contenedor {
      overflow-x: hidden;
      max-width: 100%;
  }

  /* Asegura que todo lo interno se adapte */
  .testimonios * {
      max-width: 100%;
      box-sizing: border-box;
  }
  #footer {
    overflow-x: hidden;
    max-width: 100%;
  }

  #footer * {
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }

  .sliderC {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .sliderC:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .sliderC {
    background-color: #2196F3;
  }

  input:focus + .sliderC {
    box-shadow: 0 0 1px #2196F3;
  }

  input:checked + .sliderC:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .sliderC.round {
    border-radius: 34px;
  }

  .sliderC.round:before {
    border-radius: 50%;
  }
  .switchPaq {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5rem;
    padding-top: 1rem;
  }
  @media (max-width: 768px) {
    .planes-container {
      flex-direction: column;
      align-items: center;
    }

    .plan-card {
      width: 90%;
      margin: 10px auto;
      padding-right: 20px;
    }

    .plan-logo {
      margin: 0 auto 10px auto;
      display: block;
    }

    .iconos {
      position: static;
      flex-direction: row;
      justify-content: center;
      margin-top: 15px;
    }
  }