/**
 * Banner Component Styles
 * Mobile First
 */

.dh-banner {
    width: 100%;
    /* Section background transparent or white, the card has the color */
    background-color: transparent;
    padding: 0;
    overflow: visible;
}

.dh-banner__container {
    padding: 0px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    flex-shrink: 0;
    background-color: var(--primary-red-5, #FFF3F3);
    border-radius: 32px;
}

/* Text Content */
.dh-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    max-width: 100%;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-left: 20px;
    width: 100%;
}

.dh-banner__brand {
    color: var(--primary-red-100, #DF002F);
    font-family: var(--font-lato);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: -16px;
}

.dh-banner__title {
    color: var(--primary-black-100, #111B29);
    font-family: var(--font-lato);
    font-size: 22px;
    /* Mobile H3 from Figma */
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    margin-top: 10px;
}

.dh-banner__description {
    color: var(--primary-black-100, #111B29);
    font-family: var(--font-lato, Lato);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 132%;
    /* 21.12px */
}

/* Features List (Vertical with Checks) */
.dh-banner__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0px;
}

.dh-banner__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--primary-black-90, #29323E);
    font-family: var(--font-lato);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* Bold parts inside features if needed, handled by HTML or just generic weight */
.dh-banner__feature-item strong {
    font-weight: 700;
}

.dh-banner__feature-icon {
    width: 27px;
    height: 27px;
    min-width: 27px;
    /* Background and color handled by SVG itself */
    margin-top: -2px;
    /* Slight adjustment for alignment with text */
}

/* Button */
.dh-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary-red-100, #DF002F);
    color: var(--primary-white, #FFFFFF);
    font-family: var(--font-lato);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: 0px;
}

.dh-banner__cta:hover {
    background-color: var(--primary-red-80, #E53359);
    border-radius: 200px;
    color: #FFFFFF;
}

.dh-banner__cta-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


/* Image */
.dh-banner__image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    /* mix-blend-mode: multiply; Only if needed for transparent looking bg match */
}

.dh-banner__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* or cover depending on asset */
}

/* Desktop */
@media (min-width: 1024px) {
    .dh-banner {
        padding: 40px 0;
        /* Optional top/bottom spacing for the section itself */
    }

    .dh-banner__container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        gap: 70px;
        /* General banner gap */
        align-items: flex-end;
        /* Align bottom so image sits on bottom */
    }

    .dh-banner__content {
        max-width: 40%;
        flex: 1;
        /* Left column padding */
        padding-left: 60px;
        padding-right: 0;
        /* Add top/bottom padding to content since container has none */
        padding-top: 60px;
        padding-bottom: 60px;
        align-self: center;
        /* Vertical center the text? User said "columna izquierda esta centrada" */
    }

    .dh-banner__title {
        color: var(--primary-black-100, #111B29);

        /* Heading/Desktop/H3 - Bold */
        font-family: Lato;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .dh-banner__image-wrapper {
        flex: 1;
        max-width: 50%;
        background-color: transparent;
        /* Image occupies 100% of its column space (minus padding if any, but user said image no padding bottom) */
        margin-bottom: 0;
        border-radius: 0;
        border-bottom-right-radius: 32px;
        /* Restore border radius for the card corner */
    }

    .dh-banner__image {
        min-width: 660px;
        /* User preference for desktop */
    }
}

/* Custom override for "Operaciones" banner to match padding */
@media (min-width: 1024px) {
    .dh-banner--operaciones .dh-banner__image-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
        padding-right: 60px;
        /* User wants image floated with padding matching text column */
    }

    .dh-banner--operaciones .dh-banner__image {
        min-width: 0;
        width: 100%;
        /* Allow image to shrink inside the padded wrapper */
    }
}