/* Pistola-CO2/co2.css */
:root{
  --ob-amarillo:#ffcc0a;
  --ob-azul:#141947;
  --ob-morado:#a54a97;

  --ink:#0f1226;
  --bg:#070a1a;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.14);
  --glass: rgba(20,25,71,.38);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 26px;
}

.co2-page{
  background: radial-gradient(1200px 700px at 15% 10%, rgba(165,74,151,.20), transparent 60%),
              radial-gradient(900px 600px at 85% 20%, rgba(255,204,10,.10), transparent 55%),
              linear-gradient(180deg, #070a1a 0%, #0b0e24 100%);
  color: #f5f6ff;
}

.co2-page h3{
  letter-spacing: 2px;
}

.container{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Buttons (si ya existen globales, esto solo los refina para esta página) */
.btnPrimary, .btnGhost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}

.btnPrimary{
  background: linear-gradient(90deg, var(--ob-amarillo), #ffe06a);
  color: #111321;
  box-shadow: 0 12px 24px rgba(255,204,10,.18);
  border: 1px solid rgba(255,255,255,.10);
}

.btnPrimary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255,204,10,.22);
}

.btnGhost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #f5f6ff;
}

.btnGhost:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.w100{ width:100%; }

/* Reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.co2-hero{
  position: relative;
  min-height: calc(82vh);
  display:flex;
  align-items: center;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.co2-hero__bg{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(900px 600px at 30% 20%, rgba(165,74,151,.28), transparent 60%),
    radial-gradient(700px 520px at 70% 18%, rgba(255,204,10,.10), transparent 55%),
    url("../assets/img/hora-loca-publico.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

.co2-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(7,10,26,.88) 0%, rgba(7,10,26,.66) 45%, rgba(7,10,26,.40) 100%);
}

.co2-hero__content{
  position: relative;
  padding: 90px 0 70px;
  z-index: 2;
}
.co2-hero__layout{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}
.co2-hero__copy{
  min-width: 0;
}
.co2-hero__media{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  background: rgba(7,10,26,.58);
  width: min(440px, 100%);
  aspect-ratio: 4 / 5;
  justify-self: start;
}
.co2-hero__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35));
  pointer-events: none;
}
.co2-hero__media video{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  pointer-events: none;
}

.co2-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20,25,71,.45);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  width: fit-content;
}

.co2-hero__badge .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ob-amarillo);
  box-shadow: 0 0 0 6px rgba(255,204,10,.12);
}

.co2-hero__title{
  margin: 18px 0 12px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: .2px;
}

.co2-hero__titleAccent{
  display:block;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 650;
  color: rgba(245,246,255,.86);
  margin-top: 10px;
}

.co2-hero__subtitle{
  max-width: 680px;
  color: rgba(245,246,255,.86);
  line-height: 1.55;
  font-size: 16.5px;
}

.co2-hero__actions{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.co2-hero__quick{
  margin-top: 28px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 740px;
}

.qItem{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.qLabel{
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(245,246,255,.65);
}

.qValue{
  margin-top: 6px;
  font-weight: 750;
  color: rgba(245,246,255,.95);
}

/* INTRO GRID */
.co2-intro{
  padding: 64px 0 44px;
}

.co2-grid{
  display:grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 18px;
  align-items: start;
}

.co2-panel{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  padding: 22px;
  box-shadow: var(--shadow);
}

.co2-panel h2{
  margin: 0 0 10px;
  font-size: 28px;
}

.co2-panel p{
  margin: 0 0 14px;
  color: rgba(245,246,255,.86);
  line-height: 1.6;
}

.co2-highlights{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hl{
  background: rgba(20,25,71,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 14px;
}

.hl h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.hl p{
  margin: 0;
  color: rgba(245,246,255,.82);
  font-size: 14px;
  line-height: 1.55;
}

.co2-note{
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(90deg, rgba(165,74,151,.20), rgba(255,204,10,.08));
  color: rgba(245,246,255,.86);
}

/* Side Card */
.co2-card{
  position: sticky;
  top: 92px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}

.co2-card__top{
  padding: 18px 18px 12px;
  background: linear-gradient(90deg, rgba(20,25,71,.55), rgba(165,74,151,.25));
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.co2-card__top h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.co2-card__top p{
  margin: 0;
  color: rgba(245,246,255,.78);
  line-height: 1.45;
  font-size: 14px;
}

.co2-list{
  list-style: none;
  margin: 0;
  padding: 14px 18px 10px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.co2-list li{
  display:flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(245,246,255,.86);
  line-height: 1.45;
  font-size: 14.2px;
}

.tick{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255,204,10,.16);
  border: 1px solid rgba(255,204,10,.35);
  position: relative;
  flex: 0 0 18px;
  margin-top: 2px;
}

.tick::after{
  content:"";
  position:absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 9px;
  border-right: 2px solid var(--ob-amarillo);
  border-bottom: 2px solid var(--ob-amarillo);
  transform: rotate(40deg);
}

.co2-card__cta{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.co2-card__cta .btnPrimary{
  width: 100%;
  box-sizing: border-box;
}

.mini{
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(245,246,255,.70);
  line-height: 1.45;
}

/* BREAK */
.co2-break{
  padding: 18px 0 56px;
}

.co2-break__box{
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(165,74,151,.22), rgba(20,25,71,.42));
  border: 1px solid rgba(255,255,255,.12);
  padding: 22px;
  box-shadow: var(--shadow);
}

.co2-break__quote{
  margin: 0 0 14px;
  font-size: 18px;
  color: rgba(245,246,255,.90);
}

.co2-break__chips{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-size: 13px;
  color: rgba(245,246,255,.86);
}

/* Section head */
.sectionHead{
  margin-bottom: 18px;
}

.sectionHead h2{
  margin: 0 0 8px;
  font-size: 28px;
}

.sectionHead p{
  margin: 0;
  max-width: 760px;
  color: rgba(245,246,255,.82);
  line-height: 1.6;
}

/* Steps */
.co2-steps{
  padding: 24px 0 58px;
}

.stepsGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.stepNum{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 850;
  color: #121423;
  background: linear-gradient(90deg, var(--ob-amarillo), #ffe06a);
  margin-bottom: 10px;
}

.step h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.step p{
  margin: 0;
  color: rgba(245,246,255,.82);
  line-height: 1.55;
  font-size: 14px;
}

/* Gallery */
.co2-gallery{
  padding: 56px 0 58px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(900px 600px at 20% 30%, rgba(255,204,10,.08), transparent 60%),
              radial-gradient(900px 600px at 80% 40%, rgba(165,74,151,.12), transparent 60%);
}

.galleryGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gItem{
  margin: 0;
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .25s ease, border-color .25s ease;
}

.gItem:hover{
  transform: translateY(-4px);
  border-color: rgba(255,204,10,.30);
}

.gItem img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  display:block;
}

.galleryHint{
  margin-top: 12px;
  color: rgba(245,246,255,.72);
  font-size: 13px;
}

/* Specs + FAQ */
.co2-specs{
  padding: 58px 0 56px;
}

.co2-specsGrid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 14px;
  align-items: start;
}

.co2-specsBox{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 20px;
  box-shadow: var(--shadow);
}

.co2-specsBox h2{
  margin: 0 0 10px;
  font-size: 28px;
}

.co2-specsBox p{
  margin: 0 0 14px;
  color: rgba(245,246,255,.82);
  line-height: 1.6;
}

.specList{
  list-style:none;
  padding: 0;
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.specList li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(245,246,255,.85);
  line-height: 1.5;
}

.bullet{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(165,74,151,.65);
  box-shadow: 0 0 0 6px rgba(165,74,151,.12);
  margin-top: 6px;
  flex: 0 0 10px;
}

.co2-miniCard{
  margin-top: 16px;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(255,204,10,.10), rgba(165,74,151,.12));
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
}

.co2-miniCard h3{
  margin: 0 0 6pxpx;
  font-size: 16px;
}

.co2-miniCard p{
  margin: 0;
  color: rgba(245,246,255,.82);
  line-height: 1.55;
  font-size: 14px;
}

.co2-faq{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding: 18px;
  box-shadow: var(--shadow);
}

.co2-faq h2{
  margin: 0 0 12px;
  font-size: 22px;
}

.faqItem{
  width: 100%;
  background: rgba(20,25,71,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 12px;
  margin: 0 0 10px;
  color: rgba(245,246,255,.92);
  font-weight: 700;
  display:flex;
  justify-content: space-between;
  align-items:center;
  cursor:pointer;
  transition: transform .2s ease, border-color .2s ease;
}

.faqItem:hover{
  transform: translateY(-1px);
  border-color: rgba(255,204,10,.26);
}

.faqIcon{
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(245,246,255,.85);
  border-bottom: 2px solid rgba(245,246,255,.85);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.faqItem[aria-expanded="true"] .faqIcon{
  transform: rotate(-135deg);
}

.faqPanel{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 12px 12px;
  margin: -4px 0 10px;
}

.faqPanel p{
  margin: 0;
  color: rgba(245,246,255,.82);
  line-height: 1.55;
  font-size: 14px;
}

/* CONTACT */
.co2-contact{
  padding: 5px 0 74px;
}

.co2-contactBox{
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(20,25,71,.55), rgba(165,74,151,.18));
  border: 1px solid rgba(255,255,255,.12);
  padding: 22px;
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 14px;
}

.co2-contactText h2{
  margin: 0 0 10px;
  font-size: 28px;
}

.co2-contactText p{
  margin: 0 0 14px;
  color: rgba(245,246,255,.84);
  line-height: 1.6;
}

.co2-contactActions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.co2-contactSide{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.sideCard{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 16px;
}

.sideCard h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.sideCard ul{
  margin: 0;
  padding-left: 0;
  list-style:none;
  display:flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(245,246,255,.84);
}

.sideCard.soft{
  background: rgba(255,204,10,.08);
  border-color: rgba(255,204,10,.18);
}

.sideCard p{
  margin: 0;
  color: rgba(245,246,255,.84);
  line-height: 1.55;
  font-size: 14px;
}

.co2-section--light{
  background: #ffffff;
  color: var(--ink);
}
.co2-section--light h2,
.co2-section--light h3{
  color: var(--ink);
}
.co2-section--light .sectionHead p,
.co2-section--light .co2-panel p,
.co2-section--light .hl p,
.co2-section--light .step p,
.co2-section--light .co2-specsBox p,
.co2-section--light .co2-list li,
.co2-section--light .specList li,
.co2-section--light .co2-contactText p,
.co2-section--light .sideCard p,
.co2-section--light .sideCard ul,
.co2-section--light .faqPanel p{
  color: rgba(15,18,38,.76);
}
.co2-section--light .mini{
  color: rgba(15,18,38,.62);
}
.co2-section--light .co2-panel,
.co2-section--light .co2-card,
.co2-section--light .hl,
.co2-section--light .step,
.co2-section--light .co2-specsBox,
.co2-section--light .co2-miniCard,
.co2-section--light .co2-faq,
.co2-section--light .co2-contactBox,
.co2-section--light .sideCard,
.co2-section--light .faqPanel{
  background: #ffffff;
  border-color: rgba(15,18,38,.12);
  box-shadow: 0 18px 36px rgba(15,18,38,.10);
}
.co2-section--light .co2-card__top{
  background: #f7f8fb;
  border-bottom-color: rgba(15,18,38,.12);
}
.co2-section--light .co2-card__top p{
  color: rgba(15,18,38,.72);
}
.co2-section--light .co2-card__cta{
  background: #f7f8fb;
  border-top-color: rgba(15,18,38,.12);
}
.co2-section--light .tick{
  background: rgba(255,204,10,.24);
  border-color: rgba(255,204,10,.55);
}
.co2-section--light .co2-note{
  background: #ffffff;
  border-color: rgba(15,18,38,.12);
  color: rgba(15,18,38,.72);
}
.co2-section--light .faqItem{
  background: #ffffff;
  border-color: rgba(15,18,38,.12);
  color: var(--ink);
}
.co2-section--light .faqIcon{
  border-color: rgba(15,18,38,.65);
}
.co2-section--light .bullet{
  background: rgba(165,74,151,.45);
  box-shadow: 0 0 0 6px rgba(165,74,151,.16);
}
.co2-section--light .btnGhost{
  background: rgba(15,18,38,.06);
  border-color: rgba(15,18,38,.18);
  color: var(--ink);
}
.co2-section--light .btnGhost:hover{
  border-color: rgba(15,18,38,.28);
  box-shadow: 0 14px 30px rgba(15,18,38,.12);
}

/* Responsive */
@media (max-width: 1020px){
  .co2-hero__layout{ grid-template-columns: 1fr; }
  .co2-hero__media{
    width: 100%;
    max-width: 520px;
    justify-self: start;
    margin-top: 18px;
  }
  .co2-grid{ grid-template-columns: 1fr; }
  .co2-card{ position: relative; top: auto; }
  .co2-highlights{ grid-template-columns: 1fr; }
  .stepsGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galleryGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co2-specsGrid{ grid-template-columns: 1fr; }
  .co2-contactBox{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .co2-hero__quick{ grid-template-columns: 1fr; }
  .stepsGrid{ grid-template-columns: 1fr; }
  .galleryGrid{ grid-template-columns: 1fr; }
  .gItem img{ height: 220px; }
}
