/* /Pistola-Billetes/billetes.css */

:root{
  --ob-yellow:#ffcc0a;
  --ob-purple:#a54a97;
  --ob-navy:#141947;

  --ob-bg:#0b0d1a;
  --ob-card:rgba(255,255,255,.06);
  --ob-border:rgba(255,255,255,.12);
  --ob-text:rgba(255,255,255,.88);
  --ob-muted:rgba(255,255,255,.68);

  --radius:18px;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}

html,
body{
  background: var(--ob-bg);
}

body.ob-page{
  color: var(--ob-text);
}

.billetes-page{
  background: radial-gradient(1200px 600px at 20% -10%, rgba(165,74,151,.28), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(255,204,10,.18), transparent 55%),
              var(--ob-bg);
  color: var(--ob-text);
}

.billetes-container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.billetes-section{
  padding:72px 0;
}

.billetes-section--tight{
  padding:56px 0;
}

.billetes-section--dark{
  background: linear-gradient(180deg, rgba(20,25,71,.32), rgba(11,13,26,0));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.billetes-section--light{
  background: #ffffff;
  color: #0f1226;
  border-top: 1px solid rgba(15,18,38,.08);
  border-bottom: 1px solid rgba(15,18,38,.08);
}

.billetes-section--light .h2,
.billetes-section--light .h3{
  color: var(--ob-navy);
}

.billetes-section--light .section-sub{
  color: rgba(20,25,71,.72);
}

.billetes-section--light .panel,
.billetes-section--light .card,
.billetes-section--light .step,
.billetes-section--light .faq__item{
  background: #ffffff;
  border-color: rgba(15,18,38,.12);
  box-shadow: 0 18px 36px rgba(15,18,38,.10);
}

.billetes-section--light .panel--glow::before{
  opacity: .75;
}

.billetes-section--light .checklist li,
.billetes-section--light .card__text,
.billetes-section--light .card__meta,
.billetes-section--light .step__text,
.billetes-section--light .faq__a{
  color: rgba(15,18,38,.72);
}

.billetes-section--light .chip{
  background: rgba(20,25,71,.06);
  border-color: rgba(20,25,71,.14);
  color: rgba(20,25,71,.86);
}

.billetes-section--light .note{
  background: rgba(20,25,71,.04);
  color: rgba(20,25,71,.78);
  border-left-color: rgba(255,204,10,.65);
}

.billetes-section--light .cta-bar{
  border-color: rgba(15,18,38,.12);
  background: linear-gradient(135deg, rgba(255,204,10,.14), rgba(165,74,151,.10));
}

.billetes-section--light .cta-bar__text{
  color: rgba(15,18,38,.78);
}

.billetes-section--light .cta-bar__text strong{
  color: var(--ob-navy);
}

.billetes-section--light .faq__q{
  color: var(--ob-navy);
}

.billetes-section--light .faq__icon{
  border-color: rgba(20,25,71,.18);
  background: rgba(20,25,71,.04);
}

.billetes-section--light .faq__icon::before,
.billetes-section--light .faq__icon::after{
  background: rgba(20,25,71,.72);
}

/* HERO */
.billetes-hero{
  position:relative;
  min-height: 78vh;
  display:grid;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.billetes-hero__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(11,13,26,.35) 0%, rgba(11,13,26,.9) 75%),
    url("/assets/img/pistola2.png");
  background-size:cover;
  background-position:center;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.03);
}

.billetes-hero__inner{
  position:relative;
  z-index:2;
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
  padding:88px 0 44px;
}

.billetes-hero__kicker{
  display:inline-block;
  font-size:.95rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  padding:10px 14px;
  border-radius:999px;
  backdrop-filter: blur(6px);
}

.billetes-hero__title{
  margin:16px 0 10px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height:1.05;
  letter-spacing:-.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}

.billetes-hero__subtitle{
  margin:0;
  max-width: 62ch;
  color:rgba(255,255,255,.78);
  font-size:1.06rem;
  line-height:1.55;
}

.billetes-hero__ctas{
  display:flex;
  gap:12px;
  margin-top:20px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  will-change: transform;
}

.btn-primary{
  color:#101020;
  background: linear-gradient(135deg, var(--ob-yellow), rgba(255,204,10,.78));
  box-shadow: 0 12px 28px rgba(255,204,10,.16);
}

.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255,204,10,.22); }

.btn-ghost{
  color:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.26); }

.billetes-hero__badges{
  display:flex;
  gap:10px;
  margin-top:22px;
  flex-wrap:wrap;
}

.badge{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding:10px 12px;
  border-radius:999px;
  color:rgba(255,255,255,.82);
}

.badge__dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background: var(--ob-purple);
  box-shadow: 0 0 0 4px rgba(165,74,151,.20);
}

/* SECTION HEAD */
.section-head{
  margin-bottom:20px;
}

.h2{
  margin:0 0 8px;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  letter-spacing:-.02em;
}

.h3{
  margin:0 0 10px;
  font-size:1.1rem;
}

.section-sub{
  margin:0;
  color: var(--ob-muted);
  max-width: 72ch;
  line-height:1.55;
}

/* GRID + PANELS */
.billetes-grid{
  display:grid;
  gap:16px;
}

.billetes-grid--2{
  grid-template-columns: 1.15fr .85fr;
  align-items:stretch;
}

.panel{
  border:1px solid var(--ob-border);
  background: var(--ob-card);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}

.panel--glow{
  position:relative;
  overflow:hidden;
}

.panel--glow::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(500px 280px at 20% 0%, rgba(255,204,10,.16), transparent 60%),
              radial-gradient(520px 320px at 90% 30%, rgba(165,74,151,.18), transparent 60%);
  pointer-events:none;
}

.panel--glow > *{ position:relative; z-index:1; }

.checklist{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.checklist li{
  padding-left:26px;
  position:relative;
  color: rgba(255,255,255,.78);
}

.checklist li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:12px;
  height:12px;
  border-radius:3px;
  background: linear-gradient(135deg, var(--ob-yellow), rgba(255,204,10,.75));
  box-shadow: 0 0 0 4px rgba(255,204,10,.14);
  transform: translateY(-50%);
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.chip{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.82);
  padding:8px 10px;
  border-radius: 999px;
  font-size:.95rem;
}

.note{
  margin-top:14px;
  border-left:3px solid rgba(255,204,10,.65);
  padding:12px 12px 12px 14px;
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  color: rgba(255,255,255,.78);
}

/* CARDS */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  border:1px solid var(--ob-border);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.20);
}

.card__icon{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-weight:900;
  letter-spacing:.03em;
  color:#101020;
  background: linear-gradient(135deg, var(--ob-purple), rgba(165,74,151,.7));
  box-shadow: 0 14px 28px rgba(165,74,151,.18);
  margin-bottom:12px;
}

.card__title{
  margin:0 0 8px;
  font-size:1.05rem;
}

.card__text{
  margin:0;
  color: rgba(255,255,255,.74);
  line-height:1.55;
}

.card__meta{
  margin:10px 0 0;
  color: rgba(255,255,255,.62);
  font-size:.95rem;
}

.legal-strip{
  margin-top:16px;
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.72);
  border-radius: 14px;
  padding:12px 14px;
}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:14px;
  margin-top:18px;
  justify-content: center;
}

.gallery__item{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  overflow:hidden;
  padding:0;
  cursor:pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: transform .15s ease, border-color .15s ease;
  width:100%;
}

.gallery__item:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
}

.gallery__item img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}

/* STEPS */
.steps{
  list-style:none;
  padding:0;
  margin:18px 0 0;
  display:grid;
  gap:12px;
}

.step{
  display:grid;
  grid-template-columns: 56px 1fr;
  gap:12px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding:14px;
}

.step__num{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#101020;
  background: linear-gradient(135deg, var(--ob-yellow), rgba(255,204,10,.78));
  box-shadow: 0 14px 28px rgba(255,204,10,.14);
}

.step__title{ margin:0 0 6px; font-size:1.05rem; }
.step__text{ margin:0; color: rgba(255,255,255,.74); line-height:1.55; }

/* CTA BAR */
.cta-bar{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(165,74,151,.18), rgba(255,204,10,.10));
  border-radius: 18px;
  padding:14px 16px;
}

.cta-bar__text{
  display:grid;
  gap:4px;
  color: rgba(255,255,255,.78);
}

.cta-bar__text strong{
  color: rgba(255,255,255,.92);
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
  margin-top:18px;
}

.faq__item{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  overflow:hidden;
}

.faq__q{
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 14px;
  background: transparent;
  color: rgba(255,255,255,.88);
  border:0;
  cursor:pointer;
  font-weight:800;
}

.faq__icon{
  width:28px;
  height:28px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  position:relative;
  background: rgba(0,0,0,.18);
  flex: 0 0 auto;
}

.faq__icon::before,
.faq__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:2px;
  background: rgba(255,255,255,.85);
  transform: translate(-50%, -50%);
  border-radius:2px;
}

.faq__icon::after{
  width:2px;
  height:12px;
}

.faq__a{
  padding: 0 14px 14px;
  color: rgba(255,255,255,.74);
  line-height:1.6;
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:22px;
}

.lightbox.is-open{ display:flex; }

.lightbox__img{
  max-width:min(980px, 100%);
  max-height: 82vh;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 60px rgba(0,0,0,.65);
  background: rgba(255,255,255,.03);
}

.lightbox__close{
  position:absolute;
  top:16px;
  right:16px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .billetes-grid--2{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .gallery{ grid-template-columns: 1fr; }
  .gallery__item img{ height: 210px; }
  .cta-bar{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 560px){
  .billetes-hero__inner{ padding: 76px 0 38px; }
  .cards{ grid-template-columns: 1fr; }
  .badge{ width:100%; justify-content:flex-start; }
}

@media (max-width: 820px){
  .gallery__item img{ height: 200px; }
}
