:root {
    --erk-lead-blue: #102a54;
    --erk-lead-light-blue: #eaf1ff;
    --erk-lead-yellow: #ffd54f;
    --erk-lead-gray: #6c7a91;
}

body#module-erk_customtemplate-sell #wrapper {
    padding-top: 0 !important;
}

#main .page-content {
    margin-bottom: 0px !important;
}

.lead {
    color: #fff;
    font-size: 22.8px;
    font-weight: 400;
    line-height: 28px;
}

.lead-section-title {
    color: #203657;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 35px;
    line-height: 1;
}

.lead-section-subtitle {
    color: #203657;
    font-size: 28px;
    line-height: 1.1;
    font-style: italic;
    font-weight: 400;
}

.register-link-wrapper {
    font-size: 17.1px;
    font-style: italic;
    color: #203657
}

.register-link-wrapper .register-link {
    text-decoration: underline;
    color: #203657 !important
}

.container-xxl {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.form-headline {
    font-size: 19px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    padding: 1.4rem;
    background: #4b6fa1;
    border-radius: 30px 30px 0 0;
    margin-bottom: 0;
    text-align: center !important;
}

.form-subheadline {
    padding: 5px 27px 0;
}

.form-tittle {
    color: #203657;
    text-align: center !important;
    text-transform: uppercase;
    font-size: 21px;
    margin: 0px !important;
    margin-bottom: 10px !important;
    padding: 0;
}

.lead-form-wrapper {
    position: relative;
}

.lead-form-wrapper--hero {
    position: relative;
    z-index: 7;
    max-width: 33%;
    margin-left: auto;
    margin-right: 0;
    margin-top: -210px;
    width: 100%;

}

.lead-form-card {
    background: #dbe3ec;
    border-radius: 30px;
    min-height: 558px;
}

.lead-form-card .col-12 {
    margin-top: 5px;
}

.lead-form-card .form-control,
.lead-form-card .form-select {
    background: #fff;
    border: 1px solid #20365780;
    border-radius: 7px;
    padding: 6px !important;
}

.lead-form-card #lead-country,
.lead-form-card #lead-state {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23203657' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    padding-right: 38px !important;
}

.lead-form-card .form-check-label,
.lead-legal-copy {
    font-size: 11px;
    line-height: 1.35;
    color: #203657;
}

.lead-form-card .form-control::placeholder,
.lead-form-card input::placeholder,
.lead-form-card textarea::placeholder {
    color: #20365799;
    opacity: 1;
}

.lead-form-card .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #ffcc0c;
    border-radius: 7px;
    font-size: 19px;
    color: #203657;
    padding: 5px 5px 5px 5px;
}

.lead-phone-group {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.lead-phone-prefix {
    min-width: 6.8rem;
    max-width: 8.2rem;
    background: #fff;
    border: 1px solid #20365780;
    border-radius: 7px;
    color: #203657;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.375rem 1.45rem 0.375rem 0.45rem;
    font-size: 1.1875rem;
}

.lead-phone-prefix::after {
    content: '';
    position: absolute;
    right: 0.45rem;
    top: 50%;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23203657' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}

.lead-phone-prefix-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
    flex: 0 0 auto;
}

.lead-phone-prefix-select {
    border: 0 !important;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
    position: absolute;
    inset: 0;
    padding: 0 !important;
    min-width: 0;
    width: 100%;
    height: 100%;
    line-height: 1;
    color: transparent !important;
    text-shadow: none;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    box-shadow: none;
}

.lead-phone-prefix-select:focus {
    box-shadow: none;
}

.lead-phone-prefix-value {
    position: absolute;
    left: 1.85rem;
    right: 1.45rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4e70a4;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    z-index: 1;
}

.lead-phone-group .form-control {
    flex: 1;
}

.lead-hero-section {
    padding-top: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.lead-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #285280;
    background-image: url(/es/img/cms/lead-hero-desktop.png);
    background-repeat: no-repeat;
    background-position: calc(50% + 360px) calc(100% + 40px);
    z-index: -1;
}

.lead-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(185deg, rgba(16, 42, 84, 0.05) 25%, rgba(16, 42, 84, 0.7) 90%);
    pointer-events: none;
    z-index: 0;
}

.lead-hero-section .container-xxl {
    position: relative;
    z-index: 1;
}

.lead-hero-section h1 {
    text-align: left;
    color: #fff;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 700;
}

.lead-hero-copy {
    padding: 37px;
    max-width: 560px;
}

.lead-hero-card {
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: 560px;
    width: 100%;
}

.lead-hero-card::after {
    content: none;
}

.lead-hero-body {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.lead-diff {
    background: #fff;
    padding: 1.75rem 0 2.5rem;
}

.lead-diff-head {
    margin-bottom: 0.5rem;
}

.lead-diff-eyebrow {
    color: #203657;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 35px;
    line-height: 1;
}

.lead-diff-subtitle {
    color: #203657;
    font-size: 28px;
    line-height: 1.1;
    font-style: italic;
    font-weight: 400;
}

.lead-diff-media {
    border-radius: 30px;
    overflow: hidden;
}

.lead-diff-media img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.lead-diff-media__placeholder {
    min-height: 360px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b6fa1;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stat-card {
    position: relative;
    background: #c8d1dc;
    border-radius: 24px;
    padding: 3rem 1.6rem 1.6rem;
    box-shadow: none;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 13px;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #203657;
}

.stat-card__title {
    font-size: 28px;
    font-weight: 700;
    color: #203657;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    margin-top: 20px;
}

.stat-card__copy {
    margin-bottom: 0;
    color: #203657;
    font-size: 22.8px;
    line-height: 1.2;
    font-weight: 500;
}

.licensing-panel {
    background: transparent;
    border-radius: 0;
    padding: 2.75rem 0 0;
    text-align: center;
}

.licensing-title {
    color: #203657;
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px !important;
}

.licensing-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1.8rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.licensing-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.licensing-logos img {
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.lead-design-section {
    background: transparent;
    color: #fff;
    padding: 2.75rem 0 3rem;
    position: relative;
    z-index: 0;
}

.lead-design-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #203d6b;
    z-index: -1;
}

.lead-design-content {
    width: 100%;
}

.lead-design-head {
    margin-bottom: 2rem;
}

.lead-design-eyebrow {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 35px;
    line-height: 1;
}

.lead-design-subtitle {
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    font-style: italic;
    font-weight: 400;
}

.lead-design-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.25fr);
    gap: 2.25rem;
    align-items: center;
}

.design-media img {
    border-radius: 0;
    width: 100%;
    box-shadow: none;
}

.design-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.design-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.design-bullets .icon {
    position: relative;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--erk-lead-yellow);
    margin-top: 0.1rem;
}

.design-bullets .icon::before {
    content: '\2713';
    position: absolute;
    left: 45%;
    top: 55%;
    transform: translate(-50%, -56%);
    color: #203657;
    font-size: 1.52rem;
    font-weight: 700;
}

.design-bullets p {
    margin-bottom: 0;
    color: #fff;
    font-size: 28.5px;
    line-height: 1.2;
    font-weight: 500;
}

.lead-benefits-section {
    padding: 40px 0 !important;
}

.benefits-grid {
    margin-top: 15px;
}

.benefits-grid .benefit-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 30px;

}

.benefits-grid .benefit-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    object-fit: contain;
}

.benefits-grid .benefit-text {
    line-height: 1.15;
    color: #203657;
}

.lead-benefits-section .fw-bold,
.lead-benefits-section .fw-normal {
    font-size: 23.75px;
}

.lead-benefits-section p.small.text-muted.text-center.mt-3 {
    font-size: 19px;
    color: #203657 !important;
}

.lead-products-title {
    margin-top: 15px;
}

.lead-products-subtitle {
    margin-bottom: 25px !important;
}

.lead-products-section {
    position: relative;
    background: transparent;
    z-index: 0;
    padding-bottom: 75px !important;
}

.lead-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #dbe3ec;
    z-index: -1;
}

.product-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 40px rgba(16, 42, 84, 0.12);
    background: transparent;
}

.product-card img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

.lead-products-section h3 {
    width: 100%;
    margin: 0;
    padding: 10px 0px 10px 0px;
    font-weight: 600;
    text-transform: uppercase;
    color: #203657;
    text-align: center;
    font-size: 26px !important;
}

.lead-products-section h3::before,
.lead-products-section h3::after {
    content: '\2022';
    margin: 0 10px;
    font-weight: normal;
}

.lead-sticky-cta {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate3d(-50%, 0, 0);
    width: min(560px, 100%);
    background: #4B6FA1;
    color: #fff;
    padding: 5px;
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
    padding-top: 15px;
    border-radius: 30px 30px 0 0;

    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    z-index: 1050;
    opacity: 1;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.lead-sticky-cta__title {
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 18px;
    color: #fff !important;
}

.lead-sticky-cta__btn {
    width: 350px;
    border-radius: 5px;
    background: #FFCC0C;
    color: #203657;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px;
    cursor: pointer;
    border:0px
}

body.lead-form-active .lead-sticky-cta {
    opacity: 0;
    transform: translate3d(-50%, 100%, 0);
    pointer-events: none;
}

.licencias-arc svg {
    width: 300px;
    height: 150px;
}

.licencias-arc path {
    stroke: #e0c400;
    stroke-width: 40;
}

.licencias-arc text {
    fill: #fff;
    font-size: 22.8px;
    font-weight: bold;
}

#lead-form-feedback{
    padding: 5px !important;
}
@media (min-width: 992px) {
    .lead-hero-section .container-xxl {
        position: relative;
    }

    .lead-form-wrapper {
        min-height: 1px;
    }

    .lead-form-wrapper--hero {
        position: absolute;
        top: 150px;
        right: 0;
        margin: 0;
        max-width: 32%;
        width: 100%;
    }

    .lead-diff .lead-diff-content,
    .lead-design-section .lead-design-content,
    .lead-benefits-section .container-xxl {
        width: 66.666667%;
        margin-left: 0;
        margin-right: auto;
    }

    .lead-benefits-section .fw-bold,
    .lead-benefits-section .fw-normal {
        font-size: 23.75px;
    }

    .lead-form-card .register-link-wrapper {
        margin-bottom: 12px !important;
    }
}

@media (max-width: 991.98px) {
    .lead-hero-section {
        background-color: #dbe3ec;
        border-radius: 30px;
    }

    .lead-hero-section .container-xxl {
        padding-left: 0;
        padding-right: 0;
    }

    .form-headline {
        display: none;
    }

    .lead-hero-section::before,
    .lead-hero-section::after {
        display: none;
    }

    .lead-hero-card {


        position: relative;
        min-height: 480px;
        background-color: #285280;
        background-image: url('/es/img/cms/lead-hero-desktop.png');
        background-size: contain;
        background-position: top;
        background-size: 124%;
        border-radius: 0 0 30px 30px;
        overflow: hidden;
        margin: 0 calc(50% - 50vw);
        width: 100vw;
        background-repeat: no-repeat;
    }

    .lead-hero-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(185deg, rgba(16, 42, 84, 0.05) 25%, rgba(16, 42, 84, 0.7) 90%);
        border-radius: inherit;
    }

    .lead-hero-body {
        min-height: 480px;
        display: flex;
        align-items: flex-end;
        position: relative;
        z-index: 1;
    }

    .lead-hero-copy {
        max-width: 100%;
    }

    .lead-hero-section h1 {
        margin-top: 0;
        margin-bottom: 0.85rem;
        font-size: 35px;
        line-height: 1.05;
    }

    .lead-hero-section .lead {
        font-size: 17.1px;
        line-height: 1.35;
    }

    .lead-diff {
        padding: 1.5rem 0 2rem;
    }

    .lead-diff-eyebrow,
    .lead-section-title {
        font-size: 28px;
    }

    .lead-diff-subtitle,
    .lead-section-subtitle {
        font-size: 23.75px;
    }

    .lead-diff-media__placeholder {
        min-height: 220px;
        font-size: 0.855rem;
    }

    .lead-diff-media img {
        min-height: 220px;
    }

    .stat-card {
        padding: 2.5rem 1.25rem 1.25rem;
    }

    .stat-card__title {
        font-size: 27.55px;
    }

    .licensing-panel {
        padding-top: 2rem;
    }

    .licensing-title {
        font-size: 23.75px;
        margin-bottom: 1.4rem;
    }

    .licensing-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 1rem;
        row-gap: 1.15rem;
    }

    .benefits-grid {
        text-align: center;
    }

    .benefits-grid .benefit-item {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .benefits-grid .benefit-icon {
        margin: 0 auto;
    }

    .benefits-grid .benefit-text {
        text-align: center;
    }

    .lead-benefits-section .fw-bold,
    .lead-benefits-section .fw-normal {
        font-size: 17.1px;
    }

    .lead-products-section .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.85rem;
        scroll-snap-type: x mandatory;
        padding: 0 0 1rem 1rem;
        scroll-padding-left: 1rem;
        scroll-padding-right: 3.5rem;
    }

    .lead-products-section .row>[class*='col-'] {
        flex: 0 0 auto;
        width: min(78vw, 300px);
    }

    .lead-products-section .product-card {
        width: 100%;
        max-width: none;
        scroll-snap-align: center;
        margin: 0;
    }

    .lead-products-section .product-card img {
        max-width: none;
        width: 100%;
        height: auto;
        margin: 0;
    }

    .lead-products-section::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        pointer-events: none;
        background: linear-gradient(to right, rgba(219, 227, 236, 0), #dbe3ec 85%);
    }

    .lead-sticky-cta {
        display: flex;
    }

    .lead-design-section {
        padding: 2rem 0 2.25rem;
    }

    .lead-design-head {
        margin-bottom: 1.35rem;
    }

    .lead-design-eyebrow {
        font-size: 28px;
    }

    .lead-design-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .design-media {
        max-width: 360px;
        margin: 0 auto;
    }

    .design-bullets {
        padding: 5px;
    }

    .design-bullets .icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }


    .design-bullets p {
        font-size: 23.75px;
    }

    .lead-form-wrapper--hero {
        width: 100vw;
        max-width: 100vw;
        margin-top: 1.25rem;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .lead-form-card {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0 0 30px 30px;
    }

    .lead-form-card .form-control,
    .lead-form-card .form-select {
        height: 45px;
        font-size: 19px;
    }

    .form-headline {
        border-radius: 0;
    }

    #inner-wrapper {
        padding: 0;
        margin: 0;
    }

    .form-subheadline {
        padding: 37px;
        padding-top: 0;
    }

    .form-tittle {
        font-size: 24px;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .licensing-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

 body#module-erk_customtemplate-sell  #header .header-nav{
        background: #4e70a4 !important;  
}