/*
 * style.css - Versión depurada y con tus estilos principales
 */
.icon-gradient {
  background: linear-gradient(135deg, #9ca3af, #f3f4f6, #ffffff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1;
  transition: transform 0.3s ease;
}

.icon-gradient:hover {
  transform: scale(1.1);
}

@keyframes bienvenidaPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}




.glow-pulse {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  animation: pulseGlow 2.5s infinite ease-in-out;
  transition: box-shadow 0.3s ease;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.03);
  }
}


.promo-card {
  transition: transform 0.3s ease;
}
.promo-card:hover {
  transform: scale(1.05);
}
/* Pop up informativo */

  #ayudaPopup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: linear-gradient(to bottom right, #ffffff, #f2f6fc);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 22px;
    width: 340px;
    z-index: 10001;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
  }


  #ayudaPopup ul {
    padding-left: 0;
    font-size: 15px;
    line-height: 1.7;
    list-style: none;
  }

  #ayudaPopup li {
    margin-bottom: 15px;
  }

  #ayudaPopup a {
    font-weight: 500;
    text-decoration: underline;
  }

  #ayudaPopup .popup-title {
    font-size: 18px;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 700;
  }

  #cerrarPopup {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color: #888;
  }


/* Mantiene comentarios de tamaño fijo */

#commentsCarousel {
  min-height: 230px; /* puedes ajustar a gusto */
  position: relative;
}

/* Sección de Precios */

 .card-precio {
  transition: transform 0.3s ease;
  height: 100%;
  min-height: 500px;
  max-width: 300px;       /* ← Aumenta el ancho máximo en escritorio */
  width: 100%;            /* ← Asegura que en móvil puede crecer */
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

  .card-precio:hover {
    transform: scale(1.05);
    z-index: 2;
  }
  .card-precio .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .card-precio .upper {
    padding: 25px 15px;
    color: white;
    flex: 1;
  }
  .card-precio .lower {
    background-color: white;
    color: #555;
    padding: 25px 15px;
    flex: 1;
  }
  .card-precio .bg-plan-1 {
    background: linear-gradient(to bottom right, #1e3c72, #2a5298);
  }
  .card-precio .bg-plan-2 {
    background: linear-gradient(to bottom right, #ff512f, #dd2476);
  }
  .card-precio .bg-plan-3 {
    background: linear-gradient(to bottom right, #11998e, #38ef7d);
  }
  .precio-icono {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transform: rotate(45deg);
    margin: 25px auto;
    position: relative;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.1);
  }
  .precio-icono i {
    transform: rotate(-45deg);
    font-size: 22px;
    color: white;
    z-index: 1;
    text-shadow: 0 0 4px rgba(0,0,0,0.4);
  }
  .card-mejor::after {
    content: "POPULAR";
    position: absolute;
    top: 12px;
    right: -35px;
    background: #9b59b6;
    color: white;
    padding: 7px 46px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .card-oferta::after {
    content: "OFERTA";
    position: absolute;
    top: 12px;
    right: -45px;
    background: #f39c12;
    color: white;
    padding: 7px 50px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .card-precio h3 {
    font-size: 2.5rem;
    font-weight: bold;
  }
  .card-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  .btn-sm {
    font-size: 1.1rem;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
  }
  @media (min-width: 768px) {
    .row-precios > div {
      padding: 0;
    }
  }
  @media (max-width: 767px) {
  .row-precios > div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}


/* TERMINA STYLE PARA SECCION DE PRECIOS */



/* Cambiamos color para el badge RECOMENDADO */




    @media (max-width: 767px) {
    }

 #carouselImage, #carouselTitle, #carouselDesc {
      transition: opacity 0.5s ease-in-out;
    }


  @media (max-width: 767px) {

      #carouselAppPreview .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      #carouselAppPreview .col-md-6 {
        width: 100%;
      }
    }

.mission-section h1 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #ff8012;
}

.mission-section hr {
  border: 3px solid #ff8012;
  width: 80px;
  margin-left: 0;
}

.mission-section p {
  font-size: 1.2rem;
  line-height: 1.8;
}


.mission-list li {
  margin-bottom: 15px;
}

.btn-lg {
  font-size: 1.2rem;
  padding: 12px 24px;
  border-radius: 10px;
}


/* Nueva clase para la sección de descarga */
.download-section {
  background-size: cover;
  /* Ajusta cualquier padding, etc., si lo necesitas */
  padding: 0;
}

/* Plan destacado */
.popular .price span {
  color: #fff;
}
#plan-3 {
  background: linear-gradient(135deg, #ffe4e4, #ffb3b3);
}
#plan-3 .price span {
  color: #e53935;
}
p {
  font-size: 20px;
}
body {
  font-family: 'Lato', sans-serif;
  overflow: hidden; /* si prefieres ver scrollbar siempre, ok */
  overflow-y: scroll;
  background-color: #000;
}
.navbar-nav a {
  font-size: 16px;
  text-transform: uppercase;
  color: #fff !important;
  transition: all 0.3s;
}
.navbar-nav a:hover {
  color: #ff8013 !important;
}
.navbar-nav .btn-danger {
  background: #ff8013;
  border-color: #ff8013;
  border-radius: 0;
}
.navbar-nav .btn-danger:hover {
  background: #df6700;
  border-color: #df6700;
}
a, a:hover {
  color: #ff8013;
}
/* Banner */
.fh5co-banner-text-box .quote-box h2 {
  font-weight: 700;
  color: #fff;
  font-size: 40px;
}
.fh5co-banner-text-box .quote-box h2 span {
  color: #ff8013;
  font-size: 34px;
}
.fh5co-banner-text-box .quote-box::before {
  content: "";
  position: absolute;
  height: 38px;
  width: 38px;
  left: 0;
  top: 0;
  background: url("../images/right-quote.png") no-repeat;
}
.fh5co-banner-text-box .quote-box::after {
  content: "";
  position: absolute;
  height: 38px;
  width: 38px;
  background: url("../images/left-quote.png") no-repeat;
  right: 0;
  bottom: 0;
}
.fh5co-banner-text-box a {
  color: #fff;
  border-color: #4e2b0d;
  border-radius: 0;
  min-width: 150px;
}
.fh5co-banner-text-box a:hover {
  background: transparent;
  border-color: gray;
  color: #ff8013;
}
/* Secciones .fh5co-network, .fh5co-about-us */
.fh5co-network figure, .fh5co-about-us figure {
  margin-top: -70px !important;
}
.fh5co-network h2, .fh5co-about-us h2 {
  color: #ff8013;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 0;
}
.fh5co-network p, .fh5co-about-us p {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #282828;
}
.fh5co-network hr, .fh5co-about-us hr {
  border-color: #ff8013;
  border-width: 5px;
  max-width: 100px;
  margin-left: 0;
  border-radius: 5px;
}
.fh5co-about-us p {
  color: #fff;
  font-weight: normal;
}
.fh5co-about-us hr {
  border-color: #fff;
  margin-left: 50px;
  margin-top: 5px;
}
.fh5co-about-us a {
  color: #fff !important;
  border-color: #4e2b0d;
  border-radius: 0;
  min-width: 150px;
}
.fh5co-about-us a:hover {
  background: transparent;
  border-color: gray;
  color: #ff8013;
}
/* Contenido principal */
.fh5co-content-box .pr-0 img {
  margin-top: -128px;
}
.fh5co-content-box img {
  width: 100%;
}
.fh5co-content-box .trainers .card {
  border: none;
  background: transparent;
}
.fh5co-content-box .trainers .card img {
  max-width: 250px;
  margin: 0 auto;
  max-height: 250px;
}
.fh5co-content-box .trainers .card .card-body {
  background: #ccc;
  border-radius: 15px;
  padding: 30px 20px;
  margin-top: 30px;
  padding-bottom: 50px;
  position: relative;
}
.fh5co-content-box .trainers .card .card-body::before {
  content: "";
  position: absolute;
  border: 20px solid #ccc;
  border-color: transparent transparent #ccc transparent;
  margin-top: -70px;
  margin-left: -15px;
  text-align: center;
}
.fh5co-content-box .trainers .quote-box2::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 0;
  top: -10px;
  background: url("../images/right-quote-white.png") no-repeat;
  background-size: 100% 100%;
}
.fh5co-content-box .trainers .quote-box2::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  background: url("../images/left-quote-white.png") no-repeat;
  right: 0;
  bottom: -10px;
  background-size: 100% 100%;
}
.fh5co-content-box .trainers::before,
.fh5co-content-box .trainers::after {
  content: "";
  position: absolute;
  border: 5px solid #ff8013;
  width: 100%;
  top: -10px;
}
.fh5co-content-box .trainers::before {
  bottom: -10px;
  top: auto;
}
/* Footer */
footer {
  background: #101011;
  color: #fff;
}
footer .footer1 p {
  margin-top: 30px;
}
footer .footer2 h4 {
  color: #ff8013;
  font-weight: 700;
  text-align: center;
  margin: 20px auto;
}
footer::before {
  content: "";
  position: absolute;
  border: 3px solid #ff8013;
  width: 100%;
  left: 0;
}
/* Responsivo */
@media (max-width: 1199px) {
  .fh5co-content-box .pr-0 img {
    margin-top: -107px;
  }
}
@media (max-width: 991px) {
  .fh5co-content-box .pr-0 img {
    margin-top: -78px;
  }
}
@media (max-width: 767px) {
  .card-precio {
    width: 85%;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .navbar-nav {
    margin-left: 0 !important;
    max-width: 50px;
  }
  .fh5co-network figure, .fh5co-about-us figure {
    margin-top: 0 !important;
  }
  .fh5co-content-box .pr-0 img {
    margin: 20px auto;
  }
}




#ayudaOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(3px);
    z-index: 9998;
    display: none;
  }

  #ayudaGuia {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #ffffff;
    color: #000;
    border-radius: 10px;
    padding: 14px;
    max-width: 240px;
    font-size: 14px;
    z-index: 10001;
    display: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    animation: fadeIn 0.4s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  #ayudaGuia::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
  }

@keyframes pulseGlowBtn {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 193, 7, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 15px rgba(255, 193, 7, 1); }
}
.btn.glow-pulse { animation: pulseGlowBtn 1.5s infinite ease-in-out; }

.logo-en-linea {
  filter: 
    drop-shadow(0 0 2px #28a745)
    drop-shadow(0 0 4px #28a745)
    drop-shadow(0 0 6px #28a745);
}

.logo-fuera-linea {
  filter: 
    drop-shadow(0 0 2px #ff8800)
    drop-shadow(0 0 4px #ff8800)
    drop-shadow(0 0 6px #ff8800)
    ;
}

@media (max-width: 576px) {
  .modal-dialog-custom {
    margin-top: env(safe-area-inset-top, 10px) !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: flex-start !important;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}
.fade-out {
  animation: fadeOut 0.5s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.shadow-sm {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
}
.hover-zoom {
  transition: transform 0.5s ease;
}
.hover-zoom:hover {
  transform: scale(1.08);
}

/* === Restauración para popup de ayuda === */
  #ayudaPopup.visible {
    display: block;
    opacity: 1;
  }
  #ayudaPopup .popup-title {
    font-size: 18px;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 700;
  }


#ayudaGuia {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #ffffff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  font-size: 14px;
  z-index: 9999;
  max-width: 250px;
}

#ayudaOverlay {
  display: none; /* si no usas overlay activo, escóndelo o ajústalo */
}


