/* =========================================================
   MELO AGENCY — Elige tu app + ventana de registro
   ========================================================= */
.ej-section { background: #FFFFFF; }
.ej-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.ej-head p { color: #4A4766; margin-top: 10px; }
.ej-steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ej-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #F5F6F8; font-weight: 700; font-size: 14px; color: #172033; }
.ej-steps strong { width: 26px; height: 26px; border-radius: 50%; background: #EC008C; color: #fff; display: grid; place-items: center; font-size: 13px; }

.ej-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 22px; }
.ej-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 20px; border-radius: 24px; background: #fff; border: 1.5px solid rgba(23, 32, 51, .08); box-shadow: 0 18px 40px -28px rgba(23, 32, 51, .35); transition: transform .25s, box-shadow .25s; }
.ej-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(236, 0, 140, .35); }
.ej-phone { aspect-ratio: 9 / 19; border-radius: 18px; border: 4px solid #172033; background: #F5F6F8; overflow: hidden; display: grid; place-items: center; }
.ej-phone img { width: 100%; height: 100%; object-fit: cover; }
.ej-phone span { font-size: 34px; font-weight: 900; color: #EC008C; }
.ej-info { display: grid; gap: 10px; align-content: start; }
.ej-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ej-top h3 { font-size: 22px; font-weight: 900; color: #172033; margin: 0; }
.ej-logo { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; }
.ej-tag { font-size: 11px; font-weight: 800; color: #0F8F96; background: rgba(32, 201, 210, .14); padding: 3px 10px; border-radius: 999px; }
.ej-info p { margin: 0; font-size: 14px; color: #4A4766; line-height: 1.5; }
.ej-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ej-btns .btn { padding: 10px 16px; font-size: 14px; }

/* Ventana de registro */
.rg-modal .modal-box { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 28px; }
.rg-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #EC008C; margin-bottom: 4px; }
.rg-form { display: grid; gap: 12px; }
.rg-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #172033; }
.rg-form input:not([type=checkbox]), .rg-form select { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(23, 32, 51, .14); background: #F5F6F8; color: #172033; outline: none; width: 100%; }
.rg-form input:focus, .rg-form select:focus { border-color: #EC008C; background: #fff; }
.rg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 13px !important; }
.rg-check input { margin-top: 3px; accent-color: #EC008C; }
.rg-check a { color: #EC008C; text-decoration: underline; }
.rg-err { color: #D6336C; font-size: 12px; font-weight: 600; }
.rg-err:empty { display: none; }
.rg-ya { text-align: center; font-size: 14px; margin: 0; }
.rg-ya a { color: #EC008C; font-weight: 700; }
.rg-ok { text-align: center; display: grid; gap: 12px; padding: 10px 0; }
.rg-ok-ico { font-size: 54px; }

@media (max-width: 600px) {
  .ej-card { grid-template-columns: 84px 1fr; padding: 16px; gap: 14px; }
  .rg-row { grid-template-columns: 1fr; }
  .rg-modal .modal-box { padding: 26px 18px; }
}

/* Pasos del registro: edad → opciones → formulario */
.rg-paso { animation: rg-entra .28s ease; }
@keyframes rg-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rg-paso { animation: none; } }
.rg-pasos { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 0 0 18px; padding: 0; }
.rg-pasos li { width: 8px; height: 8px; border-radius: 999px; background: rgba(23, 32, 51, .14); transition: width .25s, background .25s; }
.rg-pasos li.hecho { background: rgba(236, 0, 140, .45); }
.rg-pasos li.actual { width: 26px; background: #EC008C; }
.rg-edad { text-align: center; display: grid; gap: 10px; justify-items: center; }
.rg-edad h3 { margin: 0; font-size: 22px; line-height: 1.3; color: #172033; }
.rg-edad p { margin: 0; color: #4A4766; }
.rg-edad-ico { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, #EC008C, #FF4FB8); box-shadow: 0 14px 30px -12px rgba(236, 0, 140, .6); }
.rg-bloqueo .rg-edad-ico { background: #F5F6F8; color: #D6336C; box-shadow: inset 0 0 0 3px rgba(214, 51, 108, .35); }
.rg-edad-btns { display: grid; gap: 10px; width: 100%; margin-top: 8px; }
.rg-edad .btn, .rg-opciones .btn { white-space: normal; }
.rg-opciones { display: grid; gap: 4px; margin: 6px 0 14px; }
.rg-opciones .btn-google { margin: 8px 0 0; min-height: 52px; }
.rg-manual { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; }
.rg-volver { background: none; border: 0; padding: 0; margin: 0 0 8px; font: inherit; font-size: 13px; font-weight: 700; color: #EC008C; cursor: pointer; }
.rg-volver:hover { text-decoration: underline; }

/* Recuperar contraseña: formulario en la ventana de inicio de sesión y página restablecer.html */
.forgot-help { gap: 14px; text-align: center; }
.fg-oculto { display: none !important; }
.fg-ico { width: 60px; height: 60px; margin: 2px auto 0; border-radius: 50%; display: grid; place-items: center; color: #EC008C; background: rgba(236, 0, 140, .1); }
.fg-texto { margin: 0; font-size: 14px; line-height: 1.55; color: #4A4766; }
.fg-nota { margin: 0; font-size: 13px; line-height: 1.5; color: #6B6884; }
.fg-nota strong { color: #172033; }
.forgot-form { display: grid; gap: 10px; text-align: left; }
.forgot-form .fg-texto { text-align: center; }
.forgot-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #172033; }
.forgot-form[hidden] { display: none; }
.fg-equipo > * + * { margin-top: 12px; }
.fg-equipo:not(.fg-plegable) > summary + * { margin-top: 0; }
.fg-equipo { display: block; padding: 16px; border-radius: 16px; background: #F7F7FA; border: 1px solid rgba(23, 32, 51, .06); }
.fg-equipo > summary { display: none; }
.fg-equipo.fg-plegable > summary { display: block; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: #EC008C; }
.fg-equipo.fg-plegable > summary::-webkit-details-marker { display: none; }
.fg-equipo.fg-plegable > summary::after { content: " ▾"; }
.fg-equipo.fg-plegable[open] > summary::after { content: " ▴"; }
.fg-equipo.fg-plegable:not([open]) { padding: 10px 16px; background: none; border-color: transparent; }
.fg-wa { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.fg-wa[hidden] { display: none !important; }
.fg-wa svg { color: #25D366; }
.rs-page { min-height: 100vh; background:
  radial-gradient(700px 500px at 95% 0%, rgba(236, 0, 140, .12), transparent 70%),
  radial-gradient(500px 380px at 0% 100%, rgba(32, 201, 210, .10), transparent 70%), #FFFFFF; }
.rs-wrap { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 22px; padding: 32px 16px; }
.rs-logo img { width: 150px; height: auto; display: block; }
.rs-card { width: min(460px, 100%); background: #fff; border-radius: 24px; padding: 32px 28px; border: 1.5px solid rgba(23, 32, 51, .08);
  box-shadow: 0 26px 60px -30px rgba(236, 0, 140, .4); display: grid; gap: 12px; text-align: center; }
.rs-card h1 { font-size: 24px; line-height: 1.25; margin: 0; color: #172033; }
.rs-card > p { margin: 0; color: #4A4766; }
.rs-card .rg-form { text-align: left; margin-top: 6px; }
.rs-cargando { color: #4A4766; }
.rs-pass { position: relative; display: block; }
.rs-pass input { padding-right: 76px !important; }
.rs-ver { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #EC008C; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; padding: 6px 8px; }
.rs-ico { width: 64px; height: 64px; margin: 0 auto 4px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #EC008C, #FF4FB8); box-shadow: 0 14px 30px -12px rgba(236, 0, 140, .6); }
.rs-ico-error { background: #F5F6F8; color: #D6336C; box-shadow: inset 0 0 0 3px rgba(214, 51, 108, .35); }
@media (max-width: 600px) { .rs-card { padding: 26px 18px; } .rs-card h1 { font-size: 21px; } }

/* Eliminar mi cuenta (eliminar-cuenta.html) */
.ec-card { text-align: left; }
.ec-card h1, .ec-card > p:first-of-type, .ec-card .rg-kicker { text-align: center; }
.ec-card .rg-kicker { justify-self: center; }
.ec-card .btn-google { margin: 4px 0 0; }
.ec-lista { margin: 0; padding: 14px 16px 14px 34px; border-radius: 14px; background: #F7F7FA; display: grid; gap: 6px; font-size: 14px; color: #4A4766; line-height: 1.5; }
.ec-lista li::marker { color: #EC008C; }
.ec-peligro { background: #D6336C; color: #fff; border: 0; }
.ec-peligro:hover { background: #B8285A; }
.ec-peligro:disabled { opacity: .7; }
.ec-pie { margin: 0; font-size: 13px; color: #6B6884; }
.ec-pie a { color: #EC008C; font-weight: 700; }

/* Descargar la app (descargar-app.html y franja de la portada) */
.da-card { text-align: center; }
.da-icono { width: 88px; height: 88px; margin: 0 auto; border-radius: 22px; box-shadow: 0 14px 30px -14px rgba(236, 0, 140, .55); }
.da-bloque { display: grid; gap: 12px; }
.da-bloque[hidden] { display: none; }
.da-boton { display: flex !important; align-items: center; justify-content: center; gap: 10px; }
.da-pasos { margin: 4px 0 0; padding: 14px 16px 14px 34px; border-radius: 14px; background: #F7F7FA; display: grid; gap: 8px;
  text-align: left; font-size: 14px; line-height: 1.5; color: #4A4766; }
.da-pasos li::marker { color: #EC008C; font-weight: 800; }
.da-pasos strong { color: #172033; }
.da-url { margin: 0; padding: 12px; border-radius: 12px; background: #F7F7FA; font-weight: 800; color: #EC008C; word-break: break-all; }
.da-banda { padding: 36px 0; background: linear-gradient(135deg, rgba(236, 0, 140, .10), rgba(32, 201, 210, .10)), #FFFFFF; color: #172033; border-top: 1px solid rgba(236, 0, 140, .12); }
.da-banda-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.da-banda-icono { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.da-banda-texto { flex: 1 1 240px; }
.da-banda-texto h2 { margin: 0; font-size: 24px; color: #172033; }
.da-banda-texto p { margin: 4px 0 0; color: #4A4766; }
.da-banda-icono { box-shadow: 0 12px 26px -14px rgba(236, 0, 140, .6); }
@media (max-width: 600px) { .da-banda-inner { text-align: center; justify-content: center; } .da-banda-btn { width: 100%; } }
