/* ==========================================================
   MANOSALVA — CALLOUT / CTA
========================================================== */

.ms-callout {
    position: relative;

    padding:
        clamp(34px, 4vw, 58px)
        clamp(20px, 4vw, 64px);

    background: #ffffff;
}

.ms-callout *,
.ms-callout *::before,
.ms-callout *::after {
    box-sizing: border-box;
}


/* ==========================================================
   CONTENEDOR
========================================================== */

.ms-callout__inner {
    width: min(100%, 1320px);

    margin: 0 auto;
}


.ms-callout__content {
    position: relative;

    overflow: hidden;

    width: 100%;

    padding:
        clamp(38px, 4vw, 56px)
        clamp(30px, 5vw, 70px);

    border-radius: 22px;

    box-shadow:
        0 16px 42px
        rgba(15, 48, 84, 0.10);
}


/* ==========================================================
   CONTENIDO GENERAL
========================================================== */

.ms-callout__title {
    position: relative;
    z-index: 2;

    width: fit-content;
    max-width: 900px;

    margin:
        0 auto
        18px;

    padding-bottom: 14px;

    text-align: center;

    font-size:
        clamp(28px, 3vw, 42px);

    font-weight: 800;
    line-height: 1.08;
}


/* Línea decorativa */

.ms-callout__title::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 54px;
    height: 4px;

    border-radius: 999px;

    transform: translateX(-50%);
}


.ms-callout__description {
    position: relative;
    z-index: 2;

    max-width: 820px;

    margin: 0 auto;

    text-align: center;

    font-size: 15px;
    line-height: 1.55;
}


.ms-callout__description p {
    margin:
        0
        0
        12px;
}


.ms-callout__description p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   VARIANTE NORMAL
   CTA principal de la web
========================================================== */

.ms-callout--default .ms-callout__content {
    border:
        1px solid
        rgba(185, 0, 24, 0.15);

    background:
        linear-gradient(
            115deg,
            #d40d24 0%,
            #ed1c2e 54%,
            #f22f42 100%
        );

    color: #ffffff;

    box-shadow:
        0 18px 46px
        rgba(166, 13, 31, 0.20);
}


/* Halo decorativo */

.ms-callout--default .ms-callout__content::before {
    content: "";

    position: absolute;

    top: -190px;
    right: -100px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.055);

    pointer-events: none;
}


/* Anillo decorativo */

.ms-callout--default .ms-callout__content::after {
    content: "";

    position: absolute;

    top: -95px;
    right: -75px;

    width: 250px;
    height: 250px;

    border:
        36px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 50%;

    pointer-events: none;
}


.ms-callout--default .ms-callout__title {
    color: #ffffff;
}


.ms-callout--default .ms-callout__title::after {
    background: #ffffff;
}


.ms-callout--default .ms-callout__description {
    color:
        rgba(255, 255, 255, 0.93);
}


.ms-callout--default .ms-callout__description p {
    color:
        rgba(255, 255, 255, 0.93);
}


/* Enlaces / botones introducidos en el WYSIWYG */

.ms-callout--default
.ms-callout__description a {
    display: inline-flex;

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

    min-height: 46px;

    margin-top: 12px;
    padding:
        12px
        24px;

    border:
        2px solid
        #ffffff;

    border-radius: 999px;

    background: #ffffff;

    color: #d80e25;

    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 10px 24px
        rgba(88, 0, 12, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


.ms-callout--default
.ms-callout__description a:hover {
    transform: translateY(-2px);

    background: transparent;

    color: #ffffff;

    box-shadow:
        0 14px 30px
        rgba(88, 0, 12, 0.24);
}


/* ==========================================================
   VARIANTE INFORMACIÓN
========================================================== */

.ms-callout--info .ms-callout__content {
    border:
        1px solid
        rgba(7, 83, 154, 0.14);

    background:
        linear-gradient(
            135deg,
            #eef7ff 0%,
            #e4f1fc 100%
        );

    color: #10234b;
}


.ms-callout--info .ms-callout__content::after {
    content: "";

    position: absolute;

    top: -90px;
    right: -70px;

    width: 240px;
    height: 240px;

    border:
        34px solid
        rgba(7, 83, 154, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.ms-callout--info .ms-callout__title {
    color: #06386f;
}


.ms-callout--info .ms-callout__title::after {
    background: #ed1c2e;
}


.ms-callout--info .ms-callout__description {
    color: #526174;
}


/* ==========================================================
   VARIANTE AVISO
========================================================== */

.ms-callout--notice .ms-callout__content {
    border:
        1px solid
        rgba(237, 22, 57, 0.16);

    background:
        linear-gradient(
            135deg,
            #fff7f8 0%,
            #fff0f2 100%
        );

    color: #24324b;
}


.ms-callout--notice .ms-callout__content::after {
    content: "";

    position: absolute;

    top: -95px;
    right: -75px;

    width: 250px;
    height: 250px;

    border:
        36px solid
        rgba(237, 22, 57, 0.055);

    border-radius: 50%;

    pointer-events: none;
}


.ms-callout--notice .ms-callout__title {
    color: #b8122a;
}


.ms-callout--notice .ms-callout__title::after {
    background: #ed1c2e;
}


.ms-callout--notice .ms-callout__description {
    color: #5b6069;
}


/* Botones dentro de info / notice */

.ms-callout--info
.ms-callout__description a,
.ms-callout--notice
.ms-callout__description a {
    display: inline-flex;

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

    min-height: 44px;

    margin-top: 12px;
    padding:
        11px
        22px;

    border-radius: 999px;

    background: #ed1c2e;

    color: #ffffff;

    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    box-shadow:
        0 9px 22px
        rgba(196, 16, 38, 0.16);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.ms-callout--info
.ms-callout__description a:hover,
.ms-callout--notice
.ms-callout__description a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px
        rgba(196, 16, 38, 0.22);
}


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

@media (max-width: 991.98px) {

    .ms-callout {
        padding:
            34px
            24px;
    }


    .ms-callout__content {
        padding:
            36px
            32px;
    }
}


/* ==========================================================
   MÓVIL
========================================================== */

@media (max-width: 575.98px) {

    .ms-callout {
        padding:
            26px
            16px;
    }


    .ms-callout__content {
        padding:
            30px
            22px;

        border-radius: 18px;
    }


    .ms-callout__title {
        margin-bottom: 16px;

        font-size:
            clamp(25px, 8vw, 32px);
    }


    .ms-callout__description {
        font-size: 14px;
        line-height: 1.5;
    }


    .ms-callout--default
    .ms-callout__description a,
    .ms-callout--info
    .ms-callout__description a,
    .ms-callout--notice
    .ms-callout__description a {
        width: 100%;

        margin-top: 14px;
    }


    .ms-callout--default
    .ms-callout__content::after,
    .ms-callout--info
    .ms-callout__content::after,
    .ms-callout--notice
    .ms-callout__content::after {
        opacity: 0.7;
    }
}