:root {
    --f-accent: rgb(247 158 27);
    --f-accent-dark: #e58a05;
    --f-ok: #28a745;
    --f-err: #dc3545;
    --f-white: #ffffff;
    --f-black: #111111;
    --f-gray: #d1d5db;
    --f-off: #9ca3af;
    --f-radius: 10px;
    --f-anim: 200ms ease;
}

.lead-form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-align: center;
    background: transparent;
}

.lead-form .row {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

.lead-form input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--f-black);
    background: var(--f-white);
    border-radius: var(--f-radius);
    outline: none;
    transition: all var(--f-anim);
    box-sizing: border-box;
}

.lead-form input::placeholder {
    color: var(--f-off);
    opacity: .8;
    font-weight: 400;
}

.lead-form input:focus {
    border-color: var(--f-accent);
    box-shadow: 0 0 0 3px rgba(247, 158, 27, .15);
}

.lead-form input.state-ok {
    background: #ecfdf5 !important;
    border-color: var(--f-ok) !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, .1) !important;
}

.lead-form input.state-bad {
    background: #fef2f2 !important;
    border-color: var(--f-err) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .1) !important;
}

.lead-form label.state-bad {
    display: none !important;
}

.lead-form .btn {
    width: 100%;
    padding: 14px 20px;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: var(--f-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all .3s ease;
    border: none;
    color: var(--f-white);
}

.lead-form .btn:disabled {
    background: var(--f-off) !important;
    cursor: not-allowed;
    animation: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: .7;
}

.lead-form .btn:not(:disabled) {
    background: var(--f-accent);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(247, 158, 27, .3);
    animation: ctaPulse 2s infinite;
}

.lead-form .btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--f-accent-dark);
    box-shadow: 0 6px 18px rgba(247, 158, 27, .4);
}

.lead-form .btn::after {
    content: '\279C';
    font-size: 16px;
}

@keyframes ctaPulse {
    0%   { transform: scale(1);     box-shadow: 0 4px 10px rgba(247, 158, 27, .3); }
    50%  { transform: scale(1.015); box-shadow: 0 6px 18px rgba(247, 158, 27, .5); }
    100% { transform: scale(1);     box-shadow: 0 4px 10px rgba(247, 158, 27, .3); }
}

.iti {
    width: 100%;
    position: relative;
}

.lead-form .iti {
    width: 100%;
}

.lead-form input[type="tel"] {
    padding-left: 85px !important;
    color: var(--f-black) !important;
}

.lead-form input[type="tel"]::placeholder {
    color: var(--f-off) !important;
    opacity: 1;
}

.lead-form .iti__selected-dial-code {
    color: var(--f-black) !important;
    font-weight: 500;
}

.lead-form .iti__country-list {
    background-color: var(--f-white);
    border: 1px solid var(--f-gray);
    color: var(--f-black);
    border-radius: 8px;
    z-index: 100;
}

.hint-text {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
}

.pending {
    font-size: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.pending.off-screen {
    display: none !important;
}

.pending > * {
    display: none !important;
}

.pending:before {
    content: "";
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    border: .2rem solid #999;
    border-top: .2rem solid #f3f3f3;
    border-radius: 50%;
    animation: twirl 1s linear infinite;
}

@keyframes twirl {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card {
    background: rgba(247, 158, 27, .08);
    border: 1px solid rgba(247, 158, 27, .3);
    border-radius: var(--f-radius);
    padding: 16px 20px;
    margin: 15px 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    animation: cardIn .4s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: var(--f-accent);
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card__head {
    font-size: 15px;
    font-weight: 700;
    color: var(--f-accent);
    margin: 0;
}

.card__text {
    font-size: 13.5px;
    color: #111;
    opacity: .85;
    line-height: 1.4;
    margin: 0;
}

.locked {
    position: relative;
}

.locked input,
.locked select,
.locked textarea {
    opacity: .65 !important;
    cursor: not-allowed !important;
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    pointer-events: none !important;
}

.locked .iti {
    pointer-events: none !important;
}

.locked .btn:disabled,
.locked button[type="submit"]:disabled {
    background: #475569 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    animation: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: .8 !important;
    pointer-events: none !important;
}

@media (max-width: 480px) {
    .lead-form {
        max-width: 80%;
        padding: 15px 10px;
    }

    .lead-form input {
        height: 45px;
        font-size: 14px;
    }

    .lead-form .btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}
