/* Narrow restoration follow-ups: retain readable service demonstrations. */
/* Keep the compose and delivery surfaces readable instead of overlapping. */
#bc4-content .bc4-canvas-sms { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:14px; align-items:center; height:auto; min-height:320px; padding:24px; }
#bc4-content .bc4-canvas-sms .bc4-paper { position:static; width:100%; min-width:0; margin:0; }
#bc4-content .bc4-canvas-sms .bc5-lifecycle { position:static; grid-column:1/-1; width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:0; }
#bc4-content .bc4-canvas-sms .bc5-lifecycle li { padding:6px 2px; text-align:center; font-size:9px; }
@media(max-width:1023px) {
  #bc4-content .bc4-canvas-sms { grid-template-columns:minmax(0,1fr); padding:16px; gap:12px; }
  #bc4-content .bc4-canvas-sms .bc4-sms-compose { padding:16px; }
  #bc4-content .bc4-canvas-sms .bc4-sms-received { padding:14px 16px; }
  #bc4-content .bc4-canvas-sms .bc4-sms-received p { margin:8px 0; }
}
#bc4-content .bc-email-art { background:none; border-radius:0; width:190px; height:83px; margin:10px auto; }
#bc4-content .bc-email-art svg { width:100%; height:100%; }
#bc4-content .bc-email-mini-art { background:none; border-radius:0; height:auto; }
#bc4-content .bc-email-mini-art svg { width:100%; height:auto; }

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  #banricom-hero *, #bc4-content *, #banricom-header * { animation:none!important; transition:none!important; }
  [data-aos] { opacity:1!important; transform:none!important; }
}

/* Existing floating geometry; only the longer collection message needs room. */
#girl .bc3-whatsapp { height:auto; min-height:112px; }
@media(max-width:639px) { #girl .bc3-whatsapp { min-height:100px; } }
/* Approved hero elevation: stationary surfaces and readable message content. */
#girl .bc3-card { height:auto; min-height:64px; padding:10px 12px; }
#girl .bc3-copy p, #girl .bc3-message { font-size:12px; line-height:1.4; }
#girl .bc3-whatsapp { min-height:112px; }
@media(max-width:1023px) {
  #girl .bc3-card { min-height:80px; padding:10px; }
  #girl .bc3-copy strong, #girl .bc3-wa-heading strong { font-size:11.5px; line-height:1.3; }
  #girl .bc3-copy p { font-size:12px; line-height:1.4; }
  #girl .bc3-sms>.bc3-icon, #girl .bc3-email>.bc3-icon, #girl .bc3-airtime>.bc3-icon { top:10px; left:10px; }
  #girl .bc3-whatsapp { min-height:112px; }
}
@media(max-width:599px) {
  #banricom-hero .bc-hero-copy h1 { margin-top:4px; margin-bottom:12px; }
  #banricom-hero .bc-hero-copy > p { margin-bottom:18px; }
  #banricom-hero .bc-hero-copy > .w-full { gap:8px; }
  #banricom-hero .bc-hero-copy { margin-bottom:8px; }
  #banricom-hero #girl { width:calc(100% + 16px); margin-left:-8px; padding-top:80px; }
  #girl.bc3-visual .bc3-person { width:90%; }
  #girl .bc3-card { padding:8px; }
  #girl .bc3-sms>.bc3-icon, #girl .bc3-email>.bc3-icon, #girl .bc3-airtime>.bc3-icon { top:8px; left:8px; }
  #girl .bc3-whatsapp { bottom:48px; }
  #girl .bc3-airtime { bottom:48px; }
}
@media(max-width:359px) {
  #banricom-hero #girl { padding-top:88px; padding-bottom:24px; }
}
@media(min-width:1024px) and (max-width:1279px) {
  #girl .bc3-airtime { bottom:124px; }
}
@media(min-width:1280px) {
  #girl .bc3-sms { width:208px; }
}
/* One finite channel language, driven by the existing journey coordinator. */
#girl .bc3-card { --bc-signal:255,14,117; --bc-confirm:#b50050; }
#girl .bc3-whatsapp { --bc-signal:36,115,68; --bc-confirm:#247344; }
#girl .bc3-airtime { --bc-signal:216,202,53; --bc-confirm:#766e00; }
@media(prefers-reduced-motion:no-preference) {
  #girl .bc3-card[data-journey='active'] { animation:bc-journey-confirm 760ms ease-in-out both; }
  #girl .bc3-card[data-journey='active'] .bc3-icon {
    animation:bc-channel-signal 760ms ease-in-out both;
  }
  #girl .bc3-card[data-journey='active'] [data-demo-title],
  #girl .bc3-card[data-journey='active'] .bc3-read b,
  #girl .bc3-card[data-journey='active'] .bc3-check {
    animation:bc-channel-acknowledge 760ms ease-in-out both;
  }
  /* Pause the visual playhead as well as the coordinator's timer. */
  #girl .bc3-card[data-journey-paused='true'],
  #girl .bc3-card[data-journey='active'][data-journey-paused='true'] * { animation-play-state:paused; }
  @keyframes bc-journey-confirm {
    0%,100% { border-color:rgba(0,6,26,.035); }
    35%,65% { border-color:rgba(var(--bc-signal),.38); box-shadow:0 8px 24px rgba(0,6,26,.045),0 0 0 2px rgba(var(--bc-signal),.055); }
  }
  @keyframes bc-channel-signal {
    0%,100% { box-shadow:0 0 0 0 rgba(var(--bc-signal),0); }
    35%,65% { box-shadow:0 0 0 3px rgba(var(--bc-signal),.14); background-color:rgba(var(--bc-signal),.14); }
  }
  @keyframes bc-channel-acknowledge {
    40%,70% { color:var(--bc-confirm); }
  }
}
