/* ============================================================
   components.css — piezas visuales por sección.
   Si hay que cambiar el LOOK, es acá. Si hay que cambiar
   TEXTOS, es en js/content.js. Si hay que cambiar FOTOS,
   es en assets/img/ manteniendo el mismo nombre.
   ============================================================ */

/* ---------- etiqueta de sección (SOBRE / EQUIPO / …) ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--section-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 21px;
  background: url( "../assets/img/icono-bancapar.svg" );
}

/* ---------- hero ---------- */
.hero { padding-block: 24px 64px; }

.hero__brand {
  font-size: var(--hero-brand);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 24px;
}

.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}

.hero__strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero__title {
  font-size: var(--hero-title);
  /*max-width: 16ch;*/
  margin-bottom: 20px;
}

.hero__sub {
  font-size: var(--hero-sub);
  color: var(--ink-soft);
  margin-bottom: 32px;
  margin-left: 50%;
}

.hero__maqueta img {
  width: 100%;
  height: auto;
}

/* ---------- SOBRE: tabs + panel ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab {
  font-family: inherit;
  font-size: var(--tab-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: none;
  border: 0;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tab[aria-selected="true"] {
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--ink);
}

.sobre__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.sobre__panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--placeholder-bg);
}

.sobre__text p + p { margin-top: 1em; }

/* ---------- video facade (YouTube, no autoalojado) ---------- */
.video {
  position: relative;
  background: #000;
}

.video img {
  width: 100%;
  height: clamp(320px, 55vw, 720px);
  object-fit: cover;
  opacity: 0.95;
}

.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.video__play svg { width: 32px; height: 32px; }

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

/* ---------- equipo / agradecimientos: texto + foto ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.split img {
  width: 100%;
  object-fit: cover;
  background: var(--placeholder-bg);
}

.equipo__group { margin-bottom: 20px; }

.equipo__role {
  font-weight: 700;
  margin-bottom: 2px;
}

.equipo__group p { font-size: var(--body); }

.gracias__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

/* ---------- artículos / prensa ---------- */
.doc-group { margin-bottom: 40px; }

.doc-group > h3 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.doc-list { list-style: none; padding: 0; }

.doc-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-top: 1px solid var(--ink);
  font-size: var(--body);
}

.doc-list li:last-child { border-bottom: 1px solid var(--ink); }

.doc-list .ext {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--ink-soft);
}

.doc-list a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
}

.doc-list a:hover span:first-child { text-decoration: underline; }

.doc-list [aria-disabled="true"] { color: var(--ink); }

/* ---------- responsive componentes ---------- */
@media (max-width: 1199px) {
  .hero__strip img { height: 180px; }
}

@media (max-width: 900px) {
  .sobre__panel,
  .split { grid-template-columns: 1fr; }
  .sobre__panel img { aspect-ratio: 16 / 10; }
}

@media (max-width: 767px) {
  .hero__strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero__strip img { height: 140px; }
}
