/* =========================================================
   CIDMED - ABOUT / ¿QUIÉNES SOMOS?
   Diseño aislado para no modificar style.css
   ========================================================= */

#about.about {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(
            135deg,
            #f8fbfa 0%,
            #ffffff 48%,
            #f4f7fb 100%
        );
    overflow: hidden;
}

/* Decoración ambiental */
#about.about::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -220px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(88, 171, 149, 0.13) 0%,
        rgba(88, 171, 149, 0.05) 42%,
        transparent 72%
    );
    pointer-events: none;
}

#about.about::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -200px;
    bottom: -180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(52, 74, 108, 0.10) 0%,
        rgba(52, 74, 108, 0.035) 45%,
        transparent 72%
    );
    pointer-events: none;
}

/* Contenedor principal */
#about.about .container {
    position: relative;
    z-index: 2;
}

/* =========================================================
   PANEL IZQUIERDO
   ========================================================= */

#about.about .row.no-gutters {
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 20px 60px rgba(45, 64, 95, 0.10),
        0 4px 18px rgba(45, 64, 95, 0.05);
}

/* Columna verde */
#about.about > .container > .row > .content.col-xl-5 {
    position: relative;
    min-height: 420px;
    padding: 55px;
    background:
        linear-gradient(
            145deg,
            #58ab95 0%,
            #4c9f8a 48%,
            #344a6c 100%
        );
    color: #ffffff;
    overflow: hidden;
}

/* Brillo decorativo */
#about.about > .container > .row > .content.col-xl-5::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow:
        0 0 0 30px rgba(255, 255, 255, 0.025),
        0 0 0 60px rgba(255, 255, 255, 0.018);
}

/* Segundo círculo */
#about.about > .container > .row > .content.col-xl-5::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    left: -85px;
    bottom: -75px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Contenido del panel */
#about.about .content.col-xl-5 > .content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Título */
#about.about .content.col-xl-5 h3 {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 20px;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Línea del título */
#about.about .content.col-xl-5 h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
}

/* Texto */
#about.about .content.col-xl-5 p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
}

/* =========================================================
   COLUMNA DERECHA
   ========================================================= */

#about.about > .container > .row > .col-xl-7 {
    background: rgba(255, 255, 255, 0.96);
}

/* Contenedor de las cards */
#about.about .icon-boxes {
    width: 100%;
    padding: 42px 38px;
}

#about.about .icon-boxes > .row {
    width: 100%;
    margin: 0;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

#about.about .icon-box {
    position: relative;
    padding: 25px 24px 25px 84px;
    margin-bottom: 8px;
    min-height: 145px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 18px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover */
#about.about .icon-box:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(88, 171, 149, 0.16);
    box-shadow:
        0 12px 30px rgba(45, 64, 95, 0.08);
}

/* =========================================================
   ICONOS
   ========================================================= */

#about.about .icon-box > i {
    position: absolute;
    left: 20px;
    top: 27px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #58ab95;
    background: rgba(88, 171, 149, 0.11);

    font-size: 24px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

#about.about .icon-box:hover > i {
    color: #ffffff;
    background: #58ab95;
    transform: scale(1.06);
}

/* =========================================================
   TÍTULOS DE CARDS
   ========================================================= */

#about.about .icon-box h4 {
    margin: 0 0 11px;
    color: #2d405f;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.15px;
}

/* =========================================================
   TEXTO DE CARDS
   ========================================================= */

#about.about .icon-box p {
    margin: 0;
    color: #687487;
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 400;
}

/* =========================================================
   VARIACIÓN SUTIL PARA ICONOS ALTERNADOS
   ========================================================= */

#about.about .icon-box:nth-child(2) > i,
#about.about .icon-box:nth-child(4) > i {
    color: #344a6c;
    background: rgba(52, 74, 108, 0.09);
}

#about.about .icon-box:nth-child(2):hover > i,
#about.about .icon-box:nth-child(4):hover > i {
    color: #ffffff;
    background: #344a6c;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    #about.about {
        padding: 80px 0;
    }

    #about.about > .container > .row > .content.col-xl-5 {
        min-height: 380px;
        padding: 45px;
    }

    #about.about .icon-boxes {
        padding: 32px 25px;
    }

    #about.about .icon-box {
        padding-left: 78px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    #about.about {
        padding: 70px 0;
    }

    #about.about .row.no-gutters {
        border-radius: 22px;
    }

    #about.about > .container > .row > .content.col-xl-5 {
        min-height: auto;
        padding: 42px 35px;
    }

    #about.about .content.col-xl-5 h3 {
        font-size: 28px;
        margin-bottom: 22px;
    }

    #about.about .content.col-xl-5 p {
        font-size: 16px;
        line-height: 1.75;
    }

    #about.about .icon-boxes {
        padding: 25px 20px;
    }

    #about.about .icon-box {
        min-height: auto;
        padding: 23px 20px 23px 78px;
        margin-bottom: 4px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 575px) {

    #about.about {
        padding: 55px 0;
    }

    #about.about .row.no-gutters {
        border-radius: 18px;
    }

    #about.about > .container > .row > .content.col-xl-5 {
        padding: 35px 25px;
    }

    #about.about .content.col-xl-5 h3 {
        font-size: 25px;
    }

    #about.about .icon-boxes {
        padding: 18px 10px;
    }

    #about.about .icon-box {
        padding: 20px 15px 20px 70px;
        border-radius: 15px;
    }

    #about.about .icon-box > i {
        left: 15px;
        top: 21px;
        width: 44px;
        height: 44px;
        font-size: 21px;
        border-radius: 12px;
    }

    #about.about .icon-box h4 {
        font-size: 19px;
    }

    #about.about .icon-box p {
        font-size: 14.5px;
        line-height: 1.65;
    }
}

/* =========================================================
   REDUCIR ANIMACIONES SI EL USUARIO LO SOLICITA
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #about.about .icon-box,
    #about.about .icon-box > i {
        transition: none;
    }

    #about.about .icon-box:hover {
        transform: none;
    }

    #about.about .icon-box:hover > i {
        transform: none;
    }
}

@media (max-width: 575px) {

    #about.about .content.col-xl-5 h3 {
        font-size: 27px;
    }

    #about.about .icon-box h4 {
        font-size: 17px;
    }

    #about.about .icon-box p {
        font-size: 14px;
    }
}

#about.about .icon-box h4 {
    transition: color 0.3s ease;
}

#about.about .icon-box:hover h4 {
    color: #58ab95;
}