/* ─── Wiro · web pública (marca del logo: #712aff) ─── */
:root {
  --brand: #712aff;
  --brand-600: #5d17f0;
  --brand-700: #4a0fcc;
  --brand-50: #f4efff;
  --brand-100: #e7dcff;
  --tinta: #17112e;
  --texto-2: #5a5570;
  --lila: #f7f4ff;
  --borde: #ece7fa;
  --acento: #ffd23f;
  --radio: 20px;
  --sombra: 0 2px 6px rgba(23, 17, 46, .04), 0 18px 40px rgba(23, 17, 46, .07);
  --sombra-brand: 0 18px 40px rgba(113, 42, 255, .28);
}
* { -webkit-font-smoothing: antialiased; }
body.pub { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--tinta); background: #fff; font-size: 1.0625rem; line-height: 1.6; }
.pub h1, .pub h2, .pub h3 { font-family: "Montserrat", "Inter", sans-serif; color: var(--tinta); letter-spacing: -.02em; }
.pub a { color: var(--brand-600); }
.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.contenedor-estrecho { max-width: 820px; }
.text-brand { color: var(--brand) !important; }
.text-secundario { color: var(--texto-2); }
.min-w-0 { min-width: 0; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff !important; padding: .5rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.saltar:focus { left: 0; }
:focus-visible { outline: 3px solid rgba(113, 42, 255, .45); outline-offset: 2px; border-radius: 6px; }

/* Botones */
.btn-pub, .btn-pub-sec, .btn-pub-blanco, .btn-pub-borde { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; border-radius: 999px; padding: .72rem 1.35rem; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; border: 2px solid transparent; line-height: 1.2; }
.btn-pub { background: var(--brand); color: #fff !important; box-shadow: var(--sombra-brand); }
.btn-pub:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-pub-sec { background: #fff; color: var(--tinta) !important; border-color: var(--borde); }
.btn-pub-sec:hover { border-color: var(--brand-100); background: var(--brand-50); }
.btn-pub-blanco { background: #fff; color: var(--brand-700) !important; }
.btn-pub-blanco:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn-pub-borde { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.btn-pub-borde:hover { background: rgba(255, 255, 255, .12); }
.btn-pub-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-pub-sm { padding: .5rem 1rem; font-size: .95rem; box-shadow: none; }

/* Navegación */
.pub-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); transition: box-shadow .2s; }
.pub-nav.con-sombra { box-shadow: 0 1px 0 var(--borde), 0 8px 24px rgba(23, 17, 46, .05); }
.pub-nav-in { display: flex; align-items: center; height: 72px; gap: 1rem; }
.pub-logo img { height: 33px; width: auto; display: block; }
.pub-menu { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.pub-menu a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .97rem; }
.pub-menu a:not(.btn-pub):hover, .pub-menu a[aria-current] { color: var(--brand); }
.pub-menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 1.8rem; color: var(--tinta); }
@media (max-width: 991.98px) {
  .pub-menu-btn { display: block; }
  .pub-menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; box-shadow: 0 16px 30px rgba(23, 17, 46, .08); }
  .pub-menu.abierto { display: flex; }
  .pub-menu a { padding: .8rem 0; border-bottom: 1px solid var(--borde); }
  .pub-menu .btn-pub { margin-top: .8rem; border-bottom: 0; }
}

/* Etiquetas */
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-bottom: .8rem; }
.eyebrow.claro { color: var(--acento); }

/* Hero */
.hero-pub { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; background: radial-gradient(1000px 520px at 85% -10%, #ebe0ff 0%, rgba(235, 224, 255, 0) 60%), radial-gradient(700px 400px at -10% 110%, #f4efff 0%, rgba(244, 239, 255, 0) 60%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-texto h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.07; margin-bottom: 1.2rem; }
.hero-servicio .hero-texto h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.subrayado { background: linear-gradient(transparent 62%, var(--acento) 62%, var(--acento) 92%, transparent 92%); padding: 0 .1em; }
.hero-lead { font-size: 1.2rem; color: var(--texto-2); max-width: 36rem; margin-bottom: 1.8rem; }
.hero-lead strong { color: var(--tinta); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-confianza { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--texto-2); font-weight: 600; font-size: .95rem; }
.hero-confianza i { color: var(--brand); margin-right: .3rem; }
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .hero-pub { padding: 2.5rem 0 3rem; } }

/* Ilustración del producto */
.hero-visual { position: relative; min-height: 520px; }
.mock-card { position: absolute; background: #fff; border-radius: 22px; box-shadow: var(--sombra); border: 1px solid var(--borde); padding: 1.1rem 1.2rem; font-size: .95rem; }
.mock-solicitud { top: 0; left: 0; width: 72%; z-index: 2; }
.mock-ofertas { top: 150px; right: 0; width: 82%; z-index: 3; box-shadow: 0 30px 60px rgba(23, 17, 46, .14); }
.mock-pin { bottom: 0; left: 2%; z-index: 4; display: flex; gap: .9rem; align-items: center; background: var(--tinta); color: #fff; border: 0; }
.mock-pin > i { font-size: 1.6rem; color: var(--acento); }
.mock-pin .mock-k { color: rgba(255, 255, 255, .7); }
.mock-pin-n { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; }
.mock-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-2); font-weight: 600; }
.mock-t { font-weight: 700; font-size: 1.05rem; }
.mock-chip { font-size: .75rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; white-space: nowrap; }
.mock-chip.urgente { background: #fff3c4; color: #8a5a00; }
.mock-ruta { display: flex; align-items: center; gap: .6rem; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.3rem; margin: .7rem 0; }
.mock-ruta i { color: var(--brand); font-size: 1.1rem; }
.mock-meta { display: flex; gap: 1rem; color: var(--texto-2); font-size: .88rem; flex-wrap: wrap; }
.mock-meta .fw-bold { color: var(--tinta); margin-left: auto; }
.mock-oferta { display: flex; align-items: center; gap: .7rem; padding: .6rem .5rem; border-radius: 14px; }
.mock-oferta.top { background: var(--brand-50); outline: 2px solid var(--brand-100); }
.mock-av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; flex: none; }
.mock-s { font-size: .8rem; color: var(--texto-2); }
@media (max-width: 575.98px) {
  .hero-visual { min-height: 0; display: grid; gap: .8rem; }
  .mock-card { position: static; width: auto !important; }
  .mock-pin { justify-self: start; }
}

/* Secciones */
.seccion { padding: 5rem 0; }
.seccion-lila { background: var(--lila); }
.seccion-oscura { background: var(--tinta); color: #fff; }
.titulo-seccion { text-align: center; max-width: 760px; margin: 0 auto 2.75rem; }
.titulo-seccion h2, .h-seccion { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; margin-bottom: .8rem; }
.h-seccion { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.2rem; }
.titulo-seccion p { color: var(--texto-2); font-size: 1.1rem; margin: 0; }
.titulo-seccion .eyebrow { color: var(--brand); font-size: .8rem; margin-bottom: .8rem; }
.titulo-seccion.claro .eyebrow { color: var(--acento); }
.titulo-seccion.claro h2 { color: #fff; }
.h-pequeno { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .seccion { padding: 3.5rem 0; } }

.dolor { height: 100%; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.5rem; background: #fff; }
.dolor > i { font-size: 1.6rem; color: #e0466b; }
.dolor h3, .beneficio h3, .confianza h3, .paso h3 { font-size: 1.08rem; font-weight: 800; margin: .8rem 0 .4rem; }
.dolor p, .beneficio p, .confianza p, .paso p { color: var(--texto-2); margin: 0; font-size: .98rem; }
.puente { text-align: center; font-size: 1.2rem; max-width: 720px; margin: 2.5rem auto 0; }
.puente strong { color: var(--brand); }

.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: paso; }
.paso { background: #fff; border-radius: var(--radio); padding: 1.6rem 1.4rem; box-shadow: var(--sombra); position: relative; }
.paso-n { width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.15rem; }
@media (max-width: 991.98px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .pasos { grid-template-columns: 1fr; } }

.servicio { display: flex; flex-direction: column; height: 100%; border-radius: var(--radio); padding: 1.8rem; background: #fff; border: 1px solid var(--borde); text-decoration: none; color: var(--tinta) !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.servicio:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--brand-100); }
.servicio-i { width: 54px; height: 54px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.5rem; }
.servicio h3 { font-size: 1.35rem; font-weight: 800; margin: 1rem 0 .5rem; }
.servicio p { color: var(--texto-2); }
.servicio ul { padding-left: 1.1rem; color: var(--texto-2); font-size: .95rem; margin-bottom: 1.2rem; }
.servicio-link { margin-top: auto; font-weight: 700; color: var(--brand); }

.tabla-comp { border-radius: var(--radio); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.tabla-comp .fila { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.25fr; }
.tabla-comp .fila > span { padding: 1rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); font-size: .97rem; }
.tabla-comp .fila > span:first-child { color: #fff; font-weight: 600; }
.tabla-comp .cab > span { font-weight: 800; color: #fff; border-top: 0; font-family: "Montserrat", sans-serif; }
.tabla-comp .wiro { background: rgba(113, 42, 255, .28); color: #fff !important; font-weight: 600; }
.tabla-comp .wiro i { color: var(--acento); }
@media (max-width: 767.98px) {
  .tabla-comp .cab { display: none; }
  .tabla-comp .fila { grid-template-columns: 1fr; padding: .4rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .tabla-comp .fila > span { border: 0; padding: .3rem 1rem; }
  .tabla-comp .fila > span:nth-child(2)::before { content: "Transportadora: "; color: rgba(255, 255, 255, .5); }
  .tabla-comp .fila > span:nth-child(3)::before { content: "Casillero: "; color: rgba(255, 255, 255, .5); }
  .tabla-comp .wiro { margin: .3rem 1rem .5rem; border-radius: 12px; padding: .6rem .9rem !important; }
}

.confianza { display: flex; gap: 1rem; height: 100%; padding: 1.4rem; border-radius: var(--radio); border: 1px solid var(--borde); }
.confianza > span, .beneficio > span { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.35rem; }
.confianza h3 { margin-top: 0; }
.beneficio { height: 100%; padding: 1.6rem; border-radius: var(--radio); background: #fff; border: 1px solid var(--borde); }

.viajeros { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; padding: 3rem; border-radius: 28px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(255, 210, 63, .25), transparent 60%), linear-gradient(135deg, #8a4dff 0%, #5d17f0 100%); }
.viajeros h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.viajeros p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.viajeros-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.viajeros-lista li { background: rgba(255, 255, 255, .13); border-radius: 14px; padding: .85rem 1rem; font-weight: 600; }
.viajeros-lista i { color: var(--acento); margin-right: .5rem; }
@media (max-width: 991.98px) { .viajeros { grid-template-columns: 1fr; padding: 2rem 1.5rem; } }

.rutas { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.col-lg-6 .rutas { justify-content: flex-start; }
.ruta-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--borde); color: var(--tinta) !important; text-decoration: none; font-weight: 600; font-size: .95rem; }
a.ruta-chip:hover { border-color: var(--brand); color: var(--brand) !important; }
.ruta-chip i { color: var(--brand); }

.faq details { background: #fff; border-radius: 16px; margin-bottom: .75rem; border: 1px solid var(--borde); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--texto-2); }

.cta-final { text-align: center; padding: 3.5rem 1.5rem; border-radius: 28px; background: linear-gradient(135deg, #7a35ff 0%, #4a0fcc 100%); color: #fff; }
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; max-width: 760px; margin: 0 auto .7rem; }
.cta-final p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; margin-bottom: 1.6rem; }

/* Páginas de servicio */
.migas { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--texto-2); margin-bottom: 1.5rem; }
.migas a { color: var(--texto-2); text-decoration: none; }
.migas i { font-size: .7rem; }
.hero-problemas { background: #fff; border-radius: 24px; padding: 1.8rem; box-shadow: var(--sombra); border: 1px solid var(--borde); }
.hero-problemas ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .8rem; }
.hero-problemas li { display: flex; gap: .7rem; color: var(--texto-2); }
.hero-problemas li i { color: #e0466b; margin-top: .2rem; }
.hero-solucion { background: var(--brand-50); color: var(--brand-700); font-weight: 700; border-radius: 14px; padding: .9rem 1rem; }
.casos { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.casos li { display: flex; gap: .7rem; font-weight: 600; }
.casos i { color: var(--brand); font-size: 1.2rem; }
.texto-seo h2 { font-size: 1.4rem; font-weight: 800; margin: 1.8rem 0 .6rem; }
.texto-seo p { color: var(--texto-2); }
.otras { margin-top: 3rem; }
.otra { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border-radius: 18px; border: 1px solid var(--borde); text-decoration: none; color: var(--tinta) !important; height: 100%; }
.otra:hover { border-color: var(--brand-100); background: var(--brand-50); }
.otra > i { font-size: 1.4rem; color: var(--brand); }
.otra small { display: block; color: var(--texto-2); font-size: .88rem; margin-top: .2rem; }

/* Pie */
.pub-footer { background: var(--tinta); color: rgba(255, 255, 255, .78); padding: 4rem 0 6rem; font-size: .97rem; }
.pub-footer img { height: 36px; width: auto; }
.pub-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; display: block; margin-bottom: .55rem; }
.pub-footer a:hover { color: #fff; }
.pub-footer-t { color: #fff !important; font-size: .95rem !important; font-family: "Inter", sans-serif !important; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0 !important; }
.pub-footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (min-width: 992px) { .pub-footer { padding-bottom: 4rem; } }

.pub-whatsapp { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); z-index: 40; text-decoration: none; }
.barra-movil { display: none; }
@media (max-width: 767.98px) {
  .barra-movil { display: block; transform: translateY(110%); transition: transform .25s; position: fixed; left: 0; right: 0; bottom: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 24px rgba(23, 17, 46, .08); z-index: 45; }
  .barra-movil.visible { transform: none; }
  .pub-whatsapp { bottom: 5.6rem; width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
