/* ==========================================================================
   Greencard Prep — VIP Webinar Funnel
   Estructura inspirada en go.highticket.io (registro → VIP → gracias)
   Paleta: blanco + verde de marca
   ========================================================================== */

:root {
  --green-dark: #0e3b2e;   /* verde marca oscuro (titulares) */
  --green: #1b7a3d;        /* verde primario (botones) */
  --green-bright: #22a04e; /* verde brillante (hover/gradiente) */
  --green-soft: #eaf6ee;   /* verde muy claro (fondos suaves) */
  --gold: #f4b740;         /* dorado (garantía / estrellas) */
  --ink: #1f2a26;          /* texto principal */
  --muted: #5d6b65;        /* texto secundario */
  --line: #e3eae6;         /* bordes suaves */
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(14, 59, 46, 0.12);
  --shadow-lg: 0 18px 50px rgba(14, 59, 46, 0.18);
  --radius: 16px;
  --maxw: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

/* -------- Barra superior de urgencia -------- */
.topbar {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 11px 16px;
}
.topbar b { color: var(--gold); }

/* -------- Encabezado / logo -------- */
.site-head {
  text-align: center;
  padding: 22px 20px 6px;
}
.site-head img { width: 220px; max-width: 60%; margin: 0 auto; }

/* -------- Tipografía -------- */
h1, h2, h3 { color: var(--green-dark); line-height: 1.18; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 700; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); }
.hl { color: var(--green); }
.center { text-align: center; }

/* -------- Secciones -------- */
section { padding: 40px 0; }
.section-soft { background: var(--green-soft); }

/* -------- Pill / badges -------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(27,122,61,.18);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #e23b3b; box-shadow: 0 0 0 0 rgba(226,59,59,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(226,59,59,.55);} 70%{box-shadow:0 0 0 9px rgba(226,59,59,0);} 100%{box-shadow:0 0 0 0 rgba(226,59,59,0);} }

/* -------- Tarjeta de confianza (Trusted by / 1 hora / Beginner) -------- */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 26px auto; max-width: 720px;
}
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px; text-align: center; box-shadow: var(--shadow);
}
.trust-card .num { font-size: 22px; font-weight: 800; color: var(--green); }
.trust-card .lab { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* -------- Estadísticas grandes -------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 10px auto; max-width: 820px;
}
.stat { text-align: center; padding: 14px; }
.stat .n { font-size: clamp(28px, 5vw, 40px); font-weight: 800; color: var(--green); }
.stat .t { font-size: 14px; color: var(--muted); font-weight: 600; }

/* -------- Botones -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 560px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  color: #fff !important; text-decoration: none;
  font-size: clamp(17px, 2.6vw, 21px); font-weight: 800;
  padding: 18px 26px; border: 0; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(27,122,61,.35);
  cursor: pointer; text-align: center; line-height: 1.25;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  animation: btnPulse 2.4s infinite;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(27,122,61,.45); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
@keyframes btnPulse { 0%{box-shadow:0 10px 24px rgba(27,122,61,.35);} 50%{box-shadow:0 10px 30px rgba(27,122,61,.55);} 100%{box-shadow:0 10px 24px rgba(27,122,61,.35);} }

.btn-ghost {
  display: inline-block; width: 100%; max-width: 560px;
  background: transparent; color: var(--muted) !important;
  text-decoration: underline; font-size: 15px; font-weight: 600;
  padding: 14px 18px; border: 0; cursor: pointer; text-align: center;
  animation: none; box-shadow: none;
}
.btn-ghost:hover { color: var(--green-dark) !important; }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 560px;
  background: #25d366; color: #fff !important; text-decoration: none;
  font-size: 17px; font-weight: 800; padding: 16px 24px; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(37,211,102,.35); transition: transform .15s ease;
}
.btn-wa:hover { transform: translateY(-2px); }

.cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0; }
.cta-sub { font-size: 14px; color: var(--muted); }

/* -------- Formulario -------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 28px 24px; max-width: 520px; margin: 0 auto;
}
.form-card h3 { text-align: center; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 14px 14px; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-family: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
  outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(27,122,61,.12);
}
.form-secure { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); cursor: pointer; }
.consent label { font-size: 12.5px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.consent a { color: var(--green); }

/* -------- Listas con check -------- */
.checklist { list-style: none; padding: 0; margin: 18px 0; }
.checklist li {
  position: relative; padding: 10px 0 10px 38px; font-size: 17px; border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4 4 10-10'/></svg>");
  background-size: 15px; background-repeat: no-repeat; background-position: center;
}
.xlist li::before {
  background: #e23b3b;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='white' stroke-width='3' stroke-linecap='round' d='M6 6l12 12M18 6L6 18'/></svg>");
}

/* -------- Dos columnas (para quién es / no es) -------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.col-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* -------- Bullets de "lo que revelaré" -------- */
.reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reveal .item {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green);
  border-radius: 12px; padding: 16px 18px; font-size: 16.5px; box-shadow: var(--shadow);
}

/* -------- Testimonios -------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.testi .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; }
.testi p { font-size: 15.5px; margin: 0 0 12px; }
.testi .who { font-weight: 700; color: var(--green-dark); font-size: 14.5px; }
/* Tarjetas de testimonio con foto */
.testi .thead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testi .thead .stars { margin-bottom: 2px; }
.testi .pic { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid var(--green-soft); }
.testi .result { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: 10px; padding: 8px 12px; }

/* Barra de prueba social */
.proofbar { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px;
  box-shadow: var(--shadow); font-size: 14.5px; color: var(--ink); margin: 16px auto 0; }
.proofbar .stars { color: var(--gold); letter-spacing: 2px; }

/* -------- Caja de link privado del evento (sala en vivo) -------- */
.joinbox { background: #fff; border: 2px solid var(--green); border-radius: 20px;
  padding: 26px; max-width: 620px; margin: 22px auto 0; box-shadow: var(--shadow-lg); text-align: center; }
.joinbox .jlabel { font-weight: 800; color: var(--green-dark); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.joinrow { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 16px; }
.joinrow input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 14.5px; color: var(--ink); background: var(--green-soft); font-family: inherit; }
.joinrow .copy-btn { flex: 0 0 auto; border: none; border-radius: 12px; cursor: pointer;
  background: var(--green-dark); color: #fff; font-weight: 700; font-size: 14.5px; padding: 0 18px; font-family: inherit; }
.joinrow .copy-btn:hover { background: var(--green); }
.joinbox .btn { display: inline-block; width: 100%; box-sizing: border-box; }
.join-note { color: var(--muted); font-size: 13.5px; margin: 12px 0 0; }
@media (max-width: 480px){ .joinrow { flex-direction: column; } .joinrow .copy-btn { padding: 12px; } }

/* -------- Caja de host -------- */
.host { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); }
.host .ava { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 4px solid var(--green-soft); }

/* -------- Caja de garantía -------- */
.guarantee {
  display: flex; gap: 20px; align-items: center;
  background: #fff; border: 2px dashed var(--green); border-radius: 20px;
  padding: 24px 26px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow);
}
.guarantee .seal {
  flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), #e09e1f);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; text-align: center; font-size: 13px; line-height: 1.1;
  box-shadow: 0 8px 20px rgba(240,158,31,.35);
}
.guarantee .seal-img {
  flex: 0 0 auto; width: 104px; height: 104px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(14,59,46,.28));
}

/* -------- Caja de donación / social good -------- */
.donate {
  background: var(--green-dark); color: #fff; border-radius: 20px;
  padding: 26px 28px; max-width: 760px; margin: 0 auto; text-align: center;
}
.donate h3 { color: #fff; }
.donate p { color: rgba(255,255,255,.88); margin: 0; font-size: 16.5px; }
.donate .heart { font-size: 30px; }

/* -------- Oferta VIP -------- */
.offer-card {
  background: #fff; border: 2px solid var(--green); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: 30px 28px; max-width: 620px; margin: 0 auto; text-align: center;
}
.price { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin: 10px 0 4px; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 22px; font-weight: 700; }
.price .new { color: var(--green); font-size: 52px; font-weight: 800; }
.price .cur { color: var(--green); font-size: 26px; font-weight: 800; align-self: flex-start; margin-top: 6px; }
.offer-tag { display:inline-block; background: var(--gold); color: #3a2a00; font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; letter-spacing:.4px; text-transform: uppercase; }

/* -------- Pasos siguientes -------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align:center; box-shadow: var(--shadow); }
.step .ico { width:52px; height:52px; border-radius:50%; background:var(--green-soft); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:800; margin:0 auto 12px; }

/* -------- Video placeholder -------- */
.video {
  position: relative; max-width: 700px; margin: 0 auto; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #103a2d, #1b7a3d); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.video .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; }
.video .play::before { content:""; border-left: 22px solid var(--green); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.video .vlabel { position:absolute; bottom:14px; left:0; right:0; text-align:center; color:#fff; font-weight:700; font-size:14px; }

/* -------- FAQ -------- */
.faq details { background:#fff; border:1px solid var(--line); border-radius:12px; padding: 4px 18px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--green-dark); padding: 14px 0; list-style: none; font-size: 17px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 14px; color: var(--muted); }

/* -------- Live / Zoom -------- */
.live-bar { background:#e23b3b; color:#fff; text-align:center; font-weight:800; font-size:14px; letter-spacing:.3px; padding:10px 16px; }
.live-bar .live-dot { display:inline-block; width:9px; height:9px; border-radius:50%; background:#fff; margin-right:7px; animation:pulse 1.4s infinite; }
.live-grid { display:grid; grid-template-columns: 1fr 320px; gap:20px; align-items:start; }
.live-main .video { max-width:none; }
.chat { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); display:flex; flex-direction:column; height:520px; overflow:hidden; }
.chat__head { background:var(--green-dark); color:#fff; padding:12px 16px; font-weight:700; font-size:15px; }
.chat__body { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:12px; }
.chat__msg { font-size:14px; line-height:1.4; }
.chat__msg b { color:var(--green-dark); }
.chat__foot { border-top:1px solid var(--line); padding:10px; display:flex; gap:8px; }
.chat__foot input { flex:1; border:1.5px solid var(--line); border-radius:10px; padding:10px 12px; font-family:inherit; font-size:14px; }
.chat__foot button { background:var(--green); color:#fff; border:0; border-radius:10px; padding:0 16px; font-weight:700; cursor:pointer; }

/* -------- Countdown -------- */
.countdown { display:flex; gap:12px; justify-content:center; margin:18px 0; }
.cd-box { background:var(--green-dark); color:#fff; border-radius:12px; padding:14px 18px; min-width:74px; text-align:center; box-shadow:var(--shadow); }
.cd-box .cd-num { font-size:32px; font-weight:800; line-height:1; }
.cd-box .cd-lab { font-size:11px; text-transform:uppercase; letter-spacing:1px; opacity:.8; margin-top:6px; }

/* Caja CTA que aparece durante el webinar */
.live-cta { background:var(--green-soft); border:2px solid var(--green); border-radius:var(--radius); padding:22px; text-align:center; margin-top:18px; box-shadow:var(--shadow); }

/* -------- Pie -------- */
.site-foot { background: var(--green-dark); color: rgba(255,255,255,.78); text-align: center; padding: 30px 20px; font-size: 13px; }
.site-foot a { color: #fff; }
.disclaimer { max-width: 760px; margin: 12px auto 0; font-size: 12px; line-height: 1.5; }

/* -------- Responsivo -------- */
@media (max-width: 860px) {
  .two-col, .reveal, .testi-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .host { flex-direction: column; text-align: center; }
  .guarantee { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
}
