/* BWA Ventas · Sistema visual de las páginas de venta, encabezado y pie.
   Los colores y tipografías salen de inc/marca.php (variables en <head>). */

:root { --margen: clamp(1.25rem, 5vw, 4rem); --ancho: 1180px; --arriba: 72px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--arriba) + 12px); -webkit-text-size-adjust: 100%; }
body.pagina-bwa { margin: 0; font-family: var(--cuerpo); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; color: var(--texto); background: var(--fondo); -webkit-font-smoothing: antialiased; }
:where(.bwa) img { display: block; max-width: 100%; height: auto; }
:where(.bwa) a { color: inherit; }
:where(.bwa) :is(h1, h2, h3, h4) { margin: 0; color: var(--tinta); }
:where(.bwa) :is(p, ul, ol) { margin: 0; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--tinta); color: #fff; padding: .7rem 1rem; }
.saltar:focus { left: 0; }

.envoltura { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.centrado { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Encabezado ---------- */
.top { position: sticky; top: 0; z-index: 30; min-height: var(--arriba); display: flex; align-items: center; gap: 1rem;
  padding: .6rem max(var(--margen), calc((100vw - var(--ancho)) / 2)); background: color-mix(in srgb, var(--fondo) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--suave); }
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
.marca { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--tinta); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.marca-logo { height: 44px; width: auto; }
.top-nav { margin-left: auto; min-width: 0; }
.top-nav ul { list-style: none; display: flex; gap: clamp(1rem, 1.8vw, 1.8rem); margin: 0; padding: 0; }
.top-nav a { white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--tinta); text-decoration: none; padding: .4rem 0; border-bottom: 3px solid transparent; }
.top-nav a:hover, .top-nav .current-menu-item > a, .top-nav a[aria-current="page"] { border-bottom-color: var(--acento); }
.top-cta { font-size: .95rem; padding: .6rem 1.2rem; flex-shrink: 0; }
.top-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--tinta); border: 1px solid var(--suave); border-radius: 12px; cursor: pointer; }
@media (max-width: 960px) {
  .top-burger { display: inline-flex; order: 3; }
  .top-cta { margin-left: auto; }
  .top-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .5rem var(--margen) 1.2rem; background: var(--fondo); box-shadow: 0 14px 24px rgba(32, 37, 39, .12); }
  .top-nav.abierto { display: block; }
  .top-nav ul { flex-direction: column; gap: 0; }
  .top-nav li + li { border-top: 1px solid var(--suave); }
  .top-nav a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: 0; white-space: normal; }
}

/* Barra «Otros productos» (plugin Menú de Productos México).
   Si la barra está fija arriba, el encabezado se pega debajo de ella en vez de quedar tapado.
   Si la barra se desplaza con la página (modo recomendado), no hace falta nada. */
body.mpm-has-product-bar:not(.mpm-bar-static) .top { top: var(--mpm-header-top, 38px); }
html:has(body.mpm-has-product-bar:not(.mpm-bar-static)) { scroll-padding-top: calc(var(--arriba) + 52px); }

/* ---------- Botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; cursor: pointer; border: 0;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; background: var(--boton); color: #fff !important;
  border-radius: 999px; padding: .95rem 1.7rem; transition: background-color .15s, color .15s, transform .15s; }
.boton:hover { background: var(--tinta); }
.boton:active { transform: scale(.98); }
.boton svg { flex-shrink: 0; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.boton-borde { background: transparent; color: var(--tinta) !important; box-shadow: inset 0 0 0 2px var(--tinta); }
.boton-borde:hover { background: var(--tinta); color: #fff !important; }
.boton-claro { background: #fff; color: var(--tinta) !important; }
.boton-claro:hover { background: var(--acento-claro); color: var(--tinta) !important; }
.enlace, .faq-lista details p a { font-weight: 600; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.enlace:hover { color: var(--boton); }
.enlace-flecha { font-weight: 700; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.enlace-flecha:hover { color: var(--boton); }

/* ---------- Portada de cada página de venta ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-rejilla { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-rejilla.sin-fotos { grid-template-columns: minmax(0, 1fr); }
.hero-titulo { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 1rem + 5vw, 4.9rem); line-height: .96; letter-spacing: -.03em; color: var(--tinta); max-width: 14ch; text-wrap: balance; }
.lead { max-width: 48ch; margin-top: 1.4rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.directo { margin-top: 1rem; font-size: .95rem; color: var(--gris); }

.hero-fotos { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
.foto { margin: 0; }
.foto img { display: block; width: 100%; height: auto; border: 7px solid #fff; border-radius: 20px; box-shadow: 0 22px 40px -22px rgba(32, 37, 39, .55); }
.hero-foto-a, .hero-foto-b { position: absolute; }
.hero-foto-a { --rot: -3deg; left: 0; top: 0; width: 78%; transform: rotate(var(--rot)); }
.hero-foto-b { --rot: 4deg; right: 0; bottom: 0; width: 52%; transform: rotate(var(--rot)); }
/* Un solo momento de movimiento: los stickers se "pegan" al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero-foto-a, .hero-foto-b { animation: pegar .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-foto-b { animation-delay: .18s; }
  @keyframes pegar { from { opacity: 0; transform: translateY(-22px) scale(1.07) rotate(calc(var(--rot) - 5deg)); } to { opacity: 1; transform: rotate(var(--rot)); } }
}
.foto-vacia-caja { border: 2px dashed var(--gris); border-radius: 20px; padding: 1rem; font-size: .85rem; color: var(--gris); background: rgba(255, 255, 255, .6); }
.aviso-admin { border: 2px dashed var(--gris); border-radius: 16px; padding: 1rem 1.2rem; color: var(--gris); background: var(--fondo); }
.hero-numero { display: grid; place-items: center; aspect-ratio: auto; }
.gran-numero { background: var(--tinta); color: rgba(255, 255, 255, .85); border-radius: 36px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; transform: rotate(2deg); width: 100%; max-width: 420px; }
.gran-numero b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 3rem + 9vw, 9rem); line-height: .85; letter-spacing: -.04em; color: var(--acento); }
.gran-numero span { display: block; margin-top: 1rem; font-size: 1.1rem; }

.senales { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.3rem 0 clamp(1.8rem, 4vw, 2.6rem); border-top: 1px solid var(--suave); }
.senales li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--tinta); }
.senales svg, .lista-clara svg, .quien-tarjeta li svg { flex-shrink: 0; fill: none; stroke: var(--boton); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.senales svg { width: 20px; height: 20px; }

/* ---------- Secciones ---------- */
.bloque { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bloque-papel { background: var(--papel); }
.cabeza { max-width: 54rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.grande { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); line-height: 1; letter-spacing: -.025em; color: var(--tinta); text-wrap: balance; }
.intro { margin-top: 1rem; max-width: 52ch; font-size: 1.12em; color: var(--gris); }
.mas { margin-top: 1.6rem; }

.tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.tarjetas.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tarjeta-s { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; background: var(--papel); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 0 0 1px var(--suave); }
.tarjeta-s h3, .camino h3, .quien-tarjeta h3, .corte h3, .paso h3, .formas h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.9rem); line-height: 1.08; }
.tarjeta-s .boton { margin-top: auto; }
.tarjeta-destacada { background: var(--tinta); color: rgba(255, 255, 255, .84); box-shadow: none; }
.tarjeta-destacada h3 { color: #fff; }
.tarjeta-destacada .boton:hover { background: #fff; color: var(--tinta) !important; }

/* Franja de derivación y casos de uso */
.aparte { background: var(--acento-claro); padding: .9rem 0; text-align: center; font-size: .98rem; color: var(--tinta); }
.usos { list-style: none; padding: 0; border-top: 2px solid var(--tinta); }
.uso { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: .4rem clamp(1.2rem, 3vw, 2.5rem); align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--suave); }
.uso h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.12; }
.uso-corte { color: var(--tinta); }
.uso-ejemplo { font-size: .92rem; color: var(--gris); }
.pide-accion { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.pide-accion p { font-size: .95rem; color: var(--gris); max-width: 52ch; }

/* Tipos de corte */
.cortes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.corte { display: flex; flex-direction: column; gap: .8rem; background: var(--fondo); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.corte-dibujo { width: 100%; max-width: 340px; height: auto; margin-bottom: .6rem; }
.corte-foto { margin-bottom: .6rem; }
.corte-foto img { border: 0; border-radius: 18px; box-shadow: none; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ideal { margin-top: auto; padding-top: .6rem; font-size: .95rem; color: var(--tinta); }
.formas { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 52rem; }
.formas > * + * { margin-top: 1rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; }
.chips li { border: 2px solid var(--tinta); border-radius: 999px; padding: .3rem 1rem; font-weight: 600; color: var(--tinta); }

/* Cómo cotizamos */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); padding: 0; }
.paso { display: flex; flex-direction: column; gap: .7rem; background: var(--papel); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 0 0 1px var(--suave); }
.bloque-papel .paso { background: var(--fondo); box-shadow: none; }
.paso-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--acento); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.4rem; }
.nota-centro { margin-top: 2rem; text-align: center; font-size: .95rem; color: var(--gris); }
.bloque .centrado > .boton { margin-top: 1.4rem; }

.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.2rem); }
.galeria-foto img { aspect-ratio: 1; object-fit: cover; }

/* Banda oscura: Programa y ahorra */
.banda-bloque { padding: clamp(1.5rem, 4vw, 3rem) var(--margen); }
.banda { max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; background: var(--tinta); color: rgba(255, 255, 255, .82); border-radius: clamp(28px, 4vw, 44px); padding: clamp(3rem, 7vw, 5rem) 0; }
.banda .grande, .banda h3 { color: #fff; }
.banda .intro { color: rgba(255, 255, 255, .72); }
.caminos-fila { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); max-width: 900px; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.camino { display: flex; flex-direction: column; gap: .7rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2rem); }
.camino-destacado { border-color: var(--acento); background: rgba(233, 65, 10, .14); }
.precio { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .95; letter-spacing: -.03em; color: var(--acento); }
.precio small { display: block; margin-top: .3rem; font-family: var(--cuerpo); font-weight: 500; font-size: .95rem; letter-spacing: 0; color: rgba(255, 255, 255, .75); }
.banda-acciones { margin-top: clamp(1.6rem, 3vw, 2.4rem); }

/* Para quién */
.quien-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.quien-tarjeta { display: flex; flex-direction: column; gap: 1.1rem; border-radius: 28px; padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.quien-si { background: var(--papel); box-shadow: 0 0 0 1px var(--suave); }
.quien-no { background: var(--suave); }
.quien-tarjeta ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.quien-tarjeta li { display: grid; grid-template-columns: 32px 1fr; gap: .8rem; align-items: start; color: var(--tinta); }
.quien-tarjeta li svg { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--acento-claro); }
.quien-no li svg { background: rgba(32, 37, 39, .1); stroke: var(--gris); }
.lista-clara { list-style: none; display: grid; gap: .9rem; padding: 0; max-width: 52rem; }
.lista-clara li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; color: var(--tinta); }
.lista-clara svg { width: 28px; height: 28px; }

/* Preguntas */
.faq-lista { max-width: 860px; background: var(--fondo); border-radius: 28px; padding: .4rem clamp(1.25rem, 3vw, 2.2rem); }
.faq-lista details + details { border-top: 1px solid var(--suave); }
.faq-lista summary { list-style: none; cursor: pointer; position: relative; padding: 1.3rem 2.8rem 1.3rem 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.2; color: var(--tinta); }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: ""; position: absolute; right: .2rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; transition: transform .25s;
  background: linear-gradient(var(--tinta), var(--tinta)) center / 12px 2px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 2px 12px no-repeat, var(--papel); }
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-lista details p { padding: 0 2.8rem 1.4rem 0; max-width: 62ch; }

/* Entregas */
.puntos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
.punto { background: var(--fondo); border-radius: 22px; padding: clamp(1.2rem, 3vw, 1.7rem); }
.punto h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.12; margin-bottom: .4rem; }
.nota-puntos { margin-top: 1.4rem; max-width: 62ch; color: var(--tinta); }

/* Preguntas: título a la izquierda, lista a la derecha */
.faq-dos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-dos .cabeza { margin-bottom: 0; position: sticky; top: calc(var(--arriba) + 24px); }
.faq-dos .faq-lista { max-width: none; }

/* Cierre: banda oscura con botón verde */
.cierre-banda { background: var(--tinta); color: rgba(255, 255, 255, .82); border-bottom: 6px solid var(--acento); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cierre-rejilla { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cierre-sobre { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #F4A58C; margin-bottom: 1.2rem; }
.cierre-titulo { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 1rem + 5vw, 5.4rem); line-height: .95; letter-spacing: -.04em; color: #fff !important; text-wrap: balance; }
.cierre-titulo span { display: block; color: var(--wa-claro); }
.cierre-lead { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.5; color: rgba(255, 255, 255, .78); }
.cierre-accion { padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid rgba(255, 255, 255, .18); }
.boton-wa { width: 100%; background: var(--wa); color: #0A2B19 !important; border-radius: 10px; padding: 1.05rem 1.4rem; font-size: 1.15rem; }
.boton-wa:hover { background: var(--wa-claro); color: #0A2B19 !important; }
.cierre-nota { margin-top: 1.1rem; font-size: .95rem; color: rgba(255, 255, 255, .8); }
.cierre-pie { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .65); }

/* Tarjetas de artículos (también en la portada) */
.bl-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.bl-rejilla-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bl-tarjeta { display: flex; flex-direction: column; background: var(--papel); border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--suave); }
.bl-tarjeta-img { display: block; text-decoration: none; aspect-ratio: 16 / 10; background: var(--suave); overflow: hidden; }
.bl-tarjeta-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-sin-img { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--acento); background: var(--acento-claro); }
.bl-tarjeta-txt { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.4rem 1.5rem; }
.bl-tarjeta h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.12; }
.bl-tarjeta h3 a { text-decoration: none; }
.bl-tarjeta h3 a:hover { text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; }
.bl-cat { align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--boton); text-decoration: none; }
.bl-meta { font-size: .85rem; color: var(--gris); }

/* ---------- Pie ---------- */
.pie { background: var(--tinta); color: rgba(255, 255, 255, .76); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .98rem; }
.pie :is(p, ul, ol, h2, h3, h4) { margin: 0; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pie-rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); }
.pie-marca { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 30rem; }
.pie-nombre { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.pie .boton { background: #fff; color: var(--tinta) !important; margin-top: .4rem; }
.pie .boton:hover { background: var(--acento-claro); text-decoration: none; }
.pie-titulo { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .8rem; }
.pie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.pie li span { display: block; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.pie-base { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* Botón flotante en celular */
.flotante { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 25; display: none; box-shadow: 0 16px 40px -12px rgba(32, 37, 39, .55); }

/* Al llegar al cierre ya hay un botón a la vista: se esconden los flotantes (el propio y el de Joinchat) */
.flotante, .joinchat { transition: opacity .25s; }
body.bwa-cierre-visible .joinchat, body.bwa-cierre-visible .flotante { opacity: 0 !important; pointer-events: none !important; }

/* ---------- Pantallas chicas ---------- */
@media (max-width: 960px) {
  .hero-rejilla { grid-template-columns: minmax(0, 1fr); }
  .hero-fotos { justify-self: center; max-width: 440px; }
  .tarjetas, .pasos, .bl-rejilla-3 { grid-template-columns: minmax(0, 1fr); }
  .cortes, .quien-grid, .caminos-fila, .tarjetas.dos { grid-template-columns: minmax(0, 1fr); }
  .uso, .puntos { grid-template-columns: minmax(0, 1fr); }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie-rejilla, .faq-dos { grid-template-columns: minmax(0, 1fr); }
  .faq-dos .cabeza { position: static; margin-bottom: 1.5rem; }
  .cierre-rejilla { grid-template-columns: minmax(0, 1fr); }
  .cierre-accion { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  :root { --arriba: 64px; }
  .flotante { display: inline-flex; transform: translateY(150%); transition: transform .25s; }
  .flotante.visible { transform: none; }
  body.pagina-bwa { padding-bottom: 5.5rem; }
  .top-cta { padding: .5rem 1rem; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flotante { transition: none; }
}
