/* HolaMKT | Solicitud de distribuidores | 2026-10-29 */
.kpdb2b-form{--kp-primary:#0075cd;--kp-primary-strong:#005aa3;--kp-ink:#102b46;--kp-muted:#5d6e7e;--kp-border:#e7eef4;--kp-border-strong:#d3dfe8;--kp-surface:#fff;--kp-soft:#edf8ff;max-width:1040px;margin:20px auto 64px;padding:0 20px;font-family:Arial,Helvetica,sans-serif;color:var(--kp-ink)}
.kpdb2b-form,.kpdb2b-form *{box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}
body.page-id-21920 #main-content{background:linear-gradient(180deg,#fff 0%,#f4f9fd 60%,#fff 100%)}
.kpdb2b-form__banner{display:none}
.kpdb2b-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 32px;padding:10px 0 4px}
.kpdb2b-benefit{display:flex;align-items:center;gap:14px;padding:8px 22px}
.kpdb2b-benefit:first-child{padding-left:0}.kpdb2b-benefit:last-child{padding-right:0}
.kpdb2b-benefit+.kpdb2b-benefit{border-left:1px solid #e4edf3}
.kpdb2b-benefit__icon{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:#e8f6fd;color:#0075bd}
.kpdb2b-benefit__icon svg{width:29px;height:29px}
.kpdb2b-benefit h2{margin:0 0 5px;font-size:15px;line-height:1.3;font-weight:700;color:var(--kp-ink)}
.kpdb2b-benefit p{margin:0;color:var(--kp-muted);font-size:13px;line-height:1.5}
.kpdb2b-form__hero{position:relative;padding:34px 40px 22px;border:1px solid #e8eff5;border-bottom:0;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -6px 32px rgba(24,73,112,.035);text-align:left}
.kpdb2b-form__hero::before{content:'';display:block;width:42px;height:4px;margin-bottom:16px;border-radius:4px;background:#70c4e4}
.kpdb2b-form .kpdb2b-form__hero h1,.kpdb2b-form .kpdb2b-form__hero h3{margin:0 0 10px;font-size:32px;line-height:1.2;letter-spacing:-.7px;font-weight:700;text-align:left;color:var(--kp-ink)}
.kpdb2b-form__subtitle{max-width:640px;margin:0;color:var(--kp-muted);font-size:15px;line-height:1.65;text-align:left}
.kpdb2b-form__inner{position:relative;margin:0;padding:0 40px 32px;border:1px solid #e8eff5;border-top:0;border-radius:0 0 18px 18px;background:#fff;box-shadow:0 20px 50px rgba(24,73,112,.065)}
.kpdb2b-form__notice{display:block;margin:0 0 24px;padding:0 0 18px;border:0;border-bottom:1px solid var(--kp-border);background:none;color:var(--kp-muted);font-size:12px;line-height:1.5}
.kpdb2b-form__notice-title{display:none}.kpdb2b-form__notice-text{font-size:12px;line-height:1.5;color:var(--kp-muted)}
.kpdb2b-step-progress,.kpdb2b-step__actions{display:none}
.kpdb2b-steps{counter-reset:kpdb2b-section;display:grid;gap:26px}
.kpdb2b-form .kpdb2b-step{counter-increment:kpdb2b-section;position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px 20px;min-width:0;margin:0;padding:0 0 26px;border:0;border-bottom:1px solid var(--kp-border);border-radius:0;background:#fff;box-shadow:none;overflow:visible}
.kpdb2b-step::before{display:none}
.kpdb2b-form .kpdb2b-step legend{display:block;float:left;grid-column:1/-1;width:100%;min-width:0;margin:0;padding:0;border:0}
.kpdb2b-step__title{display:flex;align-items:center;gap:16px;font-size:19px;line-height:1.3;font-weight:700;color:var(--kp-ink)}
.kpdb2b-step__title::before{content:counter(kpdb2b-section,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:#def2fc;color:#0875b9;font-size:15px;font-weight:700}
.kpdb2b-form .kpdb2b-step__description{grid-column:1/-1;min-width:0;margin:-22px 0 2px 60px;color:var(--kp-muted);font-size:13px;line-height:1.55}
.kpdb2b-field{display:flex;flex-direction:column;gap:7px;min-width:0;grid-column:span 4}
.kpdb2b-field--full{grid-column:1/-1}
.kpdb2b-form .kpdb2b-field label{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin:0;padding:0;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:0;color:#233d52}
.kpdb2b-required{color:#cc4055;font-weight:700}
.kpdb2b-form .kpdb2b-field input,.kpdb2b-form .kpdb2b-field select,.kpdb2b-form .kpdb2b-field textarea{display:block;width:100%;max-width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid var(--kp-border-strong);border-radius:6px!important;background-color:#fff;color:#233d52;font-family:inherit;font-size:14px;font-weight:400;line-height:normal;box-shadow:0 1px 3px rgba(16,43,70,.025);transition:border-color .2s,box-shadow .2s}
.kpdb2b-form .kpdb2b-field select{padding-right:30px;text-overflow:ellipsis;cursor:pointer}
.kpdb2b-form .kpdb2b-field input::placeholder,.kpdb2b-form .kpdb2b-field textarea::placeholder{color:#8a99a6;opacity:1}
.kpdb2b-form .kpdb2b-field textarea{height:auto;min-height:100px;padding:12px;resize:vertical}
.kpdb2b-form .kpdb2b-field input:hover,.kpdb2b-form .kpdb2b-field select:hover{border-color:#9cb6cb}
.kpdb2b-form .kpdb2b-field input:focus,.kpdb2b-form .kpdb2b-field select:focus,.kpdb2b-form .kpdb2b-field textarea:focus{outline:0;border-color:#1187d3;box-shadow:0 0 0 3px rgba(0,117,205,.12)}
.kpdb2b-form .kpdb2b-field select:disabled{opacity:1;background-color:#f8fafc;color:#526675;cursor:default}
.kpdb2b-step[data-step-id="general"] .kpdb2b-field-name-company-email,.kpdb2b-step[data-step-id="general"] .kpdb2b-field-name-client-type,.kpdb2b-step[data-step-id="location"] .kpdb2b-field-name-address,.kpdb2b-step[data-step-id="location"] .kpdb2b-field-name-advisor{grid-column:span 6}
.kpdb2b-step[data-step-id="contact"] .kpdb2b-field-name-contact-name,.kpdb2b-step[data-step-id="contact"] .kpdb2b-field-name-contact-email{grid-column:1/-1}
.kpdb2b-form__footer{display:flex;align-items:stretch;justify-content:space-between;gap:16px;margin:24px 0 0;padding:0;border:0}
.kpdb2b-form__footer-text{display:flex;align-items:center;gap:12px;flex:1;margin:0;padding:12px 16px;border-radius:8px;background:#eff8fe;color:#526b7e;font-size:12px;line-height:1.55}
.kpdb2b-form__footer-text svg{flex:0 0 22px;width:22px;height:22px;color:#0075cd}
.kpdb2b-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 26px;border:0;border-radius:8px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;cursor:pointer;transition:background-color .2s,box-shadow .2s}
.kpdb2b-btn--primary{background:#0075cd;color:#fff;box-shadow:0 6px 16px rgba(0,117,205,.16)}
.kpdb2b-btn--primary:hover{background:#005aa3;color:#fff;box-shadow:0 8px 20px rgba(0,117,205,.22)}
.kpdb2b-btn:focus-visible{outline:3px solid #74d2ee;outline-offset:3px}
.kpdb2b-btn svg{width:19px;height:19px}.kpdb2b-btn:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
.kpdb2b-alert{padding:14px 16px;border-radius:8px;margin:0 0 20px;border:1px solid transparent;font-size:14px;line-height:1.5}
.kpdb2b-alert.error{background:#fef2f2;border-color:#fca5a5;color:#991b1b}.kpdb2b-alert.success{background:#ecfdf5;border-color:#86efac;color:#166534}
@media(max-width:900px){.kpdb2b-benefit{gap:10px;padding:8px 16px}.kpdb2b-benefit__icon{flex-basis:46px;width:46px;height:46px}.kpdb2b-benefit h2{font-size:13px}.kpdb2b-benefit p{font-size:12px}.kpdb2b-form__hero{padding:30px 28px 20px}.kpdb2b-form__inner{padding:0 28px 28px}}
@media(max-width:767px){.kpdb2b-form{margin:12px auto 36px;padding:0 12px}.kpdb2b-benefits{grid-template-columns:1fr;gap:16px;margin:0 0 24px;padding:0 6px}.kpdb2b-benefit,.kpdb2b-benefit:first-child,.kpdb2b-benefit:last-child{padding:0;border:0}.kpdb2b-benefit h2{font-size:14px}.kpdb2b-benefit p{font-size:12px}.kpdb2b-form__hero{padding:26px 20px 18px;border-radius:14px 14px 0 0}.kpdb2b-form .kpdb2b-form__hero h1,.kpdb2b-form .kpdb2b-form__hero h3{font-size:26px;letter-spacing:-.5px}.kpdb2b-form__subtitle{font-size:14px}.kpdb2b-form__inner{padding:0 20px 24px;border-radius:0 0 14px 14px}.kpdb2b-form .kpdb2b-step{grid-template-columns:minmax(0,1fr)!important;gap:16px;padding-bottom:24px}.kpdb2b-form .kpdb2b-step .kpdb2b-field{grid-column:1/-1!important;width:100%;min-width:0}.kpdb2b-step__title{gap:12px;font-size:17px}.kpdb2b-step__title::before{width:40px;height:40px;flex-basis:40px;font-size:14px}.kpdb2b-form .kpdb2b-step__description{margin:-15px 0 3px 52px;font-size:12px}.kpdb2b-form .kpdb2b-field input,.kpdb2b-form .kpdb2b-field select,.kpdb2b-form .kpdb2b-field textarea{height:46px;min-height:46px;font-size:16px}.kpdb2b-form__footer{flex-direction:column;gap:14px}.kpdb2b-form__footer-text{padding:12px;font-size:11px}.kpdb2b-form__footer .kpdb2b-btn{width:100%;min-height:48px}}
.kpdb2b-field select.kpdb2b-select--loading{background-image:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb 37%,#f3f4f6 63%);background-size:300% 100%;animation:kpdb2b-shimmer 1.2s infinite;color:#6b7280}
@keyframes kpdb2b-shimmer{0%{background-position:100% 0}100%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.kpdb2b-form *{transition:none!important}.kpdb2b-field select.kpdb2b-select--loading{animation:none}}

/* =========================
 * Modal de confirmación (post-envío)
 * ========================= */
.kpdb2b-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    transition:opacity .28s ease, visibility .28s ease;
}

.kpdb2b-modal.is-open{
    opacity:1;
    visibility:visible;
}

.kpdb2b-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(9,20,45,.62);
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter:blur(5px);
    cursor:pointer;
}

.kpdb2b-modal__dialog{
    position:relative;
    z-index:1;
    width:100%;
    max-width:430px;
    max-height:calc(100vh - 40px);
    overflow-y:auto;
    box-sizing:border-box;
    padding:56px 32px 32px;
    text-align:center;
    background:#fff;
    border-radius:22px;
    box-shadow:0 30px 70px rgba(9,20,45,.35);
    outline:none;
    transform:translateY(24px) scale(.94);
    opacity:0;
    transition:transform .38s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}

.kpdb2b-modal.is-open .kpdb2b-modal__dialog{
    transform:translateY(0) scale(1);
    opacity:1;
}

.kpdb2b-modal__close{
    position:absolute;
    top:14px;
    right:14px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#94a3b8;
    cursor:pointer;
    transition:background .2s ease, color .2s ease;
}

.kpdb2b-modal__close:hover{
    background:#f1f5f9;
    color:#334155;
}

.kpdb2b-modal__close svg{
    width:17px;
    height:17px;
}

/* --- Icono central --- */
.kpdb2b-modal__icon{
    position:relative;
    width:118px;
    height:118px;
    margin:0 auto 22px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.kpdb2b-modal__ring{
    position:absolute;
    inset:0;
    border-radius:50%;
    background:#22c55e;
    opacity:0;
}

.kpdb2b-modal.is-open .kpdb2b-modal__ring--1{
    animation:kpdb2b-ring 2.4s ease-out .35s infinite;
}

.kpdb2b-modal.is-open .kpdb2b-modal__ring--2{
    animation:kpdb2b-ring 2.4s ease-out 1.15s infinite;
}

@keyframes kpdb2b-ring{
    0%   {transform:scale(.62); opacity:.35;}
    70%  {transform:scale(1.05); opacity:0;}
    100% {transform:scale(1.05); opacity:0;}
}

.kpdb2b-modal__badge{
    position:relative;
    z-index:1;
    width:88px;
    height:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(145deg,#22c55e,#15803d);
    box-shadow:0 14px 30px rgba(21,128,61,.38);
    transform:scale(0);
}

.kpdb2b-modal.is-open .kpdb2b-modal__badge{
    animation:kpdb2b-pop .55s cubic-bezier(.2,1.4,.4,1) .12s forwards;
}

@keyframes kpdb2b-pop{
    0%   {transform:scale(0) rotate(-25deg);}
    70%  {transform:scale(1.12) rotate(4deg);}
    100% {transform:scale(1) rotate(0);}
}

.kpdb2b-modal__badge svg{
    width:56px;
    height:56px;
}

.kpdb2b-modal__check-circle{
    stroke:rgba(255,255,255,.45);
    stroke-width:2.5;
    stroke-dasharray:145;
    stroke-dashoffset:145;
}

.kpdb2b-modal__check-mark{
    stroke:#fff;
    stroke-width:4.5;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:48;
    stroke-dashoffset:48;
}

.kpdb2b-modal.is-open .kpdb2b-modal__check-circle{
    animation:kpdb2b-draw .7s ease-out .3s forwards;
}

.kpdb2b-modal.is-open .kpdb2b-modal__check-mark{
    animation:kpdb2b-draw .45s ease-out .6s forwards;
}

@keyframes kpdb2b-draw{
    to{stroke-dashoffset:0;}
}

/* --- Texto --- */
.kpdb2b-modal__title{
    margin:0 0 10px;
    font-size:1.5rem;
    font-weight:800;
    line-height:1.25;
    color:#0f172a;
}

.kpdb2b-modal__text{
    margin:0 0 16px;
    font-size:.97rem;
    line-height:1.55;
    color:#475569;
}

.kpdb2b-modal__highlight{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
    padding:12px 14px;
    text-align:left;
    border-radius:14px;
    background:#ecfdf5;
    border:1px solid #a7f3d0;
    color:#166534;
    font-size:.9rem;
    line-height:1.45;
}

.kpdb2b-modal__highlight svg{
    flex:0 0 auto;
    width:20px;
    height:20px;
    color:#16a34a;
}

.kpdb2b-modal__hint{
    margin:0 0 22px;
    font-size:.8rem;
    line-height:1.45;
    color:#94a3b8;
}

.kpdb2b-modal__cta{
    width:100%;
}

body.kpdb2b-modal-open{
    overflow:hidden;
}

@media (max-width:480px){
    .kpdb2b-modal__dialog{
        padding:48px 22px 26px;
        border-radius:18px;
    }
    .kpdb2b-modal__icon{
        width:100px;
        height:100px;
        margin-bottom:18px;
    }
    .kpdb2b-modal__badge{
        width:76px;
        height:76px;
    }
    .kpdb2b-modal__badge svg{
        width:48px;
        height:48px;
    }
    .kpdb2b-modal__title{
        font-size:1.3rem;
    }
}

@media (prefers-reduced-motion:reduce){
    .kpdb2b-modal,
    .kpdb2b-modal__dialog{transition:none;}
    .kpdb2b-modal__dialog{transform:none;}
    .kpdb2b-modal.is-open .kpdb2b-modal__ring--1,
    .kpdb2b-modal.is-open .kpdb2b-modal__ring--2,
    .kpdb2b-modal.is-open .kpdb2b-modal__badge,
    .kpdb2b-modal.is-open .kpdb2b-modal__check-circle,
    .kpdb2b-modal.is-open .kpdb2b-modal__check-mark{animation:none;}
    .kpdb2b-modal__badge{transform:scale(1);}
    .kpdb2b-modal__check-circle,
    .kpdb2b-modal__check-mark{stroke-dashoffset:0;}
}

