
.cx-contact {
    padding: 3rem 0 4rem;
}

.cx-contact__header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.cx-contact__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0.75rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.cx-contact__lead {
    color: var(--cx-text-muted);
    margin: 0;
    line-height: 1.7;
    font-size: 1.05rem;
}

.cx-contact__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.cx-contact__info,
.cx-contact__form-wrap {
    background: var(--cx-surface);
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-lg);
    padding: 1.75rem;
}

.cx-contact__info h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.cx-contact__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.cx-contact__list li {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cx-border);
}

.cx-contact__list li:last-child { border-bottom: none; }

.cx-contact__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--cx-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cx-contact__list strong {
    display: block;
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin-bottom: 0.15rem;
}

.cx-contact__list a {
    color: var(--cx-primary-light);
    text-decoration: none;
}

.cx-contact__list a:hover { text-decoration: underline; }

.cx-contact__list span {
    color: var(--cx-text-body);
    font-size: 0.95rem;
}

.cx-contact__note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: var(--cx-bg-soft);
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius);
    font-size: 0.85rem;
    color: var(--cx-text-muted);
}

.cx-contact__note i { color: #34d399; }

/* Form */
.cx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cx-form-group {
    margin-bottom: 1rem;
}

.cx-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--cx-text-body);
}

.cx-required { color: #f87171; }

.cx-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--cx-bg-soft);
    border: 1px solid var(--cx-border-light);
    border-radius: 10px;
    color: var(--cx-text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cx-input::placeholder { color: var(--cx-text-muted); }

.cx-input:focus {
    outline: none;
    border-color: var(--cx-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.cx-input.is-invalid {
    border-color: #f87171;
}

.cx-invalid-feedback {
    font-size: 0.8rem;
    color: #f87171;
    margin-top: 0.35rem;
}

.cx-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.cx-textarea { resize: vertical; min-height: 140px; }

.cx-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.cx-contact__disclaimer {
    font-size: 0.8rem;
    color: var(--cx-text-muted);
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.cx-contact__disclaimer a {
    color: var(--cx-primary-light);
    text-decoration: none;
}

.cx-contact__disclaimer a:hover { text-decoration: underline; }

.cx-contact__form .cx-btn {
    width: 100%;
}

.cx-contact__form .cx-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Toast */
.cx-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    pointer-events: none;
}

.cx-toast {
    min-width: 300px;
    max-width: 400px;
    background: var(--cx-surface);
    border: 1px solid var(--cx-border-light);
    border-radius: var(--cx-radius);
    box-shadow: var(--cx-shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: auto;
}

.cx-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.cx-toast--success { border-color: rgba(52, 211, 153, 0.4); }
.cx-toast--danger  { border-color: rgba(248, 113, 113, 0.4); }

.cx-toast__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cx-border);
}

.cx-toast--success .cx-toast__header strong { color: #34d399; }
.cx-toast--danger .cx-toast__header strong  { color: #f87171; }

.cx-toast__close {
    background: none;
    border: none;
    color: var(--cx-text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cx-toast__body {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--cx-text-body);
}

.cx-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cx-alert--success {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
}

.cx-alert--error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

@media (max-width: 991.98px) {
    .cx-contact__grid { grid-template-columns: 1fr; }
    .cx-form-row { grid-template-columns: 1fr; }
    .cx-toast-container { left: 1rem; right: 1rem; }
    .cx-toast { min-width: auto; max-width: none; }
}

@media (max-width: 767.98px) {
    .cx-contact { padding: 2rem 0 3rem; }
    .cx-contact__header { margin-bottom: 1.75rem; }
    .cx-contact__info,
    .cx-contact__form-wrap { padding: 1.25rem; }
    .cx-contact__lead { font-size: 0.95rem; }
    .cx-form-row { gap: 0; margin-bottom: 0; }
}
