*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0B1D3E; --blue: #1A56DB; --orange: #E85D26; --white: #FFFFFF;
  --gray-50: #F8F9FB; --gray-200: #E2E6ED; --gray-400: #9AA3B0;
  --gray-600: #5A6478; --gray-800: #1E2533; --red: #DC2626;
  --font: 'Inter', sans-serif; --font-d: 'Manrope', sans-serif; --t: .2s ease;
  --radius: 12px; --shadow-md: 0 4px 16px rgba(0,0,0,.11);
}
body { font-family: var(--font); color: var(--gray-800); background: var(--gray-50); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

.contact-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; background: white; border-bottom: 1px solid var(--gray-200); }
.contact-logo img { height: 34px; }
.back-link { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--gray-600); }
.back-link:hover { color: var(--blue); }

.contact-main { max-width: 1000px; margin: 0 auto; padding: 48px 24px 80px; }

.contact-hero { text-align: center; margin-bottom: 40px; }
.contact-hero h1 { font-family: var(--font-d); font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.contact-hero p { color: var(--gray-400); font-size: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-bottom: 56px; }

.contact-form-card, .contact-info-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
.contact-form-card h2, .contact-info-card h2 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--gray-600); display: block; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1.5px solid var(--gray-200); border-radius: 9px; padding: 10px 14px;
  font-family: var(--font); font-size: .875rem; outline: none; transition: border-color var(--t);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.field-error { font-size: .75rem; color: var(--red); display: block; margin-top: 4px; min-height: 14px; }

.btn-submit {
  width: 100%; background: var(--blue); color: white; font-size: .9rem; font-weight: 700;
  padding: 13px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity var(--t);
}
.btn-submit:hover { opacity: .88; }
.btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.info-item { margin-bottom: 18px; }
.info-label { font-size: .78rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.info-value { font-size: .9rem; color: var(--gray-800); }

.social-heading { font-size: .9rem; font-weight: 700; margin: 20px 0 10px; }
.social-links { display: flex; gap: 12px; }
.social-links a { font-size: .82rem; font-weight: 600; color: var(--blue); }

.faq-section h2 { font-family: var(--font-d); font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: white; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 600; font-size: .9rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.faq-question .chevron { transition: transform .2s; color: var(--gray-400); flex-shrink: 0; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 16px; }
.faq-answer p { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

.empty-msg { color: var(--gray-400); font-size: .875rem; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--gray-800); color: white; padding: 12px 20px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  z-index: 999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-header { padding: 16px 20px; }
}