/* Resultados: estilos aislados y tipografía heredada. */
.ax-results {
    --axr-bg: var(--bs-body-bg, #fff);
    --axr-ink: var(--bs-emphasis-color, #202432);
    --axr-muted: var(--bs-secondary-color, #626b7a);
    --axr-line: var(--bs-border-color, #e4e7ef);
    --axr-primary: var(--bs-primary, #1931b5);

    padding: clamp(48px, 7vw, 96px) 0;
    font-family: inherit;
    color: var(--axr-ink);
}

.ax-results,
.ax-results * {
    box-sizing: border-box;
}

.ax-results .ax-results__heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.ax-results .ax-results__eyebrow {
    color: var(--axr-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.ax-results .ax-results__heading h2 {
    margin: 16px 0;
    font-family: inherit;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.045em;
    color: var(--axr-ink);
}

.ax-results .ax-results__heading h2 span {
    color: var(--axr-primary);
}

.ax-results .ax-results__heading p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--axr-muted);
}

.ax-results .ax-results__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.ax-results .ax-results__metric {
    position: relative;
    padding: clamp(24px, 3vw, 40px);
    overflow: hidden;
    text-align: center;
    background: var(--axr-bg);
    border: 1px solid var(--axr-line);
    border-radius: 24px;
}

.ax-results .ax-results__metric--accent {
    isolation: isolate;
    border-color: #7e91fc80;
}

.ax-results .ax-results__metric--accent::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(145deg, #fff3e7, #e8b2ff, #7e91fc);
    opacity: .18;
    pointer-events: none;
}

.ax-results .ax-results__icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #8a5cd612;
    color: #8a5cd6;
    font-size: 24px;
}

.ax-results .ax-results__number {
    margin-bottom: 12px;
    font-family: inherit;
    font-size: clamp(38px, 4.6vw, 66px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.055em;
    font-variant-numeric: tabular-nums;
    color: var(--axr-primary);
}

.ax-results .ax-results__metric h3 {
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: normal;
    color: var(--axr-muted);
}

.ax-results .ax-results__previews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ax-results .ax-results__preview {
    position: relative;
    isolation: isolate;
    min-width: 0;
    margin: 0;
    padding: clamp(22px, 3vw, 36px);
    overflow: hidden;
    border: 1px solid var(--axr-line);
    border-radius: 28px;
    background: var(--axr-bg);
}

.ax-results .ax-results__preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(155deg, #fff3e7, #7e91fc);
    opacity: .14;
    pointer-events: none;
}

.ax-results .ax-results__preview--violet::before {
    background: linear-gradient(155deg, #e8b2ff, #eee6fa);
    opacity: .25;
}

.ax-results .ax-results__tag {
    color: var(--axr-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.ax-results .ax-results__preview h3 {
    margin: 14px 0 10px;
    font-family: inherit;
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
    color: var(--axr-ink);
}

.ax-results .ax-results__preview p {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--axr-muted);
}

.ax-results .ax-results__window {
    overflow: hidden;
    border: 1px solid var(--axr-line);
    border-radius: 16px;
    background: var(--axr-bg);
    box-shadow: 0 16px 36px #2024320c;
}

.ax-results .ax-results__window-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--axr-line);
}

.ax-results .ax-results__window-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--axr-line);
}

.ax-results .ax-results__window img {
    display: block;
    width: 100%;
    height: auto;
}

/* En móvil, las tarjetas pasan a una columna. */
@media (max-width: 767.98px) {
    .ax-results .ax-results__metrics,
    .ax-results .ax-results__previews {
        grid-template-columns: 1fr;
    }

    .ax-results .ax-results__metric {
        padding: 28px 20px;
    }

    .ax-results .ax-results__number {
        font-size: 48px;
    }

    .ax-results .ax-results__heading {
        margin-bottom: 28px;
    }
}