/* Modal styles */
@font-face {
  font-family: "Roboto-bold";
  font-weight: 700;
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-display: swap;
}

.modal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  font-family: "Roboto-bold";
  border: #fff;
  border: solid;
  max-height: 100%;
}

.banner-modal img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
  max-height: 250px;
}

.banner-modal img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

.modal-content-modal {
  background: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  position: relative;
  max-width: 900px;
  max-height: 95vh;
  width: 90%;
  border-color: #fff;
  border: solid;
  box-sizing: border-box;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.logo {
  width: 150px;
  margin: 10px auto;
}

h1 {
  font-size: 30px;
  margin: 10px 0;
  font-family: "roboto-bold";
}

.main-btn:hover {
  background: #ff9900;
}

.main-btn {
  background: linear-gradient(to right, #FF601C 20%, #FF8503 80%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 34px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid white;
  font-family: "Hemi Head", sans-serif;
  /* CAMBIO PRINCIPAL: Usar max-width y width responsivo */
  width: 100%;
  max-width: 500px;
  height: auto;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.main-btn img {
  height: 50px;
  width: auto;
  margin: 0;
}

hr {
  border: 1px solid #fff;
  margin: 20px 0;
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  margin-top: 10px;
}

.option-btn {
  background: #cdc4c4;
  border: solid;
  border-color: #fff;
  color: #000;
  padding: 10px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  flex: 1 1 calc(15.25% - 20px);
  max-width: 170px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  line-height: 1;
}

.option-btn:hover {
  background: #ddd;
}

.plan {
  font-size: 22px;
}

.linea-naranja {
  border: none;
  height: 3px;
  background: #ff9900;
  border-radius: 2px;
  margin: 15px 0;
}

/* Media query adicional para pantallas medianas */
@media (max-width: 1200px) {
  .main-btn {
    font-size: 28px;
    max-width: 400px;
  }

  .modal-content-modal {
    max-height: 98vh;
    /* Más altura en pantallas medianas */
  }
}

@media (max-width: 900px) {
  .main-btn {
    font-size: 24px;
    max-width: 350px;
  }

  .modal-content-modal {
    max-height: 98vh;
  }
}

/* Media query específica para pantallas como 1366x768 */
@media (min-width: 1200px) and (max-height: 800px) {
  .modal-content-modal {
    max-height: 90vh;
    padding: 18px;
  }

  h1 {
    font-size: 26px;
    margin: 12px 0;
  }

  .logo {
    width: 130px;
    margin: 8px auto;
  }

  .banner-modal img {
    max-height: 200px;
    margin: 0 auto 18px auto;
  }

  .options {
    gap: 30px;
    margin: 18px 0;
  }

  .option-btn {
    height: 50px;
    font-size: 17px;
    padding: 10px 10px;
  }

  hr {
    margin: 18px 0;
  }

  .linea-naranja {
    margin: 18px 0;
  }

  .main-btn {
    font-size: 30px;
    padding: 10px 18px;
    max-width: 85%;
    margin: 18px auto;
  }

  .main-btn img {
    height: 45px;
  }
}

/* Estilos responsivos para mobile */
@media (max-width: 768px) {
  .modal-content-modal {
    max-height: none !important;
    height: auto;
  }

  h1 {
    font-size: 18px;
  }

  .options {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-height: none !important;
    height: auto;
  }

  .option-btn {
    flex: none;
    width: 80%;
    max-width: none;
    font-size: 18px;
    line-height: 1;
    max-height: 40px;
  }

  .main-btn {
    background: linear-gradient(to right, #FF601C 20%, #FF8503 80%);
    color: white;
    width: 280px;
    max-width: 280px;
    font-size: 18px;
    margin-left: 0;
  }

  .main-btn img {
    height: 30px;
    width: auto;
  }

  .modal-content-modal h1 {
    font-size: 24px;
  }
}