/* ==========================================================================
   Landing «IA de la prueba a la operación» (/servicio/ai/open-ai/)
   Estilo gráfico del sitio: Plus Jakarta / Archivo, rótulos IBM Plex Mono, cifras Space Grotesk,
   franjas negras, degradado de marca y botones del sitio. Se carga después de site.css.
   ========================================================================== */
.lo { --lo-max: 1120px; --lo-pad: 20px; --lo-c1: #e30cc9; --lo-c2: #8638eb; --lo-c3: #2aeac3; overflow-x: clip; color: #000; }
.lo-in { max-width: var(--lo-max); margin: 0 auto; padding: 0 var(--lo-pad); }
.lo-mono { font-family: var(--f-mono); font-size: 13px; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; }
.lo-eyebrow { margin: 0 0 22px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: #000; }
.lo-h2 { margin: 0 0 18px; max-width: 760px; font-family: var(--f-body); font-size: clamp(32px, 4.2vw, 53px); line-height: 1.05; font-weight: 400; color: inherit; }
.lo-lead { max-width: 660px; margin: 0 0 44px; font-family: var(--f-body); font-size: 17px; line-height: 26px; color: inherit; opacity: .85; }
.lo :focus-visible { outline: 2px solid var(--lo-c2); outline-offset: 3px; }

/* Botones: los del sitio (oscuro mono con flecha y contorno). */
.lo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid #000; border-radius: 3px; background: #000; font-family: var(--f-mono); font-size: 14px; line-height: 1.2; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lo-btn:hover { background: var(--lo-c2); border-color: var(--lo-c2); color: #fff; }
.lo-btn .ico { width: 14px; height: 14px; }
.lo-btn--ghost { background: transparent; color: #000; }
.lo-btn--ghost:hover { background: #000; border-color: #000; color: #fff; }
.lo-sec--dark .lo-btn, .lo-diag .lo-btn--ghost { border-color: #fff; }
.lo-sec--dark .lo-btn { background: #fff; color: #000; }
.lo-sec--dark .lo-btn:hover { background: var(--lo-c3); border-color: var(--lo-c3); color: #000; }

/* Hero: blanco, título liviano grande y un campo de líneas que converge (canvas, se apaga con reduced-motion). */
.lo-hero { position: relative; min-height: min(760px, 100svh); display: flex; align-items: center; padding: 150px 0 90px; background: #fff; overflow: hidden; }
.lo-hero::before { content: ""; position: absolute; top: 10%; right: -10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(134, 56, 235, .12), transparent); pointer-events: none; }
.lo-hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 470px; align-items: center; gap: 56px; width: 100%; max-width: var(--lo-max); margin: 0 auto; padding: 0 var(--lo-pad); }
.lo-hero h1 { max-width: 760px; margin: 0 0 24px; font-family: var(--f-alt); font-size: clamp(40px, 4.4vw, 58px); line-height: 1.04; font-weight: 400; letter-spacing: -.02em; color: #000; }
/* Logos Morris & Opazo × OpenAI lado a lado (los archivos son blancos: se pasan a negro sobre el hero blanco). */
.lo-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 0 0 34px; }
.lo-pair img { display: block; width: auto; height: 36px; filter: brightness(0); }
.lo-pair img[alt="OpenAI"] { height: 44px; }
.lo-pair__x { width: 1px; height: 40px; background: #000; opacity: .35; }   /* separador «|» */
.lo-hero__p { max-width: 560px; margin: 0 0 34px; font-family: var(--f-body); font-size: 18px; line-height: 27px; color: #000; }
.lo-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.lo-micro { margin: 18px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: #54595f; }

/* Hero: ventana de editor. Se escribe el código de un agente, se prueba, se despliega y se transforma en el asistente
   funcionando. Sin JS o con movimiento reducido se muestra directo el resultado final. */
.lo-build { position: relative; display: flex; flex-direction: column; border-radius: 12px; background: #0b0b12; color: #e8e8f0; box-shadow: 0 30px 80px -30px rgba(80, 30, 160, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; overflow: hidden; }
.lo-build::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.lo-build__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.lo-build__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a48; }
.lo-build__bar i:first-child { background: #e30cc9; }
.lo-build__bar i:nth-child(2) { background: #8638eb; }
.lo-build__bar i:nth-child(3) { background: #2aeac3; }
.lo-build__file { margin-left: 10px; font-family: var(--f-mono); font-size: 12px; color: rgba(255, 255, 255, .55); }
.lo-build__body { position: relative; height: 330px; }
.lo-build__code { position: absolute; inset: 0; margin: 0; padding: 18px 20px; overflow: hidden; font-family: var(--f-mono); font-size: 13px; line-height: 21px; white-space: pre-wrap; color: #e8e8f0; transition: opacity .5s, filter .5s, transform .5s; }
.lo-build__caret { display: inline-block; width: 7px; height: 15px; margin-left: 1px; vertical-align: -3px; background: #2aeac3; animation: lo-caret 1s steps(1) infinite; }
@keyframes lo-caret { 50% { opacity: 0; } }
.lo-build .k { color: #c792ea; }
.lo-build .s { color: #2aeac3; }
.lo-build .c { color: #6b6b80; }
.lo-build .f { color: #ff7ae0; }
.lo-build .n { color: #f2c46d; }
.lo-build__app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; font-family: var(--f-body); }
.lo-pc { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.lo-build.is-app .lo-build__code { opacity: 0; filter: blur(6px); transform: scale(.97); }
.lo-build.is-app .lo-pc { opacity: 1; transform: none; }
.lo-build.is-app .lo-pc:nth-child(2) { transition-delay: .35s; }
.lo-build.is-app .lo-pc:nth-child(3) { transition-delay: .9s; }
.lo-build.is-app .lo-pc:nth-child(4) { transition-delay: 1.4s; }
.lo-app__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.lo-app__dot { width: 22px; height: 22px; border-radius: 6px; background: var(--grad); }
.lo-app__tag { margin-left: auto; padding: 4px 9px; border-radius: 99px; background: rgba(42, 234, 195, .12); font-family: var(--f-mono); font-size: 11px; color: #2aeac3; white-space: nowrap; }
.lo-app__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #2aeac3; vertical-align: 1px; box-shadow: 0 0 8px #2aeac3; }
.lo-app__msg { max-width: 86%; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 20px; }
.lo-app__msg--u { align-self: flex-end; border-bottom-right-radius: 4px; background: #8638eb; color: #fff; }
.lo-app__msg--a { align-self: flex-start; border-bottom-left-radius: 4px; background: #1c1c28; color: #e8e8f0; }
.lo-app__msg--a b { color: #ff7ae0; font-weight: 600; }
.lo-app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: auto 0 0; padding: 0; list-style: none; }
.lo-app__kpis li { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; }
.lo-app__kpis b { font-family: "Space Grotesk", sans-serif; font-size: 22px; line-height: 1; font-weight: 500; }
.lo-app__kpis span { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lo-build__steps { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px; margin: 0; padding: 12px 16px 10px; border-top: 1px solid rgba(255, 255, 255, .07); list-style: none; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.lo-build__steps li { transition: color .3s; }
.lo-build__steps li.is-on { color: #fff; }
.lo-build__steps li.is-done { color: #2aeac3; }
.lo-build__prog { height: 3px; background: rgba(255, 255, 255, .06); }
.lo-build__prog span { display: block; width: 0; height: 100%; background: var(--grad); transition: width .4s linear; }
.lo-build:not(.is-live) .lo-build__code { display: none; }
.lo-build:not(.is-live) .lo-pc { opacity: 1; transform: none; }
.lo-build:not(.is-live) .lo-build__steps li { color: #2aeac3; }
.lo-build:not(.is-live) .lo-build__prog span { width: 100%; }
@media (max-width: 1100px) {
  .lo-hero__in { grid-template-columns: 1fr; gap: 44px; }
  .lo-build { width: 100%; max-width: 560px; }
}

/* Barra de anclas del sitio (degradado), con cuatro destinos. */

/* Credenciales: franja negra, cifras Space Grotesk + rótulo mono (como «Nos asociamos…» del sitio). */
.lo-creds { position: relative; padding: 96px 0; background: #000 url('../../img/equipo-3-1440.webp') center 22% / cover no-repeat; color: #fff; }
.lo-creds::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, .72)); }   /* foto oscurecida */
.lo-creds::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--grad); }
.lo-creds__in { position: relative; z-index: 1; }
@media (max-width: 767px) { .lo-creds { padding: 64px 0; background-image: url('../../img/equipo-3-768.webp'); } }
.lo-creds__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: var(--lo-max); margin: 0 auto; padding: 0 var(--lo-pad); list-style: none; }
.lo-creds li { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.lo-creds b { font-family: "Space Grotesk", sans-serif; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; font-weight: 500; }
.lo-creds span { font-family: var(--f-mono); font-size: 13px; line-height: 1.3; text-transform: uppercase; color: #fff; }

/* Secciones */
.lo-sec { padding: 110px 0; background: #fff; }
.lo-sec--dark { background: #000; color: #fff; }
.lo-grid { display: grid; gap: 46px 28px; }
.lo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lo-sq { display: block; width: 16px; height: 16px; margin: 0 0 24px; border-radius: 2px; }
.lo-item h3, .lo-col h3, .lo-use h3, .lo-case h3, .lo-step h3 { margin: 0 0 12px; font-family: var(--f-body); font-size: 24px; line-height: 1.2; font-weight: 500; color: inherit; }
.lo-item p, .lo-col p, .lo-use p, .lo-case p, .lo-step p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 23px; color: inherit; }
.lo-col { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); }
.lo-col .lo-mono { margin-bottom: 14px; }
.lo-close { max-width: 760px; margin: 56px 0 0; padding-top: 26px; border-top: 4px solid transparent; border-image: var(--grad) 1; font-family: var(--f-body); font-size: 20px; line-height: 28px; }

/* Método: chip del diagnóstico + tres pasos con línea de progreso que se ilumina con el scroll. */
.lo-chip { display: inline-grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 6px 16px; margin: 0 0 56px; padding: 16px 22px; border: 1px solid #000; border-radius: 5px; color: #000; transition: background .2s, color .2s; }
.lo-chip b { font-family: var(--f-body); font-size: 20px; font-weight: 500; }
.lo-chip span:not(.lo-mono) { font-family: var(--f-body); font-size: 15px; }
.lo-chip .ico { width: 16px; height: 16px; }
.lo-chip:hover { background: #000; color: #fff; }
.lo-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 34px 0 0; list-style: none; }
.lo-steps::before, .lo-steps::after { content: ""; position: absolute; top: 0; left: 0; height: 4px; border-radius: 2px; }
.lo-steps::before { right: 0; background: #eceff3; }
.lo-steps::after { width: calc(var(--lo-p, 0) * 100%); background: var(--grad); transition: width .6s ease; }
.lo-step__n { display: block; margin-bottom: 16px; font-family: "Space Grotesk", sans-serif; font-size: 48px; line-height: 1; font-weight: 500; color: #c9ccd3; transition: color .4s; }
.lo-step.is-lit .lo-step__n { color: #000; }
.lo-step__opts { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lo-step__opts li { padding-left: 14px; border-left: 3px solid var(--lo-c2); font-family: var(--f-body); font-size: 15px; line-height: 22px; }
.lo-step__opts em { font-style: normal; font-weight: 600; }

/* Casos de uso: tarjetas clicables (borde blanco 1px, como las tarjetas del sitio). */
/* OpenAI en AWS: intro a la izquierda (fija al bajar) y 4 tarjetas a la derecha, sobre gris claro. */
.lo-aws { background: #f5f5f8; }
.lo-aws__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.lo-aws__intro { position: sticky; top: 170px; }
.lo-aws__intro .lo-eyebrow { color: #8638eb; }
.lo-aws__intro .lo-lead { margin-bottom: 28px; }
.lo-aws__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lo-aws__tags li { padding: 7px 14px; border: 1px solid #d6d6e0; border-radius: 999px; background: #fff; font-family: var(--f-mono); font-size: 12px; line-height: 16px; color: #000; }
.lo-aws__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lo-aws__card { position: relative; overflow: hidden; padding: 30px 26px 32px; border: 1px solid #e4e4ec; border-radius: 16px; background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.lo-aws__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.lo-aws__card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 22px 46px -20px rgba(134, 56, 235, .45); }
.lo-aws__n { display: inline-flex; margin-bottom: 20px; padding: 5px 10px; border-radius: 999px; background: var(--c); font-family: var(--f-mono); font-size: 12px; line-height: 1; font-weight: 600; color: #000; }
.lo-aws__card h3 { margin: 0 0 10px; font-family: var(--f-body); font-size: 21px; line-height: 1.25; font-weight: 500; color: #000; }
.lo-aws__card p { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 23px; color: #3d3d4a; }
@media (max-width: 1023px) {
  .lo-aws__in { grid-template-columns: 1fr; gap: 36px; }
  .lo-aws__intro { position: static; }
}
@media (max-width: 767px) { .lo-aws__grid { grid-template-columns: 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .lo-aws__card { transition: none; } }

/* ¿Por dónde empezar?: tarjetas con imagen, número y línea de color; al pasar, zoom y borde degradado. */
.lo-uses { gap: 24px; }
.lo-use { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; background: #0e0e16; color: #fff; text-align: left; cursor: pointer; transition: transform .3s, box-shadow .3s, border-color .3s; }
.lo-use::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.lo-use__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1a24; }
.lo-use__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.lo-use__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 14, 22, .85)); }
.lo-use__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 0 26px 26px; margin-top: -26px; }
.lo-use__n { display: inline-flex; align-self: flex-start; margin-bottom: 18px; padding: 5px 10px; border-radius: 999px; background: var(--c); font-family: var(--f-mono); font-size: 12px; line-height: 1; font-weight: 600; color: #000; }
.lo-use h3 { position: relative; padding-bottom: 14px; }
.lo-use h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--c); transition: width .3s; }
.lo-use p { margin-top: 14px !important; color: rgba(255, 255, 255, .8); }
.lo-use__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; font-family: var(--f-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; color: #fff; }
.lo-use__go .ico { width: 13px; height: 13px; transition: transform .25s; }
.lo-use:hover, .lo-use:focus-visible { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 50px -18px rgba(134, 56, 235, .6); }
.lo-use:hover::after, .lo-use:focus-visible::after { opacity: 1; }
.lo-use:hover .lo-use__img img { transform: scale(1.08); }
.lo-use:hover h3::after { width: 72px; }
.lo-use:hover .lo-use__go { color: var(--c); }
.lo-use:hover .lo-use__go .ico { transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { .lo-use, .lo-use__img img, .lo-use h3::after, .lo-use__go .ico { transition: none; } }
.lo-note { margin: 30px 0 0; font-family: var(--f-body); font-size: 13px; color: rgba(255, 255, 255, .7); }
.lo-case { padding: 26px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 5px; }
.lo-case .lo-mono { margin-bottom: 14px; }
.lo-case__r { margin-top: 16px !important; font-weight: 600; }
.lo-ws { background: #f3f3f5; }
.lo-ws__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.lo-ws .lo-lead { margin-bottom: 0; }

/* Diagnóstico: franja negra con degradado arriba y formulario en panel blanco. */
.lo-diag { position: relative; padding: 110px 0; background: #000; color: #fff; }
.lo-diag::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--grad); }
.lo-diag__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.lo-diag__intro { position: sticky; top: 120px; }
.lo-form { padding: 36px; border-radius: 5px; background: #fff; color: #000; }
.lo-prog { height: 4px; margin-bottom: 14px; border-radius: 2px; background: #eceff3; overflow: hidden; }
.lo-prog span { display: block; width: 33.34%; height: 100%; background: var(--grad); transition: width .35s ease; }
.lo-stepnum { margin: 0 0 8px; color: #54595f; }
.lo-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.lo-js .lo-fs:not(.is-active) { display: none; }
.lo:not(.lo-js) .lo-prog, .lo:not(.lo-js) .lo-stepnum, .lo:not(.lo-js) [data-next], .lo:not(.lo-js) [data-prev] { display: none; }
.lo:not(.lo-js) .lo-fs + .lo-fs { margin-top: 36px; }
.lo-fs legend { margin: 0 0 24px; padding: 0; font-family: var(--f-body); font-size: 30px; line-height: 1.15; font-weight: 400; }
.lo-f { display: grid; gap: 7px; margin: 0 0 18px; font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.lo-f input, .lo-f select, .lo-f textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9bcc3; border-radius: 3px; background: #fff; font: 400 16px/1.4 var(--f-body); color: #000; }
.lo-f textarea { resize: vertical; min-height: 110px; }
.lo-f input:focus, .lo-f select:focus, .lo-f textarea:focus { border-color: #000; outline: 2px solid var(--lo-c2); outline-offset: 0; }
.lo-f.is-bad input, .lo-f.is-bad select, .lo-f.is-bad textarea { border-color: #c4262e; }
.lo-q { margin: 0 0 24px; }
.lo-q.is-bad .lo-opt span { border-color: #c4262e; }
.lo-ql { margin: 0 0 10px; font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.lo-hint { margin-left: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; text-transform: uppercase; color: #54595f; }
.lo-opt { display: block; margin: 0 0 8px; cursor: pointer; }
.lo-q--row .lo-opt { display: inline-block; margin-right: 8px; }
.lo-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lo-opt span { display: flex; align-items: center; min-height: 48px; padding: 11px 16px 11px 44px; position: relative; border: 1px solid #b9bcc3; border-radius: 3px; font-family: var(--f-body); font-size: 15px; line-height: 1.35; transition: border-color .15s, background .15s; }
.lo-opt span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1px solid #000; border-radius: 50%; background: #fff; }
.lo-opt input[type="checkbox"] + span::before { border-radius: 2px; }
.lo-opt input:checked + span { border-color: #000; background: #f4f0fd; }
.lo-opt input:checked + span::before { border-color: var(--lo-c2); background: var(--lo-c2); box-shadow: inset 0 0 0 3px #fff; }
.lo-opt input:focus-visible + span { outline: 2px solid var(--lo-c2); outline-offset: 2px; }
.lo-opt:hover span { border-color: #000; }
.lo-check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 4px; font-family: var(--f-body); font-size: 14px; line-height: 21px; cursor: pointer; }
.lo-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lo-c2); }
.lo-check a { color: inherit; text-decoration: underline; }
.lo-count { justify-self: end; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: #54595f; }
.lo-err { display: block; min-height: 0; font-family: var(--f-body); font-size: 13px; font-weight: 500; color: #c4262e; }
.lo-err:empty { display: none; }
.lo-err--form { margin: 0 0 16px; padding: 12px 14px; border-radius: 3px; background: #fdecea; }
.lo-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; }
.lo-actions .lo-btn:only-child { margin-left: auto; }
.lo-form .lo-btn--ghost { border-color: #000; }
/* Formulario compacto: campos en dos columnas (paso 1) y opciones en columnas (pasos 2 y 3). */
.lo-form { padding: 28px 30px; }
.lo-fs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.lo-fs > * { grid-column: 1 / -1; }
.lo-fs[data-step="1"] > label.lo-f:nth-of-type(-n+4) { grid-column: auto; }
.lo-fs legend { margin-bottom: 16px; font-size: 26px; }
.lo-f { gap: 5px; margin-bottom: 14px; font-size: 14px; }
.lo-f input, .lo-f select { min-height: 44px; padding: 9px 12px; }
.lo-f textarea { min-height: 88px; }
.lo-q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.lo-q > .lo-ql, .lo-q > .lo-err { grid-column: 1 / -1; margin-bottom: 2px; }
.lo-q--row { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.lo-q .lo-opt, .lo-q--row .lo-opt { display: block; margin: 0; }
.lo-opt span { height: 100%; min-height: 42px; padding: 9px 12px 9px 38px; font-size: 14px; }
.lo-opt span::before { left: 13px; width: 14px; height: 14px; margin-top: -7px; }
.lo-actions { margin-top: 18px; }
@media (max-width: 767px) {
  .lo-fs { grid-template-columns: 1fr; }
  .lo-fs[data-step="1"] > label.lo-f:nth-of-type(-n+4) { grid-column: 1 / -1; }
  .lo-q { grid-template-columns: 1fr; }
  .lo-q--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lo-form { padding: 22px 18px; }
}
.lo-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.lo-btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: lo-spin .7s linear infinite; }
.lo-btn[aria-busy="true"] .ico { display: none; }
@keyframes lo-spin { to { transform: rotate(360deg); } }
.lo-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lo-done { text-align: left; outline: none; }
.lo-done__ico { width: 56px; height: 56px; margin-bottom: 18px; fill: var(--lo-c2); }
.lo-done h3 { margin: 0 0 12px; font-family: var(--f-body); font-size: 30px; font-weight: 400; }
.lo-done p { margin: 0 0 22px; font-family: var(--f-body); font-size: 17px; line-height: 26px; }

/* FAQ */
.lo-faq { max-width: 860px; }
.lo-faq details { border-top: 1px solid #000; }
.lo-faq details:last-of-type { border-bottom: 1px solid #000; }
.lo-faq summary { position: relative; padding: 22px 40px 22px 0; font-family: var(--f-body); font-size: 20px; line-height: 1.3; font-weight: 500; cursor: pointer; list-style: none; }
.lo-faq summary::-webkit-details-marker { display: none; }
.lo-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: "Space Grotesk", sans-serif; font-size: 28px; font-weight: 400; transition: transform .2s; }
.lo-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lo-faq details p { margin: 0 0 24px; max-width: 720px; font-family: var(--f-body); font-size: 16px; line-height: 25px; }

/* Cierre con credenciales y dominio visible (antes del footer del sitio). */
.lo-foot { padding: 40px 0; background: #f3f3f5; }
.lo-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.lo-foot p { margin: 0; }
.lo-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-body); font-size: 15px; }
.lo-foot__links a { color: #000; text-decoration: underline; }
.lo-foot__dom { flex-basis: 100%; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: #54595f; }

/* Página de gracias sin JS */
.lo-thanks { padding: 170px 0 110px; }
.lo-thanks__err { margin: 0 0 28px; padding-left: 20px; font-family: var(--f-body); font-size: 16px; line-height: 26px; color: #c4262e; }

/* Aparición al entrar en pantalla (16px): solo con JS (landing.js agrega .lo-js) y sin movimiento si el usuario lo pidió. */
.lo-js .lo-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.lo-js .lo-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lo-js .lo-reveal { opacity: 1; transform: none; transition: none; }
  .lo-steps::after, .lo-prog span { transition: none; }
}

/* En la landing el botón flotante del brochure distrae de la conversión. */
.landing-openai .brochure { display: none; }

@media (max-width: 1179px) {
  .lo-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .lo-diag__in { grid-template-columns: 1fr; gap: 28px; }
  .lo-diag__intro { position: static; }
}
@media (max-width: 767px) {
  .lo { --lo-pad: 16px; }
  .lo-hero { min-height: 0; padding: 120px 0 70px; }
  .lo-hero__p { font-size: 16px; line-height: 24px; }
  .lo-build__body { height: 300px; }
  .lo-build__code { padding: 14px; font-size: 11.5px; line-height: 18px; }
  .lo-build__app { padding: 14px; }
  .lo-app__msg { font-size: 13px; line-height: 19px; }
  .lo-build__steps { grid-template-columns: repeat(2, auto); font-size: 10px; }
  .lo-pair { gap: 14px; margin-bottom: 26px; }
  .lo-pair img { height: 24px; }
  .lo-pair img[alt="OpenAI"] { height: 30px; }
  .lo-pair__x { height: 28px; }
  .lo-hero__ctas .lo-btn { flex: 1 1 100%; }
  .lo-creds__in { grid-template-columns: repeat(2, 1fr); }
  .lo-sec, .lo-diag { padding: 72px 0; }
  .lo-grid--4, .lo-grid--3 { grid-template-columns: 1fr; gap: 34px; }
  .lo-chip { grid-template-columns: 1fr auto; }
  .lo-chip span:not(.lo-mono) { grid-column: 1 / -1; }
  .lo-steps { grid-template-columns: 1fr; padding: 0 0 0 30px; gap: 34px; }
  .lo-steps::before, .lo-steps::after { top: 0; bottom: 0; left: 0; width: 4px; height: auto; }
  .lo-steps::after { width: 4px; height: calc(var(--lo-p, 0) * 100%); bottom: auto; transition: height .6s ease; }
  .lo-form { padding: 24px 18px; }
  .lo-fs legend { font-size: 26px; }
  .lo-actions .lo-btn { flex: 1 1 auto; }
  .lo-thanks { padding: 130px 0 72px; }
}
