/* ==========================
   VARIABLES (paleta original)
   ========================== */
:root {
  --color-principal: #00bda6;            /* verde-turquesa principal */
  --color-principal-hover: #008b76;      /* verde oscuro del degradado / hover */
  --color-secundario: #ff7a00;          /* naranja CTA */
  --color-secundario-dark: #e56600;     /* naranja oscuro hover */
  --color-whatsapp: #25d366;            /* verde WhatsApp */
  --color-logo-azul: #1e90ff;           /* azul del logo */
  --color-fondo: #f7f9fb;               /* fondo general */
  --color-texto: #222;                  /* texto principal */
  --color-acento: #ffffff;              /* blanco / acento */
  --color-logros-bg: #f8f9fa;           /* fondo sección logros */
  --hero-gradient: linear-gradient(to right, #00bda6, #008b76);
  --fuente-base: 'Segoe UI', Arial, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.18s ease;
}

/* ==========================
   RESET / BASE
   ========================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  padding-top: 60px;
  font-family: var(--fuente-base);
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* enlaces sin subrayado por defecto (puedes sobrescribir) */
a { text-decoration: none; color: inherit; }

/* ==========================
   HEADER
   ========================== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-acento); /* blanco */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.06);
  z-index: 1000;
}

.sticky-header .logo {
  font-weight: 900;
  font-size: 1.7rem;
  font-style: italic;
  color: var(--color-logo-azul);
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* CTA header (Inscríbete) */
.btn-inscribete {
  background: var(--color-secundario); /* naranja */
  color: var(--color-acento);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255,122,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-inscribete:hover,
.btn-inscribete:focus {
  background: var(--color-secundario-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255,122,0,0.22);
}

/* ==========================
   HERO PRINCIPAL
   ========================== */
.hero {
  margin: 20px 0 -10px 0;
  padding: 40px 20px;
  background: var(--hero-gradient);
  color: var(--color-acento);
  text-align: center;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.titulo-principal {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 10px;
}

.descripcion-principal {
  font-size: 1.15rem;
  margin: 0 auto 18px;
  max-width: 720px;
}

/* Botón primario en hero (blanco con texto verde) */
.btn-cta {
  display: inline-block;
  background: var(--color-acento);
  color: var(--color-principal);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.btn-cta:hover { transform: translateY(-3px); }

/* ==========================
   SECCIONES GENERALES: CARDS / LOGROS / BENEFICIOS
   ========================== */
.beneficios,
.logros,
.formulario,
.faq-section {
  padding: 40px 20px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: -15px;
}

/* tarjeta genérica */

.card {
  background: var(--color-acento);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.1),
    0 6px 20px rgba(0,0,0,0.05),
    0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s ease;
  text-align: center;
  position: relative;
}

.card:hover { 
  transform: translateY(-12px) scale(1.02); 
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.15),
    0 12px 30px rgba(0,0,0,0.1),
    0 5px 15px rgba(0,189,166,0.15);
}

/* icono grande en cards */
.icono {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* CTA pequeño (tarjetas) */
.btn-cta-small {
  display: inline-block;
  background: var(--color-principal);
  color: var(--color-acento);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-small:hover { background: var(--color-principal-hover); transform: translateY(-2px); }

/* ==========================
   TARJETA "COMPARTIR" (restaurada a diseño original)
   ========================== */
.card-compartir {
  background: #e6fff225; /* verde muy claro (fondo) */
  border: 3px dashed var(--color-whatsapp);
  border-radius: 16px;
  padding: 22px;
  box-shadow: none;
  color: #264d3c;
  text-align: center;
  max-width: 760px;
  margin: 18px auto;
}

.card-compartir .icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 6px auto 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  font-size: 28px;
  color: inherit;
}

.card-compartir h3 {
  margin: 6px 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f4b3e;
}

.card-compartir p {
  margin: 8px 0;
  line-height: 1.45;
  color: #3e554a;
  font-size: 0.98rem;
}

/* contenedor de acciones dentro de la tarjeta */
.card-compartir .acciones-compartir {
  margin-top: 18px;
}

/* botón principal — pill grande estilo WhatsApp */
.card-compartir .btn-cta-whatsapp {
  display: inline-block;
  background: var(--color-whatsapp);
  color: var(--color-acento);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.18);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  vertical-align: middle;
}

/* icono dentro del botón si existe */
.card-compartir .btn-cta-whatsapp .icon {
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

/* hover & active */
.card-compartir .btn-cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37,211,102,0.22);
  background: #1ebe57;
}

/* cuadro de cita / nota interior (recuadro con raya izquierda) */
.card-compartir blockquote,
.card-compartir .highlight {
  margin: 18px auto 0;
  padding: 16px 18px;
  background: rgba(0,189,166,0.03);
  border-left: 6px solid rgba(0,189,166,0.18);
  border-radius: 8px;
  font-style: italic;
  color: #2f5246;
  max-width: calc(100% - 36px);
  box-sizing: border-box;
}

/* botón Whatsapp desde CARD */
.btn-whatsapp {
  display: inline-block;
  background: var(--color-whatsapp);   /* verde WhatsApp */
  color: var(--color-acento);          /* texto blanco */
  padding: 14px 30px;
  border-radius: 999px;                /* pill */
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.18);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  vertical-align: middle;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1ebe57;                 /* verde un poco más oscuro al pasar el mouse */
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37,211,102,0.22);
}

/* responsive para la tarjeta compartir */
@media (max-width: 420px) {
  .card-compartir {
    padding: 16px;
    border-width: 3px;
    border-radius: 14px;
  }
  .card-compartir h3 { font-size: 1.12rem; }
  .card-compartir .btn-cta-whatsapp {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
  }
}

/* ==========================
   SECCIÓN DEL ASESOR + MODAL - CON LÍNEAS DECORATIVAS
   ========================== */
.asesor-intro {
  background: #e9fdfb;
  padding: 20px 20px;
  text-align: center;
  margin-top: 30px;
  position: relative;
}

/* Línea superior */
.asesor-intro::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-principal) 20%, 
    var(--color-principal) 80%, 
    transparent 100%
  );
}

/* Línea inferior */
.asesor-intro::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-principal) 20%, 
    var(--color-principal) 80%, 
    transparent 100%
  );
}

.asesor-intro .asesor-nombre {
  font-size: 1.4rem;
  margin-top: -25px;
  margin-bottom: 0px;
  font-weight: 700;
  color: var(--color-principal);  /* ← Color turquesa */
  font-style: italic;             /* ← Texto en itálica */
}

.asesor-frase {
  font-style: italic;
  margin-bottom: 14px;
  color: rgba(0,0,0,0.6);
}

.btn-perfil {
  background: var(--color-principal);
  color: var(--color-acento);
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  margin-bottom: -25px;
}
.btn-perfil:hover { background: var(--color-principal-hover); transform: translateY(-2px); }

/* modal asesor */
.modal-asesor {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2200;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-asesor.active { display: flex; }
.modal-asesor-content {
  background: var(--color-acento);
  width: 95%;
  max-width: 820px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

/* perfil interno */
.asesor-profile { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.asesor-photo { flex: 0 0 150px; }
.asesor-photo img,
.asesor-photo-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.asesor-info { flex: 1 1 320px; }
.asesor-cargo { font-weight: 700; margin-bottom: 8px; color: #333; }

.asesor-especialidades ul { list-style: none; padding-left: 0; margin-top: 6px; }
.asesor-especialidades li { margin-bottom: 6px; color: #444; }

/* whatsapp del asesor */
.btn-whatsapp-asesor {
  display: inline-block;
  background: var(--color-whatsapp);
  color: var(--color-acento);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
}

/* ==========================
   FORMULARIO
   ========================== */
.formulario {
  padding: 50px 20px;
  background: var(--color-acento);
  text-align: center;
}
.formulario form {
  margin-top: 20px;
  display: grid;
  gap: 15px;
  max-width: 500px;
  margin-inline: auto;
}
.formulario input,
.formulario button {
  padding: 12px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}
.formulario button {
  background: var(--color-secundario);
  color: var(--color-acento);
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.formulario button:hover { background: var(--color-secundario-dark); transform: translateY(-2px); }

/* ==========================
   FOOTER
   ========================== */
footer {
  background: #222;
  color: var(--color-acento);
  padding: 20px;
  text-align: center;
}
footer p { margin-bottom: 10px; }
footer a {
  display: inline-block;
  margin: 6px 8px;
  text-decoration: none;
  color: var(--color-acento);
  background: var(--color-whatsapp);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

/* botón web secundario */
.btn-web {
  display: inline-block;
  background: var(--color-acento);
  color: #0073e6;
  padding: 12px 24px;
  margin-top: 12px;
  text-decoration: none;
  border: 2px solid #0073e6;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
}
.btn-web:hover { background: #0073e6; color: var(--color-acento); }

/* ==========================
   FAQ (usa mismo gradiente que hero)
   ========================== */
.faq-section {
  background: var(--hero-gradient);
  padding: 40px 20px;
  color: var(--color-acento);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-card {
  background: var(--color-acento);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.faq-question { color: var(--color-principal); font-size: 1.05rem; margin-bottom: 12px; font-weight: 700; }
.faq-btn { display: inline-block; background: var(--color-principal); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }

/* modal FAQ */
.faq-modal { display: none; position: fixed; inset: 0; background-color: rgba(0,0,0,0.58); z-index: 1200; justify-content: center; align-items: center; padding: 20px; }
.faq-modal.is-open { display: flex; }
.faq-modal-content { max-width: 520px; width: 100%; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,0.25); padding: 22px; text-align: center; }
#faq-answer-text { color: var(--color-texto); font-size: 1rem; line-height: 1.5; margin-bottom: 18px; }
#faq-close-btn { background-color: var(--color-principal); color: var(--color-acento); border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 0.95rem; font-weight: 700; transition: transform .12s ease; }
#faq-close-btn:hover { transform: translateY(-2px); }

/* ==========================
   UTILIDADES / RESPONSIVE
   ========================== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .modal-asesor-content { padding: 18px; }
  .hero { padding: 34px 16px; }
}

@media (max-width: 600px) {
  .asesor-profile { flex-direction: column; align-items: center; }
  .sticky-header { padding: 10px 12px; }
  .titulo-principal { font-size: 1.6rem; }
  .descripcion-principal { font-size: 0.98rem; }
  .cards { gap: 14px; }
  .card { padding: 16px; border-radius: 10px; }
}

@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-4px); /* Menos movimiento en móvil */
  }
}

/* Responsive para las líneas del asesor */
@media (max-width: 768px) {
  .asesor-intro::before,
  .asesor-intro::after {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .asesor-intro::before,
  .asesor-intro::after {
    width: 95%;
  }
}

/* pequeños ajustes de accesibilidad / focus */
a:focus, button:focus, input:focus {
  outline: 3px solid rgba(0,189,166,0.14);
  outline-offset: 3px;
}

/* fin del archivo style.css */