﻿/*** CURSO ACCION CARD*/
/* =========================================================
   CURSO ACCION CARD
   ========================================================= */

.curso-accion-card {
    position: relative;
    min-height: 155px;
    width: 100%;
    padding: 24px 70px 20px 28px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


    /* =========================================================
   EFECTO AL PASAR EL MOUSE
   ========================================================= */

    .curso-accion-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    }


/* =========================================================
   ICONO
   ========================================================= */

.curso-accion-icono {
    position: absolute;
    top: 20px;
    left: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    z-index: 2;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.curso-accion-contenido {
    position: relative;
    z-index: 2;
}

    .curso-accion-contenido h5 {
        margin: 0 0 4px 0;
        font-size: 1.15rem;
        font-weight: 700;
    }

    .curso-accion-contenido p {
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.3;
    }


/* =========================================================
   BOTON / FLECHA
   ========================================================= */

.curso-accion-boton {
    position: absolute;
    right: 20px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    z-index: 3;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .curso-accion-boton:hover {
        transform: translateX(3px);
    }


/* =========================================================
   DECORACION CURVA
   ========================================================= */

.curso-accion-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    top: -115px;
    right: -35px;
    border-radius: 50%;
    opacity: 0.12;
    background: #ffffff;
    z-index: 1;
}


/* =========================================================
   ESTILO 1 — BORGOÑA
   ========================================================= */

.curso-accion-card.burgundy {
    background: linear-gradient( 135deg, #68091b, #8b122c );
    color: #ffffff;
}

    .curso-accion-card.burgundy .curso-accion-icono {
        background: rgba(255, 255, 255, 0.13);
        border: 2px solid rgba(255, 204, 80, 0.9);
    }

    .curso-accion-card.burgundy .curso-accion-boton {
        background: #e8a326;
        color: #ffffff;
    }


/* =========================================================
   ESTILO 2 — NARANJA
   ========================================================= */

.curso-accion-card.orange {
    background: linear-gradient( 135deg, #d48719, #e9a12e );
    color: #ffffff;
}

    .curso-accion-card.orange .curso-accion-icono {
        background: rgba(255, 255, 255, 0.14);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .curso-accion-card.orange .curso-accion-boton {
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
    }


/* =========================================================
   ESTILO 3 — CREMA
   ========================================================= */

.curso-accion-card.cream {
    background: linear-gradient( 135deg, #f8f1e6, #eee1cf );
    color: #552016;
    border: 1px solid #e3d3bc;
}

    .curso-accion-card.cream .curso-accion-icono {
        background: rgba(255, 255, 255, 0.55);
        border: 2px solid #d6a66b;
        color: #8b4d18;
    }

    .curso-accion-card.cream .curso-accion-boton {
        background: #df921d;
        color: #ffffff;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 576px) {

    .curso-accion-card {
        min-height: 145px;
        padding-left: 22px;
        padding-right: 60px;
    }

    .curso-accion-icono {
        left: 22px;
        top: 18px;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .curso-accion-contenido h5 {
        font-size: 1.05rem;
    }

    .curso-accion-contenido p {
        font-size: 0.82rem;
    }

    .curso-accion-boton {
        right: 16px;
        bottom: 16px;
        width: 34px;
        height: 34px;
    }
}
