/**
 * Styles for /habla-con-ventas/
 * External CSS stylesheet without inline styles
 */

.hcv-card-title {
    text-align: left;
    font-size: 28px;
}

.hcv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

@media (max-width: 640px) {
    .hcv-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.hcv-textarea {
    min-height: 100px;
    resize: vertical;
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #1C1D21;
    background: #FFFFFF;
    border: 1.5px solid #CED5DF;
    border-radius: 10px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hcv-textarea:focus {
    outline: none;
    border-color: #1A55DF;
    box-shadow: 0 0 0 3px rgba(26, 85, 223, 0.15);
}

.hcv-textarea.is-invalid {
    border-color: #F44336;
}

.hcv-textarea.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.15);
}

.hcv-checkbox-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
    align-items: flex-start;
    margin-top: 8px;
    width: 100%;
}

.hcv-checkbox-input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #1A55DF;
    margin-top: 2px;
}

.hcv-checkbox-label {
    font-weight: 400;
    color: #6B819E;
    font-size: 13px;
    width: calc(100% - 30px);
    margin: 0;
}

.hcv-checkbox-label a {
    color: #1A55DF;
    text-decoration: underline;
}

.hcv-checkbox-error {
    display: block;
    width: 100%;
    margin-left: 30px;
}

.hcv-actions {
    margin-top: 16px;
    width: 100%;
}

.hcv-btn-submit {
    width: 100%;
}

.hcv-pitch-list {
    margin-top: 32px;
}

.hcv-pitch-label-title {
    display: block;
    margin-bottom: 4px;
}

/* Trusted By Logo Section */
.hcv-trusted {
    margin-top: 44px;
    margin-bottom: 36px;
    padding: 28px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.hcv-trusted__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0A2D5D;
    margin: 0 0 18px 0;
}

.hcv-trusted__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 20px;
    align-items: center;
    justify-items: center;
}

.hcv-trusted__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
}

.hcv-trusted__item img {
    max-height: 28px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.2s ease;
}

.hcv-trusted__item img:hover {
    transform: scale(1.05);
}

/* Optical sizing balance so BBVA, Santander and all logos have matching visual weight */
.hcv-trusted__item--bbva img {
    max-height: 24px;
}

.hcv-trusted__item--santander img {
    max-height: 22px;
}

.hcv-trusted__item--transunion img {
    max-height: 30px;
}

.hcv-trusted__item--walmart img {
    max-height: 24px;
}

.hcv-trusted__item--nu img {
    max-height: 26px;
}

.hcv-trusted__item--payjoy img {
    max-height: 22px;
}

.hcv-trusted__item--clip img {
    max-height: 34px;
}

.hcv-trusted__item--mastercard img {
    max-height: 28px;
}

.hcv-trusted__item--claro img {
    max-height: 26px;
}

.hcv-trusted__item--3b img {
    max-height: 28px;
    mix-blend-mode: multiply;
}

.hcv-trusted__item--plata img {
    max-height: 26px;
}

.hcv-trusted--bottom {
    grid-column: 1 / -1;
    width: 100%;
}

.hcv-trusted--bottom .hcv-trusted__grid {
    grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 991px) {
    .hcv-trusted--bottom .hcv-trusted__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575px) {
    .hcv-trusted__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 14px;
    }
    .hcv-trusted--bottom .hcv-trusted__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================================
   Phone Input Group with Country Code Selector (Single Unified Field)
   ========================================================================= */
.reg-form__group .hcv-phone-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1.5px solid #CED5DF;
    border-radius: 10px;
    padding: 0 4px 0 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.reg-form__group .hcv-phone-input-group:focus-within {
    border-color: #1A55DF;
    box-shadow: 0 0 0 3px rgba(26, 85, 223, 0.15);
}

.reg-form__group .hcv-phone-code-select {
    border: 0 !important;
    background: transparent !important;
    padding: 0 22px 0 6px !important;
    height: 100% !important;
    margin: 0 !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #1C1D21;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'><path fill='%230A2D5D' d='M6 8 0 0h12z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    width: auto !important;
    flex-shrink: 0;
}

.reg-form__group .hcv-phone-divider {
    width: 1px;
    height: 22px;
    background-color: #CED5DF;
    margin: 0 6px;
    flex-shrink: 0;
}

.reg-form__group .hcv-phone-number-input {
    border: 0 !important;
    background: transparent !important;
    padding: 0 8px !important;
    height: 100% !important;
    margin: 0 !important;
    font-family: inherit;
    font-size: 15px;
    color: #1C1D21;
    outline: none !important;
    box-shadow: none !important;
    flex: 1 1 auto;
    width: 100%;
}

.reg-form__group .hcv-phone-number-input::placeholder {
    color: #9DABBE;
}

/* =========================================================================
   Redesigned Products Section (Modern 2-Column Interactive Grid)
   ========================================================================= */
.reg-form__products {
    margin-bottom: 24px;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.reg-form__products legend {
    font-size: 15px;
    font-weight: 600;
    color: #0A2D5D;
    margin-bottom: 12px;
    padding: 0;
    line-height: 1.4;
}

.reg-form__products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .reg-form__products-grid {
        grid-template-columns: 1fr;
    }
}

.reg-form__products-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F4F7FC;
    border: 1.5px solid #DCE5F2;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.reg-form__products-item:hover {
    border-color: #1A55DF;
    background: #EBF2FD;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 85, 223, 0.1);
}

.reg-form__products-item:has(input:checked),
.reg-form__products-item.is-selected {
    border-color: #1A55DF;
    background: #E1EDFF;
    box-shadow: 0 2px 8px rgba(26, 85, 223, 0.15);
}

.reg-form__products-item--full {
    grid-column: 1 / -1;
}

.reg-form__products-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: #1A55DF;
    cursor: pointer;
    margin: 0;
    border-radius: 4px;
}

.reg-form__products-label {
    font-size: 14px;
    font-weight: 500;
    color: #1C1D21;
    line-height: 1.35;
}

.reg-form__products-item:has(input:checked) .reg-form__products-label {
    color: #0A2D5D;
    font-weight: 600;
}

/* =========================================================================
   2-Step Header, Step Titles & Pill Radios
   ========================================================================= */

.hcv-pitch-highlight {
    color: #3CA6CD;
}

.hcv-steps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    width: 100%;
}

.hcv-progress-bars {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 220px;
}

.hcv-progress-bar {
    height: 5px;
    background: #E2E8F0;
    border-radius: 4px;
    flex: 1;
    transition: background-color 0.25s ease;
}

.hcv-progress-bar.is-active {
    background: #FFB800 !important;
}

.hcv-step-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.hcv-step-title {
    font-size: 22px;
    font-weight: 700;
    color: #0A2D5D;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.hcv-step-subtitle {
    font-size: 14px;
    color: #64748B;
    margin: 0 0 20px 0;
    line-height: 1.45;
}

/* Pill Option Buttons for Radios & Checkboxes */
.hcv-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.hcv-pills-grid .hcv-pill-option {
    width: auto;
    flex: 0 0 auto;
    padding: 8px 18px;
    border-radius: 24px;
}

.hcv-pills-flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 8px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .hcv-pills-flex {
        grid-template-columns: 1fr;
    }
}

.hcv-pill-option {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 10px;
    background: #FFFFFF;
    border: 1.5px solid #DCE5F2;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    color: #000000 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    line-height: 1.25;
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hcv-pill-option span {
    color: #000000 !important;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hcv-pill-option:hover {
    border-color: #1A55DF;
    background: #F4F7FE;
}

.hcv-pill-option input[type="radio"],
.hcv-pill-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hcv-pill-option:has(input:checked),
.hcv-pill-option.is-selected {
    border-color: #1A55DF;
    background: #EEF4FF;
    color: #000000 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(26, 85, 223, 0.15);
}

.hcv-group-label {
    font-size: 14px;
    font-weight: 600;
    color: #0A2D5D;
    margin-bottom: 6px;
    display: block;
}

.hcv-group-sublabel {
    font-size: 12.5px;
    font-weight: 400 !important;
    color: #556B82 !important;
    margin-left: 4px;
}

/* Blue Primary Action Button */
.hcv-btn-teal,
.hcv-btn-blue {
    background-color: #1A55DF !important;
    border-color: #1A55DF !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    height: 48px !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.hcv-btn-teal:hover,
.hcv-btn-blue:hover {
    background-color: #1243B8 !important;
    border-color: #1243B8 !important;
    transform: translateY(-1px);
}

.hcv-btn-teal:active,
.hcv-btn-blue:active {
    background-color: #0D348A !important;
    transform: translateY(0);
}

.hcv-actions--split {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.reg-form__btn--secondary,
.hcv-btn-cancel {
    background-color: #FFFFFF !important;
    border: 1.5px solid #1A55DF !important;
    color: #1A55DF !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    flex: 0 0 32%;
    text-align: center;
}

.reg-form__btn--secondary:hover,
.hcv-btn-cancel:hover {
    background-color: #EEF4FF !important;
    border-color: #1243B8 !important;
    color: #1243B8 !important;
}

.hcv-actions--split .hcv-btn-submit {
    flex: 1;
}

/* Footer Badges */
.hcv-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
    color: #64748B;
    flex-wrap: wrap;
}

.hcv-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.hcv-badge-icon {
    font-size: 13px;
}

/* Back Button */
.hcv-back-container {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    width: 100%;
}

.hcv-btn-back {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    transition: color 0.15s ease;
}

.hcv-btn-back:hover {
    color: #0A2D5D;
    text-decoration: underline;
}

.reg-page {
    background: transparent !important;
}

/* =========================================================================
   Desktop Layout — Widen Form Card Column & Eliminate Vertical Scroll (>= 1024px)
   ========================================================================= */
@media (min-width: 1024px) {
    body#registrationLenders {
        overflow-x: hidden;
    }

    .reg-page {
        background: transparent !important;
        padding: 8px 32px 16px 32px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .reg-breadcrumb {
        margin-bottom: 12px;
    }

    .reg-hero__grid {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 36px;
        align-items: start;
    }

    .reg-pitch__title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .reg-pitch__subtitle {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.4;
    }      line-height: 1.4;
    }

    .hcv-pitch-list {
        margin-top: 16px;
        margin-bottom: 16px;
        gap: 10px;
    }

    .reg-pitch__check {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .reg-testimonial {
        margin-top: 14px;
        padding: 12px 16px;
    }

    .reg-testimonial__quote {
        font-size: 12.5px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .reg-testimonial__avatar {
        width: 32px;
        height: 32px;
    }

    .reg-testimonial__logo {
        height: 22px;
    }

    .hcv-trusted {
        margin-top: 28px;
        margin-bottom: 24px;
        padding: 16px 0;
    }

    .hcv-trusted__title {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .hcv-trusted__grid {
        gap: 8px 14px;
    }

    .hcv-trusted__item {
        height: 32px;
    }

    .reg-card {
        padding: 22px 26px;
    }

    .hcv-steps-header {
        margin-bottom: 16px;
    }

    .hcv-step-title {
        font-size: 21px;
        margin-bottom: 4px;
    }

    .hcv-step-subtitle {
        font-size: 13.5px;
        margin-bottom: 16px;
    }

    .reg-form__group {
        margin-bottom: 14px;
    }
}

/* Label Weight and Color Control */
.reg-form__group label,
.hcv-group-label {
    font-weight: 400;
    color: #000000 !important;
}

.reg-form__group label.hcv-label-bold,
.hcv-group-label.hcv-label-bold {
    font-weight: 700 !important;
    color: #000000 !important;
}

.hcv-label-opt {
    font-weight: 400 !important;
    color: #666666 !important;
}

.reg-pitch__subtitle {
    font-weight: 400 !important;
}

.reg-pitch__list li div span,
.hcv-pitch-list li div span {
    font-size: 14px !important;
}
