/**
 * Card components: event-card (4-grid) + venue-card (mosaico) + usp-card.
 * UNLAYERED.
 */

/* ===== Event grid (4 cards full-image) ===== */
body.scc-fase0 .sc-event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  body.scc-fase0 .sc-event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body.scc-fase0 .sc-event-grid { grid-template-columns: 1fr; }
}
body.scc-fase0 .sc-event-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3/4;
  background: #000;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body.scc-fase0 .sc-event-card:hover { transform: translateY(-6px); }
body.scc-fase0 .sc-event-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
body.scc-fase0 .sc-event-card:hover .sc-event-card__img { transform: scale(1.05); }
body.scc-fase0 .sc-event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
body.scc-fase0 .sc-event-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  color: #fff;
  z-index: 2;
}
body.scc-fase0 .sc-event-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
body.scc-fase0 .sc-event-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0 0 1rem;
}
body.scc-fase0 .sc-event-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold, #D99E39);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: gap 0.3s;
}
body.scc-fase0 .sc-event-card:hover .sc-event-card__arrow { gap: 0.9rem; }
body.scc-fase0 .sc-event-card--soon .sc-event-card__arrow { color: var(--color-accent, #B99C66); }

/* ===== Venue cards (asymmetric 3-mosaic) ===== */
body.scc-fase0 .sc-venues-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  body.scc-fase0 .sc-venues-mosaic {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
    min-height: 560px;
  }
  body.scc-fase0 .sc-venue-card--hero { grid-row: 1 / span 2; }
}
body.scc-fase0 .sc-venue-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  min-height: 260px;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  transition: transform 0.4s ease;
}
body.scc-fase0 .sc-venue-card:hover { transform: translateY(-4px); }
body.scc-fase0 .sc-venue-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
body.scc-fase0 .sc-venue-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
}
body.scc-fase0 .sc-venue-card__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.75rem;
  color: #fff;
}
body.scc-fase0 .sc-venue-card__eyebrow {
  display: block;
  color: var(--color-gold, #D99E39);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
body.scc-fase0 .sc-venue-card__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 0.4rem;
}
body.scc-fase0 .sc-venue-card--hero .sc-venue-card__title { font-size: 2.5rem; }
body.scc-fase0 .sc-venue-card__meta {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ===== USP grid ===== */
body.scc-fase0 .sc-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 768px) {
  body.scc-fase0 .sc-usp-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}
@media (max-width: 480px) {
  body.scc-fase0 .sc-usp-grid { grid-template-columns: 1fr; }
}
body.scc-fase0 .sc-usp-card { padding: 0; }
body.scc-fase0 .sc-usp-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217,158,57,0.10);
  border-radius: 50%;
  color: var(--color-gold, #D99E39);
  margin-bottom: 1.5rem;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
body.scc-fase0 .sc-usp-card__icon svg { width: 26px; height: 26px; }
body.scc-fase0 .sc-usp-card:hover .sc-usp-card__icon {
  background: var(--color-gold, #D99E39);
  color: #fff;
  transform: rotate(-6deg);
}
body.scc-fase0 .sc-usp-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-dark, #000);
}
body.scc-fase0 .sc-usp-card__desc {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ===== Process steps (numbered) ===== */
body.scc-fase0 .sc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  body.scc-fase0 .sc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  body.scc-fase0 .sc-steps { grid-template-columns: 1fr; }
}
body.scc-fase0 .sc-step {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 1.5rem;
}
/* .sc-step__num eliminado (polish 2026-06-07): regla orphan tras quieter
 * 2026-06-07 — ningún template renderiza el span ya. */
/* Typeset 2026-06-07: post-quieter (sin .sc-step__num gold gigante), el title
 * pasa a ser el ancla visual de cada step. Weight 400→500 + size 1.25→1.4rem
 * para que cargue el peso que antes traía el numeral. */
body.scc-fase0 .sc-step__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 1rem 0 0.5rem;
  color: var(--color-dark, #000);
  text-wrap: balance;
}
body.scc-fase0 .sc-step__desc {
  font-size: 0.9375rem;
  color: rgba(0,0,0,0.78);
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}
/* Multi-paragraph descs (wpautop output): keep spacing between paragraphs sane. */
body.scc-fase0 .sc-step__desc p {
  margin: 0 0 0.75em;
}
body.scc-fase0 .sc-step__desc p:last-child {
  margin-bottom: 0;
}
