/* =========================================================
   Vida Sin Pantallas — Landing LATAM (español neutro)
   Reconstrucción localizada de vidasemtela.com
   ========================================================= */

:root {
  --navy:        #0F172A;
  --text:        #374151;
  --muted:       #6b7280;
  --cream:       #FFF4DE;
  --cream-2:     #FFF1CF;
  --gray-bg:     #F8F8F8;
  --blue:        #4C6FFF;
  --indigo-soft: #C7D2FE;
  --green:       #22c55e;
  --green-d:     #16a34a;
  --green-dd:    #15803d;
  --green-soft:  #d5ffcf;
  --gold:        #E4A107;
  --red:         #FF3B1D;
  --white:       #ffffff;

  --radius:   18px;
  --radius-lg:26px;
  --shadow:   0 14px 40px rgba(15,23,42,.10);
  --shadow-sm:0 6px 18px rgba(15,23,42,.08);
  --container: 1120px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 64px 0; }
.section--cream  { background: var(--cream); }
.section--gray   { background: var(--gray-bg); }
.section--white  { background: var(--white); }

h1, h2, h3 { color: var(--navy); line-height: 1.18; font-weight: 800; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--indigo-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 14px;
}
.section-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text);
}
.highlight { color: var(--blue); }
.highlight-gold { color: var(--gold); }

/* ---------- Botones / CTA ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-d) 100%);
  border: none;
  border-radius: 999px;
  padding: 18px 38px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22,163,74,.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-align: center;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 16px 32px rgba(22,163,74,.45); filter: brightness(1.03); }
.btn:active { transform: translateY(0); }
.btn--pulse { animation: pulse 2.2s infinite; }
.btn--block { display: block; width: 100%; max-width: 520px; margin-inline: auto; }
.btn small { display: block; font-weight: 600; font-size: .72rem; text-transform: none; letter-spacing: 0; opacity: .92; }

@keyframes pulse {
  0%   { box-shadow: 0 12px 26px rgba(22,163,74,.35), 0 0 0 0 rgba(34,197,94,.45); }
  70%  { box-shadow: 0 12px 26px rgba(22,163,74,.35), 0 0 0 16px rgba(34,197,94,0); }
  100% { box-shadow: 0 12px 26px rgba(22,163,74,.35), 0 0 0 0 rgba(34,197,94,0); }
}

/* ---------- Logo (recreado, localizado) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #F6CBA0;
  border: 3.5px solid var(--red);
  display: grid; place-items: center;
  position: relative;
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__text {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: .01em;
  color: var(--red);
  white-space: nowrap;
}
.logo--light .logo__text { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,244,222,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 12px;
}
.site-header .btn { padding: 12px 24px; font-size: .92rem; }
.header-cta-wrap { display: flex; }

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: 56px 0 40px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero__title {
  font-size: clamp(1.9rem, 4.7vw, 3rem);
  margin-bottom: 18px;
}
.hero__title em { color: var(--blue); font-style: normal; }
.hero__sub { font-size: 1.12rem; margin-bottom: 28px; max-width: 540px; }
.hero__trust {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; font-size: .92rem; color: var(--muted); font-weight: 600;
}
.hero__trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero__media { position: relative; }
.hero__media img { filter: drop-shadow(0 24px 40px rgba(15,23,42,.18)); }

/* ---------- Banner franja ---------- */
.banner {
  background: radial-gradient(120% 140% at 80% 50%, #0b6b6b 0%, #062028 55%, #04141a 100%);
  color: #fff;
  text-align: center;
  padding: 30px 0;
}
.banner .container { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.banner .logo--light .logo__mark { background: #F6CBA0; border-color: #19b5b5; }
.banner__text { font-size: clamp(1.05rem, 2.6vw, 1.45rem); font-weight: 800; color: #fff; }

/* ---------- Cards genéricas ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border: 1.5px solid var(--indigo-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Actividades */
.activity {
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--indigo-soft);
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.activity:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity__icon { font-size: 2.5rem; margin-bottom: 12px; }
.activity h3 { font-size: 1.06rem; margin-bottom: 6px; }
.activity p { font-size: .9rem; color: var(--muted); }

/* Beneficios */
.benefit { text-align: left; }
.benefit__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--green-soft); color: var(--green-dd);
  margin-bottom: 16px;
}
.benefit h3 { font-size: 1.18rem; margin-bottom: 8px; }
.benefit h3 span { color: var(--blue); }

/* Bonos */
.bonus { text-align: center; position: relative; overflow: hidden; }
.bonus__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.bonus__img {
  height: 170px; display: grid; place-items: center;
  background: var(--cream-2); border-radius: 14px; margin-bottom: 18px;
  overflow: hidden;
}
.bonus__img img { max-height: 100%; width: auto; object-fit: contain; }
.bonus h3 { font-size: 1.16rem; margin-bottom: 8px; color: var(--gold); }
.bonus p { font-size: .94rem; }

/* ---------- Prueba social ---------- */
.proof__count {
  text-align: center; font-weight: 700; color: var(--blue);
  font-size: 1.05rem; margin-bottom: 26px;
}
.proof__img {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; max-width: 940px; margin: 0 auto;
}
.proof__hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 30px 22px 26px; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 16px; box-shadow: 0 8px 18px rgba(76,111,255,.4);
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* ---------- Precio ---------- */
.pricing__card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  border: 2px solid var(--indigo-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing__head {
  background: linear-gradient(180deg, var(--blue), #3a5af0);
  color: #fff; text-align: center; padding: 24px;
}
.pricing__head h3 { color: #fff; font-size: 1.6rem; }
.pricing__body { padding: 30px 34px 36px; }
.includes { list-style: none; margin-bottom: 26px; }
.includes li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed #e5e7eb;
  font-weight: 600; color: var(--navy);
}
.includes li:last-child { border-bottom: none; }
.includes .check {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dd);
  display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 2px;
}
.price-box { text-align: center; margin-bottom: 26px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price-label { color: var(--text); font-size: .95rem; margin: 2px 0 2px; }
.price-now {
  font-size: clamp(3rem, 9vw, 4.2rem); font-weight: 800; color: var(--gold);
  line-height: 1; letter-spacing: -.02em;
}
.price-now sup { font-size: 1.6rem; top: -1.4em; margin-right: 4px; }
.price-access { display: inline-block; margin-top: 10px; color: var(--green-dd); font-weight: 700; font-size: .95rem; }

/* ---------- Seguridad ---------- */
.security { text-align: center; }
.security h3 { letter-spacing: .12em; color: var(--green-dd); margin-bottom: 22px; font-size: 1.05rem; }
.security__badges { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.security__badges img { height: 48px; width: auto; opacity: .9; filter: grayscale(.1); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item {
  background: #fff; border: 1.5px solid var(--indigo-soft);
  border-radius: 14px; margin-bottom: 14px; overflow: hidden;
}
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1.04rem; color: var(--navy);
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__q .ico { flex: 0 0 auto; color: var(--blue); font-size: 1.4rem; transition: transform .25s ease; }
.faq__item.open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; font-size: .98rem; color: var(--text); }

/* ---------- CTA final ---------- */
.final-cta { background: var(--cream); text-align: center; }
.final-cta h2 { font-size: clamp(1.7rem, 4.3vw, 2.5rem); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #cbd5e1;
  text-align: center; padding: 36px 0; font-size: .92rem;
}
.site-footer .logo { margin-bottom: 14px; }
.site-footer .logo__text { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__trust { justify-content: center; }
  .hero__media { order: -1; max-width: 480px; margin-inline: auto; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .header-cta-wrap { display: none; }
  .benefit { text-align: center; }
  .benefit__icon { margin-inline: auto; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .logo__text { font-size: .98rem; }
}

/* =========================================================
   Infancia Sin Pantallas — componentes añadidos
   ========================================================= */

/* Nombre de marca más largo: ajuste de logo */
.logo__text { font-size: 1.12rem; letter-spacing: 0; }
.site-header .logo__mark { width: 38px; height: 38px; flex-basis: 38px; }

/* ---- Preview del kit (placeholder neutro, sin texto PT) ---- */
.kit-preview {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #fff6e6 100%);
  border: 1.5px solid var(--indigo-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px 34px;
  box-shadow: var(--shadow);
  max-width: 460px;
  margin-inline: auto;
}
.kit-preview__badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--gold); color: #fff; font-weight: 800;
  font-size: .9rem; padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(228,161,7,.4);
}
.kit-preview__tablet {
  background: #0F172A; border-radius: 18px; padding: 16px;
  box-shadow: inset 0 0 0 4px #1e293b, 0 16px 30px rgba(15,23,42,.25);
}
.kit-preview__tiles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.kit-preview__tiles span {
  aspect-ratio: 1 / 1; border-radius: 14px;
  background: var(--c, #eef2ff);
  display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.kit-preview__chip {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; background: var(--green-soft); color: var(--green-dd);
  font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 999px;
}

/* ---- Bonos: grilla de 4 + portadas neutras ---- */
.grid-bonos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 26px;
}
.bonus__cover {
  border-radius: 14px; margin-bottom: 16px; overflow: hidden;
  aspect-ratio: 1 / 1; background: #f3f4f6;
  box-shadow: 0 6px 16px rgba(15,23,42,.10);
}
/* reserva un cuadrado fijo: la imagen lo llena y nunca tapa ni colapsa el texto */
.bonus__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bonus__value { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.bonus__value b { color: var(--green-dd); }

.value-stack {
  text-align: center; margin-top: 30px;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem); font-weight: 700; color: var(--navy);
  background: var(--cream-2); border: 1.5px dashed var(--gold);
  padding: 16px 22px; border-radius: var(--radius); max-width: 620px; margin-inline: auto;
}
.value-stack strong { color: var(--gold); }

/* ---- Testimonios ---- */
.testimonials { margin-bottom: 38px; }
.testimonial { text-align: left; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 16px; }
.testimonial__author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.testimonial__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800;
}

/* ---- Precio: extras ---- */
.check--gift { background: #fff4d6 !important; }
.urgency {
  text-align: center; color: #b45309; font-weight: 700; font-size: .95rem;
  background: #fff7e6; border-radius: 10px; padding: 10px; margin-bottom: 18px;
}
.pay-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 14px; }
.price-local-note { text-align: center; font-style: italic; color: var(--muted); font-size: .82rem; margin: -8px 0 16px; }

/* ---- CTA final ---- */
.final-cta__note { margin-top: 16px; color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---- Footer ---- */
.site-footer__tag { color: #94a3b8; font-style: italic; margin-bottom: 6px; }

/* ---- Responsive de los nuevos componentes ---- */
@media (max-width: 980px) {
  .grid-bonos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-bonos { grid-template-columns: 1fr; }
  .kit-preview__tiles span { font-size: 1.6rem; }
}

/* =========================================================
   UI/UX — barra fixa, acessibilidade e ajustes mobile
   ========================================================= */

/* Linha de avaliação: quebra centralizada e harmônica */
.hero__trust { flex-wrap: wrap; }

/* Acessibilidade — foco visível por teclado */
.btn:focus-visible,
.faq__q:focus-visible,
.logo:focus-visible,
.sticky-cta .btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 999px;
}
.faq__q:focus-visible { border-radius: 12px; }

/* Respeitar usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--pulse { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* CTA fijo (solo mobile/tablet) — siempre alcanzable */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 -6px 22px rgba(15,23,42,.14);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(115%);
  transition: transform .28s ease;
  display: none;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { padding: 15px 18px; font-size: 1.02rem; box-shadow: 0 8px 18px rgba(22,163,74,.32); }

@media (max-width: 880px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .hero { padding-top: 34px; }
}
