/* Contact sales modal — VIP transactional theme */
.pl-sales-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pl-sales-modal[hidden] {
    display: none;
}

.pl-sales-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pl-sales-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.pl-sales-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e4e4e4;
    border-radius: 50%;
    background: #fff;
    color: #0e0e0e;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pl-sales-modal__close svg {
    display: block;
}

.pl-sales-modal__close:hover {
    background: #f4f4f4;
    border-color: #d4d4d4;
}

.pl-sales-modal__panel {
    padding: 40px 36px 36px;
}

.pl-sales-modal__logo {
    display: block;
    height: 24px;
    width: auto;
    margin: 0 0 28px;
}

.pl-sales-modal__eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f6f6f;
}

.pl-sales-modal__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #0e0e0e;
}

.pl-sales-modal__lead {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.55;
    color: #6f6f6f;
}

.pl-sales-modal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pl-sales-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pl-sales-modal__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6f6f6f;
}

.pl-sales-modal__label--required::after {
    content: " *";
    color: #c2410c;
    font-weight: 700;
}

.pl-sales-modal__input,
.pl-sales-modal__select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background: #fff;
    color: #0e0e0e;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.pl-sales-modal__input::placeholder {
    color: #949494;
}

.pl-sales-modal__input:focus,
.pl-sales-modal__select:focus {
    outline: none;
    border-color: #0e0e0e;
    box-shadow: 0 0 0 1px #0e0e0e;
}

.pl-sales-modal__select-wrap {
    position: relative;
}

.pl-sales-modal__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.pl-sales-modal__select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #6f6f6f;
    border-bottom: 1.5px solid #6f6f6f;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.pl-sales-modal__select option {
    color: #0e0e0e;
}

.pl-sales-modal__submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
    padding: 16px 28px;
    border: none;
    border-radius: 0;
    background: #0e0e0e;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pl-sales-modal__submit::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #1774ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.pl-sales-modal__submit:hover:not(:disabled) {
    background: #1a1a1a;
}

.pl-sales-modal__submit:hover:not(:disabled)::before {
    transform: scaleX(1);
}

.pl-sales-modal__submit:active:not(:disabled) {
    transform: scale(0.995);
}

.pl-sales-modal__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.pl-sales-modal__powered {
    margin: 16px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #949494;
}

.pl-sales-modal__powered a {
    color: #0e0e0e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pl-sales-modal__powered a:hover {
    opacity: 0.72;
}

.pl-sales-modal__error {
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid #0e0e0e;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.45;
    color: #0e0e0e;
}

.pl-sales-modal__error[hidden] {
    display: none;
}

.pl-sales-modal__success-copy {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #6f6f6f;
}

.pl-sales-modal__botcheck {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

body.pl-sales-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .pl-sales-modal {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    .pl-sales-modal__backdrop {
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .pl-sales-modal__dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 100dvh;
        max-height: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .pl-sales-modal__panel {
        padding:
            calc(env(safe-area-inset-top, 0px) + 28px)
            24px
            calc(env(safe-area-inset-bottom, 0px) + 28px);
    }

    .pl-sales-modal__close {
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        right: 12px;
    }
}
