/* ============================================================
   A TU MEMORIA — Portal del memorial
   Navy profundo · Dorado · Montserrat + Great Vibes (epitafios)
   ============================================================ */

:root {
  --navy-950: #060f1d;
  --navy-900: #0c1a2e;
  --navy-800: #12233c;
  --navy-700: #1a3050;
  --gold: #c9a24b;
  --gold-soft: #e8d5a8;
  --cream: #f5efe3;
  --text-light: #d9e2ec;
  --muted-light: #8fa3b8;
}

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

body.mem-body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  background: radial-gradient(ellipse at 50% 0%, var(--navy-800) 0%, var(--navy-950) 70%);
  color: var(--text-light);
  min-height: 100vh;
}

/* ============ LOGIN ============ */
.mem-login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.mem-login-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 18px;
  padding: 44px 38px;
  width: 400px; max-width: 100%;
  backdrop-filter: blur(6px);
  text-align: center;
}
.mem-login-icon { font-size: 44px; margin-bottom: 10px; }
.mem-login-box h1 { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.mem-login-box h1 span { color: var(--gold); }
.mem-login-sub { color: var(--muted-light); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin: 10px 0 26px; }

.mem-alert {
  background: rgba(201,162,75,.12);
  border: 1px solid rgba(201,162,75,.3);
  color: var(--gold-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.mem-alert-error { background: rgba(192,57,43,.15); border-color: rgba(192,57,43,.4); color: #f0b3ac; }

.mem-login-box label {
  display: block; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted-light);
  margin: 16px 0 6px;
}
.mem-login-box input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px; color: #fff; font-size: 14px; font-family: inherit;
  transition: border-color .15s;
}
.mem-login-box input:focus { outline: none; border-color: var(--gold); }
.mem-login-box button {
  width: 100%; margin-top: 26px; padding: 13px;
  background: linear-gradient(135deg, var(--gold) 0%, #b8912f 100%);
  color: #241a05; border: none; border-radius: 9px;
  font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.mem-login-box button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,162,75,.35); }

.mem-login-foot { margin-top: 24px; font-size: 12px; color: var(--muted-light); }
.mem-login-foot a { color: var(--gold-soft); }

/* ============ SELECTOR DE MEMORIALES ============ */
.mem-select-wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; text-align: center; }
.mem-select-title { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.mem-select-sub { color: var(--muted-light); font-size: 14px; margin-bottom: 36px; }
.mem-select-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }

.mem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 28px 18px 24px;
  text-decoration: none; color: var(--text-light);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.mem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,75,.5);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.mem-card-photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 16px;
  border: 3px solid rgba(201,162,75,.4);
}
.mem-card-placeholder {
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
}
.mem-card-name { font-size: 16.5px; font-weight: 600; color: #fff; }
.mem-card-dates { font-size: 12.5px; color: var(--muted-light); margin-top: 6px; letter-spacing: .5px; }
.mem-card-enter { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

.mem-select-foot { margin-top: 40px; }
.mem-link { color: var(--muted-light); font-size: 13px; text-decoration: none; border-bottom: 1px solid transparent; }
.mem-link:hover { color: var(--gold-soft); }

/* ============ VISTA DEL MEMORIAL ============ */
.mem-view { min-height: 100vh; padding-bottom: 90px; }

.mem-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 26px;
}
.mem-brand { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.55); text-decoration: none; }
.mem-brand span { color: var(--gold); }
.mem-top-actions { display: flex; gap: 10px; }
.mem-btn-ghost {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--text-light); font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 20px; text-decoration: none;
  transition: all .15s;
}
.mem-btn-ghost:hover { border-color: var(--gold); color: #fff; }

/* --- Héroe con las personas --- */
.mem-hero {
  text-align: center;
  padding: 40px 24px 50px;
  max-width: 900px; margin: 0 auto;
}
.mem-persons { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.mem-person { max-width: 340px; }
.mem-person-photo {
  width: 148px; height: 148px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 20px;
  border: 4px solid rgba(201,162,75,.45);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  cursor: zoom-in;
}
.mem-person-placeholder {
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.mem-person-name { font-size: 26px; font-weight: 600; color: #fff; letter-spacing: .3px; }
.mem-person-dates {
  font-size: 14px; color: var(--muted-light);
  margin-top: 8px; letter-spacing: 1px;
}
.mem-epitaph {
  font-family: 'Great Vibes', cursive;
  font-size: 27px; color: var(--gold);
  margin-top: 18px; line-height: 1.3;
}

/* --- Secciones --- */
.mem-section { max-width: 760px; margin: 0 auto; padding: 36px 24px 10px; }
.mem-section-title {
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  text-align: center; margin-bottom: 26px;
  display: flex; align-items: center; gap: 16px;
}
.mem-section-title::before, .mem-section-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,.4), transparent);
}
.mem-bio {
  font-size: 15.5px; line-height: 1.85; color: var(--text-light);
  text-align: center; white-space: pre-line;
}

/* --- Línea de tiempo (zigzag) --- */
.mem-section-wide { max-width: 900px; }
.mem-timeline-zigzag {
  position: relative;
  padding: 10px 0 20px;
}
.mem-timeline-zigzag::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(201,162,75,.45) 8%, rgba(201,162,75,.45) 92%, transparent);
}

.mem-event-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mem-moment {
  position: relative;
  width: 50%;
  padding: 14px 44px 26px;
}
.mem-moment-left { left: 0; text-align: right; }
.mem-moment-right { left: 50%; text-align: left; }

.mem-moment::before {
  content: '';
  position: absolute;
  top: 26px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2.5px solid var(--gold);
  z-index: 2;
}
.mem-moment-left::before { right: -7px; }
.mem-moment-right::before { left: -7px; }

.mem-moment::after {
  content: '';
  position: absolute;
  top: 32px;
  width: 36px; height: 1.5px;
  background: rgba(201,162,75,.35);
}
.mem-moment-left::after { right: 0; }
.mem-moment-right::after { left: 0; }

.mem-moment-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 18px 20px;
  display: inline-block;
  max-width: 100%;
  text-align: left;
  transition: border-color .18s, transform .18s;
}
.mem-moment-card:hover { border-color: rgba(201,162,75,.45); transform: translateY(-2px); }

.mem-moment-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.12);
  cursor: zoom-in;
}

/* --- Galería --- */
.mem-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mem-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.mem-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s;
  cursor: zoom-in;
  display: block;
}
.mem-gallery-item:hover img { transform: scale(1.04); }
.mem-gallery-caption {
  font-size: 11.5px;
  color: var(--muted-light);
  text-align: center;
  padding: 7px 4px 2px;
  line-height: 1.4;
}

/* --- Audio --- */
.mem-audio-section { max-width: 560px; }
.mem-audio-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(201,162,75,.25);
  border-radius: 16px;
  padding: 28px 26px 24px;
  text-align: center;
}
.mem-audio-icon {
  font-size: 34px;
  margin-bottom: 16px;
  animation: audioFloat 3.2s ease-in-out infinite;
}
@keyframes audioFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.mem-audio-player {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  outline: none;
}
.mem-audio-player::-webkit-media-controls-panel {
  background: rgba(18,35,60,.85);
}

/* --- Video --- */
.mem-video-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,.25);
  background: #000;
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.mem-video-wrap video,
.mem-video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

/* --- No disponible --- */
.mem-noavail {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.mem-noavail-icon { font-size: 54px; margin-bottom: 18px; }
.mem-noavail h2 { font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 10px; }
.mem-noavail p { color: var(--muted-light); font-size: 14.5px; max-width: 420px; line-height: 1.7; }

/* ============================================================
   OFRENDAS: velas y palomas (Paso 6 — con alineación corregida)
   ============================================================ */

/* ---- Botones grandes de ofrenda ---- */
.mem-tribute-buttons {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mem-tribute-btn {
  --icon-h: 78px;                     /* altura fija para ambos iconos */
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,75,.3);
  border-radius: 18px;
  padding: 26px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  min-width: 200px;
}
.mem-tribute-btn:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

/* La zona del icono: misma altura para vela y paloma */
.mem-tribute-icon-zone {
  height: var(--icon-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mem-tribute-label { color: var(--text-light); font-size: 14px; font-weight: 600; }
.mem-tribute-count {
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: 1.5px;
}

/* ---- LA VELA (CSS puro) ---- */
.mem-candle, .mem-mini-candle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.mem-candle { transform: scale(1); }

.mem-candle-flame {
  width: 16px; height: 24px;
  background: radial-gradient(ellipse at 50% 70%, #fff8dc 0%, #ffd875 35%, #ff9d2e 70%, rgba(255,120,20,0) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flameDance 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255,170,60,.55));
  margin-bottom: -3px;
  z-index: 2;
}
.mem-candle-body {
  width: 22px; height: 52px;
  background: linear-gradient(180deg, #f2ead6 0%, #d9c9a3 60%, #bfae86 100%);
  border-radius: 4px 4px 6px 6px;
  position: relative;
}
.mem-candle-body::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 5px;
  background: #6b5b3e;
}

@keyframes flameDance {
  0%, 100% { transform: scale(1) rotate(-2deg) translateY(0); }
  25% { transform: scale(1.06) rotate(2deg) translateY(-1px); }
  50% { transform: scale(.94) rotate(-1deg) translateY(.5px); }
  75% { transform: scale(1.04) rotate(1.5deg) translateY(-.5px); }
}

/* ---- LA PALOMA ---- */
.mem-dove {
  font-size: 46px;
  display: inline-block;
  animation: doveFly 2.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(255,255,255,.15));
}
@keyframes doveFly {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-10px) rotate(-4deg); }
  60% { transform: translateY(-4px) rotate(3deg); }
}

/* ---- Modal de ofrenda ---- */
.mem-tribute-modal {
  position: fixed; inset: 0;
  background: rgba(4,9,18,.85);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9998;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.mem-tribute-modal.open { display: flex; }
.mem-tribute-modal-box {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid rgba(201,162,75,.35);
  border-radius: 18px;
  padding: 32px 30px;
  width: 420px; max-width: 100%;
  text-align: center;
}
.mem-tribute-modal-icon {
  height: 78px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.mem-tribute-modal-box h3 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.mem-tribute-modal-box label {
  display: block; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted-light);
  margin: 14px 0 6px;
}
.mem-tribute-modal-box input,
.mem-tribute-modal-box textarea {
  width: 100%; padding: 11px 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px; color: #fff;
  font-size: 14px; font-family: inherit; resize: vertical;
}
.mem-tribute-modal-box input:focus,
.mem-tribute-modal-box textarea:focus { outline: none; border-color: var(--gold); }
.mem-tribute-submit {
  width: 100%; margin-top: 20px; padding: 12px;
  background: linear-gradient(135deg, var(--gold), #b8912f);
  color: #241a05; border: none; border-radius: 9px;
  font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.mem-tribute-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,162,75,.35); }
.mem-tribute-cancel {
  margin-top: 12px; background: none; border: none;
  color: var(--muted-light); font-size: 13px; cursor: pointer; font-family: inherit;
}
.mem-tribute-cancel:hover { color: #fff; }

/* ---- Muro de ofrendas vivas (celdas de altura uniforme) ---- */
.mem-tribute-wall {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,162,75,.18);
}
.mem-tribute-item {
  display: flex; flex-direction: column;
  align-items: center;
  min-height: 96px;                 /* altura fija: vela y paloma iguales */
  animation: tributeAppear .6s ease both;
}
@keyframes tributeAppear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Zona del icono en el muro: también de altura fija */
.mem-tribute-item-icon {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.mem-mini-candle { transform: scale(.62); transform-origin: center top; }
.mem-mini-dove { font-size: 26px; animation: doveFly 2.8s ease-in-out infinite; }
.mem-tribute-name {
  font-size: 10.5px; color: var(--muted-light);
  max-width: 84px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* ---- Libro de visitas ---- */
.mem-guestbook-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
}
.field-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mem-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mem-field label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted-light);
}
.mem-field input, .mem-field select, .mem-field textarea {
  padding: 11px 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px; color: #fff;
  font-size: 14px; font-family: inherit; resize: vertical;
}
.mem-field select option { background: var(--navy-800); }
.mem-field input:focus, .mem-field select:focus, .mem-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.mem-guestbook-submit {
  background: linear-gradient(135deg, var(--gold), #b8912f);
  color: #241a05; border: none; border-radius: 9px;
  padding: 12px 28px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s;
}
.mem-guestbook-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,162,75,.35); }

.mem-guestbook-list { display: flex; flex-direction: column; gap: 14px; }
.mem-guestbook-entry {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 22px;
}
.mem-guestbook-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.mem-guestbook-head strong { color: #fff; font-size: 14.5px; }
.mem-guestbook-date {
  margin-left: auto;
  font-size: 11.5px; color: var(--muted-light);
}
.mem-guestbook-msg {
  font-size: 14.5px; color: var(--text-light);
  line-height: 1.7; font-style: italic;
}
.mem-guestbook-empty {
  text-align: center; color: var(--muted-light);
  font-size: 14px; padding: 20px 0;
}

/* ---- Lightbox ---- */
.mem-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4,9,18,.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 30px;
  backdrop-filter: blur(4px);
}
.mem-lightbox.open { display: flex; }
.mem-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.mem-lightbox-close {
  position: absolute;
  top: 18px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: all .15s;
}
.mem-lightbox-close:hover { background: rgba(201,162,75,.25); border-color: var(--gold); }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .mem-persons { gap: 36px; }
  .mem-person-photo, .mem-person-placeholder { width: 118px; height: 118px; }
  .mem-person-name { font-size: 22px; }
  .field-pair { grid-template-columns: 1fr; }
  .mem-tribute-buttons { gap: 16px; }
  .mem-tribute-btn { min-width: 160px; padding: 20px 22px; }
  .mem-timeline-zigzag::before { left: 10px; }
  .mem-moment { width: 100%; padding: 10px 0 22px 38px; }
  .mem-moment-left, .mem-moment-right { left: 0; text-align: left; }
  .mem-moment-left::before, .mem-moment-right::before { left: 3px; right: auto; }
  .mem-moment-left::after, .mem-moment-right::after { left: 17px; right: auto; width: 18px; }
}

/* ============================================================
   PASO 8: Sección LEGAL
   ============================================================ */
.mem-legal-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 26px 28px;
}
.mem-legal-text {
  font-size: 13.5px;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 12px;
}
.mem-legal-text strong { color: var(--text-light); }
.mem-legal-details {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.mem-legal-details summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--muted-light);
  transition: color .15s;
}
.mem-legal-details summary:hover { color: #f0b3ac; }
.mem-legal-form { margin-top: 16px; }
.mem-legal-form label {
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted-light);
  margin-bottom: 6px;
}
.mem-legal-form textarea {
  width: 100%; padding: 11px 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px; color: #fff;
  font-size: 14px; font-family: inherit; resize: vertical;
}
.mem-legal-form textarea:focus { outline: none; border-color: #c05a50; }
.mem-legal-warning {
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: #f0b3ac;
  line-height: 1.6;
  margin: 14px 0;
}
.mem-legal-submit {
  background: rgba(192,57,43,.15);
  border: 1px solid rgba(192,57,43,.4);
  color: #f0b3ac;
  padding: 11px 24px;
  border-radius: 9px;
  font-size: 13.5px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all .15s;
}
.mem-legal-submit:hover { background: rgba(192,57,43,.25); }

/* ============================================================
   PASO 9: Banda de demostración
   ============================================================ */
.mem-demo-banner {
  background: linear-gradient(90deg, var(--gold), #b8912f);
  color: #241a05;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 500;
}
.mem-demo-cta {
  background: var(--navy-900);
  color: var(--gold-soft);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s;
  display: inline-block;
}
.mem-demo-cta:hover { transform: translateY(-1px); }