/*
 * Landing R7 (encabezado, historia de producto, preguntas y pie).
 * Mobile first: lo base es para 375px. Todo vive bajo el prefijo `lp-` para no chocar
 * con los estilos del formulario (main.css, card-editor.css), que siguen intactos.
 */

:root {
  --lp-bg: #fff;
  --lp-paper: #f5f5f7;
  --lp-ink: #1d1d1f;
  --lp-ink-2: #424245;
  --lp-muted: #6e6e73;
  --lp-line: #d2d2d7;
  --lp-hair: rgba(0, 0, 0, .08);
  --lp-night: #000;
  --lp-night-muted: #86868b;
  /* Marca vigente: tinta para enlaces y etiquetas; Azul Proximitty solo como acento, foco y progreso. */
  --lp-signal: #0071e3;
  --lp-signal-ink: #1d1d1f;
  --lp-focus: #0071e3;
  --lp-ok: #1f7a4a;
  --lp-gutter: 20px;
  --lp-max: 1040px;
  --lp-ease: cubic-bezier(.22, .8, .24, 1);
  --lp-font: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; margin: 0; }
button, input, select, textarea { font: inherit; }

/* El encabezado fijo mide 52px: los anclas no quedan debajo de él. */
html { scroll-padding-top: 56px; background-color: var(--lp-paper); }

/* La landing ocupa todo el ancho; el margen que main.css daba al body pasa al formulario.
   El body es gris como el pie porque Safari en iOS usa su color bajo la barra flotante. */
/* main.css pone overflow-x: hidden en html y body; en el body eso lo vuelve contenedor de scroll
   y el encabezado sticky deja de quedarse fijo. `clip` recorta igual sin crear ese contenedor. */
body.lp-page { padding: 0; background: var(--lp-paper); overflow-x: clip; }
body.lp-page .shell { max-width: 1256px; padding: 32px 18px 72px; }
body.lp-is-locked { overflow: hidden; }

.lp {
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* :where() deja estos estilos base sin peso: cualquier clase de componente los sobrescribe. */
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) button { font: inherit; color: inherit; cursor: pointer; }
:where(.lp) img { display: block; max-width: 100%; }
:where(.lp) :where(h1, h2, h3, p, dl, dd) { margin: 0; }
/* El foco sí debe ganarle al azul global de main.css (a:focus-visible). */
.lp :focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 3px; border-radius: 6px; }
.lp-wrap { width: min(100% - var(--lp-gutter) * 2, var(--lp-max)); margin-inline: auto; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp-faq details p a { color: var(--lp-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ── Tipografía ── */
.lp-headline {
  max-width: none;
  color: inherit;
  font-family: var(--lp-font);
  font-size: clamp(34px, 9.6vw, 72px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.lp-title {
  font-size: clamp(30px, 8.2vw, 56px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lp-lede {
  margin-top: 16px;
  max-width: 34em;
  color: var(--lp-muted);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}
.lp-lede strong { color: var(--lp-ink); font-weight: 600; }
:where(.lp) sup { font-size: .62em; line-height: 0; vertical-align: .7em; }
:where(.lp) sup a { color: inherit; padding: 0 1px; }

/* ── Acciones ── */
.lp-btn {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background .2s, transform .2s var(--lp-ease);
}
.lp-btn:hover { background: #000; }
.lp-btn:active { transform: scale(.98); }
.lp-btn--small { min-height: 32px; padding: 0 14px; font-size: 13px; }
.lp-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lp-signal-ink);
  font-size: 16px;
  font-weight: 500;
}
.lp-link::after { content: "›"; margin-left: 5px; font-size: 1.2em; line-height: 1; transition: transform .2s var(--lp-ease); }
.lp-link:hover::after { transform: translateX(3px); }
.lp-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.lp-actions--center { justify-content: center; }

/* ── Encabezado ── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Mismo gris que Safari usa sobre la barra de estado: se leen como una sola pieza. */
  background: rgba(245, 245, 247, .86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--lp-hair);
}
.lp-header { transition: background-color .3s, border-color .3s; }
.lp-header__bar { height: 52px; display: flex; align-items: center; gap: 12px; }
.lp-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; min-height: 44px; }
.lp-brand img { width: 92px; }
.lp-brand span { padding-left: 9px; border-left: 1px solid var(--lp-line); font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.lp-header__nav { display: none; }
.lp-lang.lp-lang--header { display: none; }
/* visibility (no solo opacity) para que el botón oculto no reciba foco ni lo anuncien los lectores. */
.lp-header__cta {
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--lp-ease), visibility 0s .25s;
}
.lp-header.lp-has-cta .lp-header__cta {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .25s, transform .25s var(--lp-ease), visibility 0s;
}
.lp-menu-toggle {
  width: 44px; height: 44px; margin-right: -12px;
  border: 0; background: none; display: grid; place-items: center;
}
.lp-menu-toggle span, .lp-menu-toggle span::before, .lp-menu-toggle span::after {
  content: ""; display: block; width: 17px; height: 1.5px; background: var(--lp-ink); border-radius: 1px;
  transition: transform .25s var(--lp-ease), background .2s;
}
.lp-menu-toggle span { position: relative; }
.lp-menu-toggle span::before { position: absolute; top: -4px; }
.lp-menu-toggle span::after { position: absolute; top: 4px; }
.lp-menu-toggle[aria-expanded="true"] span { background: transparent; }
.lp-menu-toggle[aria-expanded="true"] span::before { transform: translateY(4px) rotate(45deg); }
.lp-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-4px) rotate(-45deg); }

/* Sobre una escena negra la barra pasa a oscuro, como en Apple. Con el menú abierto vuelve a claro. */
body:not(.lp-is-locked) .lp-header.lp-is-dark { background: rgba(22, 22, 23, .82); border-bottom-color: rgba(255, 255, 255, .1); }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-brand img { filter: invert(1); }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-brand span { color: #f5f5f7; border-left-color: rgba(255, 255, 255, .24); }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-menu-toggle span::before,
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-menu-toggle span::after,
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-menu-toggle span { background: #f5f5f7; }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-header__cta { background: #f5f5f7; color: var(--lp-ink); }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-header__nav a { color: #d2d2d7; }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-lang--header { background: rgba(255, 255, 255, .08); }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-lang--header button { color: #a1a1a6; }
body:not(.lp-is-locked) .lp-header.lp-is-dark .lp-lang--header button[aria-pressed="true"] { color: #f5f5f7; background: rgba(255, 255, 255, .12); }

.lp-menu {
  position: fixed; inset: 52px 0 0; z-index: 49;
  padding: 12px var(--lp-gutter) calc(32px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.lp-menu.lp-is-open { opacity: 1; visibility: visible; }
.lp-menu a {
  display: block; padding: 10px 0;
  font-size: 28px; font-weight: 600; letter-spacing: -.03em;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s, transform .3s var(--lp-ease);
}
.lp-menu.lp-is-open a { opacity: 1; transform: none; }
.lp-menu.lp-is-open a:nth-child(2) { transition-delay: .03s; }
.lp-menu.lp-is-open a:nth-child(3) { transition-delay: .06s; }
.lp-menu.lp-is-open a:nth-child(4) { transition-delay: .09s; }
.lp-menu.lp-is-open a:nth-child(5) { transition-delay: .12s; }
.lp-menu .lp-menu__secondary { margin-top: 18px; font-size: 17px; font-weight: 500; color: var(--lp-muted); }
.lp-menu__footer {
  position: absolute; left: var(--lp-gutter); right: var(--lp-gutter); bottom: calc(24px + env(safe-area-inset-bottom));
  padding-top: 16px; border-top: 1px solid var(--lp-line);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--lp-muted); font-size: 13px;
}

/* ── Escenas ── */
.lp-scene { padding: 88px 0; overflow: hidden; background: var(--lp-bg); }
.lp-hero, .lp-closing { background: var(--lp-bg); }
.lp-scene--paper { background: var(--lp-paper); }
.lp-scene--night { background: var(--lp-night); color: #f5f5f7; }
.lp-scene--night .lp-lede { color: var(--lp-night-muted); }
.lp-scene--night .lp-lede strong { color: #f5f5f7; }
.lp-scene--night .lp-link { color: #f5f5f7; }
.lp-center { text-align: center; }
.lp-center .lp-lede { margin-inline: auto; }
.lp-center .lp-actions { justify-content: center; }
.lp-center-mobile > .lp-wrap > :first-child { text-align: center; }
.lp-center-mobile > .lp-wrap > :first-child .lp-lede { margin-inline: auto; }

/* ── Hero ── */
.lp-hero { padding: 44px 0 0; }
.lp-hero .lp-lede { font-size: 18px; }
.lp-hero__facts {
  margin-top: 14px;
  color: var(--lp-muted);
  font-size: 13px;
  letter-spacing: .01em;
}
.lp-hero__facts span { white-space: nowrap; }
.lp-hero__stage { position: relative; margin-top: 44px; height: 580px; overflow: hidden; }

/* ── Collage de tarjetas sueltas ──
   Cada tarjeta se coloca desde el centro del escenario: --x a la derecha, --y desde arriba,
   --w de ancho y --r de giro. Las que sobresalen quedan recortadas por el escenario. */
.lp-deck__card {
  position: absolute; z-index: var(--z); left: calc(50% + var(--x)); top: var(--y);
  width: var(--w); height: auto;
  transform: translateX(-50%) rotate(var(--r));
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .22));
}
.lp-deck__card--grafito { --x: 0px; --y: 60px; --w: 180px; --r: 0deg; --z: 6; }
.lp-deck__card--rojo { --x: -120px; --y: -30px; --w: 130px; --r: -12deg; --z: 3; }
.lp-deck__card--oro { --x: 120px; --y: -60px; --w: 130px; --r: 12deg; --z: 3; }
.lp-deck__card--arena { --x: -135px; --y: 210px; --w: 130px; --r: -8deg; --z: 4; }
.lp-deck__card--lavanda { --x: 135px; --y: 180px; --w: 130px; --r: 8deg; --z: 4; }
.lp-deck__card--verde-bosque { --x: -110px; --y: 440px; --w: 130px; --r: 9deg; --z: 5; }
.lp-deck__card--oceano { --x: 110px; --y: 430px; --w: 130px; --r: -8deg; --z: 5; }
.lp-deck__card--noche { --x: 0px; --y: 425px; --w: 150px; --r: -3deg; --z: 7; }

/* ── Galería para compartir ── */
.lp-gallery {
  margin-top: 40px;
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--lp-gutter);
  padding: 0 var(--lp-gutter) 4px;
  scrollbar-width: none;
}
.lp-gallery::-webkit-scrollbar { display: none; }
.lp-tile {
  flex: 0 0 82%;
  scroll-snap-align: start;
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-align: left;
}
.lp-tile__text { padding: 26px 24px 0; }
.lp-tile__label { color: var(--lp-muted); font-size: 13px; font-weight: 600; }
.lp-tile__text h3 { margin-top: 6px; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.lp-tile__visual { flex: 1; display: grid; place-items: center; padding: 24px 24px 28px; }
.lp-dots { margin-top: 22px; display: flex; justify-content: center; gap: 2px; }
.lp-dots button { width: 28px; height: 28px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.lp-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c7c7cc; transition: background .2s, width .25s var(--lp-ease); }
.lp-dots button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--lp-ink); }

/* Chat */
.lp-chat { width: 100%; max-width: 270px; display: grid; gap: 6px; }
.lp-bubble {
  justify-self: end; max-width: 92%;
  padding: 7px 7px 6px; border-radius: 16px 16px 4px 16px;
  background: #e7fbd8; font-size: 13px; line-height: 1.35;
}
.lp-bubble__preview { border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, .05); }
.lp-bubble__og { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.lp-bubble__meta { padding: 7px 9px 8px; }
.lp-bubble__meta b { display: block; font-size: 12.5px; font-weight: 600; }
.lp-bubble__meta span { display: block; color: var(--lp-ink-2); font-size: 11.5px; }
.lp-bubble__meta small { display: block; margin-top: 2px; color: var(--lp-muted); font-size: 11px; }
.lp-bubble p { padding: 6px 4px 0; }
.lp-bubble p a { color: #1f6fb5; }
.lp-bubble time { display: block; text-align: right; color: #8e8e93; font-size: 10.5px; padding: 0 4px; }
.lp-bubble--in { justify-self: start; border-radius: 16px 16px 16px 4px; background: var(--lp-paper); padding: 8px 12px; }


/* Capturas reales del iPhone con datos de demostración. El pase es transparente en las esquinas: la sombra sigue su forma. */
.lp-shot { display: block; width: 100%; height: auto; }
.lp-shot--pass { max-width: 236px; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .3)); }
.lp-shot--form {
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--lp-hair), 0 30px 60px -30px rgba(0, 0, 0, .3);
}
.lp-shot--agenda { max-width: 340px; margin: 48px auto 0; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* ── Intercambio ── */
.lp-exchange { margin-top: 48px; display: grid; gap: 14px; max-width: 300px; margin-inline: auto; }
.lp-arrive {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 20px;
  background: #fff; box-shadow: 0 0 0 1px var(--lp-hair), 0 18px 40px -24px rgba(0, 0, 0, .3);
  text-align: left;
}
.lp-arrive__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-signal); flex: none; }
.lp-arrive b { display: block; font-size: 14px; font-weight: 600; }
.lp-arrive span { display: block; color: var(--lp-muted); font-size: 12.5px; }
.lp-arrive time { margin-left: auto; align-self: start; color: #8e8e93; font-size: 12px; }

/* ── Ficha ── */
.lp-spec { margin-top: 40px; border-top: 1px solid var(--lp-line); }
.lp-spec__row { padding: 18px 0; border-bottom: 1px solid var(--lp-line); display: grid; gap: 4px; }
.lp-spec dt { font-size: 15px; font-weight: 600; }
.lp-spec dd { color: var(--lp-muted); font-size: 15px; line-height: 1.45; }

/* ── Recuadro "Con la tarjeta física": la tarjeta NFC junto a un teléfono con la tarjeta real ── */
.lp-tap { position: relative; width: 230px; height: 250px; }
.lp-tap__phone {
  position: absolute; right: 8px; top: 0;
  width: 132px; height: 250px; padding: 6px; border-radius: 26px;
  background: #1d1d1f; overflow: hidden;
  box-shadow: inset 0 0 0 1px #3a3a3c, 0 20px 40px -20px rgba(0, 0, 0, .35);
}
.lp-tap__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.lp-tap__waves {
  position: absolute; left: 76px; top: 118px; width: 26px; height: 26px;
  color: var(--lp-signal); transform: rotate(-35deg);
  animation: tap-pulse 1.8s ease-in-out infinite;
}
@keyframes tap-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.lp-nfc-card {
  position: absolute; left: 0; bottom: 8px; z-index: 1;
  width: 150px; aspect-ratio: 1.586; border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%),
    #18181a;
  color: #f5f5f7;
  transform: rotate(-12deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 18px 30px -14px rgba(0, 0, 0, .5);
}
.lp-nfc-card img { position: absolute; left: 12px; top: 12px; width: 52px; filter: invert(1); opacity: .9; }
.lp-nfc-card svg { position: absolute; right: 10px; top: 10px; width: 12px; height: 12px; color: #8e8e93; }
.lp-nfc-card span { position: absolute; left: 12px; bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: -.02em; }
.lp-nfc-card i { position: absolute; right: 0; top: 22%; bottom: 22%; width: 2px; border-radius: 2px 0 0 2px; background: var(--lp-signal); }

/* ── Preguntas ── */
.lp-faq { margin-top: 32px; border-top: 1px solid var(--lp-line); }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
  min-height: 60px; padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border-right: 1.5px solid var(--lp-muted); border-bottom: 1.5px solid var(--lp-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--lp-ease);
}
.lp-faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lp-faq details p { padding: 0 28px 20px 0; color: var(--lp-muted); font-size: 16px; }

/* ── Cierre ── */
.lp-closing { padding: 104px 0 112px; }

/* ── Pie ── */
.lp-footer { padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--lp-paper); color: var(--lp-muted); font-size: 12px; line-height: 1.5; }
.lp-footnotes { padding-bottom: 18px; border-bottom: 1px solid var(--lp-line); display: grid; gap: 8px; padding-left: 0; margin: 0; list-style: none; }
.lp-footer__top { padding: 18px 0; display: grid; gap: 14px; }
.lp-footer-brand a { display: inline-flex; min-height: 32px; align-items: center; }
.lp-footer-brand img { width: 96px; height: auto; opacity: .75; transition: opacity .2s; }
.lp-footer-brand a:hover img { opacity: 1; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-footer__links a { color: var(--lp-ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.lp-footer__links a:hover { text-decoration: underline; }
.lp-footer__base { padding-top: 16px; border-top: 1px solid var(--lp-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lp-lang { display: inline-flex; gap: 4px; }
.lp-lang button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--lp-muted); font-size: 12px; }
.lp-lang button[aria-pressed="true"] { color: var(--lp-ink); font-weight: 600; background: rgba(0, 0, 0, .05); }
.lp-lang--header { flex: none; padding: 2px; border-radius: 9px; background: rgba(0, 0, 0, .04); }
.lp-lang--header button { min-height: 28px; padding: 0 7px; font-size: 10px; }
.lp-lang--menu button { min-height: 36px; padding: 0 12px; font-size: 12px; }

/* ── Constructor /crear ── */
body.lp-create-page { background: var(--lp-paper); }
.lp-create-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--lp-hair);
  background: rgba(245, 245, 247, .9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.lp-create-header__bar { min-height: 56px; display: flex; align-items: center; gap: 10px; }
.lp-create-header .lp-brand img { width: 78px; }
.lp-create-header .lp-brand span { font-size: 14px; }
.lp-create-header__login {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--lp-muted);
  font-size: 13px;
  font-weight: 500;
}
.lp-lang--create { flex: none; padding: 2px; border-radius: 9px; background: rgba(0, 0, 0, .04); }
.lp-lang--create button { min-height: 30px; padding: 0 7px; font-size: 10px; }
.lp-create-intro { padding: 32px 0 0; text-align: center; background: var(--lp-paper); }
.lp-create-intro .lp-wrap { max-width: 820px; }
.lp-create-intro__eyebrow {
  margin: 0;
  color: var(--lp-signal-ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.lp-create-page .shell { padding-top: 18px; }

@media (max-width: 374px) {
  .lp-create-header__bar { width: calc(100% - 24px); gap: 6px; }
  .lp-create-header .lp-brand { gap: 6px; }
  .lp-create-header .lp-brand img { width: 68px; }
  .lp-create-header .lp-brand span { padding-left: 6px; font-size: 13px; }
  .lp-create-header__login { font-size: 12px; }
}

/* ── Convivencia con el formulario ──
   Mientras se edita la tarjeta en móvil, la vista previa queda fija arriba: el encabezado se oculta
   sin perder su alto, para que la página no salte al abrir o cerrar el editor.
   En escritorio la vista previa es sticky y baja lo que mide el encabezado. */
body.ce-editing .lp-header,
body.ce-editing .lp-create-header,
body.ce-editing .lp-menu { visibility: hidden; pointer-events: none; }
body.lp-page:not(.ce-editing) .preview-card-wrap { top: 76px; }
body.lp-page.ce-wide .preview-card-wrap { max-height: calc(100vh - 100px); }

/* ── Entradas al hacer scroll ── */
.lp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--lp-ease), transform .9s var(--lp-ease); }
.lp-reveal.lp-is-visible { opacity: 1; transform: none; }

/* ── Pantallas pequeñas (320px) ── */
@media (max-width: 359px) {
  :root { --lp-gutter: 16px; }
  /* El CTA del encabezado ya dice Dicard; se oculta la etiqueta para que quepa. */
  .lp-header.lp-has-cta .lp-brand span { display: none; }
}

@media (max-width: 720px) {
  body.lp-page .shell { max-width: none; padding: 16px 14px 54px; }
}

/* ── Escritorio ── */
@media (min-width: 834px) {
  :root { --lp-gutter: 40px; }
  .lp-lede, .lp-hero .lp-lede { font-size: 21px; line-height: 1.43; margin-top: 20px; }
  .lp-menu-toggle, .lp-menu { display: none; }
  .lp-header__nav { display: flex; align-items: center; gap: 18px; margin-right: 2px; }
  .lp-header__nav a { color: var(--lp-ink-2); font-size: 13px; transition: color .2s; }
  .lp-header__nav a:hover { color: var(--lp-ink); }
  .lp-lang.lp-lang--header { display: inline-flex; }

  .lp-scene { padding: 140px 0; }
  .lp-hero { padding: 72px 0 0; }
  .lp-hero__facts { font-size: 14px; }
  .lp-hero__stage { height: 610px; margin-top: 48px; }
  .lp-deck__card--grafito { --y: 40px; --w: 250px; }
  .lp-deck__card--arena { --x: -270px; --y: 130px; --w: 200px; --r: -8deg; }
  .lp-deck__card--lavanda { --x: 270px; --y: 80px; --w: 200px; --r: 7deg; }
  .lp-deck__card--rojo { --x: -470px; --y: -30px; --w: 190px; --r: -13deg; }
  .lp-deck__card--oro { --x: 470px; --y: -50px; --w: 190px; --r: 12deg; }
  .lp-deck__card--oceano { --x: 470px; --y: 250px; --w: 190px; --r: -8deg; }
  .lp-deck__card--verde-bosque { --x: -480px; --y: 280px; --w: 190px; --r: 9deg; }
  .lp-deck__card--noche { --x: 0px; --y: 470px; --w: 200px; --r: -4deg; }

  .lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
  .lp-split .lp-lede { max-width: 26em; }
  .lp-split .lp-title { font-size: clamp(40px, 4.2vw, 48px); }
  .lp-split--flip > :first-child { order: 2; }
  .lp-center-mobile > .lp-wrap > :first-child { text-align: left; }
  .lp-center-mobile > .lp-wrap > :first-child .lp-lede { margin-inline: 0; }

  .lp-gallery { margin-top: 64px; overflow: visible; padding: 0; width: min(100% - var(--lp-gutter) * 2, var(--lp-max)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .lp-tile { flex: none; }
  .lp-tile__visual { min-height: 300px; }
  .lp-dots { display: none; }

  .lp-exchange { margin: 0; max-width: 340px; justify-self: center; }
  .lp-shot--agenda { margin: 0; max-width: 380px; justify-self: center; }

  .lp-spec { margin-top: 56px; }
  .lp-spec__row { grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; }
  .lp-spec dt, .lp-spec dd { font-size: 17px; }

  .lp-faq { margin-top: 48px; }
  .lp-closing { padding: 160px 0; }
  .lp-footer__top { grid-template-columns: auto 1fr; align-items: center; gap: 40px; }
  .lp-footer__links { gap: 6px 28px; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .lp-reveal { opacity: 1; transform: none; }
  .lp-tap__waves { animation: none; opacity: 1; }
}
