/* Sitio público choyehealth.mx. Los colores y fuentes vienen de variables
   inyectadas por base_web.html desde comercial/web/contenido.py (TEMA):
   para cambiar el tema NO se edita este archivo. */
* { box-sizing: border-box; margin: 0; }
body {
  font-family: var(--w-f-cuerpo);
  color: var(--w-texto);
  background: var(--w-fondo);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3 { font-family: var(--w-f-titulos); line-height: 1.25; }
a { color: var(--w-primario); }
img { max-width: 100%; }

.w-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.w-logo { font-weight: 700; font-size: 1.1rem; color: var(--w-primario); text-decoration: none; }
.w-nav { display: flex; align-items: center; gap: 18px; }
.w-nav a { text-decoration: none; color: var(--w-texto-suave); font-size: 0.92rem; font-weight: 500; }
.w-nav a.activa { color: var(--w-primario); }
.w-btn-cta {
  background: var(--w-cta) !important; color: #fff !important;
  padding: 9px 18px; border-radius: 12px; font-weight: 600; border: 0;
  text-decoration: none; display: inline-block; cursor: pointer; font-size: 0.95rem;
}
.w-btn-cta:hover { filter: brightness(1.06); }
.w-btn-sec {
  border: 1.5px solid var(--w-primario); color: var(--w-primario) !important;
  padding: 8px 16px; border-radius: 12px; font-weight: 600; text-decoration: none;
  display: inline-block; background: transparent; cursor: pointer; font-size: 0.95rem;
}
.w-seccion { padding: clamp(36px, 7vw, 72px) clamp(16px, 5vw, 48px); max-width: 1080px; margin: 0 auto; }
.w-seccion h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 18px; }

.w-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.w-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-bottom: 14px; }
.w-hero h1 .w-precio { color: var(--w-cta); }
.w-hero .w-sub { color: var(--w-texto-suave); margin-bottom: 10px; font-size: 1.05rem; }
.w-hero .w-ancla { font-size: 0.88rem; color: var(--w-texto-suave); opacity: 0.85; margin-bottom: 20px; }
.w-hero .w-confianza { font-size: 0.85rem; color: var(--w-texto-suave); margin-top: 14px; }
.w-hero-media {
  background: #e7f4ef; border-radius: 20px; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: var(--w-primario); text-align: center; padding: 18px; font-size: 0.95rem;
}
@media (max-width: 800px) { .w-hero { grid-template-columns: 1fr; } .w-nav a:not(.w-btn-cta):not(.w-btn-sec) { display: none; } }

.w-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.w-card {
  background: var(--w-superficie); border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px; padding: 22px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.w-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.w-card p { color: var(--w-texto-suave); font-size: 0.93rem; }

.w-flujo { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.w-paso { background: #e7f4ef; color: var(--w-primario-oscuro); padding: 10px 16px; border-radius: 12px; font-size: 0.92rem; font-weight: 500; }
.w-flecha { color: var(--w-texto-suave); }
.w-video { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 16px; background: #0b1f1a; }

.w-planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.w-plan { position: relative; display: flex; flex-direction: column; }
.w-plan.popular { border: 2px solid var(--w-primario); }
.w-plan .w-badge {
  position: absolute; top: -11px; left: 18px; background: var(--w-primario);
  color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 10px;
}
.w-plan .w-monto { font-size: 2rem; font-weight: 700; margin: 6px 0 2px; }
.w-plan .w-monto small { font-size: 0.9rem; color: var(--w-texto-suave); font-weight: 500; }
.w-plan ul { padding-left: 18px; color: var(--w-texto-suave); font-size: 0.88rem; flex: 1; margin: 12px 0; }
.w-plan form { margin-top: auto; }
.w-addon {
  background: #fdf3e3; border: 1px solid rgba(202, 103, 2, 0.25);
  border-radius: 16px; padding: 18px 22px; margin-top: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.w-addon strong { color: var(--w-calidez); }
.w-toggle { display: inline-flex; border: 1.5px solid var(--w-primario); border-radius: 12px; overflow: hidden; margin-bottom: 22px; }
.w-toggle button { border: 0; background: transparent; padding: 8px 18px; font-weight: 600; cursor: pointer; color: var(--w-primario); font-size: 0.92rem; }
.w-toggle button.activo { background: var(--w-primario); color: #fff; }

.w-tabla { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.w-tabla th, .w-tabla td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.07); vertical-align: top; }
.w-tabla th { color: var(--w-texto-suave); font-weight: 600; }
.w-tabla td.choye { color: var(--w-primario); font-weight: 600; }

.w-faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding: 14px 0; }
.w-faq summary { font-weight: 600; cursor: pointer; }
.w-faq p { color: var(--w-texto-suave); margin-top: 8px; font-size: 0.95rem; }

.w-testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.w-testimonio cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 0.88rem; }
.w-testimonio span { color: var(--w-texto-suave); font-size: 0.82rem; }

.w-cta-final {
  background: var(--w-primario-oscuro); color: #d9efe6; text-align: center;
  padding: 48px 20px; display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.w-cta-final p { font-size: 1.2rem; max-width: 560px; }
.w-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px clamp(16px, 5vw, 48px); font-size: 0.85rem; color: var(--w-texto-suave);
}
.w-footer a { color: var(--w-texto-suave); }
.w-mensajes { max-width: 1080px; margin: 12px auto 0; padding: 0 clamp(16px, 5vw, 48px); }
.w-mensaje { background: #fdf3e3; border: 1px solid rgba(202, 103, 2, 0.3); border-radius: 12px; padding: 12px 16px; font-size: 0.92rem; }
.w-legal { max-width: 760px; margin: 0 auto; white-space: pre-line; color: var(--w-texto-suave); }
.w-fundador-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: #fdf3e3; border: 1px solid rgba(202, 103, 2, 0.28);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 18px;
  font-size: 0.95rem; color: var(--w-primario-oscuro);
}
.w-fundador-banner strong { color: var(--w-calidez); }
.w-fundador-tag {
  background: var(--w-cta); color: #fff; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px;
  white-space: nowrap;
}
.w-check { color: var(--w-primario); font-weight: 700; }
