/**
 * Badge de título/subtítulo en hero (páginas de servicio, mantenciones, blog, etc.).
 * Misma forma que servicio.php: tarjeta oscura semitransparente.
 */

.hero-section .hero-left {
    display: flex;
    flex-direction: column;
    max-width: 680px;
    width: 100%;
    text-align: left;
}

.hero-hero-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    background: rgba(26, 26, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    --hero-badge-max-percent: 70%;
    max-width: min(680px, var(--hero-badge-max-percent));
    font-family: var(--font-sans);
}

.hero-hero-badge__title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2.25rem);
}

.hero-hero-badge__title .hero-year-subtle {
    font-size: 0.75em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.9;
}

.hero-hero-badge__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.35;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.hero-hero-badge__text p:last-child {
    margin-bottom: 0;
}

.hero-hero-badge__text .hero-year-subtle {
    font-size: 0.9em;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.82);
}

.hero-hero-badge__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-hero-badge__text a:hover {
    color: #ffd700;
}

.hero-hero-badge__text ul,
.hero-hero-badge__text ol {
    margin: 0.35em 0 0.35em 1.25em;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-hero-badge {
        --hero-badge-max-percent: 92%;
    }
}
