/* Interest form modal (scoped so the CTA section's h2/p styles don't leak in) */
.interest-modal {
    position: relative;
    max-width: 520px;
    padding: 2rem 2rem 1.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.interest-modal-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.interest-modal-close:hover { background: var(--bg-secondary); color: var(--text-primary); }
.interest-modal-head { padding-right: 2rem; margin-bottom: 1.5rem; }
.interest-modal-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--home-accent);
    margin-bottom: 0.5rem;
}
.cta-section .interest-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-wrap: balance;
    color: var(--text-primary);
}
.cta-section .interest-modal p { margin: 0; font-size: 0.9375rem; color: var(--text-secondary); }
.cta-section .interest-modal p.interest-modal-sub { margin-top: 0.5rem; line-height: 1.5; }
.interest-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}
.interest-field { margin-bottom: 0.875rem; }
.interest-label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}
.interest-input,
.interest-modal select.interest-input {
    width: 100%;
    padding: 0.6875rem 0.875rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.interest-input::placeholder { color: var(--text-secondary); opacity: 0.7; }
.interest-input:focus,
.interest-modal select.interest-input:focus {
    outline: none;
    background: var(--bg-primary);
    border-color: var(--home-accent);
    box-shadow: 0 0 0 3px var(--home-accent-dim);
}
.interest-select-wrap { position: relative; }
.interest-modal select.interest-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}
.interest-select-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.interest-other { margin-top: 0.5rem; }
.interest-modal-error {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.875rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--danger, #dc3545);
    background: var(--danger-bg, rgba(220, 53, 69, 0.1));
    border: 1px solid var(--danger, #dc3545);
    border-radius: var(--radius-md);
}
.interest-modal-error .bi { flex-shrink: 0; margin-top: 0.1em; }
.interest-modal .interest-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}
.interest-modal .interest-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.cta-section .interest-modal p.interest-modal-foot {
    margin-top: 1.75rem;
    font-size: 0.8125rem;
    text-align: center;
    color: var(--text-secondary);
}
.interest-modal a { color: var(--home-accent); text-decoration: none; }
.interest-modal a:hover { text-decoration: underline; }
.interest-modal.is-done { padding-top: 2.5rem; }
.interest-modal.is-done .interest-modal-head {
    padding: 0 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.interest-modal-check {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hero-btn-text, #000);
    background: var(--home-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--home-accent) 18%, transparent);
}
.interest-modal-check svg { display: block; }
.interest-modal-done { text-align: center; padding: 0 0.5rem; }
.cta-section .interest-modal p.interest-modal-result {
    max-width: 26rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    text-wrap: pretty;
}
.cta-section .interest-modal p.interest-modal-contact {
    margin: 0.875rem auto 0;
    font-size: 0.875rem;
    line-height: 1.5;
    text-wrap: balance;
}
.interest-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.interest-modal-actions .btn-hero-primary,
.interest-modal-actions .btn-hero-outline { flex: 1; justify-content: center; }
@media (max-width: 540px) {
    .interest-modal { padding: 1.5rem 1.25rem 1.25rem; }
    .interest-modal-grid { grid-template-columns: 1fr; gap: 0; }
    .interest-modal-actions { flex-direction: column-reverse; }
}
