/********** Template CSS **********/
:root {
  --primary: #1e60aa;     /* Azul brillante principal */
  --secondary: #003366;   /* Azul oscuro profundo */
  --light: #F0F6FF;       /* Azul muy claro para fondos */
  --dark: #262B47;        /* Azul grisáceo oscuro */

  --blue-sky: #4dabf7;    /* Azul cielo, fresco y moderno */
  --blue-teal: #2a9d8f;   /* Azul verdoso elegante, cercano al turquesa */
  --blue-steel: #486581;
  
  --accent: #ff9f1c;      /* naranja */
  --highlight: #c44569; /* Azul acero grisáceo, serio y profesional */
}

h1{
    font-family: "Fredoka", sans-serif !important;
}


/* Hero title */
.hero-title {
  font-family: "Fredoka", sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title .big-text {
  font-size: 4rem;
}

.hero-title .medium-text {
  font-size: 2.5rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .hero-title .big-text {
    font-size: 2.5rem;
  }
  .hero-title .medium-text {
    font-size: 1.8rem;
  }
}


.text-accent {
  color: var(--accent);
}

.text-business {
  color: var(--business);
}

.small-text {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Párrafo elegante */
.hero-subtext {
  color: var(--light);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

/* Botones */
.custom-btn {
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background: var(--accent) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

.text-light{
    font-family: "Montserrat", sans-serif !important; 
}


/*** Gradient Text & BG ***/

.img-banner{
    background-image: url(../img/banner-good.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--blue-sky), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-accent-gradient {
    background: linear-gradient(to bottom right, var(--accent), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary {
    background: linear-gradient(to bottom right, var(--secondary), var(--blue-sky) );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--blue-sky), var(--light) );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 25px !important;
    bottom: 140px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}




@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-nav .nav-link::before {
        border-top-color: var(--primary);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/
#enterprise-logo {
  position: relative;
  z-index: 1;
  height: 100px;
  filter: drop-shadow(0 0px 30px rgba(255, 255, 255,1));
}

.hero-header {
    margin-bottom: 2rem;
    padding: 16rem 0 0 0;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        /* url(../img/bg-bottom.png), */
        linear-gradient(to bottom right, var(--secondary), var(--secondary));
    background-position:
        left 0px top 0px,
        right 0px top 50%,
        center bottom;
    background-repeat: no-repeat;
    padding-bottom: 5rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
}



/*** Planes ****/
/* Lista de planes */
.plan-list {
  font-family: "Montserrat", sans-serif;
  font-weight: 300; /* más fino */
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dark);
}

.plan-list strong {
  font-weight: 500; /* un poco más fuerte para nombres de plan */
}

/* Iconos de planes con colores específicos */
.plan-icon.orange {
  color: #ff9f1c; /* naranja */
}
.plan-icon.blue {
  color: #1e60aa; /* azul corporativo */
}
.plan-icon.black {
  color: #262B47; /* negro/gris oscuro */
}
.plan-icon.silver {
  color: #c0c0c0; /* plateado */
}
.plan-icon.gold {
  color: #d4af37; /* dorado elegante */
}

/* Base del botón */
.btn-outline-gradient {
  position: relative;
  display: inline-block;
  border-radius: 50px;
  color: var(--primary);
  font-weight: 500;
  background: transparent;
  padding: 0.75rem 2rem;
  z-index: 1;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Borde degradado con pseudo-elemento */
.btn-outline-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px; /* grosor del borde */
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
  transition: all 0.4s ease;
}

/* Hover → fondo degradado + transición suave */
.btn-outline-gradient:hover {
  color: #fff !important;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* efecto suave */
}


/* ===== Proceso de Afiliación (4 pasos) ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  background: #f7f8fb; /* gris claro elegante */
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 20px 18px;
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease;
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.process-step {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 6px 16px rgba(30,96,170,.25);
}

.process-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--secondary);
  margin-bottom: 10px;
}

.process-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.process-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.98rem;
  color: #5f6575;
  margin: 0;
}

/* Opcional: alinear con el tono de tu hero-subtext */
.hero-subtext {
  color: #5f6575;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: .2px;
}





/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

/* ===== Cómo funciona (panel + bullets + video) ===== */
.feature-panel {
  background: #f7f8fb;
  border: 1px solid rgba(0,0,0,.06);
}

.feature-lead {
  font-weight: 400;
  color: #465064;
}

.feature-bullets li {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  color: #5f6575;
  font-weight: 400;
}
.feature-bullets li:last-child { border-bottom: 0; }
.feature-bullets i {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-top: 3px;
}

/* Tarjeta de video (Short vertical) */
.video-card {
  position: relative;
  background: #000;
}

.ratio-9x16 {
  position: relative;
  width: 100%;
  /* 9:16 vertical */
  padding-top: 177.78%;
}
.ratio-9x16 > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.video-badge {
  position: absolute;
  left: 12px; bottom: 12px;
  pointer-events: none;
}
.video-badge .badge {
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

/* Logo en bloque "Cómo funciona" */
.feature-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.08));
  transition: transform 0.3s ease;
}

.feature-logo:hover {
  transform: scale(1.05);
}


/* Botón flotante de WhatsApp (siempre visible) */
.btn-whatsapp-float {
  position: fixed;
  right: 25px !important;            /* alinea con back-to-top */
  bottom: 70px !important;          /* por encima del back-to-top */
  z-index: 120;           /* mayor que back-to-top (99) */
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;    /* verde WhatsApp */
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  text-decoration: none;
}

.btn-whatsapp-float i {
  font-size: 1.6rem;
  line-height: 1;
}

.btn-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  opacity: .95;
}

/* Ajuste en pantallas pequeñas */
@media (max-width: 575.98px) {
  .btn-whatsapp-float {
    right: 10px;
    bottom: 100px;
    width: 54px;
    height: 54px;
  }
}


/* Ajustes responsivos sutiles */
@media (max-width: 991.98px) {
  .feature-panel { padding: 20px; }
}



/*** Pricing ***/
.pricing .nav {
    padding: 2px;
}

.pricing .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.pricing .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

/* ===== Comparativo (modal) ===== */
.compare-wrapper {
  max-height: 70vh;
}

.compare-table {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
}
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #232b3f;            /* encabezado oscuro */
  color: #fff;
  font-weight: 600;
  border-bottom: none;
}
.compare-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}
.compare-table td, .compare-table th {
  padding: 12px 14px;
  vertical-align: middle;
  border-color: rgba(0,0,0,0.06);
}

/* Primera columna pegajosa para facilitar lectura */
.compare-table .sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 3;
  max-width: 320px;
  min-width: 220px;
}

/* Estilo de cabeceras por plan (coherente con tus colores) */
.plan-col { text-align: center; white-space: nowrap; }
.plan-orange { background: #ff9f1c !important; color:#08223a !important; }
.plan-blue   { background: #1e60aa !important; color:#fff !important; }
.plan-black  { background: #262B47 !important; color:#fff !important; }
.plan-silver { background: #c0c0c0 !important; color:#1f2937 !important; }
.plan-gold   { background: #d4af37 !important; color:#1f2937 !important; }
.plan-impl   { background: #3a445e !important; color:#fff !important; }

.feature-col { font-weight: 600; color: #2d3548; }

/* Marcas de verificación bonitas (si decides usar ✔) */
.compare-table td {
  text-align: center;
}
.compare-table td:first-child {
  text-align: left;
}

/* Responsive ajustes */
@media (max-width: 767.98px) {
  .compare-table { font-size: 0.9rem; }
  .compare-table .sticky-col {
    min-width: 200px;
  }
}



/*** Screenshot ***/
.screenshot-carousel {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 15px;
    margin-right: 30px;
}



.screenshot-carousel .owl-item img {
    position: relative;
    width: 323px ;
    height: 470px;
}

.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: transparent !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/
.footer {
    margin-top: 2rem;
    padding-top: 2rem;
    background:
        url(../img/bg-circle.png),
        url(../img/bg-triangle.png),
        /* url(../img/bg-top.png), */
        linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position:
        left 0px bottom 0px,
        right 0px top 50%,
        center top;
    background-repeat: no-repeat;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Montserrat";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* ===== Footer Social (botón blanco cuadrado) ===== */
.footer-social .btn.btn-sm-square {
  width: 36px;            /* un poco más grande que el default */
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.footer-social .btn.btn-sm-square i {
  font-size: 0.95rem;
  line-height: 1;
}

.footer-social .btn.btn-sm-square:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
  color: #fff !important;
  border-color: transparent;
}

.footer-social .btn.btn-sm-square img {
  display: block;
  filter: none; /* mantiene logo X/TikTok nítido */
}

.footer-social .btn.btn-sm-square {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.footer-social .btn.btn-sm-square:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
  color: #fff !important;
  border-color: transparent;
}


/* Ajustes responsive de la primera columna del footer */
@media (max-width: 575.98px) {
  .footer-social {
    gap: 8px !important;
  }
  .footer-social .btn.btn-sm-square {
    width: 34px;
    height: 34px;
  }
}
