/* ============ Impulso360 · Emily360 — v1 muestra homepage ============ */
:root {
  --ink: #0E1B33;
  --navy: #1B2A4B;
  --navy-deep: #101F3D;
  --cyan: #00BDD6;
  --cyan-soft: #E3F9FC;
  --cyan-glow: rgba(0, 189, 214, 0.35);
  --paper: #FFFFFF;
  --mist: #F5F7FB;
  --line: #E6EAF2;
  --text: #3A4560;
  --muted: #6B7590;
  --ok: #16A34A;
  --warn: #D97706;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow-lg: 0 24px 60px rgba(16, 31, 61, 0.14);
  --shadow-sm: 0 6px 24px rgba(16, 31, 61, 0.07);
  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--text); background: var(--paper); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.4rem; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, var(--cyan) 0%, #4ADEDE 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.center { text-align: center; }
.kicker { font-family: var(--f-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem; }

/* ---- Topbar ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.logo b { color: var(--cyan); }
.logo-orb { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 210deg, var(--cyan), var(--navy) 60%, var(--cyan)); box-shadow: 0 0 0 4px var(--cyan-soft); }
.nav { display: flex; gap: 2rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--cyan); }

/* ---- Botones ---- */
.btn { display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: 1rem; padding: 0.9rem 1.8rem; border-radius: 999px; text-decoration: none; transition: all 0.22s ease; }
.btn-primary { background: linear-gradient(120deg, var(--cyan), #2BD3E8); color: var(--navy-deep); box-shadow: 0 10px 30px var(--cyan-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--cyan-glow); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-nav { background: var(--navy); color: #fff; padding: 0.6rem 1.3rem; font-size: 0.92rem; }
.btn-nav:hover { background: var(--navy-deep); }
.btn-big { font-size: 1.15rem; padding: 1.1rem 2.4rem; }
.btn-block { display: block; text-align: center; margin-top: 1.4rem; }

/* ---- Video de fondo (hero + secciones) ---- */
.hero-media, .sec-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media video, .sec-media video { width: 100%; height: 100%; object-fit: cover; }
/* Velo claro: mantiene el look blanco premium con movimiento sutil detrás */
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.78) 100%),
  radial-gradient(1000px 500px at 85% -10%, rgba(227,249,252,0.9) 0%, transparent 60%); }
/* Velo oscuro para secciones navy */
.sec-veil { position: absolute; inset: 0; background: linear-gradient(150deg, rgba(16,31,61,0.92) 0%, rgba(27,42,75,0.9) 65%, rgba(35,64,108,0.88) 100%); }
.sec-veil-deep { background: linear-gradient(150deg, rgba(16,31,61,0.94), rgba(27,42,75,0.92)); }
.hero > .wrap, .emily-sec > .wrap, .final > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-media video, .sec-media video { display: none; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 6rem; background:
  radial-gradient(1000px 500px at 85% -10%, var(--cyan-soft) 0%, transparent 60%),
  radial-gradient(700px 400px at -10% 110%, #EDF1F9 0%, transparent 55%),
  var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.chip { display: inline-block; background: var(--cyan-soft); color: #0B7E90; font-weight: 600; font-size: 0.85rem; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.4rem; }
.sub { font-size: 1.18rem; color: var(--muted); margin-top: 1.3rem; max-width: 34rem; }
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.trust-row { list-style: none; display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }
.trust-row li::before { content: "✓ "; color: var(--cyan); font-weight: 700; }

/* ---- Emily card (hero visual) ---- */
.hero-visual { position: relative; }
.emily-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: rise 0.9s ease both; }
.emily-head { display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.emily-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--navy)); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.emily-head strong { font-family: var(--f-head); color: var(--ink); display: block; }
.emily-head small { color: var(--muted); font-size: 0.8rem; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-left: auto; box-shadow: 0 0 0 0 rgba(22,163,74,0.5); animation: pulse 2s infinite; }
.emily-feed { padding: 1rem 1.2rem; display: grid; gap: 0.8rem; }
.feed-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--mist); }
.feed-item strong { display: block; color: var(--ink); font-size: 0.95rem; }
.feed-item small { color: var(--muted); font-size: 0.82rem; }
.fi-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.feed-item.ok .fi-icon { background: #E7F7EC; color: var(--ok); }
.feed-item.action { border-color: var(--cyan); background: var(--cyan-soft); }
.feed-item.action .fi-icon { background: #fff; }
.feed-item.warn .fi-icon { background: #FDF0DF; color: var(--warn); }
.mini-btn { margin-left: auto; border: 0; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 0.8rem; padding: 0.45rem 1rem; border-radius: 999px; cursor: pointer; }
.emily-foot { text-align: center; font-size: 0.82rem; color: var(--muted); padding: 0.9rem; border-top: 1px solid var(--line); background: var(--mist); }
.float-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 0.7rem 1.1rem; font-size: 0.82rem; color: var(--muted); animation: floaty 5s ease-in-out infinite; }
.float-chip b { color: var(--ink); font-size: 1.05rem; font-family: var(--f-head); }
.fc-1 { top: -24px; right: -14px; }
.fc-2 { bottom: -18px; left: -20px; animation-delay: 1.2s; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,0.45);} 70% { box-shadow: 0 0 0 10px rgba(22,163,74,0);} 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0);} }

/* ---- Dolores ---- */
.pains { padding: 4.5rem 0; background: var(--mist); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem; font-size: 0.97rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.pain b { color: var(--ink); }
.pain-answer { margin-top: 2rem; font-size: 1.15rem; max-width: 44rem; }
.pain-answer b { color: var(--ink); }

/* ---- Incluye ---- */
.includes { padding: 5.5rem 0; }
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.inc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; transition: all 0.25s ease; background: #fff; }
.inc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.inc-ic { font-size: 1.9rem; display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: var(--mist); border-radius: 16px; margin-bottom: 1rem; }
.inc h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.inc p { font-size: 0.95rem; color: var(--muted); }

/* ---- Emily section ---- */
.emily-sec { position: relative; overflow: hidden; padding: 6rem 0; background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 65%, #23406C 100%); color: #C6D2E8; }
.emily-sec .sec-media video { opacity: 0.5; }
.emily-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.kicker-light { color: var(--cyan); }
.h2-light { color: #fff; }
.h2-light em { font-style: normal; color: var(--cyan); -webkit-text-fill-color: currentColor; background: none; }
.sub-light { color: #A9B8D4; font-size: 1.12rem; margin-top: 1.1rem; }
.steps { margin: 1.8rem 0 0 1.2rem; display: grid; gap: 1rem; }
.steps li { padding-left: 0.5rem; }
.steps b { color: #fff; }
.fine { margin-top: 1.6rem; font-size: 0.88rem; color: #8FA2C4; border-left: 3px solid var(--cyan); padding-left: 1rem; }
.chat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: 0.9rem; backdrop-filter: blur(6px); }
.msg { max-width: 85%; padding: 0.85rem 1.1rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; }
.msg.user { background: var(--cyan); color: var(--navy-deep); justify-self: end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.emily { background: #fff; color: var(--text); justify-self: start; border-bottom-left-radius: 4px; }
.msg.emily b { color: var(--ink); }

/* ---- Planes ---- */
.plans { padding: 5.5rem 0; }
.plans-note { color: var(--muted); margin-top: 0.8rem; max-width: 40rem; }
.plans-note.center, .kicker.center { margin-left: auto; margin-right: auto; }
.plan-solo { display: flex; justify-content: center; margin-top: 2.8rem; }
.plan-solo .plan { max-width: 30rem; width: 100%; text-align: center; }
.plan-solo .plan ul { text-align: left; max-width: 22rem; margin-left: auto; margin-right: auto; }
.plan-solo .plan-for { min-height: auto; margin-top: 0.4rem; }
.plan-mini { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.8rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.1rem 1.8rem; display: flex; flex-direction: column; background: #fff; }
.plan.featured { border: 2px solid var(--cyan); box-shadow: var(--shadow-lg); position: relative; background: linear-gradient(180deg, var(--cyan-soft) 0%, #fff 22%); }
.plan-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 0.78rem; font-weight: 600; padding: 0.3rem 1.1rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.25rem; }
.price { font-family: var(--f-head); font-weight: 800; font-size: 2rem; color: var(--ink); margin: 0.5rem 0 0.3rem; }
.price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan-for { font-size: 0.92rem; color: var(--muted); min-height: 3.4em; }
.plan ul { list-style: none; margin-top: 1.2rem; display: grid; gap: 0.6rem; flex: 1; }
.plan ul li { padding-left: 1.7rem; position: relative; font-size: 0.95rem; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ---- FAQ ---- */
.faq { padding: 5rem 0; background: var(--mist); }
.faq h2 { margin-bottom: 2.2rem; }
.faq details { max-width: 46rem; margin: 0 auto 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.5rem; }
.faq summary { font-family: var(--f-head); font-weight: 600; color: var(--ink); cursor: pointer; font-size: 1.02rem; }
.faq details p { margin-top: 0.8rem; color: var(--muted); font-size: 0.97rem; }
.faq details[open] { border-color: var(--cyan); }

/* ---- Final ---- */
.final { position: relative; overflow: hidden; padding: 6rem 0; background: linear-gradient(150deg, var(--navy-deep), var(--navy)); }
.final .sub-light { max-width: 34rem; margin: 1.2rem auto 2.2rem; }

/* ---- Footer ---- */
.foot { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 2rem 0; color: #8FA2C4; font-size: 0.9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: var(--cyan); text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid, .emily-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .plan-row { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; }
  .nav { display: none; }
}
@media (max-width: 620px) {
  .pain-grid, .inc-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 4rem; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
}
