/* Landing local INDUSTRIA_810 (recreada a partir de la estructura de negrito-main/cover.html; sin Bootstrap, sin CDN). */
:root { --bg0:#0f1216; --bg1:#1b222b; --bg2:#10151b; --fg:#f2f4f7; --muted:#b4bcc8; --line:#3a4452; --accent:#7ab8ff; --ok:#6fcf97; --warn:#f2c94c; --err:#ff8a80; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { color: var(--fg); background: linear-gradient(to bottom, rgba(20,20,20,.40), rgba(20,20,20,.40)), linear-gradient(160deg, var(--bg1), var(--bg0) 55%, var(--bg2));
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-shadow: 0 .05rem .1rem rgba(0,0,0,.5); }
.cover { display: flex; flex-direction: column; min-height: 100vh; max-width: 42em; margin: 0 auto; padding: 1rem; text-align: center; }
.masthead { margin-bottom: auto; }
.nav { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; padding: .5rem 0; }
.nav a, .nav span { color: var(--muted); text-decoration: none; font-weight: 700; padding: .25rem 0; border-bottom: .25rem solid transparent; }
.nav a:hover { border-bottom-color: rgba(255,255,255,.25); }
.nav .active { color: var(--fg); border-bottom-color: var(--fg); }
.nav .off { opacity: .55; cursor: not-allowed; }
main { padding: 2rem 0; }
.logo-ph { display: grid; place-items: center; width: 130px; height: 80px; margin: 0 auto 1.5rem; border: 2px dashed var(--line); border-radius: .5rem; color: var(--muted); font-size: .8rem; line-height: 1.2; padding: .25rem; text-shadow: none; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 .75rem; letter-spacing: .01em; }
.lead { font-size: 1.15rem; font-weight: 300; color: var(--fg); margin: .25rem 0 1.25rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; font: inherit; font-weight: 700; color: #1b1f24; background: var(--fg); border: .15rem solid var(--fg); border-radius: .4rem; padding: .7rem 1.4rem; text-decoration: none; cursor: pointer; text-shadow: none; }
.btn:hover { background: #fff; }
.btn.secondary { color: var(--fg); background: transparent; border-color: var(--line); }
.btn.secondary:hover { border-color: var(--fg); }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn:focus-visible, .nav a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1.25rem; }
.stamps { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.stamp { border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; font-size: .75rem; letter-spacing: .06em; color: var(--muted); text-shadow: none; }
.mastfoot { color: var(--muted); font-size: .8rem; margin-top: auto; }
/* login */
.card { text-align: left; background: rgba(16,21,27,.85); border: 1px solid var(--line); border-radius: .6rem; padding: 1.5rem; max-width: 22rem; margin: 0 auto; text-shadow: none; }
.card h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.card label { display: block; font-size: .85rem; color: var(--muted); margin: .75rem 0 .25rem; }
.card input { width: 100%; font: inherit; color: var(--fg); background: #0b0e12; border: 1px solid var(--line); border-radius: .35rem; padding: .6rem .7rem; }
.card .btn { width: 100%; margin-top: 1.1rem; }
.msg { min-height: 1.4em; margin-top: .75rem; font-size: .9rem; }
.msg.err { color: var(--err); } .msg.ok { color: var(--ok); } .msg.info { color: var(--warn); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background .15s, border-color .15s; } }
@media (max-width: 480px) { .nav { gap: .75rem; } .actions .btn { width: 100%; text-align: center; } }

/* NOD XPRESS: estilos exclusivos de la landing; login intacto. */
body.hero-landing { background: #050e1b; }
.hero-landing .cover {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(rgba(5,14,27,.30), rgba(5,14,27,.58)), url('/welcome/assets/landing.png') center center / cover no-repeat;
  background-color: #050e1b;
}
.hero-landing .cover { min-height: 100vh; min-height: 100dvh; max-width: none; }
.hero-landing main { padding: 2rem 0 4rem; }
.hero-landing h1 { font-family: 'Century Gothic', 'Avenir Next', system-ui, sans-serif; font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 5.5rem); letter-spacing: .04em; line-height: 1.12; white-space: nowrap; }
.hero-landing .brand-nod { color: #fff; }
.hero-landing .brand-xpress { color: #69bdff; }
.hero-landing .lead { color: #edf2f8; font-weight: 500; font-size: clamp(.8rem, 2.5vw, 1.15rem); letter-spacing: .12em; margin: 1rem 0 0; }
.hero-landing .brand-description::before { content: ''; display: block; width: 3rem; height: 2px; margin: 1.4rem auto; background: #69bdff; }
.hero-landing .brand-description { font-size: clamp(.65rem, 2vw, .9rem); letter-spacing: .1em; color: #edf2f8; margin: 0; }
.hero-landing .actions { margin-top: 2.25rem; }
.hero-landing .brand-enter { color: #fff; background: #1468b5; border-color: #1468b5; border-radius: .6rem; padding: .85rem 2.5rem; letter-spacing: .14em; min-height: 48px; }
.hero-landing .brand-enter:hover { background: #105695; border-color: #105695; }
.hero-landing .brand-enter:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-landing .nav a, .hero-landing .mastfoot, .hero-landing .stamp { color: #edf2f8; }
.hero-landing .btn.secondary, .hero-landing .stamp { border-color: rgba(255,255,255,.65); background-color: transparent; }
@media (max-width: 480px) {
  .hero-landing .cover { background-position: 52% center; }
  .hero-landing main { padding: 1.5rem 0 3rem; }
  .hero-landing .brand-enter { width: auto; min-width: 13rem; }
}

/* ABOUT permanece debajo del hero, fuera del paisaje. */
.hero-landing .masthead { margin-bottom: 0; }
.hero-landing main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-landing .about-section { background: #050e1b; padding: clamp(3rem, 7vw, 5rem) 1.25rem; border-top: 1px solid #23384e; text-shadow: none; }
.hero-landing .about-content { max-width: 48rem; margin: 0 auto; }
.hero-landing .about-content h2 { color: #edf2f8; letter-spacing: .08em; font-size: clamp(1.2rem, 4vw, 1.8rem); margin: 0 0 1.5rem; }
.hero-landing .about-content p, .hero-landing .about-content li { color: #c5d2df; }
.hero-landing .about-content ul { padding-left: 1.25rem; margin: 1.5rem 0 0; }
.hero-landing .about-content li { margin: .5rem 0; }
.hero-landing .about-content li::marker { color: #69bdff; }
.hero-landing .public-footer { background: #050e1b; padding: 1.5rem; text-align: center; border-top: 1px solid #23384e; text-shadow: none; }

/* Compact ABOUT content; existing hero and login styles are preserved. */
.hero-landing .about-content h3 { margin: 2rem 0 1rem; color: #edf2f8; font-size: 1rem; letter-spacing: .08em; }
.hero-landing .about-content h4 { margin: 0 0 .5rem; color: #69bdff; font-size: 1rem; }
.hero-landing .about-tagline { font-size: clamp(1.05rem, 3vw, 1.25rem); }
.hero-landing .about-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.hero-landing .about-services p { margin: 0; }
@media (max-width: 640px) { .hero-landing .about-services { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Single-screen landing and native ABOUT dialog. */
html:has(body.hero-landing), body.hero-landing { height: 100%; overflow: hidden; }
.hero-landing .cover { height: 100vh; height: 100dvh; min-height: 0; }
.hero-landing .nav button { color: #edf2f8; font: inherit; font-weight: 700; padding: .25rem 0; background: transparent; border: 0; border-bottom: .25rem solid transparent; cursor: pointer; }
.hero-landing .nav button:hover { border-bottom-color: rgba(255,255,255,.25); }
.hero-landing button:focus-visible { outline: 3px solid #69bdff; outline-offset: 3px; }
#about-dialog { width: min(44rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #456580; border-radius: .7rem; background: rgba(5,14,27,.94); color: #edf2f8; text-shadow: none; box-shadow: 0 1rem 3rem rgba(0,0,0,.4); overflow: hidden; }
#about-dialog[open] { display: flex; flex-direction: column; }
#about-dialog::backdrop { background: rgba(0,0,0,.35); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid #23384e; flex-shrink: 0; }
.dialog-header h2 { margin: 0; font-size: clamp(1rem,3vw,1.35rem); letter-spacing: .06em; }
#about-close { color: #fff; background: transparent; border: 0; font-size: 1.75rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.dialog-content { overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1.5rem 1rem; min-height: 0; }
.dialog-content p { color: #c5d2df; margin: .8rem 0; }
.dialog-content h3 { font-size: .95rem; letter-spacing: .06em; margin: 1.5rem 0 .8rem; }
.dialog-content h4 { color: #69bdff; margin: 1rem 0 0; }
.language-selector { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .75rem 1rem; border-top: 1px solid #23384e; flex-shrink: 0; font-size: .85rem; }
.language-selector button { min-height: 44px; min-width: 44px; color: #edf2f8; background: transparent; border: 1px solid transparent; border-radius: .3rem; cursor: pointer; font: inherit; }
.language-selector button[aria-pressed="true"] { color: #69bdff; border-color: #69bdff; }

/* Same-origin existing login presented inside a native dialog. */
#login-dialog { width: min(26rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #456580; border-radius: .7rem; background: rgba(5,14,27,.94); color: #edf2f8; text-shadow: none; overflow: hidden; }
#login-dialog[open] { display: flex; flex-direction: column; }
#login-dialog::backdrop { background: rgba(0,0,0,.35); }
#login-close { color: #fff; background: transparent; border: 0; font-size: 1.75rem; min-height: 44px; min-width: 44px; cursor: pointer; }
#login-frame { width: 100%; height: min(25rem, calc(100dvh - 8rem)); border: 0; min-height: 0; }
body.embedded-login { background: transparent; text-shadow: none; height: auto; }
.embedded-login .cover { min-height: 0; padding: 1.25rem; }
.embedded-login .masthead, .embedded-login .note, .embedded-login .stamps, .embedded-login h2 { display: none; }
.embedded-login main { padding: 0; }
.embedded-login .card { border: 0; padding: 0; background: transparent; }
.embedded-login .card .btn { background: #1468b5; border-color: #1468b5; color: #fff; }

#login-dialog [hidden] { display: none !important; }
#login-dialog { overflow-y: auto; overscroll-behavior: contain; }
.meeting-code-action { color: #69bdff; background: transparent; border: 0; padding: .75rem 1rem; min-height: 44px; font: inherit; cursor: pointer; }
#meeting-code-form { padding: 1rem 1.5rem; }
#meeting-code-form h3 { margin: 0 0 1rem; font-size: 1rem; }
#meeting-code-form label { display: block; margin-bottom: .5rem; }
#meeting-code-input { width: 100%; padding: .75rem; color: #fff; background: #0b0e12; border: 1px solid #456580; border-radius: .35rem; font: inherit; }
#meeting-code-form .btn { margin-top: 1rem; width: 100%; }
#meeting-code-message { padding: 0 1.5rem; color: #edf2f8; font-size: .9rem; }
#meeting-code-message:empty { display: none; }

/* LOGIN COMPACTO (solo presentacion): sin titulo visible, modal ajustado al contenido, Meeting Code justo debajo de SIGN IN. */
#login-dialog { width: min(23.5rem, calc(100% - 2rem)); }
#login-dialog .dialog-header { position: absolute; top: .25rem; right: .25rem; z-index: 1; padding: 0; border: 0; background: transparent; }
#login-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#login-close { min-width: 36px; min-height: 36px; font-size: 1.5rem; line-height: 1; }
#login-close:hover { color: #69bdff; }
#login-frame { height: 12.5rem; max-height: calc(100dvh - 5rem); }
.embedded-login .cover { padding: 1.5rem 1.5rem .5rem; }
.embedded-login .card label { margin: .8rem 0 .25rem; font-size: .75rem; letter-spacing: .08em; }
.embedded-login .card label:first-of-type { margin-top: 0; }
.embedded-login .card .btn { margin-top: 1.1rem; }
.embedded-login .msg { min-height: 0; margin: .6rem 0 0; }
.embedded-login .msg:empty { display: none; }
#meeting-code-open { display: block; margin: 0 auto .5rem; min-height: 36px; padding: .4rem 1rem; font-size: .75rem; letter-spacing: .1em; color: #9cc7e8; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(156,199,232,.45); }
#meeting-code-open:hover { color: #fff; text-decoration-color: #fff; }
#meeting-code-open:focus-visible { outline: 2px solid #69bdff; outline-offset: 2px; }
#meeting-code-form { padding: 2.25rem 1.5rem .75rem; }
#meeting-code-form h3 { margin: 0 0 .75rem; }
#meeting-code-message { padding: 0 1.5rem .5rem; }
