/* ==========================================================================
   cards.css — tarjetas, pilares, timeline, entrenadores, noticias, galería,
   tienda, sponsors, calendario de partidos y filtros
   ========================================================================== */

.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-grey-100);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pop);
}
.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.pillar {
  padding: 34px 28px;
  border-radius: var(--radius-md);
  background: var(--c-black-soft);
  border: 1px solid rgba(255, 255, 255, .08);
}
.pillar .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--c-red-bright);
  letter-spacing: .1em;
}
.pillar h3 {
  color: var(--c-white);
  margin-top: 16px;
}
.pillar p {
  margin-top: 12px;
  color: #ffffffad;
  font-size: 14.5px;
}

.value-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  box-shadow: var(--shadow-card);
}
.icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-white);
  fill: none;
}

.readmore svg, .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social svg { width: 17px; height: 17px; flex-shrink: 0; }
.match-meta svg { width: 14px; height: 14px; flex-shrink: 0; vertical-align: -2px; }
.footer-col li svg { width: 16px; height: 16px; flex-shrink: 0; }

.timeline {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--c-grey-100);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-red);
  border: 4px solid var(--c-white);
  box-shadow: 0 0 0 2px var(--c-red);
}
.timeline-item .year {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--c-red);
  font-size: 14px;
  letter-spacing: .08em;
}
.timeline-item h3 {
  margin-top: 8px;
}
.timeline-item p {
  margin-top: 8px;
  color: var(--c-grey-600);
}

.coach-card {
  text-align: left;
}
.coach-card .card-media {
  aspect-ratio: 3/3.6;
}
.coach-card .role {
  color: var(--c-red);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.coach-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.coach-card .tags span {
  font-size: 11.5px;
  background: var(--c-grey-100);
  color: var(--c-black-900);
  padding: 5px 10px;
  border-radius: 999px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--c-grey-300);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-black-900);
  background: var(--c-white);
}
.filter-chip.active {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

.match-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}
@media (min-width: 760px) {
  .match-row { grid-template-columns: 120px 1fr auto; }
}
.match-row .date-block {
  text-align: left;
}
@media (min-width: 760px) {
  .match-row .date-block {
    text-align: center;
    border-right: 1px solid var(--c-grey-100);
  }
}
.match-row .date-block strong {
  display: block;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
}
.match-row .date-block span {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--c-grey-600);
  letter-spacing: .06em;
}
.match-teams {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.match-teams .vs {
  color: var(--c-grey-400);
  font-weight: 700;
  font-size: 13px;
}
.match-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--c-grey-600);
}
.status-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
}
.status-badge.local { background: #c8102e1a; color: var(--c-red); }
.status-badge.visita { background: var(--c-grey-100); color: var(--c-black-900); }
.status-badge.entreno { background: #0b0b0c14; color: var(--c-black); }
.status-badge.confirmar { background: var(--c-grey-100); color: var(--c-grey-600); }

.news-card .card-body { gap: 14px; }
.news-card time {
  font-size: 12px;
  color: var(--c-grey-600);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.news-card .tag {
  color: var(--c-red);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.news-card .readmore {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.09);
}
.gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover:after {
  opacity: 1;
}
.gallery-item .cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all .3s;
  z-index: 2;
}
.gallery-item:hover .cap {
  opacity: 1;
  transform: translateY(0);
}

.product-card .price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
}
.product-card .price .old {
  text-decoration: line-through;
  color: var(--c-grey-400);
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}
.product-card .swatches {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.product-card .swatches span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--c-grey-300);
}

.sponsor-tier-label {
  text-align: center;
  margin-bottom: 28px;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--c-white);
  border: 1px solid var(--c-grey-100);
  border-radius: var(--radius-sm);
  filter: grayscale(1);
  opacity: .75;
  transition: all .3s;
}
.sponsor-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow-card);
}

.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
  display: flex;
  gap: 64px;
  width: -moz-max-content;
  width: max-content;
  animation: marquee 26s linear infinite;
  align-items: center;
}
