/* About v3: estilos aislados (no rompen otras páginas) */
.aboutv3{
  padding: 18px 14px 96px;
}
.aboutv3__wrap{
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 16px 16px 18px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
}
.aboutv3__header{
  margin-bottom: 12px;
}
.aboutv3__title{
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.aboutv3__intro{
  margin: 0;
  opacity: .92;
  line-height: 1.35;
  font-size: .95rem;
}

.aboutv3__grid{
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 14px;
  align-items: start;
}

.aboutv3__left{
  display: grid;
  gap: 12px;
}

.aboutv3__card{
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  padding: 12px 12px 12px;
}
.aboutv3__h{
  margin: 0 0 6px;
  font-size: .95rem;
}
.aboutv3__p{
  margin: 0;
  line-height: 1.35;
  font-size: .92rem;
  opacity: .95;
}

/* Derecha */
.aboutv3__right{
  display: grid;
  gap: 10px;
  align-content: start;
}
.aboutv3__imgbtn{
  width: 100%;
  height: clamp(320px, 42vh, 480px); /* compacto */
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  overflow: hidden;
  background: #0b2b55;
  cursor: zoom-in;
  padding: 0;
}
.aboutv3__img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* flyer con texto: no recorta */
  display: block;
}

.aboutv3__actions{
  display: flex;
  gap: 10px;
  justify-content: center;
}

.aboutv3__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .90rem;
  text-decoration: none;
  border: 1px solid rgba(15,23,42,.14);
  user-select: none;
  cursor: pointer;
}
.aboutv3__btn--gold{
  background: #caa14a;
  color: #0b1220;
  border-color: rgba(202,161,74,.55);
}
.aboutv3__btn--ghost{
  background: rgba(202,161,74,.20);
  color: #0b1220;
  border-color: rgba(202,161,74,.60);
}

/* Modal */
.aboutv3__modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200000;
}
.aboutv3__modal.is-open{
  display: flex;
  align-items: center;
  justify-content: center;
}
.aboutv3__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}
.aboutv3__dialog{
  position: relative;
  z-index: 1;
  width: min(980px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  overflow: hidden;
  background: #0b2b55;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Header / footer */
.aboutv3__modalhead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.aboutv3__modaltitle{
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: .95rem;
}
.aboutv3__closeicon{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
}
.aboutv3__closeicon:focus{
  outline: 2px solid rgba(202,161,74,.9);
  outline-offset: 2px;
}

.aboutv3__modalbody{
  padding: 10px 12px 12px;
  overflow: auto;
}
.aboutv3__modalimg{
  width: 100%;
  height: auto;
  display: block;
  max-height: 72vh; /* deja espacio al header/footer */
  object-fit: contain;
}

.aboutv3__modalfoot{
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px 12px;
  background: rgba(0,0,0,.14);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Responsive */
@media (max-width: 992px){
  .aboutv3__grid{
    grid-template-columns: 1fr;
  }
  .aboutv3__imgbtn{
    height: clamp(260px, 42vh, 420px);
  }
  .aboutv3__modalimg{
    max-height: 66vh;
  }
}
