.demo-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 31, 0.28);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.demo-modal-backdrop.open {
    display: flex;
}

.demo-modal {
    width: min(760px, 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(252, 252, 252, 0.93) 100%);
    border: 1px solid rgba(232, 232, 232, 0.95);
    border-radius: 16px;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.demo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
}

.demo-modal-title {
    font-size: 1.2rem;
    color: #000;
    margin: 0;
}

.demo-modal-close {
    border: 0;
    background: transparent;
    border-radius: 0;
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    color: #333;
}

.demo-modal-form {
    padding: 0.75rem 1rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.demo-modal-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.demo-modal-field.full {
    grid-column: 1 / -1;
}

.demo-modal-label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
}

.demo-modal-input {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    padding: 0.62rem 0.7rem;
    font-size: 0.9rem;
    color: #111;
}

.demo-modal-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.demo-modal-actions button[type="submit"] {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.demo-modal-actions button[type="submit"]:hover {
    background-color: #ffffff !important;
    border-color: #000000 !important;
}

.demo-modal-actions button[type="submit"]:hover .cta-text {
    color: #000000 !important;
}

.demo-modal-note {
    font-size: 0.78rem;
    color: #777;
}

.demo-modal-success {
    display: none;
    grid-column: 1 / -1;
    font-size: 0.86rem;
    color: #0f7a2d;
    border: 1px solid #c9e8d2;
    background: #f3fff6;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}

.demo-modal-success.show {
    display: block;
}

.demo-modal-error {
    display: none;
    grid-column: 1 / -1;
    font-size: 0.86rem;
    color: #8a1f1f;
    border: 1px solid #f1c9c9;
    background: #fff5f5;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}

.demo-modal-error.show {
    display: block;
}

@media screen and (max-width: 767px) {
    .demo-modal-form {
        grid-template-columns: 1fr;
    }
}

.talk-arrow-icon {
    width: 10px;
    height: 10px;
    display: block;
}

.cta-talk-to-us {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cta-talk-to-us:hover {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.cta-talk-to-us:hover .cta-text {
    color: #ffffff !important;
}

.cta-talk-to-us:hover .key-command {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.footer-navs-wrap {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media screen and (max-width: 767px) {
    .footer-navs-wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 479px) {
    .footer-navs-wrap {
        grid-template-columns: 1fr !important;
    }
}
