/* ============================================================================
 * Otimify Deck Kit — hoja de estilos del deck.
 * Branding oficial oscuro de Otimify (tokens del skill otimify-branding).
 *
 * El deck es un canvas FIJO de 1440x810 (16:9). En pantalla se escala con
 * transform:scale(); en modo print se imprime a tamano real, una slide por
 * pagina. Asi el PDF sale pixel-identico a lo que se ve en la presentacion.
 *
 * NO hace falta tocar este archivo para armar un deck nuevo: se escriben las
 * slides en index.html combinando las clases de aca. El catalogo completo,
 * con ejemplo de cada una, esta en componentes.html.
 * ========================================================================== */

/* ---- Montserrat self-hosted (sin dependencia de red en el render del PDF) - */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: block;
  src: url('fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: block;
  src: url('fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: block;
  src: url('fonts/montserrat-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: block;
  src: url('fonts/montserrat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: block;
  src: url('fonts/montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: block;
  src: url('fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: block;
  src: url('fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: block;
  src: url('fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: block;
  src: url('fonts/montserrat-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: block;
  src: url('fonts/montserrat-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---- Tokens de marca ----------------------------------------------------- */
:root {
  --bg:        #070a0c;
  --bg-card:   #0d1215;
  --bg-input:  #111619;
  --border:      #1e2a2f;
  --border-glow: rgba(0, 210, 100, 0.35);
  --green:      #00d264;
  --green-dim:  #009e4a;
  --green-glow: rgba(0, 210, 100, 0.18);
  --text:       #e8ede9;
  --text-dim:   #9aada2;
  --text-muted: #6b7b72;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   18px;
  --radius-pill: 999px;
  --font: 'Montserrat', system-ui, sans-serif;
  --shadow-card: 0 2px 24px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 28px rgba(0, 210, 100, 0.22);
  --s: 1;
}

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

html, body { height: 100%; background: var(--bg); }

body {
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Stage: escala el canvas fijo al viewport ---------------------------- */
#stage {
  width: 1440px;
  height: 810px;
  position: relative;
  flex: none;
  transform: scale(var(--s));
  transform-origin: center center;
}

/* ---- Slide --------------------------------------------------------------- */
.slide {
  position: absolute;
  inset: 0;
  width: 1440px;
  height: 810px;
  overflow: hidden;
  background:
    radial-gradient(58% 46% at 78% 6%, rgba(0,210,100,0.13) 0%, transparent 68%),
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 40px 40px, 40px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.slide.active { opacity: 1; pointer-events: auto; }

.pad {
  position: absolute; inset: 0; padding: 76px 88px 72px;
  display: flex; flex-direction: column; align-items: stretch;
  /* centrado vertical: las slides con menos contenido quedan equilibradas
     en vez de dejar un hueco muerto abajo */
  justify-content: center;
}
/* en flex-column las imagenes se estiran al ancho: las anclamos a la izquierda */
.pad > img { align-self: flex-start; width: auto; flex: none; }

/* Marca de agua: logo chico + numero de slide */
.slide .mark {
  position: absolute; left: 88px; bottom: 34px; height: 20px; opacity: .5;
}
.slide .pageno {
  position: absolute; right: 88px; bottom: 34px;
  font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: .5px;
}

/* ---- Tipografia ---------------------------------------------------------- */
h1 { font-size: 84px; font-weight: 800; letter-spacing: -2.4px; line-height: 1.02; }
h2 { font-size: 46px; font-weight: 800; letter-spacing: -1.1px; line-height: 1.08; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.lead { font-size: 21px; font-weight: 400; color: var(--text-dim); line-height: 1.5; }
.g { color: var(--green); }
.eyebrow {
  color: var(--green); text-transform: uppercase; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 18px;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0,210,100,0.1); color: var(--green);
  border: 1px solid rgba(0,210,100,0.25); border-radius: var(--radius-pill);
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.rule {
  height: 3px; border-radius: 2px; margin: 26px 0;
  background: linear-gradient(90deg, var(--green), rgba(0,210,100,0.05));
}
.rule.short { width: 190px; }

/* ---- Cards --------------------------------------------------------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 24px 26px;
}
.card.hi {
  background: linear-gradient(158deg, rgba(0,210,100,0.11), rgba(0,210,100,0.02));
  border-color: var(--border-glow); box-shadow: var(--shadow-glow);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--text-dim); line-height: 1.45; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cols-wide { grid-template-columns: 1.15fr 1fr; }

/* ---- Listas con check --------------------------------------------------- */
.checks { display: flex; flex-direction: column; gap: 15px; }
.checks li { list-style: none; display: flex; align-items: flex-start; gap: 13px; font-size: 20px; font-weight: 500; }
.checks li .ck {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: rgba(0,210,100,0.16); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.checks li span.t { line-height: 1.35; }
.checks.sm li { font-size: 17px; }
.checks.sm li .ck { width: 22px; height: 22px; font-size: 12px; }

.bullets li { list-style: none; display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--text-dim); }
.bullets { display: flex; flex-direction: column; gap: 13px; }
.bullets li::before {
  content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
}

/* ---- Chips de feature --------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 9px 18px 9px 14px;
  font-size: 16px; font-weight: 600;
}
.chip .ck {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(0,210,100,0.16);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex: none;
}

/* ---- Numeros / stats --------------------------------------------------- */
.stat { font-size: 52px; font-weight: 800; letter-spacing: -1.6px; color: var(--green); line-height: 1; }
.stat.sm { font-size: 34px; letter-spacing: -1px; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 10px; }

.numbox {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(0,210,100,0.1); border: 1px solid rgba(0,210,100,0.22);
  color: var(--green); font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Tabla de precios -------------------------------------------------- */
table.prices { width: 100%; border-collapse: collapse; font-size: 17px; }
table.prices th {
  text-align: left; font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.3px; padding: 0 14px 12px;
  border-bottom: 1px solid var(--border);
}
table.prices th.num, table.prices td.num { text-align: right; }
table.prices td { padding: 11px 14px; border-bottom: 1px solid rgba(30,42,47,0.6); }
table.prices tr:last-child td { border-bottom: none; }
table.prices td.concept { font-weight: 600; }
table.prices td.sub { font-size: 14px; color: var(--text-muted); font-weight: 400; }
table.prices td.price { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.prices td.free { font-weight: 700; color: var(--green); }
table.prices tr.hi td { background: rgba(0,210,100,0.05); }

/* ---- Controles (select / input) --------------------------------------- */
label.field { display: flex; flex-direction: column; gap: 7px; }
label.field .lab { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; }
select, input[type=number] {
  background: var(--bg-input); color: var(--text); font-family: var(--font);
  font-size: 17px; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px;
  width: 100%; -moz-appearance: textfield;
}
select:focus, input:focus { border-color: var(--green); outline: none; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* valores congelados en modo print */
.frozen {
  display: block; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 13px; font-size: 17px; font-weight: 600;
}

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: var(--bg); border: none;
  border-radius: var(--radius-pill); font-family: var(--font); font-weight: 700;
  font-size: 15px; padding: 12px 26px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,210,100,0.3);
}
.btn.ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  box-shadow: none;
}

/* ---- Desglose de la calculadora --------------------------------------- */
.breakdown { display: flex; flex-direction: column; }
.breakdown .row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid rgba(30,42,47,0.7);
}
.breakdown .row .l { font-size: 17px; font-weight: 600; }
.breakdown .row .d { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.breakdown .row .v { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.breakdown .total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--green);
}
.breakdown .total .l { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-dim); }
.breakdown .total .v { font-size: 44px; font-weight: 800; letter-spacing: -1.4px; color: var(--green); font-variant-numeric: tabular-nums; }

.note { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.note a { color: var(--green-dim); text-decoration: none; }
.src {
  position: absolute; left: 88px; right: 88px; bottom: 62px;
  font-size: 12px; color: var(--text-muted); line-height: 1.5;
}

/* ---- Timeline ventana 24 h -------------------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 12px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--green), rgba(0,210,100,0.12));
}
.timeline .step { position: relative; padding-bottom: 26px; }
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(0,210,100,0.15);
}
.timeline .step.off::before { background: var(--text-muted); box-shadow: 0 0 0 4px rgba(107,123,114,0.15); }
.timeline .step .st { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.timeline .step .sd { font-size: 16px; color: var(--text-dim); line-height: 1.45; }

/* ---- Portada ----------------------------------------------------------- */
.cover .logo-big { height: 54px; width: auto; margin-bottom: 42px; }
.closing img { align-self: center; }
.cover h1 { font-size: 104px; letter-spacing: -3.4px; }
.orb {
  position: absolute; right: -130px; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px; pointer-events: none; overflow: visible;
}

/* Tarjetas flotantes decorativas de la portada */
.float-card {
  position: absolute; background: rgba(13,18,21,0.92); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 14px 18px;
  backdrop-filter: blur(6px);
}
.float-card .fc-l { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; }
.float-card .fc-v { font-size: 22px; font-weight: 800; color: var(--green); letter-spacing: -0.6px; margin-top: 3px; }

/* ---- Cierre ------------------------------------------------------------ */
.closing { align-items: center; justify-content: center; text-align: center; }
.closing h1 { font-size: 120px; letter-spacing: -4px; }

/* ---- Barra de control (solo pantalla) --------------------------------- */
#controls {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; z-index: 60;
  background: rgba(13,18,21,0.9); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 8px 10px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow-card);
  transition: opacity .35s ease;
}
#controls.idle { opacity: .14; }
#controls button {
  background: transparent; border: none; color: var(--text); cursor: pointer;
  font-family: var(--font); font-size: 16px; font-weight: 700;
  width: 34px; height: 34px; border-radius: 50%;
}
#controls button:hover { background: rgba(255,255,255,0.07); }
#counter {
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  min-width: 52px; text-align: center; font-variant-numeric: tabular-nums;
}
.dots { display: flex; gap: 6px; padding: 0 8px; }
.dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--border);
  cursor: pointer; transition: all .2s;
}
.dots i.on { background: var(--green); box-shadow: 0 0 8px var(--green); }
#pdf-btn {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  background: var(--green); color: var(--bg); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; padding: 9px 18px; margin-left: 4px;
  white-space: nowrap;
}
#pdf-btn.loading { opacity: .6; pointer-events: none; }

/* ---- Bloques compuestos ------------------------------------------------ */

/* Campos editables en vivo (se escriben durante la presentacion) */
.focos { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.foco {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
}
.foco:focus-within { border-color: var(--green); box-shadow: var(--shadow-glow); }
.foco .fn {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,210,100,0.12); border: 1px solid rgba(0,210,100,0.25);
  color: var(--green); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.foco input[type=text] {
  /* flex:1 + min-width:0 — sin esto el input se queda en su ancho default de
     ~20 caracteres y corta el texto del foco */
  flex: 1; min-width: 0;
  background: transparent; border: none; padding: 0;
  font-size: 19px; font-weight: 600; color: var(--text);
}
.foco input[type=text]:focus { border: none; }
.foco .frozen { background: transparent; border: none; padding: 0; font-size: 19px; }

/* Cadena de pasos encadenados (problema -> accion -> resultado) */
.chain { margin-top: 16px; display: flex; flex-direction: column; }
.chain .link { position: relative; padding: 0 0 22px 26px; }
.chain .link::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(0,210,100,0.14);
}
.chain .link::after {
  content: ''; position: absolute; left: 4px; top: 21px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, rgba(0,210,100,0.5), rgba(0,210,100,0.12));
}
.chain .link.last { padding-bottom: 0; }
.chain .link.last::after { display: none; }
.chain .lt { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.chain .ld { font-size: 15px; color: var(--text-dim); line-height: 1.45; }

/* Roadmap por mes / semana */
.mes {
  font-size: 19px; font-weight: 800; letter-spacing: -0.4px;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border);
}
.mes span {
  display: block; font-size: 13px; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: 1.3px; margin-top: 5px;
}
.wk { font-size: 14.5px; color: var(--text-dim); line-height: 1.45; padding: 9px 0; }
.wk + .wk { border-top: 1px solid rgba(30,42,47,0.55); }
.wk b {
  display: block; color: var(--text); font-size: 13px; font-weight: 700;
  letter-spacing: 0.2px; margin-bottom: 3px;
}

/* Franja destacada: numero grande + texto al lado */
.franja {
  margin-top: 20px; display: flex; align-items: center; gap: 34px; padding: 20px 28px;
}
.franja .h-num { flex: none; text-align: center; }
.franja .h-num .stat { line-height: 1; margin-top: 2px; }
.franja .h-sub {
  font-size: 14px; font-weight: 600; color: var(--text-dim); margin-top: 6px;
}
.franja .h-txt { font-size: 16px; color: var(--text-dim); line-height: 1.55; }
.franja .h-txt strong { color: var(--text); }

/* ---- Modo PRINT / export PDF ------------------------------------------ */
@page { size: 1440px 810px; margin: 0; }

body.print {
  overflow: visible; display: block; height: auto;
}
body.print #controls { display: none; }
body.print #stage {
  width: 1440px; height: auto; transform: none; margin: 0;
}
body.print .slide {
  position: relative; inset: auto; opacity: 1; pointer-events: auto;
  page-break-after: always; break-after: page; transition: none;
}
body.print .slide:last-child { page-break-after: auto; break-after: auto; }

@media print {
  #controls { display: none !important; }
}

/* ---- PDF: sin sombras difusas ------------------------------------------- */
/* Chromium rasteriza los box-shadow con blur grande como rectangulos solidos
   al exportar a PDF (se ven cajas verdes y negras detras de las tarjetas). */
body.print .card, body.print .card.hi, body.print .float-card {
  box-shadow: none !important;
}

/* ═══ Proceso comercial (deck slides) ═══ */
.proc .phead{position:absolute; left:88px; right:88px; top:30px; display:flex; align-items:center; gap:18px; z-index:2}
.proc .phead img{height:30px}
.proc .pname{font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; line-height:1.5; color:var(--text-dim); border-left:1px solid var(--border); padding-left:18px}
.proc .stages{margin-left:auto; display:flex; gap:8px}
.proc .st{display:flex; align-items:center; gap:8px; padding:7px 13px 7px 8px; border:1px solid var(--border); border-radius:var(--radius-pill); font-size:13px; font-weight:600; color:var(--text-muted)}
.proc .st b{width:20px; height:20px; border-radius:10px; background:var(--bg-card); display:flex; align-items:center; justify-content:center; font-size:11px}
.proc .st.on{border-color:var(--green); color:var(--text)}
.proc .st.on b{background:var(--green); color:#04120a}
.proc .pad{padding-top:114px; padding-bottom:48px; justify-content:flex-start}
.proc h2{font-size:42px}
.proc .checks li b{color:var(--green)}
.proc .ask{margin-top:20px; display:flex; align-items:center; gap:14px; font-size:16px; color:var(--text-dim); font-style:italic}
.proc .ask span{font-style:normal; font-size:11px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--green); border:1px solid var(--border); border-radius:var(--radius-pill); padding:5px 12px}
.proc .demo{font-size:12px; color:var(--text-muted)}
.proc .hub{display:flex; align-items:center}
.proc .srcs{width:260px; height:360px; display:flex; flex-direction:column; justify-content:space-between; padding:6px 0}
.proc .src-pill{height:52px; display:flex; align-items:center; padding:0 20px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg-card); font-size:16px; font-weight:600}
.proc .hub svg path{fill:none; stroke:var(--green); stroke-opacity:.55; stroke-width:2}
.proc .inbox{width:200px; height:200px; display:flex; flex-direction:column; gap:16px; align-items:center; justify-content:center; text-align:center; border:1px solid var(--green); border-radius:var(--radius-lg); background:var(--bg-card); font-size:22px; font-weight:700; line-height:1.3}
.proc .inbox img{height:34px}
.proc .chat{display:flex; flex-direction:column; gap:12px; padding:24px 26px}
.proc .msg{max-width:390px; padding:11px 16px; border-radius:14px; font-size:16px; line-height:1.4}
.proc .msg small{display:block; font-size:11px; color:var(--text-muted); margin-top:3px}
.proc .msg.in{align-self:flex-start; border:1px solid var(--border); background:var(--bg)}
.proc .msg.out{align-self:flex-end; background:rgba(0,210,100,.14); border:1px solid rgba(0,210,100,.35)}
.proc .events{display:flex; gap:10px; justify-content:center; margin-top:4px}
.proc .events span{font-size:13px; font-weight:700; color:var(--green); border:1px dashed rgba(0,210,100,.5); border-radius:var(--radius-pill); padding:6px 14px}
.proc .kanban{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:28px}
.proc .kcol{border:1px solid var(--border); border-radius:var(--radius); padding:14px; height:236px; display:flex; flex-direction:column; gap:10px}
.proc .kcol.hot{border-color:var(--green); background:rgba(0,210,100,.06)}
.proc .kh{font-size:13px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:var(--text-dim); margin-bottom:4px}
.proc .kcol.hot .kh{color:var(--green)}
.proc .kc{background:var(--bg-card); border:1px solid var(--border); border-radius:10px; padding:13px 14px; font-size:15px; font-weight:600}
.proc .point{display:flex; gap:12px; padding:16px 18px; font-size:16px; font-weight:600; line-height:1.4}
.proc .point .ck{color:var(--green)}
.proc .db{display:flex; gap:24px; padding:24px}
.proc .dbl{width:250px; display:flex; flex-direction:column; gap:8px}
.proc .li{display:flex; justify-content:space-between; padding:11px 14px; border:1px solid var(--border); border-radius:10px; font-size:14px; font-weight:600}
.proc .li b{color:var(--text-muted)}
.proc .li.on{border-color:var(--green); background:rgba(0,210,100,.08)}
.proc .li.on b{color:var(--green)}
.proc .dbt{flex:1; display:flex; flex-direction:column; gap:10px}
.proc table{width:100%; border-collapse:collapse; font-size:14px}
.proc .dbt th,.proc .dbt td{text-align:left; padding:12px 6px; border-bottom:1px solid var(--border)}
.proc .dbt th,.proc .mini th{color:var(--text-muted); font-size:11px; text-transform:uppercase; letter-spacing:1px}
.proc .kpi{padding:16px 22px}
.proc .kpi .stat{font-size:38px; margin-top:4px}
.proc .panel{padding:18px 22px; height:208px}
.proc .bar{display:grid; grid-template-columns:96px 1fr 38px; align-items:center; gap:10px; margin-top:16px; font-size:13px}
.proc .bar i{height:9px; background:var(--bg); border-radius:5px; overflow:hidden}
.proc .bar em{display:block; height:100%; background:var(--green); border-radius:5px}
.proc .bar b{text-align:right}
.proc .mini{margin-top:12px}
.proc .mini th,.proc .mini td{text-align:right; padding:9px 0; border-bottom:1px solid var(--border)}
.proc .mini th:first-child,.proc .mini td:first-child{text-align:left}
.proc .mini td.g{font-weight:800}
.proc .bottleneck{margin-top:14px; display:flex; align-items:center; gap:18px; padding:16px 22px; font-size:16px}
.proc .bottleneck b{color:var(--green)}
.proc .bottleneck .demo{margin-left:auto}

/* Slide 1: tarjetas con borde verde y conexiones animadas */
.proc .src-pill{border-color:var(--green)}
.proc .hub svg{overflow:visible}
.proc .hub svg path.glow{stroke-width:11; stroke-opacity:.14; stroke-linecap:round}
.proc .hub svg path.base{stroke-width:6; stroke-opacity:.8; stroke-linecap:round}
.proc .hub svg path.dots{stroke:#fff; stroke-opacity:1; stroke-width:3.5; stroke-linecap:round; stroke-dasharray:0 14; animation:flujo .7s linear infinite}
@keyframes flujo{to{stroke-dashoffset:-14}}
.proc .inbox{position:relative; border:0; border-radius:18px}
.proc .inbox .ring{position:absolute; left:0; top:0; overflow:visible; pointer-events:none}
.proc .inbox .ring rect{fill:none; stroke:var(--green)}
.proc .inbox .ring .glow{stroke-width:11; stroke-opacity:.14}
.proc .inbox .ring .base{stroke-width:6; stroke-opacity:.8}
.proc .inbox .ring .dots{stroke:#fff; stroke-width:3.5; stroke-linecap:round; stroke-dasharray:0 14; animation:flujo .7s linear infinite}

/* Slide 2: chat en vivo */
.proc .chat{height:442px; padding:0; gap:0; overflow:hidden}
.proc .chead{display:flex; align-items:center; gap:10px; padding:13px 22px; border-bottom:1px solid var(--border); font-size:14px; font-weight:700}
.proc .chead i{width:9px; height:9px; border-radius:5px; background:var(--green)}
.proc .chead span{margin-left:auto; font-size:12px; font-weight:600; color:var(--green)}
.proc .log{flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:10px; padding:16px 22px; scrollbar-width:thin; scrollbar-color:rgba(0,210,100,.45) transparent}
.proc .log .msg{flex-shrink:0; max-width:420px; font-size:15px}
.proc .log .msg:not(.show){display:none}
.proc .log .msg.show{animation:caer .45s ease-out both}
.proc .typing{display:none; flex-shrink:0; align-self:flex-end; gap:5px; padding:13px 16px; border-radius:14px; background:rgba(0,210,100,.14); border:1px solid rgba(0,210,100,.35)}
.proc .typing.show{display:flex}
.proc .typing b{width:7px; height:7px; border-radius:4px; background:var(--green); animation:punto 1s infinite}
.proc .typing b:nth-child(2){animation-delay:.15s}
.proc .typing b:nth-child(3){animation-delay:.3s}
.proc .chat .events{margin:0; padding:12px 0 14px; border-top:1px solid var(--border)}
.proc .chat .events span{opacity:0}
.proc .chat.done .events span{animation:caer .45s ease-out both}
.proc .chat.done .events span:nth-child(2){animation-delay:.5s}
@keyframes caer{from{opacity:0; transform:translateY(-14px)} to{opacity:1; transform:none}}
@keyframes punto{0%,60%,100%{opacity:.3; transform:none} 30%{opacity:1; transform:translateY(-4px)}}
/* PDF: la conversación completa, quieta y sin scroll */
body.print .proc .chead{padding:8px 22px}
body.print .proc .log{overflow:hidden; gap:5px; padding:8px 22px}
body.print .proc .log .msg{display:block; animation:none; max-width:500px; font-size:12px; line-height:1.3; padding:6px 11px; border-radius:10px}
body.print .proc .log .msg small{display:none}
body.print .proc .chat .events{padding:7px 0}
body.print .proc .chat .events span{opacity:1; animation:none}
.proc .log .msg.sep{align-self:stretch; max-width:none; display:flex; align-items:center; gap:12px; margin:4px 0; padding:0; font-size:12px; font-weight:700; color:var(--green)}
.proc .log .msg.sep:not(.show){display:none}
.proc .log .msg.sep::before,.proc .log .msg.sep::after{content:""; flex:1; border-top:1px dashed rgba(0,210,100,.45)}
body.print .proc .log{gap:3px; padding:6px 22px}
body.print .proc .log .msg{max-width:560px; font-size:11.5px; padding:4px 10px}
body.print .proc .log .msg.sep{display:flex; max-width:none; margin:0; padding:1px 0; font-size:11px}

/* Slide 3: pipeline de seis etapas */
.proc .kanban.six{grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-top:26px}
.proc .six .kcol{height:438px; padding:12px 10px; gap:9px}
.proc .six .kh{display:flex; justify-content:space-between; align-items:flex-start; gap:6px; height:34px; flex-shrink:0; margin:0; font-size:11px; letter-spacing:.8px; line-height:1.45}
.proc .six .kh b{flex-shrink:0; min-width:22px; height:20px; border-radius:10px; background:var(--bg-card); display:flex; align-items:center; justify-content:center; letter-spacing:0}
.proc .six .kc{display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:11px 10px}
.proc .six .kn{font-size:14px; font-weight:700; white-space:nowrap}
.proc .six .kt{font-size:12px; font-weight:500; color:var(--text-dim); margin-bottom:2px}
.proc .six .tag{font-size:10.5px; font-weight:700; line-height:1; padding:4px 8px; border-radius:var(--radius-pill); border:1px solid var(--border); color:var(--text-dim)}
.proc .six .tag.hot{color:#ffab40; border-color:rgba(255,171,64,.5); background:rgba(255,171,64,.12)}
.proc .six .tag.cold{color:#6ab7ff; border-color:rgba(106,183,255,.5); background:rgba(106,183,255,.12)}
.proc .six .tag.ready{color:var(--green); border-color:rgba(0,210,100,.5); background:rgba(0,210,100,.12)}

/* Slide 3: tablero compacto + una idea debajo de cada etapa */
.proc .kanban.six{margin-top:16px}
.proc .six .kcol{height:364px; padding:10px; gap:8px}
.proc .six .kc{gap:3px; padding:8px 10px}
.proc .six .kn{font-size:13.5px; line-height:1.25}
.proc .six .kt{font-size:11.5px; line-height:1.25; margin-bottom:1px}
.proc .six .tag{font-size:10px; padding:3px 8px}
.proc .insights{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-top:12px}
.proc .insights .point{gap:8px; padding:12px 11px; font-size:13px; line-height:1.4}
.proc .insights + .ask{margin-top:14px}

/* Slide 4: vista de contactos */
.proc .contactos{display:grid; grid-template-columns:790px minmax(0,1fr); gap:40px; align-items:center; margin-top:20px}
.proc .crm{padding:0; overflow:hidden}
.proc .crm-top{display:flex; align-items:center; gap:24px; height:48px; padding:0 18px; border-bottom:1px solid var(--border); font-size:13px; color:var(--text-dim)}
.proc .crm-top b{font-size:17px; color:var(--text); margin-right:4px}
.proc .crm-top span,.proc .crm-lists span{display:flex; align-items:center; height:100%; border-bottom:2px solid transparent; font-weight:600}
.proc .crm-top span.on{color:var(--green); border-color:var(--green)}
.proc .crm-lists{display:flex; align-items:center; gap:26px; height:44px; padding:0 18px; border-bottom:1px solid var(--border); font-size:13px; color:var(--text-dim)}
.proc .crm-lists span.on{color:#6ab7ff; border-color:#6ab7ff}
.proc .crm-lists em{margin-left:auto; font-style:normal; font-weight:700; color:var(--text)}
.proc .crm-bar{display:flex; align-items:center; gap:10px; height:52px; padding:0 18px; font-size:12.5px; font-weight:600}
.proc .crm-bar span{padding:6px 14px; border:1px solid var(--border); border-radius:8px}
.proc .crm-bar .count{border-color:transparent; border-radius:var(--radius-pill); background:rgba(106,183,255,.12); color:#6ab7ff}
.proc .crm table{font-size:13px; table-layout:fixed}
.proc .crm th,.proc .crm td{height:36px; padding:0 12px; text-align:left; border-top:1px solid var(--border); white-space:nowrap}
.proc .crm th{font-size:12px; color:var(--text-dim)}
.proc .crm td{color:var(--text-dim)}
.proc .crm td:nth-child(2){color:var(--text); font-weight:600}
.proc .crm th:nth-child(1){width:50px; padding-left:18px}
.proc .crm td:nth-child(1){padding-left:18px}
.proc .crm th:nth-child(2){width:250px}
.proc .crm th:nth-child(3){width:160px}
.proc .crm .box{display:block; width:14px; height:14px; border:1px solid var(--text-muted); border-radius:4px}
.proc .crm .av{display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; margin-right:10px; border-radius:12px; font-size:10px; font-weight:700; color:var(--text); vertical-align:middle}
.proc .contactos .checks li{font-size:18px}
.proc .crm td:nth-child(2){line-height:24px}
.proc .crm .av{float:left; margin-top:0}
.proc .crm-bar .act{display:flex; align-items:center; gap:8px; border-color:var(--green); color:var(--green); font-weight:700}
.proc .crm-bar .act.main{margin-left:auto; background:var(--green); color:#04120a}
.proc .crm-bar .act svg{width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round}
.proc .crm .box.on{display:flex; align-items:center; justify-content:center; border-color:var(--green); background:var(--green); color:#04120a; font-style:normal; font-size:10px; font-weight:800; line-height:1}

/* Slide 5: consultas por etapa del pipeline */
.proc .kpi{padding:11px 22px}
.proc .kpi .stat{font-size:32px; margin-top:2px}
.proc .panel{height:180px; padding:14px 22px}
.proc .panel .bar{margin-top:12px}
.proc .panel .mini{margin-top:6px}
.proc .panel .mini th,.proc .panel .mini td{padding:6px 0}
.proc .etapas{margin-top:12px; padding:14px 22px}
.proc .etapas .eh{display:flex; justify-content:space-between; align-items:center}
.proc .eg{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin-top:10px}
.proc .etapa{display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 6px; border:1px solid transparent; border-radius:10px}
.proc .etapa .en{display:flex; align-items:baseline; gap:6px; font-size:12px; color:var(--text-dim)}
.proc .etapa .en b{font-size:18px; color:var(--text)}
.proc .etapa i{display:flex; align-items:flex-end; width:56px; height:62px; background:var(--bg); border-radius:6px; overflow:hidden}
.proc .etapa em{display:block; width:100%; background:var(--green)}
.proc .etapa span{font-size:11.5px; font-weight:600; color:var(--text-dim); text-align:center; white-space:nowrap}
.proc .etapa.top{border-color:#ffab40; background:rgba(255,171,64,.1)}
.proc .etapa.top em{background:#ffab40}
.proc .etapa.top .en b,.proc .etapa.top span{color:#ffab40}
