/* ─── Contact Us Page — v2 Design System ─── */
.contact-page { direction: rtl; max-width: 1200px; margin: 0 auto; padding: 0 20px }

/* Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--navy,#0a1f44) 0%, var(--navy-deep) 100%);
    padding: 56px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
    margin-bottom: 40px;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(14,124,123,.18), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(192,138,46,.12), transparent 50%);
    pointer-events: none;
}
.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14,124,123,.18);
    border: 1px solid rgba(14,124,123,.45);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light,#f3d27a);
    margin-bottom: 24px;
    position: relative;
}
.contact-hero h1 {
    color: #fff;
    font-size: clamp(24px, 5vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
}
.contact-hero p {
    color: var(--text-on-navy-muted);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
}

/* Layout grid */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: 32px;
    align-items: start;
}

/* Form card */
.contact-form-card {
    background: var(--bg-card,#fff);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(11,30,63,.08);
    overflow: hidden;
}
.contact-form-header {
    background: linear-gradient(135deg, rgba(14,124,123,.05), rgba(192,138,46,.05));
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}
.contact-form-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy,#0a1f44);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-form-header h2 i {
    color: var(--teal,#0e7c7b);
    font-size: 20px;
}
.contact-form-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}
.contact-form-body {
    padding: 28px;
}

/* Field */
.contact-field {
    margin-bottom: 20px;
}
.contact-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy,#0a1f44);
    margin-bottom: 6px;
}
.contact-field label .req {
    color: var(--danger);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
    box-sizing: border-box;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14,124,123,.14);
    background: var(--bg-card,#fff);
}
.contact-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}
.contact-field .hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Row */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Submit button */
.contact-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 800;
    font-family: inherit;
    background: linear-gradient(135deg, var(--teal,#0e7c7b), var(--teal-deep,#0a5a59));
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .1s, box-shadow .15s, opacity .15s;
    box-shadow: 0 4px 14px rgba(14,124,123,.28);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14,124,123,.38);
}
.contact-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-sidebar-card {
    background: var(--bg-card,#fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(11,30,63,.04);
}
.contact-sidebar-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy,#0a1f44);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-sidebar-card h3::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gold);
    border-radius: 2px;
}
.contact-sidebar-card--brand {
    background: linear-gradient(135deg, rgba(14,124,123,.04), rgba(192,138,46,.04));
}

/* Contact items inside sidebar */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg,#f7f9fb);
    border: 1px solid transparent;
    transition: border-color .15s, background-color .15s;
}
.contact-info-item:hover {
    border-color: var(--border);
    background: var(--bg-card,#fff);
}
.contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(14,124,123,.12), rgba(192,138,46,.10));
    color: var(--teal,#0e7c7b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.contact-info-body {
    flex: 1;
    min-width: 0;
}
.contact-info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: none;
    margin-bottom: 2px;
}
.contact-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy,#0a1f44);
    line-height: 1.5;
    word-break: break-word;
}
.contact-info-value a {
    color: var(--teal,#0e7c7b);
    text-decoration: none;
}
.contact-info-value a:hover {
    text-decoration: underline;
}
.contact-info-value[dir="ltr"] {
    direction: ltr;
    text-align: start;
}

/* Trust / privacy note */
.contact-sidebar-card--brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Validation errors */
.contact-field .validation-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar { order: 2; }
}
@media (max-width: 768px) {
    .contact-hero { padding: 36px 16px 44px; border-radius: 0 0 24px 24px }
    .contact-hero h1 { font-size: 26px }
    .contact-form-body { padding: 20px }
    .contact-row { grid-template-columns: 1fr }
    .contact-sidebar-card { padding: 18px }
}
