.hjdl-hero {
    --hjdl-fade-color: #021837;
    --hjdl-mobile-bg: #031b3e;
    --hjdl-mobile-card-bg: #092241;
    --hjdl-mobile-card-border: rgba(255,255,255,.08);
    --hjdl-mobile-fade-height: 38px;
    --hjdl-image-x: 50%;
    --hjdl-image-y: 50%;
    --hjdl-brightness: 100%;
    --hjdl-contrast: 100%;
    width: 100%;
    background: #021837;
    color: #fff;
    position: relative;
    isolation: isolate;
}

.hjdl-hero,
.hjdl-hero * {
    box-sizing: border-box;
}

.hjdl-hero--overflow-hidden {
    overflow: hidden;
}

.hjdl-hero__main {
    display: flex;
    width: 100%;
    min-height: 254px;
    background: inherit;
}

.hjdl-hero__visual {
    position: relative;
    flex: 0 0 51.5%;
    width: 51.5%;
    min-width: 0;
    overflow: hidden;
    background: var(--hjdl-fade-color);
}

.hjdl-hero__visual picture,
.hjdl-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.hjdl-hero__image {
    object-fit: cover;
    object-position: var(--hjdl-image-x) var(--hjdl-image-y);
    filter: brightness(var(--hjdl-brightness)) contrast(var(--hjdl-contrast));
    transform-origin: center;
}

.hjdl-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(2,24,55,0), var(--hjdl-fade-color));
}

.hjdl-hero__content {
    flex: 0 0 48.5%;
    width: 48.5%;
    min-width: 0;
    padding: 25px 72px 20px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 3;
}

.hjdl-hero__title {
    padding: 0;
    color: #e4a348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: 0;
    max-width: 390px;
    margin: 0 0 10px;
}

.hjdl-hero__description {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    max-width: 360px;
    margin: 0 0 18px;
}

.hjdl-hero__title--mobile,
.hjdl-hero__description--mobile {
    display: none;
}

.hjdl-hero__actions {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 19px;
}

.hjdl-hero__button {
    min-height: 43px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    gap: 11px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hjdl-hero__button:hover {
    text-decoration: none !important;
    transform: translateY(-1px);
}

.hjdl-hero__button--primary {
    width: 145px;
    color: #fff;
    background: #dca146;
    border-color: #e5b45e;
}

.hjdl-hero__button--whatsapp {
    width: 160px;
    color: #fff;
    background: transparent;
    border-color: #fff;
}

.hjdl-hero__button-icon {
    width: 14px;
    height: 14px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.hjdl-hero__button-icon svg,
.hjdl-hero__button-icon i {
    display: block;
    width: 100%;
    height: 100%;
    color: currentColor;
    fill: currentColor;
}

.hjdl-hero__button-icon--whatsapp svg {
    fill: none;
}

.hjdl-hero__benefits {
    width: 100%;
    background: #031a3b;
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 15px 44px 13px;
}

.hjdl-hero__benefits-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.hjdl-benefit {
    position: relative;
    min-width: 0;
    min-height: 43px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    text-decoration: none !important;
    color: inherit;
}

.hjdl-benefit:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 43px;
    background: rgba(255,255,255,.28);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.hjdl-benefit__icon {
    width: 44px;
    height: 44px;
    margin: 0 10px 0 0;
    flex: 0 0 auto;
    color: #e8a23a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hjdl-benefit__icon svg,
.hjdl-benefit__icon i {
    width: 100%;
    height: 100%;
    display: block;
    color: currentColor;
}

.hjdl-benefit__icon svg {
    stroke: currentColor;
}

.hjdl-benefit__text {
    display: inline-block;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.hjdl-hero--no-transitions .hjdl-hero__button,
.hjdl-hero--no-transitions .hjdl-benefit {
    transition: none !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .hjdl-hero__content {
        padding: 28px 35px 24px 22px;
    }

    .hjdl-hero__benefits {
        padding: 16px 26px;
    }

    .hjdl-hero__benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .hjdl-benefit::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .hjdl-hero {
        background: var(--hjdl-mobile-bg);
    }

    .hjdl-hero__main {
        display: flex;
        flex-direction: column;
        min-height: 0 !important;
        background: var(--hjdl-mobile-bg);
    }

    .hjdl-hero__visual {
        order: 1;
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 45.2vw;
        min-height: 0;
        background: var(--hjdl-mobile-bg);
    }

    .hjdl-hero__visual::after {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: var(--hjdl-mobile-fade-height);
        background: linear-gradient(180deg, rgba(3,27,62,0), var(--hjdl-mobile-bg));
    }

    .hjdl-hero__content {
        order: 2;
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 20px 34px 20px;
        align-items: stretch;
        justify-content: flex-start;
        background: var(--hjdl-mobile-bg);
    }

    .hjdl-hero__title--desktop,
    .hjdl-hero__description--desktop {
        display: none;
    }

    .hjdl-hero__title--mobile,
    .hjdl-hero__description--mobile {
        display: block;
    }

    .hjdl-hero__title {
        font-size: 28px;
        line-height: 1.07;
        max-width: 100%;
        margin-bottom: 14px;
    }

    .hjdl-hero__description {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    .hjdl-hero__actions {
        width: 100%;
        gap: 10px;
    }

    .hjdl-hero--mobile-stack-buttons .hjdl-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hjdl-hero__button {
        min-height: 44px;
        border-radius: 7px;
        padding: 10px 18px;
        font-size: 14px;
        gap: 10px;
    }

    .hjdl-hero__button--primary,
    .hjdl-hero__button--whatsapp {
        width: 100%;
    }

    .hjdl-hero__button-icon {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    .hjdl-hero__benefits {
        border-top: 0;
        padding: 0 34px 20px;
        background: var(--hjdl-mobile-bg);
    }

    .hjdl-hero__benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hjdl-benefit {
        min-height: 90px;
        padding: 12px 8px 10px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hjdl-hero--mobile-cards .hjdl-benefit {
        background: var(--hjdl-mobile-card-bg);
        border: 1px solid var(--hjdl-mobile-card-border);
        border-radius: var(--hjdl-card-radius, 8px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
    }

    .hjdl-benefit::after {
        display: none !important;
    }

    .hjdl-benefit__icon {
        width: 34px;
        height: 34px;
        margin: 0 0 8px;
    }

    .hjdl-benefit__text {
        font-size: 13px;
        line-height: 1.25;
        text-align: center;
    }

    .hjdl-hero--mobile-last-full .hjdl-benefit:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        min-height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hjdl-hero__button,
    .hjdl-benefit {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.hjdl-hero--no-image .hjdl-hero__content {
    flex-basis: 100% !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    .hjdl-hero:not(.hjdl-hero--mobile-image-first) .hjdl-hero__visual { order: 2; }
    .hjdl-hero:not(.hjdl-hero--mobile-image-first) .hjdl-hero__content { order: 1; }
}
