.section-tabs {
  background-color: #F5F5F5;
  padding: 50px 0;
}

.tabs-container {
  max-width: 1200px;
  margin: auto;
}

/* === Mobile First === */

.tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 20px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  grid-template-columns: 49% 49%;
}

.tab-button {
  padding: 10px 20px 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  color: #0B2739;
  min-height: 70px;
}

.tab-button .line-under {
  display: none;
  margin-top: 12px;
}

.tab-button.active {
  font-weight: bold;
}

.tab-button.active .line-under {
  display: block;
}

.subtab-button {
  padding: 0;
  border: none;
  cursor: pointer;
  background-color: #ddd;
  border-radius: 50px;
  width: 100%;
  min-height: 42px;
  font-size: 14px;
  color: #50535A;
}

.subtab-button.active {
  background-color: #0B2739;
  color: white;
  font-weight: bold;
}

.subtabs-container,
.subtab-content {
  display: none;
  padding: 0 20px;
}

.subtabs-container.active,
.subtab-content.active {
  display: block;
}

.content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content-title {
  font-size: 22px;
  color: #0B2739;
  font-weight: 400;
  width: 100%;
  max-width: 688px;
  text-align: center;
  line-height: normal;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #fff;
  border-radius: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 910px;
}

.step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 125px;
}

.step .number {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #066FCB;
  min-width: 53px;
  min-height: 130px;
  font-size: 50px;
  color: #fff;
}

.first-number {
  border-radius: 20px 0 0 0;
}

.last-number {
  border-radius: 0 0 0 20px;
}

.step-description {
  color: #0B2739;
  font-size: 18px;
  padding: 20px 30px;
  line-height: normal;
}

.video-section {
  width: 100%;
  display: grid;
  flex-direction: column;
  align-items: center;
  margin: 40px auto 0;
  grid-template-columns: 100%;
  gap: 30px;
}

.video-section iframe {
  width: 100%;
  max-width: 471px;
  border-radius: 20px;
}

.content-button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.content-button a {
  background-color: #066FCB;
  width: 270px;
  min-height: 56px;
  color: #fff;
  border-radius: 50px;
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-buttons {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

/* No Cliente */
.content-no-cliente {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 870px;
}

.content-no-cliente img {
  width: 100%;
}

.image-pospago {
  width: 100%;
  max-width: 870px;
  margin: 20px auto 0;
}

.image-pospago picture,
.image-pospago img {
  width: 100%;
}

/* Form */
.section-form-perplexity {
  background-color: #fff;
  margin-top: 30px;
  border-radius: 8px;
  padding: 25px;
}

.title-form {
  font-size: 20px;
  line-height: normal;
  color: #50535A;
  text-align: center;
  margin-bottom: 15px;
}

.title-form a {

  color: #019DF4;
}

.form-group {
    margin-bottom: 15px;
    position: relative;

}

.form-group i {
  position: absolute;
  top: 12px;
  left: 10px;
  color: #888;
}

.form-group input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  position: relative;
}

.section-form-perplexity button {
  width: 100%;
  padding: 10px;
  background-color: #066FCB;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 25px;
}

.section-form-perplexity button:disabled {

  
  background-color: #0B273980;
}

.section-form-perplexity .icn-user-plus:before {
  position: absolute;
  z-index: 2;
  right: 9px;
  top: 11px;
}
.section-form-perplexity .icn-id-card-regular:before {
  position: absolute;
  z-index: 2;
  right: 9px;
  top: 11px;
}

.section-form-perplexity .icn-mobile-device-regular:before {
  position: absolute;
  z-index: 2;
  right: 9px;
  top: 11px;
}

.section-form-perplexity .icn-information-user-regular:before {
  color: #f28d15;
  margin-right: 10px;
}

.section-form-perplexity .text-information {
  font-size: 12px;
  line-height: 16px;
  color: #50535A;
  margin-top: 10px;
}

/* modal */

.modal-perplexity {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 504px;
  text-align: center;
  position: absolute;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.modal-content .title-modal {
  color: #019DF4;
  font-size: 20px;
  line-height: normal;
}

.modal-content .content-modal-text {
  color: #50535A;
  font-size: 18px;
  line-height: 24px;
}

#modalMessage {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 18px;
}

.modal-content .btn-modal {
  width: 100%;
  max-width: 225px;
  background-color: #0B2739;
  min-height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 25px;
}



/* === Desktop Styles === */
@media (min-width: 768px) {
  .tabs {
    grid-template-columns: 49% 49%;
  }

  .tab-button {
    font-size: 20px;
  }

  .steps {
    grid-template-columns: 33% 33% 33%;
  }

  .step {
    justify-content: center;
  }

  .first-number {
    border-radius: 20px 0 0 20px;
  }

  .last-number {
    border-radius: 0 0 0 0px;
  }

  .content {
    padding: 20px;
  }

  .container-buttons {
    flex-direction: row;
  }
.form-group {
    margin-bottom: 5px;
    position: relative;

}
  .content-no-cliente {
    grid-template-columns: 49% 49%;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 35px;
  }

  .content-no-cliente .itemm:nth-child(1) {
    grid-area: 1 / 1 / 3 / 2;
  }

  .content-no-cliente .itemm:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }

  .content-no-cliente .itemm:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
  }

  .section-vid-form {
    display: grid;
    grid-template-columns: 46% 53%;
    gap: 20px;
    width: 100%;
    margin-top: 40px;
  }

  .section-inputs {
    display: grid;
    grid-template-columns: 100%;
    gap: 10px;
  }

  .form-group input {
    font-size: 16px;
    line-height: normal;
    padding: 10px;
  }

  .title-form {
    font-size: 19px;
  }

  .section-form-perplexity {
    margin-top: 0;
  }

  .section-form-perplexity .text-information {
    font-size: 11px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .section-form-perplexity .icn-information-user-regular:before {
    font-size: 19px;
  }

  .section-form-perplexity button {
    max-width: 290px;
    margin: 0 auto;
  }

  .contianer-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-section {

    grid-template-columns: 48% 48%;
    gap: 20px;
    margin: 0;
  }
}