/**
 * stacciolla/press-bar — style.css
 * Banda compacta de menciones en prensa. Solo var(--fe-*). Cero hardcode.
 */

/* ============================================================
   WRAPPER
   ============================================================ */

.fe-press {
  background: var(--fe-cream);
  border-top: 1px solid var(--fe-border);
  border-bottom: 1px solid var(--fe-border);
  width: 100%;
}

.fe-press__inner {
  max-width: var(--fe-container-max);
  margin: 0 auto;
  padding: 60px var(--fe-space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ============================================================
   ETIQUETA DE SECCIÓN
   ============================================================ */

.fe-press__label {
  font-family: var(--fe-font-body);
  font-size: var(--fe-size-xs);
  font-weight: var(--fe-weight-regular);
  letter-spacing: var(--fe-tracking-widest);
  text-transform: uppercase;
  color: var(--fe-warm-gray);
  margin: 0;
  text-align: center;
}

/* ============================================================
   LISTA
   ============================================================ */

.fe-press__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}

/* ============================================================
   SEPARADOR VERTICAL
   ============================================================ */

.fe-press__sep {
  width: 1px;
  height: 48px;
  background: var(--fe-border);
  flex-shrink: 0;
  align-self: center;
}

/* ============================================================
   ITEM
   ============================================================ */

.fe-press__item {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.fe-press__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 32px;
  text-decoration: none;
  transition: opacity var(--fe-transition-fast);
}

a.fe-press__card:hover {
  opacity: 0.7;
}

/* ── Cita ── */

.fe-press__quote {
  font-family: var(--fe-font-display);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: var(--fe-weight-light);
  line-height: 1.6;
  color: var(--fe-black);
  text-align: center;
  margin: 0;
  opacity: 0.75;
}

/* ── Logo imagen ── */

.fe-press__logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity var(--fe-transition-fast);
}

a.fe-press__card:hover .fe-press__logo {
  opacity: 0.65;
}

/* ── Fallback texto si no hay logo ── */

.fe-press__logo-text {
  font-family: var(--fe-font-display);
  font-size: 1.1rem;
  font-weight: var(--fe-weight-light);
  letter-spacing: 0.06em;
  color: var(--fe-black);
  opacity: 0.5;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 1024px
   ============================================================ */

@media (max-width: 1024px) {
  .fe-press__inner {
    padding: 40px var(--fe-space-6);
    gap: 28px;
  }

  .fe-press__item {
    min-width: 140px;
  }

  .fe-press__card {
    padding: 0 var(--fe-space-6);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 768px  (iPad Mini — sin carrusel)
   ============================================================ */

@media (max-width: 768px) {
  .fe-press__inner {
    padding: 36px var(--fe-space-4);
    gap: 24px;
  }

  .fe-press__item {
    min-width: 80px;
  }

  .fe-press__sep {
    height: 40px;
  }
}

/* ============================================================
   RESPONSIVE — PHONE ≤ 480px
   ============================================================ */

@media (max-width: 480px) {
  .fe-press__inner {
    padding: 32px var(--fe-space-4);
  }

  .fe-press__list {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .fe-press__list::-webkit-scrollbar {
    display: none;
  }

  .fe-press__item {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 140px;
    scroll-snap-align: start;
  }

  .fe-press__logo {
    height: 18px;
  }

  .fe-press__quote {
    font-size: 0.65rem;
  }
}
