/* ================= HERO SECTION ================= */

.hero-section {
    /* El fondo está definido en línea en el PHP */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 30px 40px 30px;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
    min-height: 500px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================= TIPOGRAFÍA ================= */

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* ================= BANNERS ================= */

.hero-banners {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.banner-link {
    flex: 1;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-link img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px 30px 15px;
        min-height: 400px;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-title { 
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .hero-subtitle { 
        font-size: 11px;
        margin-bottom: 30px;
    }

    /* Apilar banners verticalmente en móvil */
    .hero-banners {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .banner-link { 
        max-width: 100%;
        width: 100%;
    }
}

.hero-section {
  position: relative;
}

.hero-bg-mobile {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* SOLO móvil */
@media (max-width: 768px) {
  .hero-section {
    background-image: none !important;
  }

  .hero-bg-mobile {
    display: block;
  }
}
