/* ── IMPACT SECTION ────────────────────────────────────── */
.impact-section {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* FONDO */
.impact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.impact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.impact-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(10, 20, 10, 0.15) 0%,
            transparent 60%);
}

/* CARD */
.impact-card {
    position: relative;
    z-index: 2;
    margin: 60px 0 60px 80px;
    width: 440px;
    background: linear-gradient(160deg, #0d3b66 0%, #021424 60%, #021424 100%);
    border-radius: 20px;
    padding: 48px 44px 44px;
    display: flex;
    flex-direction: column;
    gap: 18px;

    /* sombra profunda */
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 8px 24px rgba(0, 0, 0, 0.3);

    /* animación entrada */
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.impact-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* MEDALLÓN */
.impact-medallion {
    position: absolute;
    top: -28px;
    right: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffca45;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 24px rgba(105, 219, 42, 0.4),
        0 0 0 4px rgba(105, 219, 42, 0.15);
    animation: medalSpin 12s linear infinite;
}

@keyframes medalSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.impact-medallion-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: medalSpinReverse 12s linear infinite;
}

@keyframes medalSpinReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.impact-medallion-num {
    font-size: 15px;
    font-weight: 900;
    color: #111;
    line-height: 1;
}

.impact-medallion-text {
    font-size: 5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

/* OVERLINE */
.impact-overline {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffca45;
    display: flex;
    align-items: center;
    gap: 10px;
}

.impact-overline::before {
    content: '';
    width: 16px;
    height: 1.5px;
    background: #69DB2A;
    flex-shrink: 0;
}

/* TÍTULO */
.impact-title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}

/* BODY */
.impact-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 16px;
}

.impact-body p {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.impact-body p:first-child {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* CTA */
.impact-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    align-self: flex-start;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.impact-cta:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .impact-section {
        min-height: auto;
    }

    .impact-card {
        margin: 40px 32px;
        width: auto;
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .impact-card {
        margin: 24px 16px;
        padding: 36px 28px 32px;
        border-radius: 16px;
    }

    .impact-medallion {
        right: 24px;
    }
}