/* ==================================================================
   landing.css — portada de UnSoloClip

   Todo cuelga de .cf-lp-body (lo pone el propio home.php), así que
   este archivo no afecta a ninguna otra página aunque se cargue en
   todas. Sin dependencias externas salvo las tipografías.
   ================================================================== */

.cf-lp-body {
  --lp-bg:        #0A0A0C;
  --lp-bg-2:      #0E0E13;
  --lp-card:      #141419;
  --lp-card-2:    #1A1A21;
  --lp-line:      rgba(255, 255, 255, .09);
  --lp-line-2:    rgba(255, 255, 255, .16);
  --lp-text:      #F4F2EE;
  --lp-dim:       #9C9CA6;
  --lp-dim-2:     #6E6E78;
  --lp-accent:    #FF4D1C;
  --lp-accent-2:  #FF8A5B;
  --lp-soft:      rgba(255, 77, 28, .13);
  --lp-mint:      #6EE7B7;
  --lp-radio:     14px;

  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cf-lp-body * { box-sizing: border-box; }

.cf-lp-body h1, .cf-lp-body h2, .cf-lp-body h3,
.cf-lp-body .cf-lp-display {
  font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
}

/* ---------- cabecera y pie heredados, reestilizados en oscuro ------ */

.cf-lp-body .cf-pub-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 10, 12, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lp-line);
}

/* El logo puede ser oscuro. Esto lo vuelve blanco pase lo que pase. */
.cf-lp-body .cf-pub-logo img,
.cf-lp-body .cf-pub-foot img { filter: brightness(0) invert(1); }

.cf-lp-body .cf-pub-nav {
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
}
.cf-lp-body .cf-pub-nav a {
  color: var(--lp-dim); text-decoration: none;
  font-size: .94rem; transition: color .15s;
}
.cf-lp-body .cf-pub-nav a:hover { color: var(--lp-text); }

.cf-lp-body .cf-pub-nav .cf-btn {
  background: var(--lp-accent); color: #fff;
  padding: .6rem 1.15rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; border: 0;
}
.cf-lp-body .cf-pub-nav .cf-btn:hover { background: var(--lp-accent-2); color: #fff; }
.cf-lp-body .cf-pub-nav .cf-btn-secondary {
  background: transparent; color: var(--lp-text);
  border: 1px solid var(--lp-line-2);
}
.cf-lp-body .cf-pub-nav .cf-btn-secondary:hover {
  background: rgba(255, 255, 255, .06); color: var(--lp-text);
}

.cf-lp-body .cf-pub-main { background: var(--lp-bg); }

.cf-lp-body .cf-pub-foot {
  background: var(--lp-bg-2);
  border-top: 1px solid var(--lp-line);
  padding: 3rem clamp(1rem, 4vw, 3rem) 2rem;
}
.cf-lp-body .cf-pub-foot-in {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between;
}
.cf-lp-body .cf-pub-foot-links {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; max-width: 620px;
}
.cf-lp-body .cf-pub-foot-links a {
  color: var(--lp-dim); text-decoration: none; font-size: .92rem;
}
.cf-lp-body .cf-pub-foot-links a:hover { color: var(--lp-text); }
.cf-lp-body .cf-pub-copy {
  max-width: 1160px; margin: 2.5rem auto 0;
  color: var(--lp-dim-2); font-size: .85rem;
}
.cf-lp-body .cf-help { color: var(--lp-dim); }

/* ------------------------------ estructura ------------------------ */

.cf-lp { --ancho: 1160px; }
.cf-lp section { padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 3rem); }
.cf-lp .lp-in { max-width: var(--ancho); margin: 0 auto; }

.cf-lp .lp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--lp-accent);
  margin-bottom: 1.1rem;
}
.cf-lp .lp-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--lp-accent);
}

.cf-lp h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); margin: 0 0 .9rem; }
.cf-lp .lp-sub {
  color: var(--lp-dim); font-size: 1.06rem; line-height: 1.65;
  max-width: 56ch; margin: 0 0 2.6rem;
}

/* ------------------------------ botones --------------------------- */

.cf-lp .lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .14s, background .18s;
}
.cf-lp .lp-btn:active { transform: translateY(1px); }
.cf-lp .lp-btn-1 {
  background: var(--lp-accent); color: #fff;
  box-shadow: 0 10px 34px -12px rgba(255, 77, 28, .85);
}
.cf-lp .lp-btn-1:hover { background: var(--lp-accent-2); }
.cf-lp .lp-btn-2 {
  background: transparent; color: var(--lp-text); border-color: var(--lp-line-2);
}
.cf-lp .lp-btn-2:hover { background: rgba(255, 255, 255, .06); }

/* ------------------------------ hero ------------------------------ */

.cf-lp .lp-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.cf-lp .lp-hero::before {
  content: ""; position: absolute; inset: -45% 25% auto -20%;
  height: 780px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 77, 28, .22), transparent 72%);
}
.cf-lp .lp-hero-in {
  position: relative; max-width: var(--ancho); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.cf-lp .lp-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  margin: 0 0 1.3rem;
}
.cf-lp .lp-hero h1 em {
  font-style: normal; color: var(--lp-accent);
}
.cf-lp .lp-hero p {
  color: var(--lp-dim); font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.68; max-width: 50ch; margin: 0 0 2.1rem;
}
.cf-lp .lp-acciones { display: flex; flex-wrap: wrap; gap: .85rem; }
.cf-lp .lp-aval {
  margin-top: 1.5rem; color: var(--lp-dim-2); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: .35rem 1.1rem;
}
.cf-lp .lp-aval span { display: inline-flex; align-items: center; gap: .42rem; }
.cf-lp .lp-aval span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--lp-mint);
}

/* --------------- visual del hero: un vídeo se parte en clips ------- */

.cf-lp .lp-visual { position: relative; max-width: 540px; margin-inline: auto; width: 100%; }

/* Las curvas que unen los tramos marcados con los clips que salen de
   ellos. Son la idea entera del producto, así que se dibujan. */
.cf-lp .lp-union {
  display: block; width: 100%; height: 46px;
  color: rgba(255, 77, 28, .55);
  margin-top: .3rem;
}

.cf-lp .lp-fuente {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radio);
  background: var(--lp-card);
  padding: .7rem;
  box-shadow: 0 30px 70px -40px #000;
}
.cf-lp .lp-fuente-marco {
  aspect-ratio: 16 / 9; border-radius: 9px; position: relative; overflow: hidden;
  background:
    radial-gradient(130% 110% at 18% 22%, #39324a 0%, transparent 58%),
    radial-gradient(120% 120% at 82% 78%, #1f3d46 0%, transparent 60%),
    #17171d;
}
.cf-lp .lp-fuente-marco::after {
  content: "16:9 · vídeo original";
  position: absolute; left: .7rem; bottom: .6rem;
  font-size: .68rem; letter-spacing: .05em; color: rgba(255, 255, 255, .5);
}
.cf-lp .lp-pista {
  display: flex; gap: 3px; height: 26px; margin-top: .55rem;
  border-radius: 6px; overflow: hidden; background: #0e0e13;
}
.cf-lp .lp-pista i { flex: 1; background: rgba(255, 255, 255, .07); }
.cf-lp .lp-pista i.act { background: var(--lp-accent); }
.cf-lp .lp-pista i.act2 { background: rgba(255, 77, 28, .45); }

.cf-lp .lp-clips {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .75rem; width: 86%; margin: 0 auto;
}
.cf-lp .lp-clip {
  aspect-ratio: 9 / 16; border-radius: 11px; position: relative; overflow: hidden;
  border: 1px solid var(--lp-line);
  background:
    radial-gradient(120% 90% at 50% 25%, #3a3350 0%, transparent 62%),
    #16161c;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: .6rem;
}
.cf-lp .lp-clip:nth-child(2) {
  background: radial-gradient(120% 90% at 50% 25%, #1f4450 0%, transparent 62%), #16161c;
  transform: translateY(-10px);
}
.cf-lp .lp-clip:nth-child(3) {
  background: radial-gradient(120% 90% at 50% 25%, #4a3326 0%, transparent 62%), #16161c;
}
.cf-lp .lp-clip b {
  position: absolute; top: .5rem; left: .5rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em;
  padding: .18rem .42rem; border-radius: 5px;
  background: rgba(0, 0, 0, .55); color: var(--lp-mint);
  border: 1px solid rgba(110, 231, 183, .3);
}
.cf-lp .lp-sub-linea {
  height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .22);
  margin-bottom: 4px;
}
.cf-lp .lp-sub-linea.on { background: var(--lp-accent); width: 58%; }
.cf-lp .lp-sub-linea.w1 { width: 86%; }
.cf-lp .lp-sub-linea.w2 { width: 68%; }

/* ------------------------------ pasos ----------------------------- */

.cf-lp .lp-pasos { display: grid; gap: 0; margin-top: 1rem; }
.cf-lp .lp-paso {
  display: grid; grid-template-columns: 4.2rem 1fr;
  gap: 1.4rem; padding: 2rem 0;
  border-top: 1px solid var(--lp-line);
}
.cf-lp .lp-paso:last-child { border-bottom: 1px solid var(--lp-line); }
.cf-lp .lp-paso-n {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.1rem; font-weight: 600; color: var(--lp-dim-2);
  line-height: 1;
}
.cf-lp .lp-paso h3 { font-size: 1.32rem; margin: 0 0 .5rem; }
.cf-lp .lp-paso p { color: var(--lp-dim); margin: 0; max-width: 62ch; line-height: 1.68; }

/* ------------------------------ tarjetas -------------------------- */

.cf-lp .lp-rejilla {
  display: grid; gap: 1rem;
  /* 300px fuerza 3 columnas en escritorio: seis tarjetas quedan 3+3
     en vez de 4+2, que dejaba un hueco a la derecha. */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cf-lp .lp-tarjeta {
  background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: var(--lp-radio); padding: 1.6rem;
  transition: border-color .18s, background .18s;
}
.cf-lp .lp-tarjeta:hover { border-color: var(--lp-line-2); background: var(--lp-card-2); }
.cf-lp .lp-tarjeta h3 { font-size: 1.14rem; margin: 0 0 .55rem; }
.cf-lp .lp-tarjeta p { color: var(--lp-dim); margin: 0; font-size: .97rem; line-height: 1.65; }
.cf-lp .lp-icono {
  min-width: 38px; width: max-content; padding: 0 .55rem;
  height: 38px; border-radius: 10px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: var(--lp-soft); border: 1px solid rgba(255, 77, 28, .25);
  color: var(--lp-accent); font-size: 1.02rem; font-weight: 700;
  letter-spacing: -.01em;
}

/* ------------------------------ subtítulos ------------------------ */

.cf-lp .lp-dos {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.cf-lp .lp-telefono {
  width: min(290px, 100%); margin: 0 auto;
  aspect-ratio: 9 / 16; border-radius: 26px;
  border: 1px solid var(--lp-line-2);
  background:
    radial-gradient(110% 70% at 50% 18%, #2f3a4d 0%, transparent 60%),
    #131319;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -45px #000;
  display: flex; align-items: flex-end; padding: 1.5rem 1.1rem 2.4rem;
}
.cf-lp .lp-tel-cuerpo { width: 100%; }
.cf-lp .lp-chip {
  position: absolute; top: .9rem; right: .9rem;
  font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em;
  padding: .22rem .5rem; border-radius: 6px;
  background: rgba(0, 0, 0, .5); color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .16);
}
.cf-lp .lp-progreso {
  height: 3px; border-radius: 2px; margin-top: 1.1rem;
  background: rgba(255, 255, 255, .16);
}
.cf-lp .lp-progreso u { display: block; height: 100%; width: 42%; border-radius: 2px; background: var(--lp-accent); }
.cf-lp .lp-caption { width: 100%; text-align: center; }
.cf-lp .lp-caption span {
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 1.32rem; line-height: 1.28;
  margin: 0 .16rem .18rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}
.cf-lp .lp-caption span.hl { color: var(--lp-accent); }

/* ------------------------------ redes ----------------------------- */

.cf-lp .lp-redes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
}
.cf-lp .lp-red {
  border: 1px solid var(--lp-line); border-radius: var(--lp-radio);
  padding: 1.35rem; background: var(--lp-card);
}
.cf-lp .lp-red strong { display: block; font-size: 1.05rem; margin-bottom: .35rem; }
.cf-lp .lp-red span { color: var(--lp-dim); font-size: .92rem; }

/* ------------------------------ precios --------------------------- */

.cf-lp .lp-planes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem;
}
.cf-lp .lp-plan {
  border: 1px solid var(--lp-line); border-radius: var(--lp-radio);
  background: var(--lp-card); padding: 1.7rem 1.5rem;
  display: flex; flex-direction: column;
}
.cf-lp .lp-plan.destacado {
  border-color: rgba(255, 77, 28, .55);
  background: linear-gradient(180deg, var(--lp-soft), transparent 42%), var(--lp-card);
  position: relative;
}
.cf-lp .lp-plan.destacado::after {
  content: "Recomendado";
  position: absolute; top: -.72rem; left: 1.5rem;
  background: var(--lp-accent); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em;
  padding: .24rem .6rem; border-radius: 999px;
}
.cf-lp .lp-plan h3 { font-size: 1.02rem; margin: 0 0 .7rem; color: var(--lp-dim); font-weight: 600; }
.cf-lp .lp-precio {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.3rem; font-weight: 600; line-height: 1; margin-bottom: .2rem;
}
.cf-lp .lp-precio small { font-size: .95rem; font-weight: 400; color: var(--lp-dim); }
.cf-lp .lp-plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; flex: 1; }
.cf-lp .lp-plan li {
  color: var(--lp-dim); font-size: .94rem; padding-left: 1.35rem;
  position: relative; margin-bottom: .55rem; line-height: 1.5;
}
.cf-lp .lp-plan li::before {
  content: ""; position: absolute; left: 0; top: .48rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--lp-mint);
}
.cf-lp .lp-plan li.no { color: var(--lp-dim-2); }
.cf-lp .lp-plan li.no::before { background: var(--lp-dim-2); opacity: .5; }
.cf-lp .lp-plan .lp-btn { width: 100%; font-size: .95rem; padding: .78rem 1rem; }

/* ------------------------------ preguntas ------------------------- */

.cf-lp .lp-faq {
  border-bottom: 1px solid var(--lp-line); padding: 1.25rem 0;
}
.cf-lp .lp-faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.cf-lp .lp-faq summary::-webkit-details-marker { display: none; }
.cf-lp .lp-faq summary::after { content: "+"; color: var(--lp-accent); font-size: 1.4rem; line-height: 1; }
.cf-lp .lp-faq[open] summary::after { content: "–"; }
.cf-lp .lp-faq p { color: var(--lp-dim); margin: .9rem 0 0; max-width: 66ch; line-height: 1.68; }

/* ------------------------------ cierre ---------------------------- */

.cf-lp .lp-cierre { text-align: center; position: relative; overflow: hidden; }
.cf-lp .lp-cierre::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 420px;
  background: radial-gradient(closest-side, rgba(255, 77, 28, .2), transparent 70%);
  pointer-events: none;
}
.cf-lp .lp-cierre .lp-in { position: relative; }
.cf-lp .lp-cierre h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cf-lp .lp-cierre .lp-sub { margin-left: auto; margin-right: auto; }
.cf-lp .lp-cierre .lp-acciones { justify-content: center; }

/* El logo con sus colores reales */
.cf-lp-body .cf-pub-logo img,
.cf-lp-body .cf-pub-foot img { filter: none; }

/* ------------------------------ separador ------------------------- */

.cf-lp .lp-alt { background: var(--lp-bg-2); }

/* ------------------------------ responsive ------------------------ */

@media (max-width: 900px) {
  .cf-lp .lp-hero-in,
  .cf-lp .lp-dos { grid-template-columns: 1fr; }
  .cf-lp .lp-visual { order: 2; }
  .cf-lp .lp-clip:nth-child(2) { transform: none; }
}

@media (max-width: 620px) {
  /* En móvil la cabecera ocupa dos filas; fija se comería media
     pantalla, así que se deja correr con el scroll. */
  .cf-lp-body .cf-pub-head { position: static; flex-wrap: wrap; gap: .6rem; padding: .75rem 1rem; }
  .cf-lp-body .cf-pub-nav { gap: .9rem; width: 100%; }
  .cf-lp-body .cf-pub-nav a:not(.cf-btn) { font-size: .88rem; }
  .cf-lp .lp-paso { grid-template-columns: 1fr; gap: .4rem; }
  .cf-lp .lp-paso-n { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-lp *, .cf-lp-body * { transition: none !important; animation: none !important; }
}
