/* =========================
   HERO
========================== */

.mp-hero {
    position: relative;
    padding: 5.5rem 0 4rem;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.7)),
        url('../public/img/hero-pimentel.jpg') center/cover no-repeat;
    color: #fff;
}

.mp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
}

.mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.16);
    border: 1px solid rgba(45, 212, 191, 0.7);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.mp-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
}

.mp-hero-title {
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    line-height: 1.15;
    margin: 0 0 0.9rem;
}

.mp-hero-highlight {
    color: var(--mp-accent);
}

.mp-hero-text {
    font-size: 0.98rem;
    max-width: 32rem;
    opacity: 0.95;
    margin-bottom: 1.6rem;
}

.mp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

/* Botones */

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.3rem;
    border-radius: var(--mp-radius-full);
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.mp-btn-primary {
    background: linear-gradient(135deg, var(--mp-primary), var(--mp-primary-light));
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.mp-btn-primary:hover {
    filter: brightness(1.05);
}

.mp-btn-outline {
    background: rgba(15, 23, 42, 0.35);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.6);
}

.mp-btn-outline:hover {
    background: rgba(15, 23, 42, 0.55);
}

.mp-hero-small {
    font-size: 0.82rem;
    opacity: 0.9;
}

/* KPIs */

.mp-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.mp-hero-kpi {
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.mp-hero-kpi-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.mp-hero-kpi-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Card de apps */

.mp-hero-card {
    background: rgba(15, 23, 42, 0.78);
    border-radius: 22px;
    padding: 1.3rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.mp-hero-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.mp-hero-card-title h2 {
    font-size: 1rem;
    margin: 0;
}

.mp-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.8);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #facc15;
}

.mp-hero-apps-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-hero-app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.5rem 0.3rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.5);
}

.mp-hero-app:last-child {
    border-bottom: none;
}

.mp-hero-app-main {
    display: flex;
    flex-direction: column;
}

.mp-hero-app-name {
    font-size: 0.88rem;
    font-weight: 500;
}

.mp-hero-app-desc {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* pill botón en hero */

.mp-pill {
    font-size: 0.75rem;
    padding: 0.23rem 0.65rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.7);
}

/* Responsivo hero */

@media (max-width: 991.98px) {
    .mp-hero {
        padding: 4.5rem 0 3rem;
    }

    .mp-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .mp-hero-card {
        margin-top: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .mp-hero-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mp-hero-kpi:last-child {
        grid-column: span 2;
    }
}
/* Contenedor de íconos en el hero */
.mp-hero-socials-inline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

/* Botón circular de cada red */
.mp-hero-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.65);
    color: #e5e7eb;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem; /* tamaño del icono FA */
}

.mp-hero-social-icon i {
    line-height: 1;
}

/* Hover */
.mp-hero-social-icon:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--mp-primary-light);
    transform: translateY(-1px) scale(1.03);
}

/* Helper para texto solo accesible (screen readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* En móvil */
@media (max-width: 575.98px) {
    .mp-hero-socials-inline {
        justify-content: flex-start; /* o center si los quieres centrados */
    }
}
