/* PADDOCK CDMX — capa de concepto sobre el template */

.paddock-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 6px;
  background: #111;
  text-decoration: none !important;
}

.paddock-hex {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.paddock-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.paddock-wordmark b {
  font-weight: 900;
  font-style: normal;
  color: #ea202e;
  font-size: 20px;
}

.paddock-wordmark i {
  font-style: normal;
  font-weight: 300;
  color: #fff;
  font-size: 20px;
}

.rd-navbar-static .paddock-wordmark b,
.rd-navbar-static .paddock-wordmark i {
  font-size: 22px;
}

/* Telemetría tipo parrilla */
.paddock-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  pointer-events: none;
}

.paddock-ticker__live {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ea202e;
  font-weight: 900;
}

.paddock-ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ea202e;
  box-shadow: 0 0 0 0 rgba(234, 32, 46, 0.7);
  animation: paddock-pulse 1.6s infinite;
}

.paddock-ticker__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: paddock-marquee 28s linear infinite;
}

@keyframes paddock-pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 32, 46, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(234, 32, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 32, 46, 0); }
}

@keyframes paddock-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.paddock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.paddock-chip--solid {
  background: #ea202e;
  border-color: #ea202e;
  color: #fff;
}

.paddock-hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mini garage en home */
.inspect-stage {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #111;
}

.inspect-stage__media {
  position: absolute;
  inset: 0;
  background: #111 center / cover no-repeat;
  transform-origin: var(--zoom-origin, 50% 50%);
  transform: scale(var(--zoom-scale, 1));
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-hotspots] {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.inspect-hotspot {
  position: absolute;
  pointer-events: auto;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 0;
  border-radius: 50%;
  background: rgba(234, 32, 46, 0.92);
  box-shadow: 0 0 0 6px rgba(234, 32, 46, 0.22);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inspect-hotspot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: paddock-ring 2.2s ease-out infinite;
}

.inspect-hotspot.is-active,
.inspect-hotspot:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(234, 32, 46, 0.28);
}

@keyframes paddock-ring {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.inspect-panel {
  position: relative;
  z-index: 4;
  max-width: 420px;
  margin: 36px 0 36px auto;
  padding: 28px 28px 24px;
  background: rgba(10, 10, 12, 0.86);
  border-left: 4px solid #ea202e;
  color: #fff;
  backdrop-filter: blur(8px);
}

.inspect-panel__kicker {
  display: block;
  margin-bottom: 8px;
  color: #ea202e;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.inspect-panel h4 {
  color: #fff;
  margin-bottom: 10px;
}

.inspect-panel p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.inspect-reset {
  margin-top: 16px;
}

.inspect-stage:not(.is-zoomed) .inspect-reset,
.garage-part.is-empty .inspect-reset {
  display: none;
}

/* Garage F1 */
.garage-shell {
  background: #111114;
  color: #fff;
}

.garage-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.garage-select__btn {
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.garage-select__btn small {
  display: block;
  opacity: 0.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.garage-select__btn strong {
  display: block;
  font-size: 16px;
}

.garage-select__btn.is-active {
  border-color: #ea202e;
  background: rgba(234, 32, 46, 0.12);
}

.garage-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.garage-stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #0a0a0c;
}

.garage-stage__media {
  position: absolute;
  inset: 0;
  background: #0a0a0c center / cover no-repeat;
  transform-origin: var(--zoom-origin, 50% 50%);
  transform: scale(var(--zoom-scale, 1));
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), background-image 0.35s ease;
}

.garage-hud {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.garage-stat {
  min-width: 88px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.garage-stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.garage-stat b {
  font-size: 16px;
  font-weight: 900;
}

.garage-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.garage-card {
  padding: 22px;
  background: #1a1a1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.garage-card h4,
.garage-card h5 {
  color: #fff;
}

.garage-card__meta {
  color: #ea202e;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.garage-part {
  min-height: 168px;
}

.garage-part.is-empty p {
  opacity: 0.7;
}

.team-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.team-row + .team-row {
  margin-top: 12px;
}

.team-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.team-row strong {
  display: block;
  color: #fff;
}

.team-row span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.garage-downloads {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Zonas / pistas */
.zone-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.zone-sector {
  position: relative;
  min-height: 150px;
  padding: 20px;
  background: #16161a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.zone-sector::before {
  content: attr(data-sector);
  position: absolute;
  right: 10px;
  top: -8px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.zone-sector.is-featured {
  background: #ea202e;
}

.zone-sector h5 {
  color: #fff;
  position: relative;
}

.zone-sector p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.club-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  background: #ea202e;
  color: #fff;
  font-weight: 900;
}

.pista-hero,
.clubs-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 40px 0;
  background: #111 center / cover no-repeat;
}

.clubs-hero {
  min-height: min(92vh, 880px);
  align-items: flex-end;
  padding: 120px 0 64px;
  background-position: center center;
}

@media (max-width: 991px) {
  .clubs-hero {
    min-height: min(78vh, 640px);
    padding: 96px 0 48px;
  }
}

@media (max-width: 575px) {
  .clubs-hero {
    min-height: 520px;
    background-position: center 55%;
  }
}

.pista-hero__veil,
.clubs-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.82));
}

.clubs-hero__veil {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.pista-hero .container,
.clubs-hero .container {
  position: relative;
  z-index: 2;
  color: #fff;
}

.clubs-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.clubs-hero .big {
  max-width: 640px;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(1) contrast(1.1);
}

.paddock-note {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ea202e;
}

@media (max-width: 991px) {
  .garage-layout {
    grid-template-columns: 1fr;
  }

  .garage-stage,
  .inspect-stage {
    min-height: 360px;
  }

  .inspect-panel {
    margin: 24px 16px;
  }

  .zone-board {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .paddock-wordmark i {
    display: none;
  }

  .zone-board {
    grid-template-columns: 1fr;
  }

  .garage-select__btn {
    min-width: 100%;
  }
}
