/* Shared lead form styles (.shared/lead-form/lead-form.css).
   Do not edit inside a landing — edit the source and re-run npm run sync. */

.lead-form-section {
    --lead-form-section-bg: linear-gradient(135deg, #4188fd 0%, #02dbe7 100%);
    --lead-form-submit-bg: linear-gradient(149deg, #4188fd 0%, #02dbe7 100%);
    --lead-form-title-color: #fff;
    --lead-form-border-color: #3f9af1;
    --lead-form-placeholder-color: #999;
    --lead-form-text-color: #151c2a;
    --lead-form-radius: 99px;

    background: var(--lead-form-section-bg);
    padding: 60px 40px;
    border-radius: 30px;
}

.lead-form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.lead-form-title {
    margin: 0;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    color: var(--lead-form-title-color);
}

.lead-form-card {
    width: 100%;
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-form-row {
    display: grid;
    gap: 20px;
}

.lead-form-row--2col {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lead-form-row--3col {
    grid-template-columns: 1fr 1fr 1fr;
}

.lead-form-input {
    box-sizing: border-box;
    height: 58px;
    padding: 0 21px;
    border: 1px solid var(--lead-form-border-color);
    border-radius: var(--lead-form-radius);
    background: #fff;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-size: 16px;
    color: var(--lead-form-text-color);
    outline: none;
    width: 100%;
    min-width: 0;
}

.lead-form-input::placeholder {
    color: var(--lead-form-placeholder-color);
}

.lead-form-input:focus {
    border-color: var(--lead-form-text-color);
}

.lead-form-phone {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--lead-form-border-color);
    border-radius: var(--lead-form-radius);
    overflow: hidden;
    background: #fff;
    height: 60px;
}

.lead-form-phone__prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    min-width: 60px;
    border-right: 1px solid var(--lead-form-border-color);
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: var(--lead-form-text-color);
    background: #fff;
    user-select: none;
}

.lead-form-phone__input {
    flex: 1 1 auto;
    border: 0;
    border-radius: 0;
    height: 58px;
    padding: 0 20px;
}

.lead-form-submit {
    height: 58px;
    padding: 0 30px;
    border: 0;
    border-radius: var(--lead-form-radius);
    background: var(--lead-form-submit-bg);
    color: #fff;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: opacity 0.15s ease;
}

.lead-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lead-form-privacy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.lead-form-privacy__text {
    margin: 0 0 5px 0;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: var(--lead-form-placeholder-color);
}

.lead-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 4px;
    cursor: pointer;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: var(--lead-form-placeholder-color);
}

.lead-form-checkbox input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    accent-color: var(--lead-form-text-color);
}

.lead-form-checkbox__label {
    flex: 1 1 auto;
    min-width: 0;
}

.lead-form-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form-questions {
    margin: 0;
    font-family: 'ALS Story', system-ui, sans-serif;
    font-size: 22px;
    line-height: 24px;
    text-align: center;
    color: #fff;
}

.lead-form-questions a {
    color: #f6c672;
    text-decoration: none;
}

/* Tablet & mobile */
@media (max-width: 991px) {
    .lead-form-section {
        padding: 40px 20px;
    }
    .lead-form-title {
        font-size: 28px;
        line-height: 36px;
    }
    .lead-form-card {
        padding: 24px;
    }
    .lead-form-row--2col,
    .lead-form-row--3col {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .lead-form-submit {
        width: 100%;
    }
}
