/* =========================================================
   Sección 02 — Productos (bento + conversor USD/MXN)
   ========================================================= */

/* Bento */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento__card--wide {
    grid-column: span 2;
  }
}

.bento__card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(8, 55, 68, 0.6) 0%, rgba(3, 21, 26, 0.8) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.bento__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.bento__card--wide {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .bento__card--wide {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.bento__card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 0.5rem;
}

.bento__card p {
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--teal);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tx-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-soft);
  animation: tx-in 0.6s var(--ease) both;
}

.tx-list li:nth-child(2) {
  animation-delay: 0.1s;
}

.tx-list li:nth-child(3) {
  animation-delay: 0.2s;
}

.tx-list li:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes tx-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

.tx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tx-dot--in {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.tx-dot--out {
  background: var(--sky);
}

.tx-amt {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text);
}

.tx-amt--in {
  color: var(--teal);
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: auto;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--teal));
}

.meter__legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -0.75rem;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin-top: auto;
}

.bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(81, 206, 224, 0.15));
  transform-origin: bottom;
  animation: bar-grow 1s var(--ease) both;
}

.bars span:nth-child(odd) {
  background: linear-gradient(180deg, var(--teal), rgba(45, 212, 191, 0.12));
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
}

/* FX */
.fx__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fx__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fx__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 56px;
  border-radius: 12px;
  background: rgba(1, 8, 11, 0.6);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.fx__input:focus-within {
  border-color: var(--cyan);
}

.fx__input input,
.fx__input output {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
}

.fx__input input::-webkit-inner-spin-button {
  appearance: none;
}

.fx__cur {
  font-family: var(--mono);
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.85rem;
}

.fx__rate {
  align-self: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
}

.fx__rate strong {
  color: var(--teal);
}