
.sgjd-resultados {
    --sgjd-gold: #c99700;
    --sgjd-gold-soft: #e7c96c;
    --sgjd-navy: #062552;
    --sgjd-text: #1e293b;
    --sgjd-muted: #64748b;
    --sgjd-border: #e7e9ee;
    position: relative;
    overflow: visible;
    padding: clamp(1.4rem, 2.5vw, 2.5rem) clamp(.5rem, 1.5vw, 1.2rem) 1rem;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    isolation: isolate;
}

.sgjd-resultados::after {
    content: none !important;
    display: none !important;
}

.sgjd-resultados__marca {
    display: none !important;
}

.sgjd-resultados__header {
    max-width: 900px;
    margin: 0 auto 1.35rem;
    text-align: center;
}

.sgjd-resultados__mini-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto .7rem;
    border: 2px solid var(--sgjd-gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sgjd-gold);
}

.sgjd-resultados__mini-icon svg,
.sgjd-resultado-card__icon svg,
.sgjd-resultados__actualizacion svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sgjd-resultados__mini-icon svg {
    width: 30px;
    height: 16px;
}

.sgjd-resultados h2 {
    margin: 0;
    color: var(--sgjd-navy);
    font-size: clamp(1.8rem, 3.2vw, 3.35rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
}

.sgjd-resultados__subtitulo {
    margin-top: .65rem;
    color: var(--sgjd-navy);
    font-size: clamp(1rem, 1.55vw, 1.3rem);
    font-weight: 650;
}

.sgjd-resultados__subtitulo::after {
    content: "";
    display: block;
    width: 75px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--sgjd-gold);
}

.sgjd-resultados__descripcion {
    max-width: 700px;
    margin: .9rem auto 0;
    color: var(--sgjd-muted);
    font-size: clamp(.88rem, 1.1vw, 1rem);
    line-height: 1.6;
}

.sgjd-resultados__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--sgjd-card-min, 150px), 1fr));
    gap: .85rem;
    max-width: 1420px;
    margin: 0 auto;
}

.sgjd-resultado-card {
    position: relative;
    min-height: 235px;
    overflow: hidden;
    padding: 1.05rem .7rem 1.45rem;
    text-align: center;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(7, 37, 82, .12);
    border-top: 3px solid var(--sgjd-gold);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(15,23,42,.08);
    transition: transform .22s ease, box-shadow .22s ease;
}

@media (hover:hover) and (pointer:fine) {
    .sgjd-resultado-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 34px rgba(15,23,42,.13);
    }
}

.sgjd-resultado-card__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto .7rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--sgjd-gold);
    background: #fff;
    border: 1px solid rgba(201,151,0,.18);
    box-shadow: 0 7px 18px rgba(201,151,0,.14);
}

.sgjd-resultado-card__icon svg {
    width: 30px;
    height: 16px;
    stroke-width: 1.9;
}

.sgjd-resultado-card__valor {
    color: var(--sgjd-navy);
    font-size: clamp(1.75rem, 2.6vw, 2.65rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}

.sgjd-resultado-card__linea {
    display: block;
    width: 34px;
    height: 2px;
    margin: .65rem auto .7rem;
    background: var(--sgjd-gold);
}

.sgjd-resultado-card__etiqueta {
    color: var(--sgjd-text);
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 500;
}

.sgjd-resultado-card__ondas {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 16px;
    opacity: .65;
}

.sgjd-resultado-card__ondas span {
    position: absolute;
    left: -8%;
    width: 116%;
    height: 16px;
    border-top: 1px solid rgba(201,151,0,.48);
    border-radius: 50%;
}

.sgjd-resultado-card__ondas span:nth-child(1) { bottom: -4px; }
.sgjd-resultado-card__ondas span:nth-child(2) { bottom: 2px; opacity: .7; }
.sgjd-resultado-card__ondas span:nth-child(3) { bottom: 8px; opacity: .42; }

.sgjd-resultados__actualizacion {
    width: fit-content;
    max-width: 100%;
    margin: 1.15rem auto 0;
    padding: .58rem .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: #6f5521;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(201,151,0,.18);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15,23,42,.05);
}

.sgjd-resultados__actualizacion svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--sgjd-gold);
}

@media (max-width: 900px) {
    .sgjd-resultados__grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .sgjd-resultado-card {
        min-height: 225px;
    }
}

@media (max-width: 640px) {
    .sgjd-resultados {
        border-radius: 14px;
        padding-left: .6rem;
        padding-right: .6rem;
    }

    .sgjd-resultados__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
    }

    .sgjd-resultado-card {
        min-height: 205px;
        padding: .9rem .55rem 1.3rem;
    }

    .sgjd-resultado-card__icon {
        width: 48px;
        height: 48px;
    }

    .sgjd-resultado-card__icon svg {
        width: 25px;
        height: 25px;
    }

    .sgjd-resultado-card__valor {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }

    .sgjd-resultado-card__etiqueta {
        font-size: .78rem;
        line-height: 1.28;
    }

    .sgjd-resultados__actualizacion {
        border-radius: 14px;
        text-align: center;
        font-size: .8rem;
    }
}

@media (max-width: 360px) {
    .sgjd-resultados__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgjd-resultado-card {
        transition: none;
    }
}


.sgjd-resultado-card__icon i {
    display: inline-block;
    color: currentColor;
    font-size: 1.85rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .sgjd-resultado-card__icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sgjd-resultados {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding-left: .35rem;
        padding-right: .35rem;
    }
}
