/* Products page (/productos, productos-104): the systems built first for real companies and offered to anyone, each
   with the same screen rebuilt with made-up data. It sits on the inner-page shell (pagina.css) and reuses the landing's
   tokens and labels; the closing call to action is the one the portfolio had. */

/* «Sistemas listos para tu empresa», the guide text beside it on wide screens and the row of names below. */
.productos-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,420px);align-items:end;gap:14px 48px}
.productos-head .section-meta{grid-column:1/-1;margin-bottom:clamp(14px,2.5svh,28px);padding-bottom:12px;font-size:11px;line-height:1.5}
.productos-head h1{margin:0;font-size:clamp(2.6rem,4.8vw,4.9rem);line-height:.95;letter-spacing:-.06em}
.productos-lead{padding-bottom:4px;font-size:15px;line-height:1.55}
.productos-indice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:clamp(16px,3svh,28px)}
.productos-indice a{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:1px solid var(--ch-line);border-radius:999px;color:var(--ch-soft);font-size:13px;text-decoration:none;transition:border-color .2s,color .2s}
.productos-indice a:hover{border-color:var(--lime);color:var(--lime)}
.productos-indice a{gap:8px}
.productos-indice .producto-icono{width:22px;height:22px;border-radius:5px}
.productos-indice b{color:var(--white)}

/* One product per row: the screen on one side, the text on the other, alternating; one column on phones. */
.productos-lista{display:grid;gap:clamp(36px,6svh,72px);margin:clamp(32px,6svh,64px) 0 0;padding:0;list-style:none}
.producto{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(22px,3.4vw,56px);padding-top:clamp(32px,6svh,64px);border-top:1px solid var(--ch-line);scroll-margin-top:calc(var(--nav-height,64px) + 20px)}
.producto:nth-child(even) .producto-pantalla{order:2}
.producto-pantalla{margin:0}
.producto-pantalla img{display:block;width:100%;height:auto;aspect-ratio:16/10;border:1px solid var(--ch-line);border-radius:10px;background:var(--ch-panel);box-shadow:0 24px 60px -32px #00000059}
.producto-pantalla figcaption{margin-top:9px;font-size:12px;color:var(--ch-muted)}
.producto-para{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--lime)}
.producto h2{margin:10px 0 0;font-size:clamp(1.8rem,3vw,2.9rem);line-height:1;letter-spacing:-.045em}
.producto h2 a{display:inline-flex;align-items:center;gap:.32em;color:inherit;text-decoration:none}
.producto h2 .producto-icono{width:1.15em;height:1.15em;border-radius:.22em}
.producto h2 a:hover{color:var(--lime)}
.producto-tipo{margin-top:8px;font-size:clamp(16px,1.6vw,20px);line-height:1.3;color:var(--ch-soft)}
.producto-que{margin-top:14px;font-size:clamp(16px,1.5vw,18px);line-height:1.5}
.producto-puntos{display:grid;gap:9px;margin:18px 0 0;padding:0;list-style:none}
.producto-puntos li{position:relative;padding-left:22px;font-size:15px;line-height:1.5}
.producto-puntos li::before{content:"";position:absolute;top:.6em;left:2px;width:9px;height:9px;border-radius:50%;background:var(--lime)}
#curso-aprender + .producto-puntos li{display:grid;grid-template-columns:1.5em minmax(0,1fr);align-items:start;gap:10px;padding-left:0}
#curso-aprender + .producto-puntos li::before{content:none}
.producto-base{margin-top:16px;font-size:13px;line-height:1.5;color:var(--ch-muted)}
.producto-acciones{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:22px}

/* Closing call to action: the contact form on the landing and the 30-minute call. */
.productos-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px 56px;margin-top:clamp(56px,10svh,112px);padding:clamp(26px,4vw,56px);border:1px solid var(--ch-line);border-radius:10px;background:radial-gradient(ellipse at 15% 130%,var(--ch-raised) 0%,var(--ch-panel) 62%)}
.productos-eyebrow{font-size:11px;letter-spacing:.12em;color:var(--lime)}
.productos-cta h2{margin-top:14px;font-size:clamp(2rem,4.2vw,3.9rem);line-height:1;letter-spacing:-.055em}
.productos-cta h2+p{max-width:560px;margin-top:16px;font-size:15px;line-height:1.55}
.productos-cta-acciones{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.productos-cta-acciones .text-link{min-height:44px}
.productos-cta-nota{font-size:12px;line-height:1.5;color:var(--ch-muted)}

/* One product's own page (/productos/<id>, productos-106): its name and what it is beside the screen, then what it does,
   how it works and what it includes, and the call to see it with your case. */
.ficha-migas{display:flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--ch-muted)}
.ficha-migas a{color:inherit}
.ficha-migas a:hover{color:var(--lime)}
.ficha-cabeza{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:center;gap:clamp(22px,3.4vw,56px);margin-top:clamp(18px,3svh,32px)}
.ficha-cabeza h1{display:flex;align-items:center;gap:.16em;margin:10px 0 0;font-size:clamp(3rem,7vw,6.2rem);line-height:.9;letter-spacing:-.06em}
.ficha-cabeza h1 .producto-icono{width:.82em;height:.82em;border-radius:.14em}
.ficha-tipo{margin-top:14px;font-size:clamp(19px,2vw,25px);line-height:1.25}
.ficha-que{margin-top:14px;font-size:16px;line-height:1.55;color:var(--ch-soft)}
.ficha-bloques{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.6vw,40px);margin-top:clamp(40px,7svh,80px);padding-top:clamp(28px,5svh,48px);border-top:1px solid var(--ch-line)}
.ficha-bloque h2{margin:0 0 16px;font-size:clamp(1.35rem,2vw,1.9rem);letter-spacing:-.03em}
.ficha-pasos{display:grid;gap:14px;margin:0;padding:0;list-style:none;counter-reset:paso}
.ficha-pasos li{position:relative;padding-left:40px;font-size:15px;line-height:1.5;counter-increment:paso}
.ficha-pasos li::before{content:counter(paso);position:absolute;top:-1px;left:0;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--lime);color:var(--ch-panel);font-size:13px;font-weight:700}
.ficha-modulos{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.ficha-modulos li{padding:7px 12px;border:1px solid var(--ch-line);border-radius:999px;font-size:13px;line-height:1.3}
.ficha-base{margin-top:clamp(24px,4svh,40px)}
.catalogo-industria{scroll-margin-top:calc(var(--nav-height) + 16px)}
.catalogo-industria>h2{display:flex;align-items:center;gap:.45em;margin:clamp(28px,5svh,56px) 0 4px;font-size:clamp(1.7rem,3vw,2.6rem);letter-spacing:-.04em}
.catalogo-industria>h2 .producto-icono{width:.85em;height:.85em}
.catalogo-enlace{margin:16px 0 0}
.producto-sin-pantalla{grid-template-columns:minmax(0,760px)}
.ficha-sin-pantalla .ficha-cabeza{grid-template-columns:minmax(0,760px)}
.ficha-sin-pantalla .ficha-cabeza h1{display:block;font-size:clamp(2.4rem,6vw,4.4rem)}
.ficha-sin-pantalla .ficha-bloques{grid-template-columns:minmax(0,760px)}
/* Pantalla de muestra en HTML, el mismo lenguaje que la del conciliador, y se acomoda en el teléfono. */
.producto-mock{margin:0;overflow:hidden;border:1px solid #e6e9ee;border-radius:10px;background:#f6f7f9;color:#18202f}
.mock-app{display:grid;grid-template-columns:176px minmax(0,1fr);min-height:280px}
.mock-side{background:#16202f;color:#c9d0dc;padding:12px 8px}
.mock-marca{padding:0 8px 12px;color:#fff;font-weight:700;font-size:14px}
.mock-marca span{display:block;margin-top:2px;font-weight:400;font-size:11px;color:#8e99ad}
.mock-item{padding:7px 8px;border-radius:6px;font-size:12px;line-height:1.3}
.mock-item.on{background:#26344a;color:#fff;font-weight:700;box-shadow:inset 2px 0 0 #e08a3e}
.mock-main{min-width:0;padding:12px}
.mock-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.mock-top b{font-size:16px}
.mock-estado{border-radius:999px;background:#fff4e6;color:#9a5a12;padding:2px 8px;font-size:11px;font-weight:700}
.mock-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mock-tile{border:1px solid #e6e9ee;border-radius:8px;background:#fff;padding:8px}
.mock-tile small{display:block;color:#6b7385;font-size:11px}
.mock-tile b{display:block;margin-top:2px;font-size:15px}
.mock-tabla{overflow:auto}
.mock-tabla table{width:100%;border-collapse:collapse;background:#fff;font-size:12px}
.mock-tabla th,.mock-tabla td{padding:6px 8px;border-bottom:1px solid #eef0f3;text-align:left;white-space:nowrap}
.mock-tabla th{color:#6b7385;font-size:11px;background:#f8f9fb}
.mock-pill{display:inline-block;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}
.mock-ok{background:#e7f6ee;color:#1d7a49}
.mock-pend{background:#fdecea;color:#b03a2e}
.mock-rev{background:#fff4e6;color:#9a5a12}
.mock-nav{display:flex;gap:8px;overflow:auto;padding:10px 12px;background:#16202f}
.mock-nav span{white-space:nowrap;color:#c9d0dc;font-size:12px}
.mock-nav .on{color:#fff;font-weight:700}
.mock-hero{padding:8px 12px 14px}
.mock-hero p{margin:6px 0 0;color:#3c4558}
.mock-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px}
.mock-cards article{border:1px solid #e6e9ee;border-radius:8px;background:#fff;padding:10px}
.mock-cards b{display:block;margin-bottom:4px}
@media(max-width:700px){
 .mock-app{grid-template-columns:1fr}
 .mock-side{display:flex;gap:6px;overflow:auto;padding:8px}
 .mock-marca{display:none}
 .mock-item{white-space:nowrap;background:#1e2b3d}
 .mock-item.on{background:#e08a3e;color:#16202f}
 .mock-tiles,.mock-cards{grid-template-columns:1fr 1fr}
}
/* An agent has no screenshot: the catalogue's mark sits in the same frame. Names are two words, so the title wraps. */
.agente-escudo{display:grid;place-items:center;aspect-ratio:16/10;border:1px solid var(--ch-line);border-radius:10px;background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--agent-color) 22%,var(--ch-panel)),var(--ch-panel) 70%);box-shadow:0 24px 60px -32px #00000059}
.agente-escudo .catalog-symbol{width:min(46%,220px);height:auto}
.ficha[data-agente] .ficha-cabeza h1{display:block}
.ficha[data-agente] .ficha-cabeza h1 .producto-icono{margin-right:.2em}

@media(max-width:899px){
 .productos-head,.producto,.productos-cta,.ficha-cabeza,.ficha-bloques{grid-template-columns:1fr}
 .producto:nth-child(even) .producto-pantalla{order:0}
}
