/*
 * Hoja de las VSL de Vanessa (/epva/evg/vsl/ads y /org).
 *
 * Es el <style> de site.elprotocolo.net/vregistro (repo maribel-vanessa-site-elprotocolo,
 * master fab9dbe8) TAL CUAL, sacado a un archivo en el port del 05/11/2026: la paleta rosa
 * de Vanessa, el modal y el pie. No es la de Maribel (/epma/evg/vsl/_shared/css/style.css).
 *
 * ⚠ `.cta-btn` la usa el HTML del boton de accion de VTurb (no aparece en la pagina):
 * si se borra, el boton de compra queda sin estilo y nada da error.
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:       #9c3f56;
  --rose-dark:  #7a3044;
  --gold:       #b8915a;
  --sage:       #3c9960;
  --sage-dark:  #2f7a4f;
  --cream:      #fdf8f4;
  --blush:      #f7e8e0;
  --fb-blue:    #1877F2;
  --text:       #2e2230;
  --muted:      #7d7280;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #fdf6f1 35%, #f7e8e0 65%, #fdf8f4 100%);
  color: var(--text);
  min-height: 100vh;
}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.news-bar {
  background: linear-gradient(90deg, var(--rose-dark) 0%, var(--rose) 100%);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 2.2vw, 18px);
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── MAIN WRAPPER ───────────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 60px;
}

/* ── VIDEO SECTION ──────────────────────────────────────────── */
.video-outer {
  max-width: 1140px;
  margin: 0 auto 32px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.video-inner {
  border-radius: 0;
  background: transparent;
  position: relative;
}

.video-inner vturb-smartplayer {
  border-radius: 0;
  overflow: hidden;
}

.video-placeholder {
  width: 100%;
  display: block;
}

/* ── CTA BUTTON ─────────────────────────────────────────────── */
/* Desde el 07/10 el botón lo pone VTurb con un HTML que usa .cta-btn: en la página ya no
   aparece, pero si se borra esta clase el botón de VTurb se queda sin estilo y nada da error. */
.cta-wrap {
  text-align: center;
  margin: 36px 0 50px;
}

.cta-btn {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 3vw, 22px);
  letter-spacing: 0.03em;
  padding: 18px 52px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  animation: pulse-glow 2.4s ease-in-out infinite;
  box-shadow: 0 4px 24px rgba(60, 153, 96, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-2px) scale(1.02);
}

.cta-btn:active {
  transform: translateY(0) scale(0.99);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(60,153,96,0.4); }
  50%       { box-shadow: 0 6px 36px rgba(60,153,96,0.75), 0 0 0 6px rgba(60,153,96,0.12); }
}

/* ── COMMENTS SECTION ───────────────────────────────────────── */
.comments-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.comments-card {
  background: #fff;
  border: 1px solid #dde1e7;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.comments-header {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-bottom: 1px solid #e4e6ea;
  font-weight: 600;
}

.comment {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: #f0f2f5;
  border-radius: 8px;
  margin: 10px 14px;
}

.avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.comment-body {}

.comment-name {
  color: var(--fb-blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
  cursor: pointer;
}

.comment-name:hover { text-decoration: underline; }

.comment-text {
  font-size: 14px;
  color: #1c1e21;
  line-height: 1.45;
  margin-bottom: 6px;
}

.comment-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.comment-meta .like-count {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.comment-meta a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.comment-meta a:hover { color: var(--fb-blue); }

.comments-footer {
  padding: 12px 18px 14px;
  border-top: 1px solid #e4e6ea;
  font-size: 13px;
  color: var(--muted);
}

/* ── PAGE FOOTER ────────────────────────────────────────────── */
.page-footer {
  text-align: center;
  margin-top: 60px;
  padding: 28px 20px;
  border-top: 1px solid #dde1e7;
  background: #fff;
}

.footer-copy {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #333;
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 11.5px;
  color: #888;
  max-width: 680px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.footer-links {
  font-size: 12px;
  color: var(--fb-blue);
}

.footer-links a {
  color: var(--fb-blue);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 520px) {
  .cta-btn { padding: 16px 30px; }
}

@media (max-width: 768px) {
  .page {
    padding-top: 40px;
  }
  .video-outer {
    margin-left: -22px;
    margin-right: -22px;
  }
}

/* ── POPUP MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* El maximo a proposito: al tocar el boton, que vive adentro del player, la variante
     vertical de VTurb agranda el video y con 999 queda encima del formulario. */
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeInOverlay 0.25s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(122, 48, 68, 0.18), 0 4px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  padding: 28px 32px 24px;
  text-align: center;
  position: relative;
}

.modal-header-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.modal-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 3vw, 24px);
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.modal-close:hover { background: rgba(255,255,255,0.35); }

.modal-body {
  padding: 24px 28px 28px;
  background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.modal-body iframe {
  width: 100%;
  height: 465px;
  border: none;
  border-radius: 10px;
  display: block;
}

.modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: #888;
}

.modal-trust span { font-size: 15px; }

@media (max-width: 560px) {
  .modal-card { border-radius: 14px; }
  .modal-header { padding: 22px 20px 18px; }
  .modal-body { padding: 18px 16px 22px; }
  .modal-body iframe { height: 500px; }
}
