/* Lupim CRM: acceso y tablero a pantalla completa (/crm). Desarrollado por Studio Lupim. */
@font-face { font-family: 'Bricolage Grotesque'; src: url(fonts/bricolage.woff) format('woff'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url(fonts/instrument.woff) format('woff'); font-weight: 400 700; font-display: swap; }

:root { --sl-ink: #0b1020; --sl-lime: #c8f031; --sl-blue: #0256ff; --sl-text: #3b4256; --sl-line: #d5d9e3; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--sl-text); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sl-blue); outline-offset: 2px; }

/* Etiqueta «CRM» de la marca: pastilla lima junto al logo */
.sl-crm { display: inline-block; align-self: flex-end; background: var(--sl-lime); color: var(--sl-ink); font-family: 'Instrument Sans', system-ui, sans-serif; font-weight: 700; font-size: 0.6875rem; line-height: 1; letter-spacing: 0.08em; padding: 5px 8px; border-radius: 5px; }

/* ---------- Acceso ---------- */
.acc-body { background: #fff; }
.acc { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); }
.acc__brand { position: relative; overflow: hidden; background: var(--sl-ink); color: #fff; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.acc__logo { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.acc__logo img { height: 48px; width: auto; display: block; }
.acc__logo .sl-crm { font-size: 0.75rem; padding: 6px 9px; margin-bottom: 7px; }
.acc__pitch { position: relative; z-index: 1; max-width: 30rem; }
.acc__pitch h1 { margin: 0 0 20px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.acc__pitch p { margin: 0; font-size: 1.1875rem; color: #c7cee0; max-width: 26rem; }
.acc__credit { margin: 0; font-size: 0.875rem; color: #9aa3b8; position: relative; z-index: 1; }
.acc__symbol { position: absolute; right: -14%; bottom: -16%; width: 62%; max-width: 560px; opacity: 0.9; pointer-events: none; }

.acc__panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: clamp(32px, 5vw, 72px) 24px; background: #f4f6fb; }
.acc__box { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--sl-line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.acc__client { margin: 0 0 6px; font-size: 0.875rem; font-weight: 600; color: var(--sl-blue); }
.acc__box h2 { margin: 0 0 24px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--sl-ink); }
.acc__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.acc__field label { font-size: 0.875rem; font-weight: 600; color: var(--sl-ink); }
.acc__field input { width: 100%; min-height: 50px; border: 1px solid #8f97aa; border-radius: 8px; padding: 10px 14px; font: inherit; color: var(--sl-ink); background: #fff; }
.acc__check { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; margin: 4px 0 22px; min-height: 28px; }
.acc__check input { width: 20px; height: 20px; accent-color: var(--sl-blue); margin: 0; }
.acc__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: var(--sl-blue); color: #fff; font: inherit; font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; }
.acc__btn:hover { background: #0146d6; }
.acc__link { display: inline-block; margin-top: 18px; font-size: 0.9375rem; color: var(--sl-ink); }
.acc__back { font-size: 0.9375rem; color: var(--sl-text); }
.acc__error { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; background: #fdecea; color: #8c1d18; font-size: 0.9375rem; font-weight: 600; }

@media (max-width: 860px) {
	.acc { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.acc__brand { padding: 28px 24px 36px; gap: 28px; }
	.acc__logo img { height: 36px; }
	.acc__logo .sl-crm { font-size: 0.6875rem; padding: 5px 8px; margin-bottom: 5px; }
	.acc__pitch h1 { font-size: 2.25rem; margin-bottom: 12px; }
	.acc__pitch p { font-size: 1rem; max-width: 17rem; }
	.acc__credit { display: none; }
	.acc__symbol { width: 190px; right: -40px; bottom: -50px; }
	.acc__panel { justify-content: flex-start; padding: 28px 16px 40px; }
}

/* ---------- Tablero a pantalla completa ---------- */
.app-body { background: #f0f2f7; }
.app-bar { position: sticky; top: 0; z-index: 50; background: var(--sl-ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); }
.app-bar__logo { display: flex; align-items: center; gap: 10px; }
.app-bar__logo img { height: 32px; width: auto; display: block; }
.app-bar__logo .sl-crm { margin-bottom: 4px; }
.app-bar__nav { display: flex; align-items: center; gap: 20px; font-size: 0.9375rem; }
.app-bar__nav a { color: #fff; text-decoration: none; padding: 10px 0; }
.app-bar__nav a:hover { text-decoration: underline; }
.app-bar__client { color: #c7cee0; font-weight: 600; }
.lupim-crm--app { max-width: 1600px; margin: 0 auto; padding: 24px clamp(16px, 3vw, 32px) 40px; font-size: 14px; }
.lupim-crm--app .lc-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; letter-spacing: -0.02em; }
.lupim-crm--app h2, .lupim-crm--app h3, .lupim-crm--app p { margin: 0; }
.lupim-crm--app .lc-title { margin-right: auto; }
.lupim-crm--app button, .lupim-crm--app input, .lupim-crm--app select, .lupim-crm--app textarea { font-family: inherit; }

@media (max-width: 782px) {
	.app-bar__client { display: none; }
	.app-bar__logo img { height: 26px; }
}
