/* CoreFlow · conversion.css (v35a, 13-oct-2026)
   Lo nuevo del rediseño para agendar: el hero con los sistemas reales en perspectiva, los próximos horarios,
   la franja de nombres, «Así se ve por dentro» (.pd-), agentes (.ag-), rubros (.rb-), preguntas (.faq),
   la agenda en dos columnas, las fichas completas de /trabajos/ (.tr-ficha) y la página /agentes/ (.pa-).
   Solo tokens de marca.css. En movimiento: transform, opacity, clip-path y filter. */

/* ================= hero: titular, acción y los sistemas debajo ================= */
.hero.hero-v3 { min-height: 0; display: block; padding-top: calc(68px + clamp(16px, 4.5vh, 56px)); padding-bottom: clamp(18px, 4vh, 44px); }
.hero-v3 .bajada { max-width: 39rem; }
.hero-v3 .acciones { gap: 1rem; }
.acciones-fila { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

.cupos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem .8rem; }
.cupos-t { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--txt-2); }
.cupos-t i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: cupo-late 2.2s ease-out infinite; }
@keyframes cupo-late { 0% { box-shadow: 0 0 0 0 rgba(127, 209, 168, .55); } 100% { box-shadow: 0 0 0 9px rgba(127, 209, 168, 0); } }
.cupos-l { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.cupo { min-height: 44px; padding: 0 1rem; border-radius: 99px; border: 1px solid var(--linea-2); background: rgba(244, 241, 234, .05); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: border-color .25s var(--ola), color .25s var(--ola), transform .25s var(--ola), background .25s var(--ola);
  animation: cupo-entra .6s var(--ola) both; animation-delay: calc(var(--i, 0) * 70ms); }
.cupo:hover { border-color: var(--destello); color: var(--destello); background: rgba(255, 198, 41, .08); transform: translateY(-2px); }
.cupo:active { transform: scale(.97); }
@keyframes cupo-entra { from { opacity: 0; transform: translateY(8px); } }

/* el escenario: una pantalla de escritorio y dos celulares, inclinados; se enderezan al bajar (--rx, --sc, --sep los pone inicio.js) */
.esc3d { position: relative; width: min(100% - 2 * var(--g), 1080px); margin: clamp(112px, 17vh, 160px) auto 0; perspective: 1700px; perspective-origin: 50% 0%; }
.esc3d .orbe-hero { position: absolute; left: 50%; top: 0; width: min(46%, 420px); aspect-ratio: 1; min-height: 0; margin: 0; transform: translate(-50%, -64%); pointer-events: none; }
.esc-plano { position: relative; transform-style: preserve-3d; transform-origin: 50% 0%; will-change: transform;
  transform: rotateX(calc(var(--rx, 24) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg)) scale(var(--sc, .92)); }
.esc-pantalla { margin: 0; overflow: hidden; border-radius: clamp(10px, 1.4vw, 18px); border: 1px solid rgba(79, 209, 224, .3); background: #040D11;
  box-shadow: 0 70px 130px -50px rgba(0, 0, 0, .95), 0 -36px 110px -36px rgba(255, 198, 41, .34), 0 0 0 1px rgba(255, 255, 255, .04) inset; }
.esc-cel { position: absolute; bottom: -7%; width: 17.5%; margin: 0; overflow: hidden; border-radius: clamp(12px, 1.9vw, 26px); border: 3px solid #0B1D24; outline: 1px solid rgba(79, 209, 224, .32); background: #040D11; box-shadow: 0 44px 80px -30px rgba(0, 0, 0, .95), 0 0 50px -18px rgba(79, 209, 224, .45); }
.esc-izq { left: -4.5%; transform: translate3d(calc(var(--sep, 0) * -1px), 0, 110px) rotateY(13deg); }
.esc-der { right: -4.5%; transform: translate3d(calc(var(--sep, 0) * 1px), 0, 110px) rotateY(-13deg); }
.esc-cel .pd-pantalla { aspect-ratio: 432 / 936; }
.esc-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 99px; border: 1px solid rgba(255, 198, 41, .38); background: rgba(6, 19, 24, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .8rem; white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); transform: translateZ(150px); animation: esc-flota 6.5s ease-in-out infinite; }
.esc-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.esc-c1 { left: 6%; top: -4.5%; }
.esc-c2 { right: 8%; top: 24%; animation-delay: -2.2s; }
.esc-c3 { left: 22%; bottom: 7%; animation-delay: -4.4s; }
@keyframes esc-flota { 50% { translate: 0 -9px; } }
.esc-nota { margin: clamp(46px, 8vh, 80px) auto 0; text-align: center; font-size: .82rem; color: var(--txt-3); }
@media (max-width: 760px) {
  .esc3d { margin-top: 104px; perspective: 1100px; }
  .esc-cel { width: 25%; bottom: -16%; }
  .esc-izq { left: -1%; } .esc-der { right: -1%; }
  .esc-chip { font-size: .7rem; padding: .42rem .7rem; }
  .esc-c1 { left: 2%; top: -9%; } .esc-c2 { right: 2%; top: 30%; } .esc-c3 { display: none; }
  .esc-nota { margin-top: 68px; }
}
@media (prefers-reduced-motion: reduce) { .esc-plano { transform: rotateX(6deg) scale(.97); } .esc-chip, .cupos-t i, .cupo { animation: none; } }

/* ventana y pantalla (las comparten el hero y «por dentro») */
.pd-barra { display: flex; align-items: center; gap: 6px; height: clamp(24px, 3vw, 34px); padding: 0 12px; background: rgba(4, 13, 17, .96); border-bottom: 1px solid rgba(79, 209, 224, .14); }
.pd-barra i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(244, 241, 234, .18); }
.pd-barra b { min-width: 0; margin-left: 8px; padding: 4px 10px; border-radius: 99px; background: rgba(79, 209, 224, .07); font: 500 .72rem/1 var(--ft); color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-pantalla { position: relative; display: block; aspect-ratio: 1280 / 800; overflow: hidden; background: #040D11; }
.pd-pantalla img, .pd-pantalla video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pd-pantalla video { opacity: 0; transition: opacity .45s var(--ola); }
.pd-pantalla video.listo { opacity: 1; }

/* ================= franja de nombres ================= */
.franja { padding: clamp(30px, 6vh, 60px) 0 0; text-align: center; }
.franja-t { margin: 0 0 1.1rem; font: 500 .76rem/1 var(--ft); letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3); }
.marq { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marq ul { display: flex; width: max-content; gap: clamp(30px, 5vw, 70px); margin: 0; padding: 0 clamp(15px, 2.5vw, 35px); list-style: none; animation: marq 44s linear infinite; }
.marq:hover ul, .marq:focus-within ul { animation-play-state: paused; }
.marq li { display: flex; align-items: baseline; gap: .6rem; font: 600 clamp(1.05rem, 2vw, 1.45rem)/1.2 var(--ft); letter-spacing: -.02em; color: var(--txt-2); white-space: nowrap; }
.marq li small { font: 400 .78rem/1 var(--ft); letter-spacing: 0; color: var(--txt-3); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .marq li[aria-hidden] { display: none; } }

/* ================= kicker dentro de los encabezados centrados ================= */
.h2c .kicker { margin-bottom: 1rem; }

/* ================= llamada a agendar entre secciones ================= */
.cta-linea { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; margin-top: clamp(40px, 7vh, 76px); text-align: center; }
.cta-linea p { margin: 0; font: 600 clamp(1.2rem, 2.4vw, 1.7rem)/1.15 var(--ft); letter-spacing: -.02em; text-wrap: balance; }
.cta-linea .serif { font-size: 1.12em; }
.cta-par { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }

/* ================= así se ve por dentro ================= */
.pd { display: grid; gap: clamp(20px, 3.4vw, 38px); min-width: 0; }
.pd-sistemas { justify-self: center; display: inline-flex; gap: 4px; max-width: 100%; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: 99px; border: 1px solid var(--linea); background: rgba(7, 22, 28, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pd-sistemas::-webkit-scrollbar { display: none; }
.pd-sis { flex: none; min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 99px; background: none; color: var(--txt-2); font-size: .95rem; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background .3s var(--ola), color .3s var(--ola); }
.pd-sis:hover { color: var(--txt); }
.pd-sis[aria-selected="true"] { background: var(--destello); color: #10170F; font-weight: 600; box-shadow: 0 8px 26px -10px rgba(255, 198, 41, .7); }
.pd-cuerpo { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); gap: clamp(22px, 4.4vw, 64px); align-items: center; }
.pd-marca { margin: 0 0 .9rem; font: 500 .76rem/1 var(--ft); letter-spacing: .16em; text-transform: uppercase; color: #4FD1E0; }
.pd-mods { display: grid; gap: 4px; }
.pd-mod { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; width: 100%; padding: .8rem 1rem; overflow: hidden; border: 1px solid transparent; border-radius: 16px; background: none; color: var(--txt-2); text-align: left; -webkit-tap-highlight-color: transparent; transition: background .3s var(--ola), border-color .3s var(--ola); }
.pd-mod:hover { background: rgba(244, 241, 234, .03); }
.pd-n { padding-top: .22rem; font: 500 .74rem/1 var(--ft); font-variant-numeric: tabular-nums; color: var(--txt-3); transition: color .3s var(--ola); }
.pd-txt strong { display: block; font: 600 1.05rem/1.25 var(--ft); letter-spacing: -.012em; color: var(--txt-2); transition: color .3s var(--ola); }
.pd-p { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ola), opacity .4s var(--ola), margin .5s var(--ola); }
.pd-p > span { min-height: 0; overflow: hidden; font-size: .93rem; line-height: 1.45; }
.pd-mod[aria-pressed="true"] { background: rgba(244, 241, 234, .05); border-color: var(--linea); }
.pd-mod[aria-pressed="true"] .pd-n { color: var(--destello); }
.pd-mod[aria-pressed="true"] strong { color: var(--txt); }
.pd-mod[aria-pressed="true"] .pd-p { grid-template-rows: 1fr; opacity: 1; margin-top: .3rem; }
.pd-avance { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #4FD1E0, var(--destello)); transform: scaleX(0); transform-origin: left; }
.pd-mod.corre .pd-avance { animation: pd-avanza var(--dur, 10s) linear forwards; }
@keyframes pd-avanza { to { transform: scaleX(1); } }
.pd-nota { margin: 1rem 0 0 1rem; font-size: .8rem; line-height: 1.45; color: var(--txt-3); }

.pd-escena { position: relative; min-width: 0; perspective: 1600px; }
.pd-marco { margin: 0; overflow: hidden; border-radius: clamp(10px, 1.3vw, 16px); border: 1px solid rgba(79, 209, 224, .28); background: #040D11;
  box-shadow: 0 50px 100px -44px rgba(0, 0, 0, .95), 0 0 70px -26px rgba(79, 209, 224, .5);
  transform: rotateY(calc(var(--mx, 0) * 5deg - 3deg)) rotateX(calc(var(--my, 0) * -4deg + 1.5deg)); transition: transform .6s var(--ola), opacity .9s var(--ola); }
.pd:not(.visto) .pd-marco { opacity: 0; transform: rotateX(18deg) translateY(60px) scale(.93); }
.pd-marco.cambia .pd-pantalla { animation: pd-cambia .7s var(--ola); }
@keyframes pd-cambia { from { clip-path: inset(0 0 100% 0); filter: brightness(1.7) saturate(1.2); } to { clip-path: inset(0); filter: none; } }
.pd-cel { position: absolute; left: -4.5%; bottom: -9%; width: 19%; margin: 0; overflow: hidden; border-radius: clamp(12px, 1.8vw, 24px); border: 3px solid #0B1D24; outline: 1px solid rgba(79, 209, 224, .32); background: #040D11;
  box-shadow: 0 40px 70px -26px rgba(0, 0, 0, .95), 0 0 46px -16px rgba(255, 198, 41, .4);
  transform: translateZ(70px) rotateY(calc(var(--mx, 0) * 9deg + 8deg)); transition: transform .6s var(--ola), opacity .9s var(--ola) .15s; }
.pd:not(.visto) .pd-cel { opacity: 0; transform: translateZ(70px) translateY(50px) rotateY(20deg); }
.pd-cel .pd-pantalla { aspect-ratio: 432 / 936; }
.pd-cel video { opacity: 1; }
.pd-cel.entra { animation: pd-cel-entra .7s var(--ola); }
@keyframes pd-cel-entra { from { opacity: 0; translate: 0 26px; } }
.pd-brillo { position: absolute; inset: 12% 6% -12%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 198, 41, .2), transparent); filter: blur(46px); pointer-events: none; }
@media (max-width: 900px) {
  .pd-cuerpo { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pd-escena { order: -1; margin-inline: 2%; }
  .pd-cel { width: 23%; left: -3%; bottom: -8%; }
  .pd-marca { text-align: center; }
  .pd-mods { grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 8px; margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pd-mods::-webkit-scrollbar { display: none; }
  .pd-mod { scroll-snap-align: center; align-content: start; border-color: var(--linea); background: rgba(7, 22, 28, .5); }
  .pd-p { grid-template-rows: 1fr; opacity: 1; margin-top: .3rem; }
  .pd-nota { margin-left: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .pd-marco, .pd-cel { transform: none !important; opacity: 1 !important; transition: none; } .pd-marco.cambia .pd-pantalla, .pd-cel.entra, .pd-mod.corre .pd-avance { animation: none; } }

/* ================= agentes ================= */
.ag-puntos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; list-style: none; }
.ag-puntos li { padding: clamp(16px, 1.9vw, 26px); border-radius: var(--radio); }
.ag-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: .95rem; border-radius: 50%; border: 1px solid rgba(79, 209, 224, .3); background: rgba(79, 209, 224, .06); }
.ag-ic svg { width: 22px; height: 22px; fill: none; stroke: #4FD1E0; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ag-puntos h3 { margin: 0 0 .4rem; font: 600 1.06rem/1.2 var(--ft); letter-spacing: -.012em; }
.ag-puntos p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--txt-2); }
[data-escena] .ag-puntos li { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ola), transform .8s var(--ola); transition-delay: calc(var(--i, 0) * 90ms + .15s); }
[data-escena].llego .ag-puntos li { opacity: 1; transform: none; }
[data-escena] .ag-ic path, [data-escena] .ag-ic rect, [data-escena] .ag-ic circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ola); transition-delay: calc(var(--i, 0) * 90ms + .4s); }
[data-escena].llego .ag-ic path, [data-escena].llego .ag-ic rect, [data-escena].llego .ag-ic circle { stroke-dashoffset: 0; }
.ag-prueba { margin-top: clamp(34px, 6vh, 64px); scroll-margin-top: 90px; }
.ag-sub { margin: 0 0 1.3rem; text-align: center; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--txt-2); }
.ag-sub .serif { font-size: 1.3em; }
.ag-giros { margin-top: clamp(28px, 5vh, 50px); text-align: center; }
.ag-giros > p { margin: 0 0 .95rem; color: var(--txt-2); }
.giros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.giro { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border-radius: 99px; border: 1px solid var(--linea-2); background: rgba(244, 241, 234, .04); font-size: .92rem; text-decoration: none; color: var(--txt); transition: border-color .25s var(--ola), transform .25s var(--ola), background .25s var(--ola); }
.giro span { color: #4FD1E0; }
.giro:hover { border-color: #4FD1E0; background: rgba(79, 209, 224, .08); transform: translateY(-2px); }
@media (max-width: 900px) { .ag-puntos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .ag-puntos { grid-template-columns: minmax(0, 1fr); } .ag-puntos li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; } .ag-ic { grid-row: span 2; margin: 0; } .ag-puntos h3 { align-self: end; } .ag-puntos p { align-self: start; } }
@media (prefers-reduced-motion: reduce) { [data-escena] .ag-puntos li { opacity: 1; transform: none; transition: none; } [data-escena] .ag-ic * { stroke-dashoffset: 0 !important; transition: none !important; } }

/* ================= rubros ================= */
.rb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 3vw, 44px); align-items: start; }
.rb-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rb-item { display: flex; align-items: center; gap: .7rem; min-height: 60px; padding: .6rem .9rem; border-radius: 16px; border: 1px solid var(--linea); background: rgba(7, 22, 28, .5); color: var(--txt-2); font-size: .93rem; line-height: 1.22; text-align: left; -webkit-tap-highlight-color: transparent; transition: border-color .3s var(--ola), color .3s var(--ola), background .3s var(--ola), transform .3s var(--ola); }
.rb-item svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s var(--ola); }
.rb-item:hover { color: var(--txt); transform: translateY(-1px); }
.rb-item:active { transform: scale(.98); }
.rb-item[aria-selected="true"] { border-color: rgba(255, 198, 41, .55); background: rgba(255, 198, 41, .08); color: var(--txt); }
.rb-item[aria-selected="true"] svg { stroke: var(--destello); }
.rb-panel { position: sticky; top: 92px; overflow: hidden; padding: clamp(20px, 2.8vw, 36px); }
.rb-estado { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: 0 0 .95rem; font: 600 .76rem/1.3 var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.rb-estado i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.rb-estado span { font-weight: 400; font-size: .88rem; letter-spacing: 0; text-transform: none; color: var(--txt-2); }
.rb-estado.rb-demo, .rb-estado.rb-producto, .rb-estado.rb-linea { color: #4FD1E0; }
.rb-estado.rb-medida { color: var(--destello); }
.rb-panel h3 { margin: 0; font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--ft); letter-spacing: -.025em; text-wrap: balance; }
.rb-dolor { margin: .75rem 0 1.15rem; color: var(--txt-2); line-height: 1.5; text-wrap: pretty; }
.rb-instala { display: grid; gap: .55rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.rb-instala li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.4; animation: rb-entra .5s var(--ola) both; animation-delay: calc(var(--i, 0) * 70ms); }
.rb-instala svg { flex: none; width: 18px; height: 18px; margin-top: .18rem; fill: none; stroke: var(--destello); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rb-instala path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rb-check .5s var(--ola) forwards; animation-delay: calc(var(--i, 0) * 70ms + .18s); }
@keyframes rb-entra { from { opacity: 0; transform: translateX(-8px); } }
@keyframes rb-check { to { stroke-dashoffset: 0; } }
.rb-acciones { display: grid; gap: .8rem; }
.rb-acciones .btn { justify-self: start; text-align: left; }
.rb-enlaces { display: flex; flex-wrap: wrap; gap: 0 1.3rem; font-size: .9rem; }
.rb-enlaces .enlace { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0; border: 0; background: none; color: var(--txt-2); font-size: inherit; text-decoration: underline; text-decoration-color: var(--linea-2); text-underline-offset: 4px; cursor: pointer; transition: color .25s; }
.rb-enlaces .enlace:hover { color: var(--txt); }
@media (max-width: 860px) {
  .rb { grid-template-columns: minmax(0, 1fr); }
  .rb-panel { position: static; scroll-margin-top: 84px; }
  .rb-acciones .btn { justify-self: stretch; }
}
@media (max-width: 380px) { .rb-item { font-size: .86rem; padding-inline: .7rem; gap: .55rem; } }
@media (prefers-reduced-motion: reduce) { .rb-instala li, .rb-instala path { animation: none; stroke-dashoffset: 0; } }

/* ================= preguntas ================= */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; max-width: 980px; margin-inline: auto; }
.faq details { padding: 0 1.25rem; border-radius: 18px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; line-height: 1.25; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--linea-2); color: var(--destello); font-weight: 400; font-size: 1.1rem; line-height: 1; transition: transform .35s var(--ola), border-color .35s var(--ola); }
.faq details[open] summary::after { transform: rotate(45deg); border-color: rgba(255, 198, 41, .5); }
.faq details p { margin: 0 0 1.15rem; font-size: .97rem; line-height: 1.55; color: var(--txt-2); text-wrap: pretty; animation: faq-abre .45s var(--ola); }
@keyframes faq-abre { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .faq details p { animation: none; } .faq summary::after { transition: none; } }

/* ================= agenda en dos columnas ================= */
.agenda-dos { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.1fr); gap: clamp(22px, 4.4vw, 64px); align-items: center; max-width: 1020px; margin-inline: auto; }
.agenda-dos > .agenda, .agenda-dos > #agenda-inicio { width: 100%; max-width: none; margin: 0; }
.agenda-quien { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.agenda-quien img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 1px solid var(--linea-2); }
.agenda-quien p { display: grid; gap: .1rem; margin: 0; }
.agenda-quien span { font-size: .9rem; color: var(--txt-2); }
.agenda-lleva { display: grid; gap: 1.05rem; margin: 0; padding: 0; list-style: none; }
.agenda-lleva li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .5rem; align-items: baseline; font-size: 1.06rem; line-height: 1.4; }
.agenda-lleva b { font: italic 400 1.55rem/1 var(--fs); color: var(--destello); }
.agenda-rubro { margin: 1.4rem 0 0; padding: .7rem .95rem; border-radius: 12px; border: 1px dashed rgba(255, 198, 41, .42); font-size: .9rem; color: var(--txt-2); }
.agenda-rubro b { color: var(--txt); font-weight: 600; }
@media (max-width: 860px) {
  .agenda-dos { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .agenda-lado { display: grid; gap: 1rem; }
  .agenda-quien { margin: 0; justify-content: center; }
  .agenda-lleva { gap: .6rem; }
  .agenda-lleva li { font-size: .98rem; }
  .agenda-rubro { margin: 0; text-align: center; }
}

/* ================= casos: enlace a la lista completa y medios grabados en celular ================= */
.cs-todo { margin: .95rem 0 0; font-size: .92rem; }
.cs-todo a { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; color: var(--destello); text-decoration: none; border-bottom: 1px solid rgba(255, 198, 41, .4); transition: border-color .25s, gap .25s var(--ola); }
.cs-todo a:hover { border-color: var(--destello); gap: .6rem; }
.cs-obra:not(.cs-hecha) .cs-todo { opacity: 0; }
.cs-obra.cs-hecha .cs-todo { opacity: 1; transition: opacity .6s var(--ola) .2s; }
.cs-cel-fondo { position: absolute; inset: -10%; background-size: cover; background-position: center; filter: blur(30px) saturate(1.1) brightness(.42); }
.cs-capa.cs-cel video { inset: 5% auto auto 50%; width: auto; height: 90%; aspect-ratio: 432 / 936; transform: translateX(-50%); border-radius: clamp(10px, 1.6vw, 20px); border: 3px solid #0B1D24; outline: 1px solid rgba(79, 209, 224, .35); box-shadow: 0 30px 60px -20px #000; }

/* ================= /trabajos/: una ficha completa por negocio ================= */
.tr-rejilla.tr-fichas { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.tr-fichas .tr-tj { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: start; scroll-margin-top: 88px; }
.tr-fichas .tr-tj { overflow: clip; }
.tr-fichas .tr-tj:hover { transform: none; }
.tr-fichas .tr-tj:hover .tr-pantalla.tr-cel img { transform: translateX(-50%); }
.tr-fichas .tr-tj:nth-child(even) .tr-medios { order: 2; }
.tr-medios { position: sticky; top: 84px; min-width: 0; padding: clamp(12px, 1.6vw, 20px); }
.tr-fichas .tr-pantalla { border: 1px solid var(--linea); border-radius: 14px; }
.tr-fichas .tr-pantalla video { opacity: 0; }
.tr-fichas .tr-rueda .tr-pantalla video { opacity: 1; }
.tr-pantalla.tr-cel img, .tr-pantalla.tr-cel video { left: 50%; top: calc(26px + 4%); width: auto; height: calc(92% - 26px); aspect-ratio: 432 / 936; transform: translateX(-50%); border-radius: 16px; border: 3px solid #0B1D24; outline: 1px solid rgba(79, 209, 224, .35); }
.tr-tiras { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tr-tira { min-height: 40px; padding: 0 .85rem; border-radius: 99px; border: 1px solid var(--linea); background: none; color: var(--txt-2); font-size: .84rem; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: border-color .25s var(--ola), color .25s var(--ola), background .25s var(--ola); }
.tr-tira:hover { color: var(--txt); }
.tr-tira[aria-pressed="true"] { border-color: rgba(79, 209, 224, .6); background: rgba(79, 209, 224, .1); color: var(--txt); }
.tr-fichas .tr-cuerpo { padding: clamp(18px, 2.4vw, 34px); }
.tr-fichas .tr-nombre { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tr-cuantas { display: flex; align-items: baseline; gap: .55rem; margin: 1rem 0 0; color: var(--txt-2); }
.tr-cuantas b { font: italic 400 2.3rem/1 var(--fs); color: var(--destello); }
.tr-grupos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem clamp(16px, 2.4vw, 32px); margin: 1.3rem 0 1.5rem; }
.tr-grupos section { min-width: 0; }
.tr-grupos h3 { margin: 0 0 .55rem; font: 500 .74rem/1 var(--ft); letter-spacing: .14em; text-transform: uppercase; color: #4FD1E0; }
.tr-grupos ul { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; }
.tr-grupos li { position: relative; padding-left: 1.1rem; font-size: .93rem; line-height: 1.4; color: var(--txt-2); }
.tr-grupos li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--destello); opacity: .85; }
@media (max-width: 900px) {
  .tr-fichas .tr-tj { grid-template-columns: minmax(0, 1fr); }
  .tr-fichas .tr-tj:nth-child(even) .tr-medios { order: 0; }
  .tr-medios { position: static; }
  .tr-tiras { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding-inline: 4px; }
  .tr-tiras::-webkit-scrollbar { display: none; }
  .tr-tira { flex: none; min-height: 44px; }
}
@media (max-width: 520px) { .tr-grupos { grid-template-columns: minmax(0, 1fr); } }

/* ================= /agentes/: la página del producto ================= */
.pa-hero { padding: calc(68px + clamp(34px, 8vh, 96px)) 0 clamp(20px, 4vh, 40px); }
.pa-hero .envoltura { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.pa-hero .titular { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
.pa-hero .acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.pa-hero .nota { margin: 1rem 0 0; }
.pa-tel { position: relative; justify-self: center; width: min(100%, 340px); padding: 10px; border-radius: 38px; border: 1px solid rgba(79, 209, 224, .3); background: #071318; box-shadow: 0 60px 110px -50px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(255, 198, 41, .45); }
.pa-chat { display: flex; flex-direction: column; height: clamp(440px, 62vh, 540px); overflow: hidden; border-radius: 29px; background: #0B141A; }
.pa-chat header { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: #111D24; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.pa-chat header i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--destello), #F2A40B); color: #10170F; font: 700 .9rem/1 var(--ft); font-style: normal; }
.pa-chat header p { display: grid; margin: 0; font-size: .92rem; font-weight: 600; }
.pa-chat header small { font-weight: 400; font-size: .74rem; color: var(--ok); }
.pa-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; padding: 1rem .8rem; overflow: hidden; }
.pa-msg { max-width: 84%; padding: .55rem .75rem; border-radius: 14px; font-size: .88rem; line-height: 1.38; animation: pa-sale .45s var(--ola) both; }
.pa-msg.el { align-self: flex-start; border-top-left-radius: 4px; background: #1B2A32; }
.pa-msg.yo { align-self: flex-end; border-top-right-radius: 4px; background: #0E5A4A; }
.pa-msg.sis { align-self: center; max-width: 94%; padding: .45rem .8rem; border-radius: 99px; border: 1px solid rgba(255, 198, 41, .4); background: rgba(255, 198, 41, .08); font-size: .78rem; color: var(--destello); text-align: center; }
.pa-msg.puntos { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.pa-msg.puntos i { width: 6px; height: 6px; border-radius: 50%; background: var(--txt-3); animation: pa-punto 1s infinite; }
.pa-msg.puntos i:nth-child(2) { animation-delay: .15s; } .pa-msg.puntos i:nth-child(3) { animation-delay: .3s; }
@keyframes pa-sale { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@keyframes pa-punto { 50% { opacity: .3; transform: translateY(-3px); } }
.pa-rotulo { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--linea-2); background: var(--fondo); font-size: .74rem; white-space: nowrap; color: var(--txt-2); }

.pa-flujo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: stretch; max-width: 980px; margin-inline: auto; }
.pa-paso { position: relative; padding: 1.2rem 1rem; text-align: center; }
.pa-paso + .pa-paso::before { content: ""; position: absolute; left: -22%; top: 36px; width: 44%; height: 1px; background: linear-gradient(90deg, #4FD1E0, var(--destello)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ola); transition-delay: calc(var(--i, 0) * 220ms); }
[data-escena].llego .pa-paso + .pa-paso::before { transform: scaleX(1); }
.pa-paso .ag-ic { margin: 0 auto .9rem; width: 56px; height: 56px; }
.pa-paso h3 { margin: 0 0 .3rem; font: 600 1.02rem/1.2 var(--ft); }
.pa-paso p { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--txt-2); }
.pa-lema { margin: clamp(22px, 4vh, 40px) 0 0; text-align: center; font: 600 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--ft); letter-spacing: -.02em; }

.pa-giros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 16px); }
.pa-giro { display: flex; flex-direction: column; gap: .55rem; padding: clamp(16px, 1.8vw, 24px); border-radius: var(--radio); text-decoration: none; color: inherit; transition: transform .3s var(--ola), border-color .3s var(--ola); }
.pa-giro svg { width: 26px; height: 26px; fill: none; stroke: var(--destello); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pa-giro h3 { margin: .2rem 0 0; font: 600 1.08rem/1.2 var(--ft); }
.pa-giro p { flex: 1; margin: 0; font-size: .9rem; line-height: 1.42; color: var(--txt-2); }
.pa-giro span { font-size: .86rem; color: #4FD1E0; }
.pa-giro:hover { transform: translateY(-4px); border-color: rgba(79, 209, 224, .45); }
.pa-vivo { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; padding: .28rem .6rem; border-radius: 99px; border: 1px solid rgba(127, 209, 168, .4); font-size: .72rem; letter-spacing: .04em; color: var(--ok); }
.pa-vivo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.ag-puntos.pa-seis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ag-puntos.pa-seis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .ag-puntos.pa-seis { grid-template-columns: minmax(0, 1fr); } }
.pa-pasos { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.pa-pasos li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .35rem 1rem; align-items: baseline; padding: 1.1rem 1.3rem; border-radius: 18px; }
.pa-pasos li > b { grid-row: span 2; font: italic 400 1.7rem/1 var(--fs); color: var(--destello); }
.pa-pasos h3 { grid-column: 2; margin: 0; font: 600 1.08rem/1.25 var(--ft); }
.pa-pasos p { grid-column: 2; margin: 0; font-size: .95rem; line-height: 1.5; color: var(--txt-2); }
@media (max-width: 960px) {
  .pa-hero .envoltura { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .pa-hero .bajada { margin-inline: auto; } .pa-hero .acciones { justify-content: center; }
  .pa-giros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-flujo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
  .pa-paso:nth-child(3)::before { display: none; }
}
@media (max-width: 460px) { .pa-giros { grid-template-columns: minmax(0, 1fr); } .pa-pasos li { grid-template-columns: 2.4rem minmax(0, 1fr); padding: 1rem; } }
@media (prefers-reduced-motion: reduce) { .pa-msg, .pa-msg.puntos i { animation: none; } .pa-paso + .pa-paso::before { transform: scaleX(1); transition: none; } }

/* ================= menú: cinco enlaces caben hasta 1100 px; debajo se quedan los esenciales ================= */
@media (max-width: 1100px) and (min-width: 761px) { .barra nav { gap: 1.1rem; font-size: .9rem; } }
