/* ════════════════════════════════════════════════════════════════════════
   omb-mail.css — landing de OMB Mail (/mail, /es-mx/mail). Se carga encima
   de style.css y usa SUS tokens (--dark, --dark2, --card-bg, --border,
   --text-muted, --text-dim, --blue, --primary, --ff-*). Oscuro por omisión;
   el tema claro sólo invierte superficies (html[data-theme="light"]).
   ════════════════════════════════════════════════════════════════════════ */

.ml-hero { padding: 4.5rem 0 4rem; }
.ml-brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-family: var(--ff-display); }
.ml-brand-omb { font-weight: 700; letter-spacing: .04em; font-size: 1rem; color: #fff; }
.ml-brand-sep { width: 1px; height: 1.1rem; background: var(--border); }
.ml-brand-mail { font-family: var(--ff-serif); font-style: italic; font-size: 1.25rem; color: var(--blue); }
.ml-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .7rem; }
.ml-points li { display: flex; align-items: center; gap: .65rem; color: var(--text-muted); font-size: .95rem; }
.ml-points .omb-ic { color: var(--blue); width: 1.1rem; height: 1.1rem; }

/* Maqueta de la bandeja (decorativa, aria-hidden) */
.ml-mock { background: var(--card-bg); border: 1px solid var(--border); border-radius: calc(var(--ui-scale) * 16px); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.ml-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.ml-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.ml-mock-title { margin-left: .6rem; font-family: var(--ff-mono); font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }
.ml-mock-title b { color: var(--text-dim); font-weight: 400; }
.ml-mock-body { display: grid; grid-template-columns: 30% 70%; min-height: 230px; }
.ml-mock-folders { list-style: none; margin: 0; padding: .8rem .6rem; border-right: 1px solid var(--border); display: grid; align-content: start; gap: .25rem; }
.ml-mock-folders li { font-size: .78rem; color: var(--text-muted); padding: .35rem .6rem; border-radius: 8px; }
.ml-mock-folders li.is-on { background: rgba(167, 139, 250, .14); color: #fff; font-weight: 600; }
.ml-mock-list { list-style: none; margin: 0; padding: 0; }
.ml-mock-list li { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .7rem .9rem; border-bottom: 1px solid var(--border); font-size: .78rem; }
.ml-mock-list li.is-on { background: rgba(167, 139, 250, .08); }
.ml-mock-list strong { color: #fff; font-weight: 600; grid-column: 1; }
.ml-mock-list span { color: var(--text-muted); grid-column: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-mock-list time { grid-column: 2; grid-row: 1; color: var(--text-dim); font-family: var(--ff-mono); font-size: .68rem; }

/* Secciones */
.ml-sec { padding: 5.5rem 0; background: var(--dark); }
.ml-sec-alt { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ml-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.ml-head p { font-size: 1.02rem; }
.ml-narrow { max-width: 860px; }
.ml-grid { display: grid; gap: 1rem; }
.ml-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ml-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ml-grid-5 { grid-template-columns: repeat(5, 1fr); }
.ml-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.ml-soon { font-family: var(--ff-mono); font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); border: 1px solid rgba(167, 139, 250, .35); border-radius: 999px; padding: .1rem .5rem; }

/* Migración */
.ml-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ml-steps li { display: flex; gap: 1rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: calc(var(--ui-scale) * 16px); padding: 1.5rem; }
.ml-steps h3 { font-size: 1.02rem; margin: 0 0 .4rem; }
.ml-steps p { margin: 0; font-size: .9rem; line-height: 1.6; }
.ml-step-n { font-family: var(--ff-mono); font-size: .8rem; color: var(--blue); padding-top: .2rem; }
.ml-note { max-width: 980px; margin: 1.4rem auto 0; display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .9rem; text-align: center; }
.ml-note .omb-ic { color: var(--blue); }

/* Precios */
.ml-toggle { display: flex; justify-content: center; gap: 0; margin: 0 auto 2rem; width: max-content; border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.ml-toggle button { background: transparent; border: 0; color: var(--text-muted); font: inherit; font-size: .88rem; font-weight: 500; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.ml-toggle button.is-on { background: var(--primary); color: var(--primary-ink); }
.ml-badge { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .45rem; border-radius: 999px; background: rgba(167, 139, 250, .18); color: inherit; }
.ml-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.ml-plan { position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: calc(var(--ui-scale) * 18px); padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.ml-plan.is-pop { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 24px 60px rgba(91, 63, 176, .25); }
.ml-plan h3 { font-size: 1.25rem; margin: 0 0 .3rem; display: flex; align-items: center; gap: .45rem; }
.ml-plan-pop { position: absolute; top: -.75rem; left: 1.75rem; font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; background: var(--primary); color: var(--primary-ink); padding: .25rem .65rem; border-radius: 999px; }
.ml-plan-tag { font-size: .9rem; margin: 0 0 1.2rem; }
.ml-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.ml-amount { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 700; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ml-per { font-size: .85rem; color: var(--text-muted); }
.ml-plan-founders { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--blue); margin: .4rem 0 0; }
.ml-feat { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.ml-feat li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--text-muted); }
.ml-feat .omb-ic { color: var(--blue); margin-top: .2rem; }
.ml-plan-cta { margin-top: auto; text-align: center; justify-content: center; display: inline-flex; align-items: center; gap: .5rem; }
.ml-founders { border-style: dashed; justify-content: flex-start; }
.ml-founders p { font-size: .92rem; }
.ml-founders.is-closed { opacity: .65; }
.ml-counter { display: grid; gap: .55rem; margin-top: .4rem; }
.ml-counter strong { font-family: var(--ff-mono); font-size: .82rem; color: #fff; font-weight: 500; }
.ml-counter-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.ml-counter-fill { display: block; height: 100%; background: var(--blue); }
.ml-closed { font-weight: 600; }
.ml-w-0 { width: 0; } .ml-w-5 { width: 5%; } .ml-w-10 { width: 10%; } .ml-w-15 { width: 15%; } .ml-w-20 { width: 20%; }
.ml-w-25 { width: 25%; } .ml-w-30 { width: 30%; } .ml-w-35 { width: 35%; } .ml-w-40 { width: 40%; } .ml-w-45 { width: 45%; }
.ml-w-50 { width: 50%; } .ml-w-55 { width: 55%; } .ml-w-60 { width: 60%; } .ml-w-65 { width: 65%; } .ml-w-70 { width: 70%; }
.ml-w-75 { width: 75%; } .ml-w-80 { width: 80%; } .ml-w-85 { width: 85%; } .ml-w-90 { width: 90%; } .ml-w-95 { width: 95%; } .ml-w-100 { width: 100%; }
.ml-extras { list-style: none; max-width: 1080px; margin: 2rem auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ml-extras li { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); line-height: 1.55; }
.ml-extras .omb-ic { color: var(--blue); flex: none; margin-top: .2rem; }

/* FAQ */
.ml-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.ml-faq summary::-webkit-details-marker { display: none; }
.ml-faq summary h3 { margin: 0; }
.ml-faq summary .omb-ic { flex: none; color: var(--text-muted); transition: transform .2s; }
.ml-faq[open] summary .omb-ic { transform: rotate(180deg); }
.ml-faq p { margin-top: .7rem; }
.ml-legal { font-size: .78rem; color: var(--text-dim); margin: 1.2rem 0 0; }

/* Tema claro */
html[data-theme="light"] .ml-brand-omb,
html[data-theme="light"] .ml-amount,
html[data-theme="light"] .ml-counter strong,
html[data-theme="light"] .ml-mock-list strong,
html[data-theme="light"] .ml-mock-folders li.is-on { color: #0F172A; }
html[data-theme="light"] .ml-mock { box-shadow: 0 24px 60px rgba(15, 23, 42, .10); }
html[data-theme="light"] .ml-mock-folders li.is-on { background: rgba(91, 63, 176, .10); }
html[data-theme="light"] .ml-mock-list li.is-on { background: rgba(91, 63, 176, .06); }
html[data-theme="light"] .ml-plan.is-pop { box-shadow: 0 0 0 1px var(--blue), 0 20px 50px rgba(91, 63, 176, .14); }
html[data-theme="light"] .ml-soon { border-color: rgba(91, 63, 176, .35); }
html[data-theme="light"] .ml-badge { background: rgba(91, 63, 176, .12); }

/* Responsivo */
@media (max-width: 1199px) { .ml-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .ml-grid-3, .ml-grid-4, .ml-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .ml-plans, .ml-steps, .ml-extras { grid-template-columns: 1fr; max-width: 560px; }
  .ml-sec { padding: 4rem 0; }
}
@media (max-width: 575px) {
  .ml-grid-3, .ml-grid-4, .ml-grid-5 { grid-template-columns: 1fr; }
  .ml-mock-body { grid-template-columns: 1fr; }
  .ml-mock-folders { display: none; }
  .ml-toggle { width: 100%; }
  .ml-toggle button { flex: 1; justify-content: center; }
}
