/* Apartado "Oro 24K · lingotes" bajo el encabezado de la portada */
@keyframes gbPulse { 0% { box-shadow: 0 0 0 0 rgba(159, 217, 168, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(159, 217, 168, 0); } }
@keyframes gbShine { to { background-position: -200% 0; } }
@keyframes gbIn { from { opacity: 0; transform: translateY(-10px); } }

.gold-band { position: relative; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0a2a20 0%, #081f18 100%); animation: gbIn .8s var(--ease, ease) both; overflow: hidden; }
.gold-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-1), transparent); background-size: 200% 100%; animation: gbShine 6s linear infinite; }
.gold-band::after { content: ""; position: absolute; left: 50%; top: -90px; width: 640px; max-width: 100%; height: 180px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(201, 162, 77, .13), transparent 72%); pointer-events: none; }
.gb { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 48px) 14px; }

.gb__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.gb__title { display: flex; align-items: center; gap: 12px; }
.gb__title strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .5px; color: var(--gold-1); line-height: 1.1; }
.gb__title small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.gb__live { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9fd9a8; animation: gbPulse 2.2s infinite; }
.gb__toggle { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--gold-1); font: inherit; font-size: 13px; white-space: nowrap; transition: border-color .3s, background .3s, transform .4s var(--ease, ease); }
.gb__toggle:hover { border-color: var(--gold-2); background: rgba(201, 162, 77, .1); transform: translateY(-1px); }

.gb__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.gb-card { position: relative; display: grid; gap: 2px; padding: 14px 18px 13px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); overflow: hidden; transition: border-color .4s, transform .5s var(--ease, ease), box-shadow .5s; }
.gb-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.gb-card:hover { transform: translateY(-3px); border-color: rgba(232, 205, 130, .5); box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }
.gb-card__size { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-2); }
.gb-card__size em { font-style: normal; opacity: .75; letter-spacing: 1px; }
.gb-card__price { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--gold-1); font-variant-numeric: tabular-nums; }
.gb-card__pct { font-size: 12px; color: var(--muted); }

.gb__panel { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); animation: gbIn .5s var(--ease, ease) both; }
.gb__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.gb__steps li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 42px; border: 1px dashed rgba(201, 162, 77, .4); border-radius: 12px; counter-increment: s; }
.gb__steps li::before { content: counter(s); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1c1507; font-size: 12px; font-weight: 500; }
.gb__steps small { font-size: 11px; letter-spacing: .4px; color: var(--muted); }
.gb__steps b { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--gold-1); font-variant-numeric: tabular-nums; }
.gb__steps span { font-size: 12px; color: var(--muted); }
.gb__steps .is-total { border-style: solid; border-color: rgba(232, 205, 130, .6); background: rgba(201, 162, 77, .08); }
.gb__rule { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.gb__rule b { color: var(--text); font-weight: 500; }

.gb__calc { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.gb__calc label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--gold-2); }
.gb__calcrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.gb__calcrow input { width: 120px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; }
.gb__calcrow input:focus { outline: 0; border-color: var(--gold-1); box-shadow: 0 0 0 3px rgba(201, 162, 77, .15); }
.gb__out { display: grid; gap: 1px; min-width: 170px; }
.gb__out strong { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--gold-1); font-variant-numeric: tabular-nums; }
.gb__out small { font-size: 12px; color: var(--muted); }
.gb__calcrow .btn { margin-left: auto; border-radius: 10px; }
.gb__fine { margin: 12px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); opacity: .85; }

@media (max-width: 900px) {
  .gb__steps { grid-template-columns: 1fr 1fr; }
  .gb__calcrow .btn { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .gb { padding-top: 14px; }
  .gb__head { align-items: flex-start; }
  .gb__title strong { font-size: 20px; }
  .gb__toggle { padding: 7px 13px; font-size: 12px; }
  /* Tarjetas en una fila que se desliza con el dedo */
  .gb__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * clamp(16px, 4vw, 48px)); padding: 2px clamp(16px, 4vw, 48px) 8px; scrollbar-width: none; }
  .gb__cards::-webkit-scrollbar { display: none; }
  .gb-card { flex: 0 0 62%; scroll-snap-align: start; }
  .gb__steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gold-band, .gold-band::before, .gb__live, .gb__panel { animation: none !important; }
  .gb-card, .gb__toggle { transition: none; }
}
