/* Pappitas — Landings prediseñadas (Landing master) */
.lm { margin: 0 0 22px; padding: 24px; border-radius: 24px; background: var(--bg-card, #fff); box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 18px 44px -32px rgba(30,20,70,.35);
  display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: center; }
.lm--empty { grid-template-columns: 1fr; }
.lm-h { min-width: 0; }
.lm-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.lm-new { height: 50px; border: 0; border-radius: 14px; background: var(--brand-primary, #7c3aed); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm-new .icon, .lm-mg-btn .icon { width: 17px; height: 17px; }
.lm-mg-btn { height: 44px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); color: var(--text-primary, #111); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm--empty .lm-acts { flex-direction: row; } .lm--empty .lm-new, .lm--empty .lm-mg-btn { padding: 0 18px; }
.lm-k { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-primary, #7c3aed); }
.lm-h h2 { margin: 6px 0 6px; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--text-primary, #111); }
.lm-h p { margin: 0; font-size: 14px; color: var(--text-secondary, #6b7280); }
.lm-manage { width: auto !important; flex: none; padding: 9px 14px !important; font-size: 13px !important; }
.lm-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
.lm-card { flex: none; width: 250px; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--bg-card, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 7%, transparent), 0 14px 30px -24px rgba(20,10,50,.5); transition: transform .18s, box-shadow .18s; }
.lm-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--text-primary, #111) 9%, transparent), 0 22px 40px -24px rgba(20,10,50,.55); }
.lm-thumb { position: relative; height: 290px; overflow: hidden; background: #f5f5f7 center/cover no-repeat; }
.lm-thumb iframe { position: absolute; left: 0; top: 0; width: 400px; height: 830px; border: 0; transform: scale(.625); transform-origin: 0 0; pointer-events: none; background: #fff; }
.lm-thumb__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.9)); }
.lm-card__b { padding: 12px 14px 14px; }
.lm-card__b b { display: block; font-size: 15px; font-weight: 750; letter-spacing: -.01em; color: var(--text-primary, #111); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-card__b small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-secondary, #6b7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-card__a { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.lm-use { flex: 1; height: 40px; border: 0; border-radius: 12px; background: #111; color: #fff; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.lm-use:hover { background: #000; }
.lm-see { flex: none; height: 40px; padding: 0 14px; border-radius: 12px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--text-primary, #111); text-decoration: none; background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); }
.lm-empty { padding: 18px; border-radius: 16px; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent); font-size: 13.5px; color: var(--text-secondary, #6b7280); }

/* ventana */
body.lm-open { overflow: hidden; }
.lm-modal { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12,8,26,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lm-dlg { position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px 24px 22px; border-radius: 26px; background: var(--bg-card, #fff); color: var(--text-primary, #111); box-shadow: 0 40px 100px -30px rgba(10,6,30,.6); }
.lm-dlg--wide { max-width: 560px; }
.lm-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text-primary, #111) 7%, transparent); color: var(--text-secondary, #6b7280); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lm-x .icon { width: 16px; height: 16px; }
.lm-dlg__h h3 { margin: 4px 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.lm-dlg__h p { margin: 0 0 18px; font-size: 14px; color: var(--text-secondary, #6b7280); line-height: 1.45; }
.lm-photo { position: relative; display: flex; align-items: center; justify-content: center; height: 160px; margin-bottom: 12px; border-radius: 18px; cursor: pointer; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent) center/cover no-repeat; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); }
.lm-photo.has-img { box-shadow: none; }
.lm-photo.is-busy { opacity: .6; }
.lm-photo__e { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.lm-photo__e .icon { width: 26px; height: 26px; color: var(--text-secondary, #6b7280); }
.lm-photo__e b { font-size: 14px; font-weight: 750; } .lm-photo__e small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.lm-photo.has-img .lm-photo__e { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.lm-in, .lm-in[type="number"] { width: 100%; height: 56px; margin-bottom: 10px; padding: 0 16px; border: 0; border-radius: 16px; background: color-mix(in srgb, var(--text-primary, #111) 5%, transparent); color: var(--text-primary, #111); font: inherit; font-size: 17px !important; font-weight: 700 !important; outline: none; box-sizing: border-box; }
.lm-in:focus { box-shadow: inset 0 0 0 2px var(--brand-primary, #7c3aed); }
.lm-price { position: relative; } .lm-price span { position: absolute; left: 16px; top: 17px; font-size: 17px; font-weight: 800; color: var(--text-secondary, #6b7280); } .lm-price .lm-in { padding-left: 32px; }
.lm-go { width: 100%; height: 56px; margin-top: 6px; border: 0; border-radius: 16px; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lm-go:disabled { opacity: .35; cursor: default; }
.lm-go--ghost { background: color-mix(in srgb, var(--text-primary, #111) 6%, transparent); color: var(--text-primary, #111); margin-top: 14px; }
.lm-go .icon { width: 18px; height: 18px; }
.lm-note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--text-muted, #9ca3af); }
.lm-mg { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.lm-mrow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--text-primary, #111) 4%, transparent); }
.lm-mrow__t { flex: 1; min-width: 0; } .lm-mrow__t b { display: block; font-size: 14px; font-weight: 720; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lm-mrow__t small { font-size: 12px; color: var(--text-secondary, #6b7280); }
.lm-mini { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--bg-card, #fff); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06); color: var(--text-primary, #111); }
.lm-sw { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.lm-sw input { position: absolute; opacity: 0; inset: 0; }
.lm-sw span { position: absolute; inset: 0; border-radius: 999px; background: #d1d5db; transition: background .2s; }
.lm-sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.lm-sw input:checked + span { background: #16a34a; } .lm-sw input:checked + span::after { transform: translateX(18px); }
.lm-chk { margin: 16px 0 0 !important; box-shadow: none !important; border: 1px solid color-mix(in srgb, var(--text-primary, #111) 8%, transparent); }
@media (max-width: 1000px) { .lm { grid-template-columns: 1fr; gap: 18px; } .lm-acts { flex-direction: row; flex-wrap: wrap; } .lm-new, .lm-mg-btn { padding: 0 18px; } }
@media (max-width: 760px) {
  .lm { margin: 0 -4px 18px; padding: 18px 16px; border-radius: 20px; }
  .lm-acts { flex-direction: column; } .lm-new, .lm-mg-btn { width: 100%; }
  .lm-h h2 { font-size: 19px; }
  .lm-card { width: 220px; }
  .lm-thumb { height: 260px; } .lm-thumb iframe { transform: scale(.55); }
  .lm-modal { align-items: flex-end; padding: 0; }
  .lm-dlg { max-width: none; border-radius: 26px 26px 0 0; max-height: 92dvh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

.lm-acts:empty { display: none; }
.lm-card--new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 410px; border: 0; cursor: pointer; font: inherit; color: var(--text-primary, #111);
  background: color-mix(in srgb, var(--text-primary, #111) 3%, var(--bg-card, #fff)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text-primary, #111) 10%, transparent); }
.lm-card--new:hover { box-shadow: inset 0 0 0 1.5px var(--brand-primary, #7c3aed); transform: translateY(-2px); }
.lm-plus { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-primary, #7c3aed); color: #fff; margin-bottom: 6px; }
.lm-plus .icon { width: 24px; height: 24px; }
.lm-card--new b { font-size: 16px; font-weight: 800; } .lm-card--new small { font-size: 13px; color: var(--text-secondary, #6b7280); }
@media (max-width: 760px) { .lm-card--new { min-height: 380px; } }

/* Elegir dominio */
.lm-modal--dom { z-index: 4100; }
.lm-doms { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.lm-dom { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-radius: 14px; padding: 14px 16px; background: #f5f5f7; font: inherit; font-size: 15px; cursor: pointer; color: #1d1d1f; transition: background .15s, box-shadow .15s; }
.lm-dom:hover { background: #fff; box-shadow: inset 0 0 0 2px #0071e3; }
.lm-dom .icon { width: 18px; height: 18px; color: #0071e3; }
.lm-dom span { display: flex; flex-direction: column; }
.lm-dom small { font-size: 12px; color: #6e6e73; font-weight: 500; margin-top: 1px; }
.lm-dom--pp { background: linear-gradient(135deg,#f5f3ff,#eef4ff); }
.lm-dom--pp .icon { color: #7c3aed; }

/* Celular: arriba limpio — sin textos de más, directo a los diseños */
@media (max-width: 640px) {
  #page-landing > .page-header { display: none; }
  .lm { margin: 4px 0 16px; padding: 0; gap: 12px; background: none; box-shadow: none; border-radius: 0; }
  .lm-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .lm-h h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; flex: 1; }
  .lm-h p { display: none; }
  .lm-acts { margin: 0; flex-direction: row !important; flex: none; }
  .lm-acts .lm-new, .lm-acts .lm-mg-btn { width: auto !important; height: 36px; padding: 0 12px !important; font-size: 13px; border-radius: 11px; }
  .lm-row { gap: 12px; padding: 2px 2px 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; scrollbar-width: none; }
  .lm-row::-webkit-scrollbar { display: none; }
  .lm-card { width: 72vw; max-width: 280px; }
  .lm-thumb { height: 300px; }
}
