/* Opción B: estructura en tarjetas de vidrio y asistente integrado.
   Se carga después de styles.css y usa sus mismos tokens. */

.b-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.55);
  color: var(--muted);
  font-size: 0.8125rem;
}
.b-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.6rem;
}
.b-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.b-strip svg,
.b-where svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}
@media (max-width: 44rem) {
  .b-strip span:nth-child(2) {
    display: none;
  }
}

/* Pills, as on the brand's posts */
.b-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.b-pill--gold {
  border-color: transparent;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
}
.b-pill--dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Hero */
.b-hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
}
.b-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.b-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.125rem, 4.6vw, 3.75rem);
}
.b-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}
.b-pillars li {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.b-pillars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}
.b-pillars strong {
  color: var(--text);
  font-size: 0.9375rem;
}
.b-networks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.b-networks span:not(:first-child) {
  margin-left: 0.75rem;
}
.b-networks b {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
@media (max-width: 60rem) {
  .b-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 40rem) {
  .b-pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .b-pillars li {
    grid-template-columns: 1.25rem minmax(0, 1fr);
    column-gap: 0.75rem;
  }
  .b-pillars span {
    grid-column: 2;
  }
  .b-hero .actions .btn {
    width: 100%;
  }
}

/* Grids of glass cards */
.b-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.b-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.b-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.b-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.b-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.b-grid--chats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.b-grid--chats > li {
  grid-column: span 2;
}
.b-grid--chats > li:first-child {
  grid-column: span 4;
}
.b-grid--chats > li:nth-child(n + 3) {
  grid-column: span 2;
}
@media (max-width: 64rem) {
  .b-grid--5,
  .b-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 56rem) {
  .b-grid--2,
  .b-grid--3,
  .b-grid--chats {
    grid-template-columns: minmax(0, 1fr);
  }
  .b-grid--chats > li,
  .b-grid--chats > li:first-child,
  .b-grid--chats > li:nth-child(n + 3) {
    grid-column: auto;
  }
}
@media (max-width: 36rem) {
  .b-grid--5,
  .b-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.b-card,
.b-service,
.b-branch,
.b-step,
.b-chat {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}
.b-card h3,
.b-service h3,
.b-branch h3 {
  margin-top: 1rem;
}
.b-card p,
.b-service > p,
.b-branch > p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.b-card h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.b-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}
.b-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}
.b-icon--round {
  border-radius: 50%;
}

.b-where {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Services */
.b-service {
  display: flex;
  flex-direction: column;
}
.b-service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.b-service h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.b-checks {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.b-checks li {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  gap: 0.65rem;
}
.b-checks svg {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  color: var(--gold);
}
.b-service .b-where {
  margin-top: auto;
}
.b-service .btn {
  margin-top: 1rem;
  width: 100%;
}
.b-service .btn svg {
  width: 1rem;
  height: 1rem;
}

/* Wallets band */
.b-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-block: 1.25rem;
  border-color: rgba(235, 225, 166, 0.28);
}
.b-callout strong {
  color: var(--text);
}
.b-callout p {
  color: var(--muted);
}

/* Steps */
.b-step {
  display: grid;
  align-content: start;
  gap: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.b-step__n {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.b-step__n {
  /* filled: every step is a real, ordered action */
  border-color: transparent;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
}
.b-after {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Scam notice, after the brand's own post */
.b-scam {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(2rem, 6vw, 4rem);
  border-color: rgba(235, 225, 166, 0.28);
  text-align: center;
}
.b-scam__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  box-shadow: 0 18px 36px -14px rgba(158, 140, 89, 0.7);
}
.b-scam__icon svg {
  width: 2.25rem;
  height: 2.25rem;
  stroke-width: 1.8;
}
.b-scam h2 {
  text-transform: uppercase;
}
.b-scam .lede {
  max-width: 38rem;
  color: var(--text);
}
.b-official {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.b-official a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* Branches */
.b-branch {
  display: flex;
  flex-direction: column;
}
.b-branch h3 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.02em;
}
.b-branch .b-where {
  margin-top: 1rem;
}
.b-branch__actions {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin-top: auto;
  padding-top: 1.5rem;
}
.b-branch__actions .link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
}

/* Testimonials as the chat messages they are */
.b-chat figure {
  margin: 0;
}
.b-chat figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9375rem;
}
.b-chat img,
.b-chat .quote__initial {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}
.b-chat blockquote {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(235, 225, 166, 0.2);
  border-radius: 0.375rem 1.125rem 1.125rem 1.125rem;
  background: rgba(235, 225, 166, 0.07);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.b-grid--chats > li:first-child blockquote {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.45;
}

/* Assistant */
.assistant {
  display: flex;
  flex-direction: column;
  height: min(36rem, 78dvh);
  padding: 0;
  overflow: hidden;
  border-color: rgba(235, 225, 166, 0.28);
}
.assistant__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.35);
}
.assistant__head img {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #111;
}
.assistant__title {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.assistant__head p {
  color: var(--muted);
  font-size: 0.8125rem;
}
.assistant__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.assistant__row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 88%;
  animation: b-msg 0.38s var(--ease-out) both;
}
.assistant__row--user {
  align-self: flex-end;
}
.assistant__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.625rem;
  font-weight: 700;
}
.assistant__bubble {
  padding: 0.65rem 0.9rem;
  border-radius: 0.25rem 0.9rem 0.9rem 0.9rem;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.9375rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.assistant__row--user .assistant__bubble {
  border-radius: 0.9rem 0.25rem 0.9rem 0.9rem;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  font-weight: 700;
}
.is-typing .assistant__bubble {
  display: flex;
  gap: 0.25rem;
  padding-block: 0.9rem;
}
.is-typing i {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--muted);
  animation: b-dot 1s infinite;
}
.is-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.is-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.assistant__options {
  display: grid;
  gap: 0.5rem;
  animation: b-msg 0.38s var(--ease-out) both;
}
.assistant__option {
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
  animation: b-msg 0.32s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
.assistant__option:hover {
  border-color: var(--gold);
  background: rgba(235, 225, 166, 0.07);
}
.assistant__back {
  justify-self: start;
  min-height: 2.25rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}
.assistant__back:hover {
  color: var(--gold);
}
.assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.assistant__chip {
  min-height: 2.25rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}
.assistant__chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.assistant__amount {
  display: flex;
  gap: 0.5rem;
}
.assistant__amount input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  caret-color: var(--gold);
  font: inherit;
  font-size: 1rem;
}
.assistant__amount input::placeholder {
  color: #8f8c83;
}
.assistant__amount input:focus-visible {
  outline-offset: 0;
  border-color: var(--gold);
}
.assistant__amount button {
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0.75rem;
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--on-gold);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.assistant__amount button:disabled {
  opacity: 0.4;
  cursor: default;
}
.assistant__hint {
  color: var(--muted);
  font-size: 0.8125rem;
}
.assistant__done {
  justify-items: center;
  padding-top: 0.5rem;
}
.assistant__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #06140b;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.2s var(--ease-out);
}
.assistant__wa:hover {
  filter: brightness(1.08);
}
@keyframes b-msg {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes b-dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Standalone assistant page */
.b-operar {
  display: grid;
  align-items: center;
  min-height: calc(100dvh - var(--header-h));
  padding-block: clamp(2rem, 6vw, 4rem);
}
.b-operar .assistant {
  width: min(100%, 27rem);
  margin-inline: auto;
}

/* Footer additions */
.site-footer__brand p {
  max-width: 20rem;
  margin-top: 1rem;
}
.site-footer__gap {
  margin-top: 1.5rem;
}

/* Key facts: one plain answer per line, for people and for AI search */
.b-facts {
  margin: 0;
  padding-block: clamp(0.5rem, 1.5vw, 1rem);
}
.b-facts div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0.25rem 1.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}
.b-facts div:first-child {
  border-top: 0;
}
.b-facts dt {
  font-weight: 700;
}
.b-facts dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 36rem) {
  .b-facts div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Block entrances: cards come up and settle; steps arrive with the scroll */
.rise.rise--card {
  transform: translateY(36px) scale(0.97);
}
.rise.rise--card.is-in {
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.b-steps {
  position: relative;
}
.b-steps.is-armed .b-step {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}
.b-steps.is-armed .b-step.is-on {
  opacity: 1;
  transform: none;
}
@media (min-width: 64.01rem) {
  .b-steps.is-armed::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transform: scaleX(var(--p, 0));
    transform-origin: left;
    transition: transform 0.7s var(--ease-out);
  }
}

/* Spotlight: the hero assistant travels to the centre and back */
.b-hero {
  overflow: visible;
}
.assistant[data-assistant] {
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.55s var(--ease-out), z-index 0s linear 0.55s;
}
.assistant[data-assistant].rise.is-in {
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.55s cubic-bezier(0.32, 0.72, 0, 1) var(--d, 0ms), box-shadow 0.55s var(--ease-out), z-index 0s linear 0.55s;
}
.assistant[data-assistant].is-spot,
.assistant[data-assistant].rise.is-in.is-spot {
  z-index: 40;
  transform: translate(var(--sx, 0), var(--sy, 0)) scale(var(--ss, 1));
  background: linear-gradient(155deg, rgba(48, 48, 48, 0.96), rgba(26, 26, 26, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 50px 120px -30px rgba(0, 0, 0, 0.95);
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.55s var(--ease-out), z-index 0s;
}
.assistant-veil {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(8, 8, 8, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.assistant-veil.is-on {
  opacity: 1;
  visibility: visible;
}
