﻿/* ==========================================================
   PAGE - PROBLEMAS REALES
========================================================== */

.real-problems-page {
    background: #F8FAFB;
}

/* HERO */

.real-problems-hero {
    position: relative;
    padding: 124px 0 86px;
    overflow: hidden;
    background: radial-gradient(circle at 78% 18%, rgba(169, 199, 213, 0.42), transparent 34%), linear-gradient(180deg, #ffffff 0%, #F8FAFB 100%);
}

.real-problems-hero__container {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}



/* LIST */

.real-problems-list {
    padding: 96px 0 88px;
}

.real-problems-list__header {
    max-width: 960px;
    margin: 0 auto 58px;
    text-align: center;
}

    .real-problems-list__header h2 {
        margin: 18px 0 0;
        color: var(--erp-text);
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.12;
        letter-spacing: -0.045em;
        font-weight: 900;
    }

        .real-problems-list__header h2 span {
            color: var(--erp-primary);
        }

/* GRID */

.real-problems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* CARD */

.real-problem-card {
    position: relative;
    min-height: 100%;
    padding: 34px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(220, 231, 236, 0.95);
    border-radius: var(--erp-radius-xl);
    box-shadow: 0 16px 46px rgba(34, 49, 59, 0.065);
    transition: var(--erp-transition);
    overflow: hidden;
}

    .real-problem-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: linear-gradient(90deg, var(--erp-primary), var(--erp-soft-blue));
        opacity: 0;
        transition: var(--erp-transition);
    }

    .real-problem-card:hover {
        transform: translateY(-7px);
        border-color: rgba(75, 116, 145, 0.32);
        box-shadow: 0 26px 70px rgba(34, 49, 59, 0.12);
    }

        .real-problem-card:hover::before {
            opacity: 1;
        }

    .real-problem-card > i {
        width: 72px;
        height: 72px;
        margin-bottom: 26px;
        display: grid;
        place-items: center;
        border-radius: 22px;
        background: var(--erp-soft-blue-2);
        color: var(--erp-primary);
        font-size: 2rem;
        box-shadow: 0 12px 30px rgba(75, 116, 145, 0.10);
    }

    .real-problem-card h3 {
        margin: 0 0 16px;
        color: var(--erp-text);
        font-size: 1.38rem;
        line-height: 1.25;
        letter-spacing: -0.025em;
        font-weight: 900;
    }

    .real-problem-card p {
        margin: 0;
        color: var(--erp-text-secondary);
        font-size: 1rem;
        line-height: 1.75;
    }

/* IMPACT */

.real-problem-card__impact {
    margin-top: auto;
    padding-top: 24px;
}

    .real-problem-card__impact::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        margin-bottom: 22px;
        background: linear-gradient(90deg, transparent, var(--erp-border), transparent);
    }

    .real-problem-card__impact span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
        color: #D94C4C;
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.055em;
    }

        .real-problem-card__impact span::before {
            content: "!";
            width: 22px;
            height: 22px;
            display: grid;
            place-items: center;
            border-radius: 999px;
            background: rgba(217, 76, 76, 0.12);
            color: #D94C4C;
            font-size: 0.78rem;
            font-weight: 900;
        }

    .real-problem-card__impact ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        gap: 10px;
    }

    .real-problem-card__impact li {
        position: relative;
        padding-left: 24px;
        color: var(--erp-text);
        font-size: 0.95rem;
        line-height: 1.5;
        font-weight: 700;
    }

        .real-problem-card__impact li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 0.65em;
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #D94C4C;
            box-shadow: 0 0 0 5px rgba(217, 76, 76, 0.10);
        }

/* CONCLUSION */

.real-problems-conclusion {
    padding: 84px 0 132px;
    background: radial-gradient(circle at 50% 0%, rgba(169, 199, 213, 0.26), transparent 34%), #F8FAFB;
}

.real-problems-conclusion__card {
    max-width: 1040px;
    margin-inline: auto;
    padding: 76px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(220, 231, 236, 0.95);
    border-radius: var(--erp-radius-xl);
    box-shadow: var(--erp-shadow-lg);
}

    .real-problems-conclusion__card h2 {
        margin: 22px auto 0;
        max-width: 900px;
        color: var(--erp-text);
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 1.13;
        letter-spacing: -0.05em;
        font-weight: 900;
    }

        .real-problems-conclusion__card h2 span {
            display: block;
            color: var(--erp-primary);
        }

    .real-problems-conclusion__card p {
        max-width: 760px;
        margin: 30px auto 40px;
        color: var(--erp-text-secondary);
        font-size: 1.13rem;
        line-height: 1.85;
    }

.real-problems-conclusion .erp-btn {
    gap: 12px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .real-problems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .real-problems-hero {
        padding: 84px 0 62px;
    }

    .real-problems-list {
        padding: 74px 0 66px;
    }

    .real-problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .real-problem-card {
        padding: 28px;
    }

    .real-problems-conclusion {
        padding: 64px 0 96px;
    }

    .real-problems-conclusion__card {
        padding: 42px 26px;
    }
}



/*==================================================
MENSAJE FINAL
==================================================*/

.real-problems-message {
    margin: 45px auto;
    max-width: 720px;
    padding: 28px 34px;
    border-radius: 24px;
    background: #F5FAFD;
    border: 1px solid #DDEAF4;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    text-align: left;
}

    .real-problems-message i {
        font-size: 2rem;
        color: var(--erp-primary);
        margin-top: 3px;
    }

    .real-problems-message strong {
        display: block;
        color: var(--erp-text);
        font-size: 1.18rem;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .real-problems-message span {
        color: var(--erp-text-secondary);
        line-height: 1.8;
        font-size: 1.02rem;
    }

@media(max-width:768px) {

    .real-problems-message {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 26px;
    }
}