/* La Potente — 1 + 1 = 3
   Todo va bajo .lp131 para no chocar con el tema.
   Las bandas de color llegan de borde a borde sin salirse del contenedor del tema
   (box-shadow + clip-path), así no aparece scroll horizontal. */

.lp131 {
  --lp131-tinta: #1B2A4A;
  --lp131-tinta-2: #121D35;
  --lp131-borde: #3A4C70;
  --lp131-papel: #F6F1E7;
  --lp131-arena: #EDE5D4;
  --lp131-ambar: #F2B134;
  --lp131-terra: #B8462F;
  --lp131-gris: #4A5468;
  --lp131-claro: #E4E9F2;
  --lp131-claro-2: #C9D2E3;
  --lp131-linea: #C9C0AE;
  --lp131-error: #A3301C;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  color: var(--lp131-tinta);
  line-height: 1.5;
}
.lp131 *, .lp131 *::before, .lp131 *::after { box-sizing: border-box; }
.lp131 h1, .lp131 h2, .lp131 h3, .lp131 p { margin: 0; }
.lp131 h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.05; margin-top: 10px; color: inherit; }
.lp131 h3 { font-size: 21px; font-weight: 800; line-height: 1.15; color: inherit; }
.lp131 a { color: inherit; }
.lp131 :focus-visible { outline: 3px solid var(--lp131-ambar); outline-offset: 2px; }

/* Bandas */
.lp131-banda { padding: 80px 0; clip-path: inset(0 -100vmax); }
.lp131-banda--tinta { background: var(--lp131-tinta); box-shadow: 0 0 0 100vmax var(--lp131-tinta); color: var(--lp131-papel); }
.lp131-banda--papel { background: var(--lp131-papel); box-shadow: 0 0 0 100vmax var(--lp131-papel); color: var(--lp131-tinta); }
.lp131-banda--arena { background: var(--lp131-arena); box-shadow: 0 0 0 100vmax var(--lp131-arena); color: var(--lp131-tinta); }
.lp131-banda--oscura { background: var(--lp131-tinta-2); box-shadow: 0 0 0 100vmax var(--lp131-tinta-2); color: var(--lp131-claro-2); }

/* Textos especiales */
.lp131-ante { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp131-terra); }
.lp131-ante--ambar { color: var(--lp131-ambar); }
.lp131-nota { font-style: italic; font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--lp131-ambar); }
.lp131-nota--terra { color: var(--lp131-terra); }
.lp131-nota--grande { font-size: 26px; margin-top: 24px !important; }
.lp131-logo { font-weight: 800; letter-spacing: -.03em; line-height: .95; white-space: nowrap; color: inherit; }
.lp131-logo span { color: var(--lp131-ambar); }
.lp131-grande { margin-top: 18px !important; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; max-width: 780px; color: var(--lp131-gris); }

/* Botones */
.lp131-boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; }
.lp131 .lp131-boton--ambar { background: var(--lp131-ambar); color: var(--lp131-tinta); }
.lp131 .lp131-boton--ambar:hover { background: #F5C05A; color: var(--lp131-tinta); }
.lp131 .lp131-boton--tinta { background: var(--lp131-tinta); color: var(--lp131-papel); }
.lp131 .lp131-boton--tinta:hover { background: #26395F; }
.lp131-boton[disabled] { opacity: .6; cursor: progress; }
.lp131-enlace { background: none; border: 0; padding: 12px 0; font: inherit; font-weight: 700; color: var(--lp131-tinta); text-decoration: underline; cursor: pointer; min-height: 44px; }
.lp131 .lp131-enlace-claro { color: var(--lp131-papel); font-weight: 600; padding: 14px 8px; }
.lp131 .lp131-enlace-claro:hover { color: var(--lp131-ambar); }

/* Hero */
.lp131-hero { padding: 64px 0 80px; }
.lp131-hero__fila { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; }
.lp131-hero__texto { flex: 999 1 540px; min-width: 0; }
.lp131-hero .lp131-logo { font-size: clamp(72px, 14vw, 180px); margin-top: 14px; }
.lp131-hero .lp131-nota { margin-top: 10px; }
.lp131-hero__bajada { margin-top: 24px !important; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; max-width: 620px; color: var(--lp131-claro); }
.lp131-acciones { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.lp131-datos { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lp131-datos li { border: 2px solid var(--lp131-borde); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; margin: 0; }
.lp131-datos strong { font-size: 19px; font-weight: 800; }
.lp131-datos .lp131-datos__num { font-size: 44px; line-height: 1; }
.lp131-datos span { font-size: 15px; color: var(--lp131-claro-2); }

/* Ecuación */
.lp131-ecuacion { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.lp131-tarjeta { flex: 1 1 240px; background: #fff; border: 2px solid var(--lp131-tinta); border-radius: 24px; padding: 28px; }
.lp131-tarjeta--ambar { background: var(--lp131-ambar); }
.lp131-tarjeta__num { display: block; font-size: 60px; font-weight: 800; line-height: 1; }
.lp131-tarjeta h3 { margin-top: 14px; }
.lp131-tarjeta p { margin-top: 8px !important; font-size: 16px; color: var(--lp131-gris); }
.lp131-tarjeta--ambar p { color: var(--lp131-tinta); }
.lp131-signo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 52px; font-weight: 800; padding: 0 6px; }
@media (max-width: 820px) { .lp131-signo { flex-basis: 100%; font-size: 40px; line-height: 1; } }

/* Pasos */
.lp131-pasos { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.lp131-pasos li { background: var(--lp131-papel); border-radius: 22px; padding: 24px; margin: 0; }
.lp131-pasos h3 { margin-top: 4px; }
.lp131-pasos p { margin-top: 8px !important; color: var(--lp131-gris); }
.lp131-dos { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; }
.lp131-dos > div { flex: 1 1 340px; min-width: 0; }
.lp131-dos p { margin-top: 10px !important; font-size: 17px; color: var(--lp131-gris); }

/* Inscripción */
.lp131-inscripcion { display: flex; flex-wrap: wrap; gap: 40px; }
.lp131-inscripcion__intro { flex: 1 1 280px; min-width: 0; }
.lp131-inscripcion__intro > p:not(.lp131-ante):not(.lp131-nota) { margin-top: 16px; font-size: 17px; color: var(--lp131-gris); }
.lp131-caja { flex: 999 1 540px; min-width: 0; background: #fff; color: var(--lp131-tinta); border: 2px solid var(--lp131-tinta); border-radius: 26px; padding: clamp(20px, 4vw, 34px); }
.lp131-form { display: flex; flex-direction: column; gap: 20px; }
.lp131-rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.lp131-campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.lp131-campo > label, .lp131-campo legend { font-size: 15px; font-weight: 700; padding: 0; color: var(--lp131-tinta); }
.lp131-campo legend { margin-bottom: 10px; }
.lp131-req { color: var(--lp131-terra); }
.lp131 input[type="text"], .lp131 input[type="tel"], .lp131 input[type="email"], .lp131 select, .lp131 textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px;
  border: 2px solid var(--lp131-linea); border-radius: 14px; background: #fff; color: var(--lp131-tinta); box-shadow: none;
}
.lp131 textarea { resize: vertical; line-height: 1.5; min-height: 130px; }
.lp131 input:focus, .lp131 select:focus, .lp131 textarea:focus { border-color: var(--lp131-tinta); outline: 3px solid var(--lp131-ambar); outline-offset: 1px; }
.lp131-campo.lp131-con-error input, .lp131-campo.lp131-con-error textarea { border-color: var(--lp131-error); }
.lp131-error { color: var(--lp131-error); font-size: 14px; font-weight: 600; }
.lp131-error:empty { display: none; }
.lp131-contador { font-size: 13px; color: var(--lp131-gris); text-align: right; }
.lp131-opciones { display: flex; flex-wrap: wrap; gap: 12px; }
.lp131-pastilla { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 2px solid var(--lp131-linea); border-radius: 999px; font-size: 16px; cursor: pointer; }
.lp131-pastilla:has(input:checked) { border-color: var(--lp131-tinta); background: var(--lp131-papel); font-weight: 700; }
.lp131-pastilla input, .lp131-consentimiento input { width: 20px; height: 20px; accent-color: var(--lp131-tinta); margin: 0; }
.lp131-consentimiento { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400 !important; color: var(--lp131-gris) !important; cursor: pointer; }
.lp131-consentimiento input { flex: 0 0 auto; margin-top: 2px; }
.lp131-trampa { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp131-alerta { background: #FBE9E5; color: var(--lp131-error); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.lp131-form .lp131-boton--tinta { align-self: flex-start; }
.lp131-gracias { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 12px 0; }
.lp131-gracias:focus { outline: none; }
.lp131-gracias h3 { font-size: 26px; }
.lp131-gracias p { font-size: 17px; color: var(--lp131-gris); }
.lp131-logo--chico { font-size: 60px; }
.lp131-logo--chico span { color: var(--lp131-terra); }
.lp131 [hidden] { display: none !important; }

/* Dedicatoria */
.lp131-memoria { max-width: 1000px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.lp131-memoria__texto { flex: 1 1 360px; min-width: 0; }
.lp131-memoria__foto { flex: 0 0 240px; margin: 0; }
.lp131-memoria__foto img { width: 240px; height: 300px; object-fit: cover; border-radius: 24px; }
.lp131-foto-pendiente { width: 240px; height: 300px; border: 2px dashed #5A6C90; border-radius: 24px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--lp131-claro-2); font-size: 15px; }
.lp131-dedicatoria { margin-top: 16px; }
.lp131-dedicatoria p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--lp131-claro); }
.lp131-dedicatoria p:first-child { margin-top: 0; }

.lp131-apoyo { padding: 22px 0; font-size: 14px; text-align: center; }

@media (max-width: 640px) {
  .lp131-banda { padding: 56px 0; }
  .lp131-memoria__foto { flex-basis: 100%; }
}

/* Tarjeta de portada (junto a Bandera en la Piedra) */
.b-1mas1 { border-color: #1B2A4A; }
.lp131-mini-logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; margin-bottom: 4px; }
.lp131-mini-logo b { color: #C98A0C; }
/* Con la tarjeta nueva, la fila 2 de la portada reparte el espacio entre todas */
@media (min-width: 1081px) {
  .fila-2:has(.b-1mas1) { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
