.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    /* Deja espacio libre para el Navbar fijo */
    overflow: hidden;
    background-color: var(--color-primary);
    padding-bottom: 180px;
}

/* Imagen de fondo con overlay oscuro */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/B_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Filtro oscuro para garantizar contraste del texto */
.hero-bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 24, 40, .1);
}

.hero-container {
    position: relative;
    z-index: 2;
    /* Por encima del background overlay */
    display: flex;
    justify-content: flex-start;
    /* Todo alineado a la izquierda */
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 900px;
    text-align: left;
}

.hero-space {
    flex: 1;
    max-width: 530px;
}

/* "3º Encuentro" */
.hero-tag,
.white-text {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 3.5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 5px;
}

/* "Político y Económico de Farmacéuticos" */
.hero-main-title {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.green-text {
    color: var(--color-secondary);
    /* #4CA845 */
}



/* Subtítulo descriptivo */
.hero-description {
    font-size: clamp(0.75rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 300px;
    font-weight: 400;
    font-family: var(--font-roboto);
}

/* Fila de metadatos (Fecha, ubicación, organizador) */
.hero-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(242, 242, 242, 1);
}

.info-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Botones de acción */
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px;
    width: 212px;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón Inscribirme (Sólido Verde) */
.btn-fill {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-fill:hover {
    background-color: #3f8e39;
}

/* Botón Programa (Contorno Verde) */
.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-white);
}

@media (max-width: 768px) {
    .hero-info-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .hero {
        padding-top: 160px;
    }
}