/* Familia de las páginas de plan (maquetas del 29/11/2026): /oferta-radar/, /oferta-ia/ y /presentacion-licitaciones/. Prefijo op-.
   La primera pantalla usa las clases pi- y pr- ya publicadas (plan-radar.css y plan-ia.css); aquí van las secciones claras con
   tarjetas blancas, el cierre oscuro, los botones y el ajuste de los widgets de hoy (hoja de ventas) sobre fondo claro.
   Colores de marca: azul noche #0B1B33, fondo noche #061429, azul intenso #0B64F0, azul eléctrico #0D8EF2, cian #17B8F6,
   brillo #6FE0FF, blanco hielo #F4F8FF, nube #F5F8FC, niebla #E3EAF5, pizarra #607089 y amarillo #F2C14E (solo la prueba). */

.op-main { display: block; background: #061429; }
.op-familia { --op-margen: clamp(16px, 4.4vw, 64px); --op-tinta: #0B1B33; --op-texto: #33465F; --op-suave: #4A5D75; --op-linea: #E3EAF5;
  --op-azul: #0B64F0; --op-azul-2: #0D8EF2; --op-cian: #17B8F6; --op-brillo: #6FE0FF;
  font-family: "Plus Jakarta Sans", OrdSemJakarta, Arial, sans-serif; font-size: 18px; line-height: 1.55; color: var(--op-tinta);
  -webkit-font-smoothing: antialiased; text-align: left; }
.op-familia :where(*, *::before, *::after) { box-sizing: border-box; }
.op-sec :where(h2, h3, p, ul, ol, figure, dl, dd, blockquote) { margin: 0; }
.op-sec :where(ul.op-lista, ol.op-lista) { margin: 0; padding: 0; list-style: none; }
.op-sec { position: relative; padding: clamp(64px, 7.5vw, 112px) 0; scroll-margin-top: 72px; }
.op-in { max-width: 1240px; margin: 0 auto; padding: 0 var(--op-margen); }
.op-blanco { background: #FFFFFF; }
.op-hielo { background: #F4F8FF; border-top: 1px solid var(--op-linea); }
.op-oscuro { color: #F4F8FF;
  background: radial-gradient(ellipse at 18% 0%, rgb(23 184 246 / 13%), transparent 58%), linear-gradient(145deg, #0B1B33, #061429); }
.op-arriba { scroll-margin-top: 72px; }
/* Anclas (#empezar, #incluye, #como-empezar, #condiciones, #contacto...): al entrar con el ancla en la dirección, la sección
   queda por debajo de la cabecera fija común (72 px; 64 px en móvil). */
.op-familia [id] { scroll-margin-top: 88px; }

/* Títulos y entradas: letra grande, poco texto */
.op-cab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px); }
.op-rotulo { display: flex; align-items: center; gap: 12px; margin: 0 0 16px !important; color: var(--op-azul); font-size: 15px; font-weight: 700; }
.op-rotulo::before { content: ""; width: 28px; height: 2px; background: var(--op-cian); flex: none; }
.op-oscuro .op-rotulo { color: var(--op-brillo); }
.op-titular { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; color: var(--op-tinta); }
.op-oscuro .op-titular { color: #F4F8FF; }
.op-entrada { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.55; color: var(--op-suave); max-width: 46ch; }
.op-cab .op-entrada { padding-bottom: 6px; }
.op-oscuro .op-entrada { color: #C6D5E8; }
.op-nota { font-size: 14px; line-height: 1.6; color: var(--op-suave); max-width: 70ch; }
.op-oscuro .op-nota { color: #AFC1DA; }

/* Tarjetas blancas */
.op-tarjeta { background: #FFFFFF; border: 1px solid var(--op-linea); border-radius: 20px;
  box-shadow: 0 1px 2px rgb(11 27 51 / 4%), 0 22px 50px -30px rgb(11 27 51 / 30%); }
.op-tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.op-tarjetas > li { padding: 30px 28px 32px; }
.op-tarjetas h3, .op-puntos h3 { font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--op-tinta); }
.op-tarjetas p, .op-puntos p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--op-texto); }
.op-num, .op-icono { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px;
  background: #EAF3FF; color: var(--op-azul); font-size: 18px; font-weight: 800; }
.op-icono svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Botones: los de la portada. Azul para avanzar; el amarillo, solo para Probar IA gratis 7 días. */
.op-familia .boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center; text-decoration: none; border: 0;
  transition: background-color .2s ease, box-shadow .2s ease; }
.op-familia .boton.ll-azul { background: #0B64F0; color: #FFFFFF; box-shadow: 0 12px 28px -16px rgb(11 100 240 / 65%); }
.op-familia .boton.ll-azul:hover { background: #0D8EF2; color: #FFFFFF; }
.op-familia .boton.boton-ambar { background: #F2C14E; color: #0B1B33; box-shadow: 0 10px 30px -12px rgb(242 193 78 / 55%); }
.op-familia .boton.boton-ambar:hover { background: #F6CF6E; }
.op-familia .boton:focus-visible, .op-enlace:focus-visible, .op-familia summary:focus-visible { outline: 3px solid #6FE0FF; outline-offset: 4px; }
.op-blanco :is(.boton, .op-enlace, summary):focus-visible, .op-hielo :is(.boton, .op-enlace, summary):focus-visible { outline-color: #0B64F0; }
.op-enlace { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 700; color: var(--op-azul);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.op-enlace:hover { color: #0D8EF2; }
.op-oscuro .op-enlace, .pi-hero .op-enlace { color: #F4F8FF; }
.op-oscuro .op-enlace:hover, .pi-hero .op-enlace:hover { color: #6FE0FF; }
@media (prefers-reduced-motion: reduce) { .op-familia .boton { transition: none; } }

/* 1. Primera pantalla: precio en una línea y nota corta */
.op-precio { margin: 22px 0 0; font-size: 18px; line-height: 1.5; color: #DCE7F5; max-width: 44ch; }
.op-precio strong { color: #FFFFFF; font-weight: 800; }
.op-precio .op-cifra { font-size: 24px; letter-spacing: -.01em; }
.op-arriba .pi-nota { font-size: 14px; max-width: 50ch; }
.op-arriba .pi-nota a { color: #6FE0FF; text-underline-offset: 3px; }
.op-arriba .pi-acciones { margin-top: 26px; }
.op-producto { min-width: 0; }
/* Primera pantalla con un producto alto (el tablero de Presentación): el texto arriba y fijo mientras se ve el tablero. */
.pi-hero.op-alto .pi-hero-in { align-items: start; }
.pi-hero.op-alto .pi-texto { position: sticky; top: 112px; padding-top: 56px; }
@media (max-width: 1000px) { .pi-hero.op-alto .pi-texto { position: static; padding-top: 8px; } }

/* 2. Contratar: qué incluye a la izquierda; el formulario de la plataforma (iframe purchase-frame, intacto) a la derecha */
.op-compra { display: grid; grid-template-columns: minmax(0, 1fr) 557px; grid-template-rows: auto 1fr; grid-template-areas: "cab form" "incl form";
  gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.op-compra-cab { grid-area: cab; }
.op-compra-incl { grid-area: incl; }
.op-compra .dp-purchase { grid-area: form; }
.op-compra-cab .op-entrada { margin-top: 14px; }
.op-familia .dp-card-price { margin-top: 26px; font-size: 16px; line-height: 1.6; color: var(--op-suave); }
.op-familia .dp-card-price strong { display: inline-block; margin-bottom: 4px; font-size: 26px; line-height: 1.2; font-weight: 800;
  letter-spacing: -.015em; color: var(--op-tinta); }
.op-incluye { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.op-incluye li { position: relative; padding-left: 38px; font-size: 18px; line-height: 1.5; color: var(--op-texto); }
.op-incluye li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #EAF3FF
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.6 8.4 2.9 2.9 5.9-6.6' fill='none' stroke='%230B64F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.op-confianza { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--op-suave); }
.op-familia .dp-purchase { overflow: hidden; border-radius: 20px; background: #F5F8FC; border: 1px solid var(--op-linea);
  box-shadow: 0 1px 2px rgb(11 27 51 / 4%), 0 30px 70px -36px rgb(11 27 51 / 38%); scroll-margin-top: 84px; min-width: 0; }
.op-familia #purchase-frame { display: block; width: 100%; height: 850px; border: 0; background: #F5F8FC; }
.op-familia .dp-fallback { padding: 0 18px 18px; font-size: 14px; color: var(--op-suave); }
.op-familia .dp-purchase:has(iframe[data-ready="true"]) .dp-fallback { display: none; }

/* 3. El producto en una sección clara: texto y puntos a la izquierda; el ejemplo de hoy a la derecha */
.op-ejemplo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.op-ejemplo-texto .op-entrada { margin-top: 18px; }
.op-puntos { display: grid; gap: 14px; margin: 30px 0 22px; padding: 0; list-style: none; }
.op-puntos > li { padding: 22px 24px; background: #FFFFFF; border: 1px solid var(--op-linea); border-radius: 16px;
  transition: border-color .2s ease, box-shadow .2s ease; }
.op-puntos > li.is-active { border-color: #9CC3F7; box-shadow: 0 12px 30px -20px rgb(11 100 240 / 45%); }
.op-puntos h3 { font-size: 19px; }
.op-puntos p { margin-top: 6px; }

/* 4. Siguiente plan: tabla de hoy y una tarjeta para Presentación */
.op-sube { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.op-sube .op-entrada { margin: 18px 0 26px; }
.op-sube .op-titular + .boton { margin-top: 28px; }
.op-siguiente { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 40px; padding: 26px 30px; }
.op-siguiente h3 { font-size: 21px; line-height: 1.3; font-weight: 800; color: var(--op-tinta); }
.op-siguiente p { margin-top: 6px; font-size: 17px; color: var(--op-texto); max-width: 60ch; }

/* 5. Preguntas: las de hoy, una por fila en una tarjeta blanca */
.op-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.op-faq-lista { padding: 6px 28px; }
.op-faq-lista details { border-top: 1px solid var(--op-linea); }
.op-faq-lista details:first-child { border-top: 0; }
.op-faq-lista summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 14px 0;
  font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--op-tinta); cursor: pointer; list-style: none; }
.op-faq-lista summary::-webkit-details-marker { display: none; }
.op-faq-lista summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #EAF3FF; color: var(--op-azul); font-size: 22px; font-weight: 600; line-height: 1; }
.op-faq-lista details[open] summary::after { content: "−"; }
.op-faq-lista details p { padding: 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--op-texto); max-width: 64ch; }
.op-faq-lista details p a { color: var(--op-azul); }

/* 6. Cierre oscuro y condiciones plegadas al final */
.op-cierre-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 80px); align-items: center; }
.op-cierre-in .op-entrada { margin-top: 16px; }
.op-cierre-acciones { display: grid; gap: 6px; justify-items: start; }
.op-cierre-acciones .boton { width: 100%; }
.op-cierre-acciones .op-nota { margin-top: 8px; }
.op-condiciones { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid rgb(255 255 255 / 14%); }
.op-plegable summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0;
  cursor: pointer; list-style: none; }
.op-plegable summary::-webkit-details-marker { display: none; }
.op-plegable summary h2 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: #F4F8FF; letter-spacing: 0; }
.op-plegable summary::after { content: "Ver"; flex: none; font-size: 15px; font-weight: 700; color: #6FE0FF; text-decoration: underline;
  text-underline-offset: 4px; }
.op-plegable[open] summary::after { content: "Ocultar"; }
.op-condiciones-texto { display: grid; gap: 10px; padding: 4px 0 8px; max-width: 92ch; }
.op-condiciones-texto p { font-size: 16px; line-height: 1.7; color: #C6D5E8; }
.op-condiciones-texto strong { color: #F4F8FF; }
.op-condiciones-texto a { color: #6FE0FF; }

/* Entrada suave al aparecer en pantalla, como las escenas de la portada (nada con movimiento reducido: sin la clase anima) */
.op-entra > * { transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.op-entra > :nth-child(2) { transition-delay: .08s; }
.op-entra > :nth-child(3) { transition-delay: .16s; }
.op-entra > :nth-child(4) { transition-delay: .24s; }
.op-entra > :nth-child(n+5) { transition-delay: .3s; }
.anima .op-entra:not(.es-vista) > * { opacity: 0; transform: translateY(18px); }
/* El tablero de Presentación se monta columna a columna y su botón late hasta que se pulsa. */
.op-monta .sw-col { transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.op-monta .sw-col:nth-child(2) { transition-delay: .12s; }
.op-monta .sw-col:nth-child(3) { transition-delay: .24s; }
.op-monta .sw-col:nth-child(4) { transition-delay: .36s; }
.anima .op-monta:not(.es-vista) .sw-col { opacity: 0; transform: translateY(14px); }
.anima .op-monta.es-vista .sw-request-btn:not([aria-disabled="true"]) { animation: op-latido 2.4s ease-out 1.4s infinite; }
@keyframes op-latido { 0% { box-shadow: 0 0 0 0 rgb(111 224 255 / 60%); } 70% { box-shadow: 0 0 0 12px rgb(111 224 255 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(111 224 255 / 0%); } }
@media (prefers-reduced-motion: reduce) {
  .op-entra > *, .op-monta .sw-col { transition: none; }
  .anima .op-entra:not(.es-vista) > *, .anima .op-monta:not(.es-vista) .sw-col { opacity: 1; transform: none; }
  .op-monta .sw-request-btn { animation: none !important; }
}

/* Widgets de hoy (hoja de ventas, pensada para fondo oscuro) sobre las secciones claras: solo color y tamaños mínimos. */
.op-blanco, .op-hielo { --sw-on-night: #33465F; --sw-on-night-2: #4A5D75; --sw-cyan: #0B64F0; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-stage-label { color: #4A5D75; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-explain { background: #FFFFFF; border-color: var(--op-linea); }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-explain p { color: #33465F; font-size: 15px; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-explain strong { color: #0B1B33; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-footnote { color: #4A5D75; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sw-lixy-copy h3 { color: #0B1B33; }
body .sales-benefits :is(.op-blanco, .op-hielo) .sb-compare { background: #FFFFFF; border-color: var(--op-linea); box-shadow: 0 1px 2px rgb(11 27 51 / 4%), 0 22px 50px -30px rgb(11 27 51 / 30%); }
body .sales-benefits :is(.op-blanco, .op-hielo) .sb-compare-note { color: #4A5D75; font-size: 14px; }
/* Los botones de ejemplo dejan el amarillo a la prueba: Quiero presentarme, en azul. */
body .sales-benefits.op-familia .sw-act-main { background: #0B64F0; color: #FFFFFF; }
body .sales-benefits.op-familia .sw-act-main:hover { background: #0D8EF2; }
body .sales-benefits.op-familia .sw-request-btn { background: #0B64F0; border-color: #0B64F0; color: #FFFFFF; }
body .sales-benefits.op-familia .sw-request-btn:hover { background: #0D8EF2; }
body .sales-benefits.op-familia .sw-request-btn small, body .sales-benefits.op-familia .sw-request-chev { color: #DCEBFF; }
/* Letra de 12 px como mínimo dentro de los ejemplos */
body .sales-benefits.op-familia :is(.sw-alert-tags li, .sw-why-head span, .sw-col-desc, .sw-card-meta, .sw-request-btn small, .sw-roles .sw-role,
  .sw-alert-facts dt, .sw-ready, .sw-ia, .sw-glance-kicker, .sw-sec-cue span, .sw-pulse-kicker, .sw-pulse-card p, .sw-pulse-info,
  .sw-request-kicker):not(.sw-lixy *) { font-size: 12px; }
.op-arriba .pi-lector .guided-top p { font-size: 12px; }
@media (max-width: 720px) {
  .op-arriba .pi-lector .guided-source a { display: inline-flex; align-items: center; min-height: 44px; }
  .op-arriba .pi-lector .guided-note summary { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 360px) { .op-arriba .pi-lector .guided-process span { font-size: 12px; } }
.op-pie-nota { margin-top: 22px !important; }
.op-cierre-acciones .op-en-linea { display: inline; min-height: 0; font-size: inherit; }

@media (max-width: 1100px) {
  .op-compra { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cab" "form" "incl"; gap: 28px; }
  .op-compra .dp-purchase { max-width: 557px; width: 100%; }
  .op-ejemplo, .op-sube, .op-faq, .op-cierre-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .op-cab { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .op-tarjetas { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 720px) {
  .op-sec { padding: 56px 0; }
  .op-titular { font-size: clamp(28px, 8vw, 36px); }
  .op-tarjetas > li { padding: 24px 22px 26px; }
  .op-faq-lista { padding: 2px 20px; }
  .op-siguiente { padding: 22px; }
  .op-arriba .pi-acciones .op-enlace { width: 100%; justify-content: center; }
  .op-cierre-acciones { justify-items: stretch; }
  .op-cierre-acciones .op-enlace { justify-content: center; text-align: center; }
  /* Controles de 44 px en móvil dentro de los ejemplos */
  body .sales-benefits.op-familia :is(.sw-act, .sw-act-link, .sw-tab, .sw-sec-toggle, .sw-cite, .sw-point, .sw-tour-offer, .sw-tour-next, .sw-tour-stop, .sw-pointer-back) { min-height: 44px; }
}
