/* ================================================================
   Contact Page — contact.css
   ================================================================ */

/* ── Shared helpers ───────────────────────────────────────────── */
.section-eyebrow {
    display: inline-flex; align-items: center;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #4f46e5; background: #ede9fe;
    padding: 0.25rem 0.85rem; border-radius: 20px;
    margin-bottom: 0.85rem;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.contact-hero {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(160deg, #fafafe 0%, #f0f0ff 60%, #fafafe 100%);
    text-align: center;
    position: relative; overflow: hidden;
}

.contact-hero-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none; filter: blur(80px); opacity: 0.3;
}

.orb-a {
    width: 350px; height: 350px;
    background: #c4b5fd; top: -100px; right: -60px;
}

.orb-b {
    width: 200px; height: 200px;
    background: #a5b4fc; bottom: -50px; left: -40px;
}

.contact-hero-inner {
    position: relative; z-index: 1;
    max-width: 600px; margin: 0 auto;
}

.contact-hero-title {
    font-size: 2.8rem; font-weight: 900;
    color: #111827; letter-spacing: -1px;
    line-height: 1.15; margin-bottom: 0.85rem;
}

.contact-hero-desc {
    font-size: 1rem; color: #6b7280;
    line-height: 1.7; margin-bottom: 1.75rem;
}

/* Pills */
.contact-hero-pills {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 0.6rem;
}

.contact-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; font-weight: 500;
    color: #374151; background: #fff;
    border: 1.5px solid #e5e7eb;
    padding: 0.3rem 0.85rem; border-radius: 20px;
}

.contact-pill i { font-size: 0.75rem; color: #4f46e5; }

/* ════════════════════════════════════════════════════════════════
   MAIN GRID
   ════════════════════════════════════════════════════════════════ */
.contact-main-section {
    padding: 4rem 0;
    background: #fff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: flex-start;
}

/* ════════════════════════════════════════════════════════════════
   LEFT COLUMN
   ════════════════════════════════════════════════════════════════ */
.contact-left {
    display: flex; flex-direction: column; gap: 1.5rem;
}

/* Channels title */
.contact-channels-title {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #9ca3af; margin-bottom: 0.25rem;
}

.contact-channels-title i { color: #4f46e5; }

/* Channel cards */
.contact-channels {
    display: flex; flex-direction: column; gap: 0.65rem;
}

.contact-channel {
    display: flex; align-items: center; gap: 0.85rem;
    background: #f9fafb; border: 1.5px solid #f3f4f6;
    border-radius: 12px; padding: 0.9rem 1rem;
    text-decoration: none;
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.contact-channel:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.contact-channel.email:hover    { border-color: #4f46e5; }
.contact-channel.telegram:hover { border-color: #2563eb; }
.contact-channel.whatsapp:hover { border-color: #059669; }
.contact-channel.youtube:hover  { border-color: #dc2626; }

.contact-channel-icon {
    width: 42px; height: 42px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}

.contact-channel.email    .contact-channel-icon { background: #ede9fe; color: #4f46e5; }
.contact-channel.telegram .contact-channel-icon { background: #dbeafe; color: #2563eb; }
.contact-channel.whatsapp .contact-channel-icon { background: #d1fae5; color: #059669; }
.contact-channel.youtube  .contact-channel-icon { background: #fee2e2; color: #dc2626; }

.contact-channel-body { flex: 1; }

.contact-channel-name {
    font-size: 0.82rem; font-weight: 700;
    color: #111827; margin-bottom: 0.1rem;
}

.contact-channel-value {
    font-size: 0.78rem; font-weight: 500;
    color: #4b5563; margin-bottom: 0.1rem;
}

.contact-channel-note {
    font-size: 0.68rem; color: #9ca3af;
}

.contact-channel-arrow {
    font-size: 0.78rem; color: #d1d5db; flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}

.contact-channel:hover .contact-channel-arrow {
    color: #9ca3af; transform: translateX(3px);
}

/* Legal card */
.contact-legal-card {
    background: #f9fafb; border: 1.5px solid #f3f4f6;
    border-radius: 14px; padding: 1.25rem;
}

.contact-legal-title {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #6b7280; margin-bottom: 1rem;
}

.contact-legal-title i { color: #4f46e5; }

.contact-legal-rows {
    display: flex; flex-direction: column; gap: 0.55rem;
    margin-bottom: 1rem;
}

.contact-legal-row {
    display: flex; align-items: flex-start;
    gap: 0.75rem; padding-bottom: 0.55rem;
    border-bottom: 1px solid #f3f4f6;
}

.contact-legal-row:last-child {
    border-bottom: none; padding-bottom: 0;
}

.contact-legal-label {
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    color: #9ca3af; flex-shrink: 0; min-width: 90px;
    padding-top: 1px;
}

.contact-legal-value {
    font-size: 0.78rem; font-weight: 500; color: #374151;
}

.contact-legal-value a {
    color: #4f46e5; text-decoration: none; font-weight: 600;
}

.contact-legal-value a:hover { text-decoration: underline; }

.contact-legal-links {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1.5px solid #f3f4f6;
}

.contact-legal-links a {
    display: inline-flex; align-items: center;
    font-size: 0.72rem; font-weight: 600;
    color: #6b7280; text-decoration: none;
    padding: 0.25rem 0.6rem; border-radius: 7px;
    background: #fff; border: 1.5px solid #e5e7eb;
    transition: border-color 0.15s, color 0.15s;
}

.contact-legal-links a:hover { border-color: #4f46e5; color: #4f46e5; }

/* ════════════════════════════════════════════════════════════════
   RIGHT COLUMN — FORM CARD
   ════════════════════════════════════════════════════════════════ */
.contact-form-card {
    background: #fff; border: 1.5px solid #f3f4f6;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(79,70,229,0.08);
    overflow: hidden;
}

/* Form header */
.contact-form-header {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
}

.contact-form-header-icon {
    width: 42px; height: 42px; border-radius: 11px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}

.contact-form-title {
    font-size: 0.95rem; font-weight: 800; margin-bottom: 0.1rem;
}

.contact-form-subtitle {
    font-size: 0.72rem; opacity: 0.75;
}

/* Success state */
.contact-success {
    flex-direction: column; align-items: center;
    text-align: center; padding: 3rem 2rem;
    gap: 0.75rem;
}

.contact-success-icon {
    font-size: 3rem; color: #059669;
    animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pop-in {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.contact-success-title {
    font-size: 1.2rem; font-weight: 800; color: #111827;
}

.contact-success-desc {
    font-size: 0.82rem; color: #6b7280; line-height: 1.6;
    max-width: 320px;
}

.contact-success-reset {
    margin-top: 0.5rem;
    background: none; border: 1.5px solid #e5e7eb;
    border-radius: 9px; padding: 0.5rem 1.1rem;
    font-size: 0.78rem; font-weight: 600;
    color: #374151; cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.contact-success-reset:hover { border-color: #4f46e5; color: #4f46e5; }

/* Form body */
.contact-form {
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: 1.1rem;
}

.contact-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}

/* Field */
.contact-field {
    display: flex; flex-direction: column; gap: 0.35rem;
}

.contact-label {
    font-size: 0.78rem; font-weight: 700; color: #374151;
    display: flex; align-items: center; gap: 0.35rem;
}

.contact-required { color: #ef4444; font-size: 0.7rem; }

.contact-label-hint {
    font-size: 0.68rem; font-weight: 400; color: #9ca3af;
}

/* Input wrap */
.contact-input-wrap {
    position: relative; display: flex; align-items: center;
}

.contact-input-icon {
    position: absolute; left: 0.85rem;
    font-size: 0.85rem; color: #9ca3af;
    pointer-events: none; z-index: 1;
}

.contact-input {
    width: 100%; padding: 0.7rem 0.85rem 0.7rem 2.25rem;
    font-size: 0.875rem; color: #111827;
    background: #f9fafb; border: 1.5px solid #e5e7eb;
    border-radius: 10px; outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
}

.contact-input:focus {
    border-color: #4f46e5; background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.contact-input::placeholder { color: #9ca3af; }

/* Select */
.select-wrap { position: relative; }

.contact-select {
    appearance: none; -webkit-appearance: none;
    padding-right: 2.5rem; cursor: pointer;
}

.contact-select-arrow {
    position: absolute; right: 0.85rem;
    font-size: 0.72rem; color: #9ca3af;
    pointer-events: none;
}

/* Textarea */
.contact-textarea {
    resize: vertical; min-height: 120px;
    padding-top: 0.7rem; line-height: 1.6;
}

/* Char count */
.contact-char-count {
    text-align: right; font-size: 0.68rem; color: #9ca3af;
    margin-top: 0.2rem;
}

/* Field error */
.contact-field-error {
    display: none; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; color: #dc2626; font-weight: 500;
}

.contact-field-error::before {
    content: '\F333';
    font-family: 'bootstrap-icons';
    font-size: 0.72rem;
}

/* Input error state */
.contact-input.error {
    border-color: #fca5a5; background: #fff5f5;
}

/* Submit button */
.contact-submit-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 0.85rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff; border: none; border-radius: 12px;
    font-size: 0.9rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: opacity 0.15s, transform 0.1s;
    box-shadow: 0 4px 16px rgba(79,70,229,0.3);
}

.contact-submit-btn:hover:not(:disabled) {
    opacity: 0.9; transform: translateY(-1px);
}

.contact-submit-btn:disabled {
    opacity: 0.65; cursor: not-allowed; transform: none;
}

/* Spinner */
.contact-spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
    display: inline-block; margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form note */
.contact-form-note {
    font-size: 0.72rem; color: #9ca3af;
    text-align: center; margin: 0; line-height: 1.5;
}

.contact-form-note i { color: #4f46e5; }
.contact-form-note a { color: #4f46e5; text-decoration: none; font-weight: 500; }
.contact-form-note a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   FAQ NUDGE
   ════════════════════════════════════════════════════════════════ */
.contact-faq-nudge {
    padding: 3rem 0;
    background: linear-gradient(160deg, #fafafe 0%, #f0f0ff 60%, #fafafe 100%);
    border-top: 1.5px solid #f3f4f6;
}

.contact-faq-nudge-inner {
    display: flex; align-items: center; gap: 1.5rem;
    flex-wrap: wrap; max-width: 900px; margin: 0 auto;
    background: #fff; border: 1.5px solid #e0e7ff;
    border-radius: 18px; padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px rgba(79,70,229,0.07);
}

.contact-faq-nudge-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: #ede9fe; color: #4f46e5;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}

.contact-faq-nudge-copy { flex: 1; min-width: 200px; }

.contact-faq-nudge-title {
    font-size: 1rem; font-weight: 800;
    color: #111827; margin-bottom: 0.3rem;
}

.contact-faq-nudge-desc {
    font-size: 0.82rem; color: #6b7280; line-height: 1.6; margin: 0;
}

.contact-faq-nudge-actions {
    display: flex; gap: 0.65rem; flex-wrap: wrap; flex-shrink: 0;
}

.btn-nudge-primary {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff; text-decoration: none;
    font-size: 0.82rem; font-weight: 700;
    padding: 0.6rem 1.1rem; border-radius: 10px;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.btn-nudge-primary:hover { opacity: 0.9; color: #fff; }

.btn-nudge-secondary {
    display: inline-flex; align-items: center;
    background: #fff; color: #374151;
    text-decoration: none;
    font-size: 0.82rem; font-weight: 600;
    padding: 0.6rem 1.1rem; border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.btn-nudge-secondary:hover { border-color: #4f46e5; color: #4f46e5; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .contact-main-grid { grid-template-columns: 1fr; }
    .contact-left      { order: 2; }
    .contact-right     { order: 1; }
}

@media (max-width: 640px) {
    .contact-hero-title    { font-size: 2rem; }
    .contact-form-row      { grid-template-columns: 1fr; }
    .contact-faq-nudge-inner { flex-direction: column; text-align: center; }
    .contact-faq-nudge-icon  { margin: 0 auto; }
    .contact-faq-nudge-actions { justify-content: center; }
}

@media (max-width: 480px) {
    .contact-hero          { padding: 3rem 0 2.5rem; }
    .contact-main-section  { padding: 2.5rem 0; }
    .contact-form          { padding: 1.1rem; }
    .contact-form-header   { padding: 1rem 1.1rem; }
    .contact-hero-pills    { gap: 0.4rem; }
}
