/* --- HERO SECTION DE ESCUDERÍAS --- */
.hero-escuderias-section {
  height: 50vh;
  min-height: 280px;
  margin-top: 60px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, #000000 100%),
    url("../uploads/utilidades/hero_autodromo.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid #3ac8ed;
}

.hero_notis_tittle {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- TARJETAS CUADRADAS CON EFECTO POP-OUT PARA LOGOS --- */
.escuderia-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 16px;
  margin-top: 50px; /* Deja espacio arriba para que el logo flote fuera de la tarjeta */
  transition: all 0.3s ease;
}

.escuderia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Variaciones de acento corporativo inspiradas en el logo */
.card-accent-red:hover {
  border-color: #e63946 !important;
  box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
}
.card-accent-cyan:hover {
  border-color: #3ac8ed !important;
  box-shadow: 0 10px 25px rgba(58, 200, 237, 0.25);
}
.card-accent-blue:hover {
  border-color: #2b90ef !important;
  box-shadow: 0 10px 25px rgba(43, 144, 239, 0.25);
}

/* Contenedor flotante del logo */
.escuderia-logo-wrapper {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  background: #161616;
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.escuderia-card:hover .escuderia-logo-wrapper {
  transform: translateX(-50%) scale(1.08);
  border-color: #3ac8ed;
}

.escuderia-logo-pop {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.6));
}
.detalle-escuderia-section {
  padding: 120px 0 80px 0;
  min-height: 90vh;
}
