/* Brian Colquhoun — páginas de caso (United Green, Beepsi…)
   Figma: Portfolio 2025 › «United Green Content» (15208:10197) y «Beepsi Content» (15211:10454).
   Se apoya en css/ds-framework.css (título, definición, bloque con línea, titulares, columnas e
   imágenes); aquí solo lo que cambia. Todo el texto va en color/text/main (#222), no en el gris de
   DS Framework. */

.case-why { color: var(--ink); }

/* «And one idea that ties it all together»: titular suelto, 128 bajo el bloque con línea */
.case-idea { margin: var(--gap-sec) 0 0; }

/* Texto de «A Brand You Wear»: 16/24 con línea a la izquierda, 865 de ancho (Figma 337545) */
.case-note span {
  display: block; max-width: 865px;
  padding-left: var(--spacing-x3); border-left: 1px solid var(--border-row);
  font-size: var(--fonts-size-body-s); line-height: 1.5;
}
.case-gallery { margin-top: var(--gap-sec); }

/* TRPE (Figma «TRPE», 15247:25320): las notas bajo los titulares van al tamaño del bloque con línea
   (body/lg, 24/32 a 1920) y las columnas de «How I approached it» en body/md (2026-11-20) */
.case-note--lg span {
  max-width: 865px;
  font-size: var(--fonts-size-body-l); line-height: 1.333; letter-spacing: var(--fonts-letter-spacing-body-l);
}
.case-cols--md p { font-size: var(--fonts-size-body-m); line-height: 1.4; letter-spacing: var(--fonts-letter-spacing-body-m); }
.case-cols--md + .case-gallery { margin-top: var(--gap-sec); }

.case-cols p { color: var(--ink); }
/* «What's included»: solo títulos, 48 entre filas */
.case-included { row-gap: var(--spacing-x6); }

/* Cierre del bloque con línea en 32/40 SemiBold, 10 px bajo el texto (Beepsi: «And it all fits in a single flow») */
.case-why .case-why__end {
  margin-top: 10px; color: var(--ink);
  font-family: var(--font-family-heading); font-weight: 600;
  font-size: var(--fonts-size-heading-xs); line-height: 1.25; letter-spacing: var(--fonts-letter-spacing-heading-xs);
}
/* «How I approached it» de Beepsi: 3 columnas iguales con 32 px entre ellas (Figma 337564) */
.case-cols--tight { column-gap: var(--spacing-x4); }


/* ── Beepsi (Figma «Beepsi Content», 15211:10454) ─────────────────────── */
/* Flow de la app (Figma «Chat»): conversación (520) + dos teléfonos (393), 80 entre columnas, en 1466 a 1920.
   El scroll maneja la conversación: .bp-chat-wrap se alarga con JS un tramo por mensaje y .bp-chat queda fijo
   (sticky) mientras tanto; tras 3 s quieto sigue solo (js/beepsi.js). */
.bp-chat-wrap { position: relative; }
.bp-chat {
  container-type: inline-size; /* cqw = ancho del bloque (1466 a 1920): medidas del teléfono a escala */
  position: sticky; top: var(--bp-top, 0px);
  display: grid; grid-template-columns: 520fr 393fr 393fr; column-gap: calc(80 / 1466 * 100%); align-items: stretch;
}
.bp-chat__talk { display: flex; flex-direction: column; min-height: 0; }
.bp-chat__title {
  font-family: var(--font-family-heading); font-weight: 600;
  font-size: var(--fonts-size-heading-s); line-height: 1.2; letter-spacing: var(--fonts-letter-spacing-heading-s);
}
/* La conversación ocupa lo que queda hasta el pie de los teléfonos: 64 bajo el titular, 622 de alto a 1920
   (Figma, 2026-11-18). Cuando no hay sitio, la burbuja más vieja explota y las demás suben. */
.bp-feed { position: relative; flex: 1 1 0; min-height: 0; margin-top: var(--spacing-x8); overflow: hidden; }
.bp-feed__list { display: flex; flex-direction: column; gap: var(--spacing-x3); margin: 0; padding: 0; list-style: none; }
.bp-msg { display: flex; align-items: flex-end; gap: 20px; }
.bp-msg.is-later, .bp-msg.is-gone { display: none; }
/* Explota: crece un poco, se desenfoca y desaparece (como en la v2) */
.bp-msg.is-burst { opacity: 0; transform: scale(1.06); filter: blur(6px); transition: opacity 300ms linear, transform 300ms cubic-bezier(.22, 1, .36, 1), filter 200ms ease-out; }
.bp-msg--friend { transform-origin: 0 0; } .bp-msg--me { transform-origin: 100% 0; }
.bp-msg.is-new { animation: bp-in 420ms var(--ease-out) both; }
.bp-msg--me { padding-left: 84px; }      /* los dos lados alineados como en el chat del Figma */
.bp-msg--friend { padding-right: 84px; }
.bp-msg__av { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.bp-msg__text {
  flex: 1; margin: 0; padding: 20px; border: 1px solid var(--border-row); border-radius: 24px; background: var(--page);
  font-size: var(--fonts-size-body-m); line-height: 1.4; letter-spacing: var(--fonts-letter-spacing-body-m);
}
.bp-msg--me .bp-msg__text { background: var(--ink); border-color: var(--ink); color: var(--page); }
.bp-msg__text--dots { flex: none; display: flex; gap: 6px; padding: 26px 22px; }
/* Mensajes seguidos de la misma persona: más juntos y con el avatar solo en el último, como en un chat real */
.bp-msg__av { transition: opacity 300ms ease; }
.bp-msg.is-grouped { margin-bottom: calc(8px - var(--spacing-x3)); }
.bp-msg.is-grouped .bp-msg__av { opacity: 0; }
.bp-msg__text--dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; animation: bp-dot 1.1s infinite; }
.bp-msg__text--dots i:nth-child(2) { animation-delay: 150ms; }
.bp-msg__text--dots i:nth-child(3) { animation-delay: 300ms; }
.bp-msg--friend .bp-msg__text--dots { margin-right: auto; }
.bp-msg--me .bp-msg__text--dots { margin-left: auto; }
@keyframes bp-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes bp-dot { 0%, 100% { opacity: .25; transform: none; } 40% { opacity: .9; transform: translateY(-3px); } }

/* Carrusel: ocupa las dos columnas de los teléfonos (393 + 80 + 393). Cada teléfono se coloca en su slot con
   translateX (1 slot = 393 + 80 = 120,356 % de su ancho): slot 0 = centro (pantalla actual), 1 = derecha
   (la anterior). Las nuevas entran desde la izquierda (slot −0,35, transparentes) y la de la derecha explota. */
.bp-phones { grid-column: 2 / 4; position: relative; align-self: start; aspect-ratio: 866 / 830; }
.bp-phones .bp-phone {
  position: absolute; top: 0; left: 0; width: calc(393 / 866 * 100%);
  transform: translateX(calc(var(--slot, 0) * 120.356%)) scale(var(--sc, 1));
  transition: transform 750ms var(--ease-out), opacity 450ms ease, filter 300ms ease-out;
}
.bp-phone.is-out { opacity: 0; }
.bp-phone.is-burst { --sc: 1.06; opacity: 0; filter: blur(6px); transition: transform 300ms cubic-bezier(.22, 1, .36, 1), opacity 300ms linear, filter 200ms ease-out; }

/* Teléfono (Figma «Area»): 393 × 830, fondo #fdfdfd, borde #d3d3d3 al 50 %, radio 24; pantalla 375 × 812 a 9 px,
   radio 19,2 y borde #d3d3d3 de 0,8. Las pantallas están exportadas a 2x (750 × 1624). */
.bp-phone {
  padding: calc(9 / 1466 * 100cqw); border-radius: calc(24 / 1466 * 100cqw);
  background: var(--page); box-shadow: inset 0 0 0 1px rgba(211, 211, 211, .5);
}
.bp-phone__screen {
  position: relative; aspect-ratio: 375 / 812; overflow: hidden; isolation: isolate;
  border-radius: calc(19.2 / 1466 * 100cqw); background: var(--page);
}
.bp-phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 3; border: .8px solid var(--border-row); border-radius: inherit; pointer-events: none; }
.bp-card { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* ── Componentes de Beepsi sobre la pantalla (js/beepsi.js, UI) ──────────────────────────────────────────
   La imagen base se exportó sin ellos; aquí se dibujan con las medidas y colores de sus variantes del Figma y
   cambian de estado con transiciones, como el Smart Animate (ease-out, ~400 ms). --u = 1 px de la pantalla de
   375; --x / --y = posición en esa pantalla. */
.bp-phone__screen { container-type: inline-size; --u: calc(100cqw / 375); --sa: cubic-bezier(.22, 1, .36, 1); --t-sa: 420ms; }
.bp-ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bp-w {
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); box-sizing: border-box;
  font-family: "Poppins", sans-serif; font-size: calc(14 * var(--u)); line-height: calc(20 * var(--u)); color: #312c4d;
  transition: transform 170ms var(--sa);
}
.bp-w * { box-sizing: border-box; }
.bp-w.is-press { transform: scale(.96); }   /* Active: se hunde un poco al pulsar */
.is-snap .bp-w, .is-snap .bp-w * { transition: none !important; animation: none !important; }

/* toggle (44 × 24): Off = #312C4D al 5 %, On = #4630B2; el círculo blanco de 20 pasa de x 2 a x 22 */
.bp-tg { width: calc(44 * var(--u)); height: calc(24 * var(--u)); border-radius: calc(12 * var(--u)); background: rgba(49, 44, 77, .05); transition: background-color var(--t-sa) var(--sa), transform 170ms var(--sa); }
.bp-tg b { position: absolute; left: calc(2 * var(--u)); top: calc(2 * var(--u)); width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%; background: #fff; transition: transform var(--t-sa) var(--sa); }
.bp-tg[data-s="1"] { background: #4630b2; }
.bp-tg[data-s="1"] b { transform: translateX(calc(20 * var(--u))); }

/* Toggle Button (327 × 44, fondo #312C4D al 3 %): la pastilla #4630B2 de 103 × 36 se desliza a la opción elegida */
.bp-seg { width: calc(327 * var(--u)); height: calc(44 * var(--u)); border-radius: calc(16 * var(--u)); background: rgba(49, 44, 77, .03); --px: 4.3; }
.bp-seg[data-s="1"] { --px: 112.3; }
.bp-seg[data-s="2"] { --px: 219; }
.bp-seg b { position: absolute; top: calc(4 * var(--u)); left: calc(var(--px) * var(--u)); width: calc(103 * var(--u)); height: calc(36 * var(--u)); border-radius: calc(12 * var(--u)); background: #4630b2; transition: left var(--t-sa) var(--sa); }
.bp-seg span { position: absolute; top: calc(4 * var(--u)); width: calc(103.7 * var(--u)); height: calc(36 * var(--u)); display: flex; align-items: center; justify-content: center; color: rgba(49, 44, 77, .8); transition: color var(--t-sa) var(--sa); }
.bp-seg span:nth-of-type(1) { left: calc(4 * var(--u)); }
.bp-seg span:nth-of-type(2) { left: calc(111.7 * var(--u)); }
.bp-seg span:nth-of-type(3) { left: calc(219.3 * var(--u)); }
.bp-seg[data-s="0"] span:nth-of-type(1), .bp-seg[data-s="1"] span:nth-of-type(2), .bp-seg[data-s="2"] span:nth-of-type(3) { color: #fff; }

/* slider-track (327 × 16): Center → Left; el dedo arrastra el tirador izquierdo y el tramo se alarga con él */
.bp-slider { width: calc(327 * var(--u)); height: calc(16 * var(--u)); }
.bp-slider i { position: absolute; left: 0; right: 0; top: calc(6 * var(--u)); height: calc(4 * var(--u)); border-radius: calc(3 * var(--u)); background: rgba(49, 44, 77, .05); }
.bp-slider b { position: absolute; top: calc(6 * var(--u)); height: calc(4 * var(--u)); left: calc(122.4 * var(--u)); width: calc(82.2 * var(--u)); background: #4630b2; transition: left var(--t-sa) var(--sa), width var(--t-sa) var(--sa); }
.bp-slider s { position: absolute; top: 0; width: calc(16 * var(--u)); height: calc(16 * var(--u)); border-radius: 50%; background: #fff; border: calc(2 * var(--u)) solid #4630b2; transition: left var(--t-sa) var(--sa), box-shadow 200ms ease; }
.bp-slider s:nth-of-type(1) { left: calc(114.5 * var(--u)); }
.bp-slider s:nth-of-type(2) { left: calc(196.5 * var(--u)); }
.bp-slider[data-s="1"] b { left: calc(7.9 * var(--u)); width: calc(196.7 * var(--u)); }
.bp-slider[data-s="1"] s:nth-of-type(1) { left: 0; }
.bp-slider.is-hover s:nth-of-type(1), .bp-slider.is-drag s:nth-of-type(1) { box-shadow: 0 0 0 calc(6 * var(--u)) rgba(70, 48, 178, .12); }
.bp-slider.is-drag b, .bp-slider.is-drag s { transition-duration: 760ms; transition-timing-function: cubic-bezier(.45, 0, .25, 1); }

/* Time Slot (104 × 44): Default (blanco, borde al 20 %) → Selected (#4630B2, texto blanco) */
.bp-slot {
  display: flex; align-items: center; justify-content: center; width: calc(104 * var(--u)); height: calc(44 * var(--u));
  border-radius: calc(16 * var(--u)); background: #fff; box-shadow: inset 0 0 0 1px rgba(49, 44, 77, .2); font-weight: 600;
  transition: background-color var(--t-sa) var(--sa), box-shadow var(--t-sa) var(--sa), color var(--t-sa) var(--sa), transform 170ms var(--sa);
}
.bp-slot[data-s="1"] { background: #4630b2; box-shadow: inset 0 0 0 1px #4630b2; color: #fff; }

/* Button Icon Circular md (favoritos, 40 × 40): Default → Hover (fondo al 5 %, borde al 10 %) → Active (#4630B3, icono blanco) */
.bp-fav {
  width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%;
  background: rgba(49, 44, 77, .025); box-shadow: inset 0 0 0 1px rgba(49, 44, 77, .2); color: #312c4d;
  transition: background-color var(--t-sa) var(--sa), box-shadow var(--t-sa) var(--sa), color var(--t-sa) var(--sa), transform 170ms var(--sa);
}
.bp-fav.is-hover { background: rgba(49, 44, 77, .05); box-shadow: inset 0 0 0 1px rgba(49, 44, 77, .1); }
.bp-fav[data-s="1"] { background: #4630b3; box-shadow: inset 0 0 0 1px #4630b3; color: #fff; }
.bp-fav svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-sa) var(--sa); }
.bp-fav[data-s="1"] svg { transform: scale(1.08); }

/* Barra inferior (Footer Nav): cada icono de 50 × 53 cambia entre sus variantes Default, Hover (relleno
   #4630B3) y Active (relleno al 80 %) con un fundido */
.bp-nav { width: calc(375 * var(--u)); height: calc(53 * var(--u)); }
.bp-nav__i { position: absolute; top: 0; left: calc(var(--x) * var(--u)); width: calc(50 * var(--u)); height: calc(53 * var(--u)); transition: transform 170ms var(--sa); }
.bp-nav__i.is-press { transform: scale(.94); }
.bp-nav__i img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--t-sa) var(--sa); }
.bp-nav__i[data-st="default"] .is-default, .bp-nav__i[data-st="hover"] .is-hover, .bp-nav__i[data-st="active"] .is-active { opacity: 1; }

/* Drop (selector de ciudad, 327 × 56). Default: «Select your city» dentro y relleno blanco. Hover/Focus: la
   etiqueta sube al borde y se vuelve «Your location» en #4630B2; el borde se abre detrás de ella (legend), así
   que lo que se ve detrás es el fondo de la pantalla, sin parche blanco. Focus: sin relleno y flecha girada.
   Elegida: «Malaga, Spain». */
.bp-drop { width: calc(327 * var(--u)); height: calc(56 * var(--u)); }
.bp-drop fieldset {
  position: absolute; inset: 0; min-width: 0; margin: 0; padding: 0 calc(16 * var(--u));
  border: 1px solid rgba(49, 44, 77, .2); border-radius: calc(16 * var(--u)); background: #fff;
  transition: background-color var(--t-sa) var(--sa);
}
.bp-drop legend { float: none; width: auto; height: 0; max-width: .01px; padding: 0; overflow: hidden; visibility: hidden; white-space: nowrap; font-size: calc(14 * var(--u)); line-height: 0; transition: max-width 100ms linear; }
.bp-drop legend span { padding: 0 calc(8 * var(--u)); }
.bp-drop__tag, .bp-drop__val { position: absolute; left: calc(24 * var(--u)); height: calc(20 * var(--u)); white-space: nowrap; }
.bp-drop__tag { top: calc(15.5 * var(--u)); color: rgba(49, 44, 77, .8); transition: transform var(--t-sa) var(--sa), color var(--t-sa) var(--sa); }
.bp-drop__val { top: calc(18 * var(--u)); }
.bp-drop em { position: absolute; left: 0; top: 0; font-style: normal; transition: opacity var(--t-sa) var(--sa); }
.bp-drop__tag em:nth-child(2), .bp-drop__val em { opacity: 0; }
/* Al subir, el texto que se va se apaga rápido y el nuevo entra un poco después (no se mezclan) */
.bp-drop__tag em:nth-child(1) { transition-duration: 160ms; }
.bp-drop.is-hover .bp-drop__tag em:nth-child(2), .bp-drop:not([data-s="0"]) .bp-drop__tag em:nth-child(2) { transition-delay: 120ms; }
.bp-drop svg { position: absolute; right: calc(24 * var(--u)); top: calc(18 * var(--u)); width: calc(20 * var(--u)); height: calc(20 * var(--u)); fill: none; stroke: #000; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-sa) var(--sa); }
.bp-drop.is-hover legend, .bp-drop:not([data-s="0"]) legend { max-width: calc(200 * var(--u)); transition: max-width 260ms ease-out 60ms; }
.bp-drop.is-hover .bp-drop__tag, .bp-drop:not([data-s="0"]) .bp-drop__tag { transform: translateY(calc(-25.5 * var(--u))); color: #4630b2; }
.bp-drop.is-hover .bp-drop__tag em:nth-child(1), .bp-drop:not([data-s="0"]) .bp-drop__tag em:nth-child(1) { opacity: 0; }
.bp-drop.is-hover .bp-drop__tag em:nth-child(2), .bp-drop:not([data-s="0"]) .bp-drop__tag em:nth-child(2) { opacity: 1; }
.bp-drop[data-s="1"] fieldset { background-color: transparent; }
.bp-drop[data-s="1"] svg { transform: rotate(180deg); }
.bp-drop[data-s="1"] .bp-drop__val em:nth-child(1) { opacity: .5; }
.bp-drop[data-s="2"] .bp-drop__val em:nth-child(2) { opacity: 1; }

/* Lista de ciudades del selector de Location (no existe como variante en el Figma): estilo de Beepsi, Poppins.
   Debajo del selector (24, 516, 327 de ancho). */
.bp-menu {
  position: absolute; z-index: 3; left: calc(24 * var(--u)); top: calc(516 * var(--u)); width: calc(327 * var(--u));
  margin: 0; padding: calc(8 * var(--u)) 0; list-style: none;
  background: #fff; border-radius: calc(16 * var(--u)); box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(49, 44, 77, .16);
  font-family: "Poppins", sans-serif; font-size: calc(14 * var(--u)); color: #312c4d;
  opacity: 0; transform: translateY(calc(-8 * var(--u))) scaleY(.96); transform-origin: 50% 0;
  transition: opacity 260ms ease, transform var(--t-sa) var(--sa);
}
.bp-menu.is-open { opacity: 1; transform: none; }
.bp-menu li { display: flex; align-items: center; height: calc(44 * var(--u)); padding: 0 calc(24 * var(--u)); transition: background-color 220ms ease, color 220ms ease; }
.bp-menu li.is-hover { background: #eeebfb; color: #4530b3; }
.bp-menu li.is-sel { background: #e2ddf8; }

/* Hover de un botón de la imagen mientras el dedo se apoya (Button Primary: relleno al 80 %) */
.bp-hl {
  position: absolute; z-index: 2; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); border-radius: calc(var(--r) * var(--u));
  opacity: 0; pointer-events: none; transition: opacity 220ms ease, background-color 140ms ease;
}
.bp-hl--l { background: rgba(255, 255, 255, .2); }
.bp-hl--d { background: rgba(49, 44, 77, .05); }
.bp-hl.is-on { opacity: 1; }
.bp-hl--l.is-press { background: rgba(255, 255, 255, .28); }
.bp-hl--d.is-press { background: rgba(49, 44, 77, .09); }

/* El dedo: se apoya, pulsa (a los ~480 ms se encoge) y se levanta; al arrastrar se desliza y luego se va */
.bp-tap {
  position: absolute; z-index: 4; left: var(--x); top: var(--y); width: calc(44 * var(--u)); aspect-ratio: 1;
  margin: calc(-22 * var(--u)) 0 0 calc(-22 * var(--u)); border-radius: 50%;
  border: 2px solid rgba(253, 253, 253, .9); background: rgba(34, 34, 34, .2); pointer-events: none;
  animation: bp-tap 1000ms cubic-bezier(.33, 1, .68, 1) both;
}
.bp-tap.is-drag { animation: bp-tap-hold 520ms cubic-bezier(.33, 1, .68, 1) both; transition: left 760ms cubic-bezier(.45, 0, .25, 1), top 760ms cubic-bezier(.45, 0, .25, 1), opacity 260ms ease; }
.bp-tap.is-up { opacity: 0; }
@keyframes bp-tap {
  0% { opacity: 0; transform: scale(.6); }
  28% { opacity: 1; transform: scale(1); }
  44% { transform: scale(1); }
  52% { transform: scale(.8); background: rgba(34, 34, 34, .3); }
  64% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}
@keyframes bp-tap-hold {
  0% { opacity: 0; transform: scale(.6); }
  60% { opacity: 1; transform: scale(1); }
  100% { opacity: 1; transform: scale(.82); background: rgba(34, 34, 34, .3); }
}

@media (prefers-reduced-motion: reduce) {
  .bp-msg.is-new, .bp-msg__text--dots i, .bp-tap { animation: none; }
  .bp-msg, .bp-phones .bp-phone, .bp-w, .bp-w *, .bp-menu, .bp-menu li { transition: none !important; }
}

/* Diagramas: en el ancho de las imágenes (80 px de margen a 1920), centrados con su ancho del Figma */
.bp-wide { margin: var(--gap-sec) var(--spacing-x1) 0; }
.bp-fig { margin: 0; }
.bp-fig img { display: block; width: 100%; height: auto; }
.bp-wide .bp-fig { margin-inline: auto; }
.bp-fig--ia { width: calc(1028 / 1760 * 100%); }
.bp-fig--wire { width: calc(1640 / 1760 * 100%); }
.bp-fig--ui { margin-top: var(--gap-sec); }
.bp-fig--collage { overflow: hidden; border-radius: 24px; }

@media (min-width: 1280px) {
  .bp-wide { margin-inline: calc(80 / 1920 * 100vw); }
}

@media (max-width: 767px) {
  .case-gallery { margin-top: var(--spacing-x12); }
  .bp-chat { grid-template-columns: 1fr 1fr; gap: var(--spacing-x2); }
  .bp-chat__talk { grid-column: 1 / -1; }
  .bp-feed { flex: none; height: 30vh; margin-top: var(--spacing-x2); }
  .bp-phones { grid-column: 1 / -1; }
  .bp-msg { gap: 12px; }
  .bp-msg--me { padding-left: 40px; } .bp-msg--friend { padding-right: 40px; }
  .bp-msg__av { width: 40px; height: 40px; }
  .bp-msg__text { padding: 12px 14px; border-radius: 18px; }
  .bp-fig--ia { width: 100%; }
  /* El wire flow no se lee a 375: se desplaza en horizontal */
  .bp-wide:has(.bp-fig--wire) { overflow-x: auto; }
  .bp-fig--wire { width: 900px; }
}
