@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: 16px;
}


.btnGreen {
 
  padding: 12px 24px;
  background-color: #4caf50;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  padding: 0.6em 1.5em;
}

.btnGreen:hover {
  background-color: #45a049;
  
}

.clWhite {
 
  color: white;
}



.banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0px 20px 30px -10px rgba(0, 0, 0, 0.55);

}

.bannerBackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bannerBackground img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bannerImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  width: 100%;
  max-width: 1400px;
  padding: 0 100px;
  box-sizing: border-box;
  align-items: center;
}

.textoBanner {
  width: 100%;
  z-index: 0;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.textoBanner h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);

  font-weight: bold;
}

.fontI {
  font-family: "Inter", sans-serif;
}

.bannerImg {
  width: 100%;
  position: absolute;
}

.pBann {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.sliderBanner {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.slider img {
  width: clamp(200px, 25vw, 400px);

  height: auto;
  object-fit: contain;
  margin-right: 2vw;
  flex-shrink: 0;
  border-radius: 20px;
}



.titlePlanes {
  font-family: "Poppins", sans-serif !important;
  text-align: center;
  color: #828282;
  font-size: 25px;
}

.titPl {
  font-family: "Poppins", sans-serif !important;
  color: black;
  font-weight: 600;
  font-size: 60px;

  margin-top: 60px;
}

.planesContainer {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.planCard {
  position: relative;
  width: 300px;
  background: white;
  padding: 20px;
  padding-top: 100px;
margin-right: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  text-align: center;
  font-family: "Poppins", sans-serif;
  overflow: visible;

}
.planCard p[style*="color: #1e3a5f;"] {
  margin-top: 0; 
}
.mid {
  margin-right: 40px;
  margin-left: 40px;
}

.decoracion {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

.arco {
  position: absolute;
  top: -110px;
  left: 20%;
  width: 60%;
  z-index: 2;
}

.pasto {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
  border-radius: 16px 16px 0px 0px;
}
.pasto3 {
  position: absolute;
  left: 150px;
  transform: translateX(-50%);
  width: 109%;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 50%);
  mask-image: linear-gradient(to bottom, black 10%, transparent 50%);
  height: 400px;
}

.enredadera {
  position: absolute;
  top: -30px;
  right: -100px;
  width: 80%;
  z-index: 3;
  pointer-events: none;
}

.planCard h2 {
  font-size: 30px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}



.planCard p.descripcion {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  min-height: 90px;
}

.precio {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0 5px;
}

.planCard span {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 10px;
}

.descripcion {
  font-size: 14px;
  color: #444;
  min-height: 100px;
  margin-bottom: 0;
}

.btnPlan {
  background-color: #1e3a5f;
  color: white;
  font-family: "Inter", sans-serif;
  border: none;
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
}

.planCard small {
  display: block;
  font-size: 11px;
  color: #999;
}

.pelota {
  position: absolute;
  bottom: -40px;
  left: 95%;
  transform: translateX(-50%);
  width: 35%;
  z-index: 4;
  transition: transform 0.3s ease;
}

.pelota:hover {
  transform: translateX(-50%) scale(1.1);
}

.tarjetas {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarjetas img {
  width: 5em;
  transition: transform 0.3s ease;
}

.amex,
.master,
.diners {
  margin-right: 20px;
  margin-left: 20px;
}

.tarjetas .paypal {
  width: 6em;
}

.tarj {
  width: 5em;
  margin: 0 10px;
  padding: 10px;
  object-fit: contain;
}

.tarj:hover {
  transform: translateY(-4px);
}

.funciona-section {
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
}

.funciona-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.izquierda {
  flex: 1 1 400px;
}

.izquierda h2 {
  font-weight: 700;
  font-size: 3em;
  margin-bottom: 20px;
  color: #000;
}

.izquierda ol {
  padding-left: 20px;
  color: #666;
  font-size: 16px;
}

.izquierda ol li {
  margin-bottom: 12px;
}

.derecha {
  flex: 1 1 400px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.derecha ul {
  list-style: none;
  padding: 0;
  color: #666;
  font-size: 16px;
}

.derecha li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.derecha li img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

.newsletter {
  padding: 60px 20px;
  background-color: #fff;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.4);
}

.newsletter-titulo {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  font-size: 36px;
  color: #000;
}

.newsletter-sub {
  font-family: "Poppins", sans-serif !important;
  font-size: 20px;
  color: #7a7a7a;
  margin-top: 8px;
}

.newsletter-form {
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  outline: none;
}

.btn-newsletter {
  background-color: #1e3a5f !important;
  color: #fff;
  border: none;
  padding: 0 15px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
}

.btn-newsletter:hover {
  background-color: #16325c;
}


.destacado-container {
  text-align: center;
  padding: 50px 20px;
}

.titulo-destacado {
  font-family: "Poppins", sans-serif;
  font-size: 64px;
  font-weight: 600;
}

.texto-destacado {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #777;
  margin-top: 10px;
  line-height: 1.6;
}

.destacado-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card-destacado {
  position: relative;
  width: 20%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px 15px;
  height: 11em;
  text-align: left;
  font-family: "Poppins", sans-serif;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.icono-ball {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
}

.perfil-destacado {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.foto-perfil {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.nombre {
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}

.rol {
  font-size: 16px;
  color: #888;
  margin: 0;
}

.card-destacado h5 {
  font-size: 22px;
  font-family: "Inter", sans-serif;
}

.tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.tarjetas img {
  width: clamp(60px, 20vw, 90px);
  height: auto;
}


.destacado-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  padding: 0 16px;
  max-width: 1200px;
}

.card-destacado {
  flex: 1 1 280px;
  max-width: 300px;
  box-sizing: border-box;
  padding: 20px;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
  .destacado-cards {
    flex-direction: column;
    align-items: center;
  }

  .card-destacado {
    width: 100%;
    max-width: 90%;
  }

  .tarjetas img {
    width: 65px;
  }
  .container {
    grid-template-columns: 1fr !important;
    padding: 0 20px;
  }

  .sliderBanner {
    display: none !important;
  }

  .textoBanner {
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
    margin-top: -30px;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .textoBanner h1 {
    font-size: 2rem;
  }

  .textoBanner p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .btnUnite {
    margin-left: 0;
  }
  .textoBanner {
    align-items: center;
    text-align: center;
    padding-left: 0;
    margin-top: -30px;
  }

  .textoBanner h1,
  .textoBanner p {
    text-align: center;
    width: 100%;
  }

  .btnUnite {
    margin-left: 0;
  }
  .planesContainer.verticalSlider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .planesContainer.verticalSlider .planCard {
    margin: 0 auto;
    width: 300px;
    overflow: visible;
    padding-top: 100px; 
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .planesContainer.verticalSlider .mid {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .card-destacado {
    padding: 15px;
  }

  .tarjetas img {
    width: 55px;
  }
}
@media (max-width: 768px) {
  .destacado-cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
    gap: 20px;
    padding: 20px;
    justify-content: flex-start;
  }

  .card-destacado {
    flex: 0 0 90%; 
    max-width: 90%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0 auto; 
    margin-top: 20px;
  }

 
  .destacado-cards::-webkit-scrollbar {
    display: none;
  }

  .destacado-cards {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}


.selector-rol-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 12px;
    overflow-x: hidden; /* evita que todo el body haga scroll lateral */
}
#selectorRolPlanes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


#selectorRolPlanes .btn {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid #4caf50;
  background-color: white;
  color: #4caf50;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

#selectorRolPlanes .btn:hover {
  background-color: #e8f5e9;
  color: #388e3c;
  border-color: #388e3c;
}

#selectorRolPlanes .btn.active {
  background-color: #2d6a2f;
  color: white;
  border-color: #4caf50;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}
@media (max-width: 576px) {
  #selectorRolPlanes {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 12px;
    width: 100%;
    padding: 10px 20px;
    justify-items: center;
  }

  .selector-rol-container {
    align-items: center;
    padding-bottom: 16px;
  }

  #selectorRolPlanes .btn {
    width: 100%;
    max-width: 140px;
    text-align: center;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #4caf50;
    background-color: white;
    color: #4caf50;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

}
