
:root{
      --bg-start: #064e3b;
      --bg-mid: #065f46;
      --bg-end: #0f766e;
      --card-radius: 14px;
      --accent-1-from: #059669; /* emerald-500 */
      --accent-1-to: #0d9488;   /* teal-600 */
      --accent-2-from: #d97706; /* amber-500 */
      --accent-2-to: #ea580c;   /* orange-600 */
      --accent-3-from: #3b82f6; /* blue-500 */
      --accent-3-to: #06b6d4;   /* cyan-600 */
      --accent-4-from: #84cc16; /* lime-500 */
      --accent-4-to: #22c55e;   /* green-600 */
      --accent-5-from: #8b5cf6; /* purple-500 */
      --accent-5-to: #7c3aed;   /* violet-600 */
      --accent-6-from: #f43f5e; /* rose-500 */
      --accent-6-to: #ec4899;   /* pink-600 */
      --accent-7-from: #f97316; /* orange-500 */
      --accent-7-to: #ef4444;   /* red-600 */
      --accent-8-from: #14b8a6; /* teal-ish */
      --accent-8-to: #059669;
      --accent-9-from: #6366f1; /* indigo-500 */
      --accent-9-to: #3b82f6;
      --accent-10-from:#22c55e; /* green-500 */
      --accent-10-to:#84cc16;
      --text-light: #f7fff6;
      --muted: #6b7280;
      --card-bg: #ffffff;
      --card-contrast: #f0fdf4;
    }

    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
      background: linear-gradient(180deg,var(--bg-start),var(--bg-mid),var(--bg-end));
      color:#04251a;
      padding:28px;
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
    }

    .wrap{max-width:1100px;margin:0 auto;}

    header{
      color:var(--text-light);
      text-align:center;
      padding:10px 14px;
    }
    header h1{
      margin:0;
      font-size:2.6rem;
      letter-spacing: -0.02em;
      display:inline-flex;
      gap:.6rem;
      align-items:center;
    }
    header p.lead{
      margin:10px 0 0;
      color: #dff6ea;
      font-size:1rem;
      opacity:.95;
    }
    header .sub{font-size:.85rem;color:#cfe9d8;margin-top:6px;opacity:.9}

    /* progress */
    .progress-wrap{background: rgba(255,255,255,0.08); border-radius:999px; padding:6px; margin:18px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);}
    .progress-bar{height:14px;border-radius:999px;background:linear-gradient(90deg,#a3e635,#10b981); width:0%; transition:width .45s ease;}

    /* modules list */
    .modules{display:grid;grid-template-columns:1fr;gap:18px;margin-top:10px;}
    .card{
      background:var(--card-bg);
      border-radius:var(--card-radius);
      overflow:hidden;
      box-shadow: 0 10px 30px rgba(2,6,23,0.35);
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .card:hover{transform:translateY(-6px); box-shadow: 0 18px 40px rgba(2,6,23,0.45);}

    .card-header{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:18px 18px;
      color:white;
      cursor:pointer;
      user-select:none;
    }

    .module-info{display:flex;gap:12px;align-items:center;}
    .module-icon{
      width:52px;height:52px;border-radius:12px; display:inline-flex;align-items:center;justify-content:center;font-size:22px;background:rgba(255,255,255,0.12);
      box-shadow: inset 0 -2px 6px rgba(0,0,0,0.12);
    }
    .module-meta h3{margin:0;font-size:1.1rem; font-weight:700}
    .module-meta p{margin:2px 0 0;font-size:.92rem;color: #f3faf5; opacity:.95}

    .module-body{padding:18px;background:var(--card-contrast);display:none;}
    .module-body .section{margin-bottom:14px}
    .module-body h4{margin:0 0 8px;font-size:1rem;color:#0f5132}
    .module-body ul{margin:0;padding-left:18px;color:#154632}
    .module-body li{margin:8px 0;line-height:1.35}

    .actions{display:flex;gap:10px;align-items:center;margin-top:10px}
    button.btn-complete{
      background:linear-gradient(90deg,#10b981,#059669);
      color:white;border:0;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer;
      box-shadow: 0 6px 18px rgba(16,185,129,0.18);
    }
    button.btn-complete[disabled]{opacity:.6; cursor:default; transform:none; box-shadow:none}

    .badge-done{background:#e6ffef;border:1px solid #b6f5d1;padding:6px 10px;border-radius:999px;color:#065f46;font-weight:700}

    /* video placeholder */
    .video-wrap{margin-top:12px;border-radius:10px; overflow:hidden;background:#000; display:block}
    iframe{display:block;width:100%;height:340px;border:0}

    /* responsive */
    @media (max-width:880px){
      header h1{font-size:1.9rem}
      .module-icon{width:44px;height:44px}
      iframe{height:260px}
    }

    /* Estilos para Index y Login */
    .presentation {
      background: var(--card-bg);
      margin: 10px auto;
      padding: 20px;
      border-radius: var(--card-radius);
      max-width: 900px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      color: #333;
      transition: transform .18s ease, box-shadow .18s ease;
    }
    .presentation:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.presentation h2 {
      color: var(--bg-start);
    }

    .cta {
      text-align: center;
      margin-top: 30px;
    }

    .cta button {
      background: linear-gradient(90deg, var(--accent-1-from), var(--accent-1-to));
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 1.2em;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .cta button:hover {
      background: linear-gradient(90deg, var(--accent-1-to), var(--accent-1-from));
    }



        footer {

          color: var(--text-light);

          text-align: center;

          padding: 20px;

        }

    

        /* Estilo específico para el footer de la página del curso */

        .modules + footer {

          margin: 34px 0;

          padding: 0;

          color: #cfead2;

        }

    

/* Quick Navigation */
.quick-nav-frame {
  background: var(--card-bg);
  margin: 10px auto 0;
  padding: 0;
  border-radius: var(--card-radius);
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quick-nav-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 10px;
  overflow-x: auto;
}

.quick-nav-item {
  margin: 0 4px;
}

.quick-nav-item a {
  color: var(--bg-start);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 5px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 0.8rem;
  white-space: nowrap;
}

.quick-nav-item a:hover {
  background-color: var(--accent-1-from);
  color: white;
}

/* Footer Social Icons */
.footer-social {
  margin-bottom: 15px;
}

.social-icon {
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: var(--accent-1-from);
}



.curso-presencial-info {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  color: #333;
}

.curso-presencial-info img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.curso-presencial-info h2 {
  color: var(--bg-start);
  margin: 0 0 10px;
}

.curso-presencial-info h3 {
  color: var(--bg-start);
  margin: 20px 0 10px;
}

.curso-presencial-info p {
  margin: 0 0 10px;
}

.curso-presencial-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: inline-block;
  text-align: left;
}

.curso-presencial-info li {
  margin-bottom: 5px;
}

.curso-presencial-info button {
      background: linear-gradient(90deg, var(--accent-1-from), var(--accent-1-to));
      color: white;
      border: none;
      padding: 15px 30px;
      font-size: 1.2em;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
}

.curso-presencial-info button:hover {
      background: linear-gradient(90deg, var(--accent-1-to), var(--accent-1-from));
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  color: #333;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  color: var(--bg-start);
  margin: 0 0 10px;
}

.product-card p {
  margin: 0 0 10px;
}

.product-card .price, .product-card .precio-opcion {
  font-weight: bold;
  color: var(--accent-1-from);
  font-size: 1.2rem;
}

.product-card .precio-opcion {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
}

.image-container {
  text-align: center;
  margin: 20px 0;
}

.tip-image {
  max-width: 50%;
  height: auto;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .tip-image {
    max-width: 80%;
  }
}

/* Tips Page Styles */
.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.tip-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 0; /* Reset margin as gap is handled by grid */
}

.tip-card h3 {
  color: var(--bg-start);
  margin-top: 0;
}

/* Sales Page Styles */
.price-section h3 {
  font-size: 2em;
  color: var(--accent-1-from);
  text-align: center;
}

.includes-section ul {
  list-style-type: none;
  padding-left: 0;
}

.cta-button {
  background: linear-gradient(90deg, var(--accent-1-from), var(--accent-1-to));
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--accent-1-to), var(--accent-1-from));
}

.cta-section {
  text-align: center;
}

/* Contact Page Styles */
.contact-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 600px;
  margin: auto;
}

.contact-container .subtitulo {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FAFAFA;
}

.cta-button-whatsapp {
  background-color: #25D366;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2em;
  display: inline-block;
}



/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  margin-top: 15px;
}
