/* ==========================================================================
   NAVIONFX — contact.css
   Contact page — only what base.css does NOT already cover
   ========================================================================== */

/* ── HERO GLOWS ── */
.contact-hero { position: relative; overflow: hidden; }
.contact-hero-glow-tl { position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.contact-hero-glow-br { position: absolute; bottom: -150px; right: -150px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.contact-hero .hero-content { position: relative; z-index: 1; }
.contact-hero .section-sub { margin-bottom: 8px; }

/* ── HERO UNIQUE ELEMENTS ── */
.contact-availability { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(240,244,255,0.5); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 5px 14px; align-self: center; font-family: var(--font); margin-top: 16px; }
.contact-availability strong { color: #4ade80; font-weight: 700; }
.contact-availability-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; animation: contactPulse 1.8s ease-in-out infinite; flex-shrink: 0; }
@keyframes contactPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.contact-email-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #60a5fa; background: rgba(37,99,235,0.08); border: 1px solid rgba(96,165,250,0.2); border-radius: 100px; padding: 10px 20px; transition: all 0.2s ease; align-self: center; }
.contact-email-link:hover { background: rgba(37,99,235,0.15); border-color: rgba(96,165,250,0.4); transform: translateY(-2px); }
.contact-email-link-icon { width: 24px; height: 24px; background: rgba(37,99,235,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #60a5fa; flex-shrink: 0; }

.contact-or-divider { display: flex; align-items: center; gap: 12px; width: 200px; align-self: center; }
.contact-or-line { flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.contact-or-text { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.2); letter-spacing: 2px; text-transform: uppercase; }
.contact-scroll-link { font-size: 13px; font-weight: 600; color: rgba(240,244,255,0.4); transition: color 0.2s; align-self: center; }
.contact-scroll-link:hover { color: #60a5fa; }

.contact-availability { margin-top: 20px; }
.contact-email-link { margin-top: 12px; }
.contact-or-divider { margin-top: 12px; }
.contact-scroll-link { margin-top: 12px; }

/* ── FORM SECTION ── */
.contact-form-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-form-info { display: flex; flex-direction: column; gap: 16px; }
.contact-form-info-sub { font-size: 15px; line-height: 1.75; color: rgba(15,23,42,0.5); }
.contact-trust-list { display: flex; flex-direction: column; gap: 10px; }
.contact-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(15,23,42,0.6); }
.contact-trust-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.contact-trust-dot--green { background: #22c55e; }
.contact-trust-dot--blue { background: #2563eb; }

.contact-form-card { background: #fff; border: 1.5px solid rgba(37,99,235,0.1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 40px rgba(37,99,235,0.08); }
.contact-form-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid rgba(37,99,235,0.08); background: rgba(37,99,235,0.02); }
.contact-form-card-title { font-size: 13px; font-weight: 700; color: #0d1321; }
.contact-form-card-status { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: contactPulse 1.8s ease-in-out infinite; }

.contact-form { padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form-field { display: flex; flex-direction: column; gap: 6px; }
.contact-form-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(15,23,42,0.4); }
.contact-form-label-optional { font-size: 10px; font-weight: 500; color: rgba(15,23,42,0.3); text-transform: none; letter-spacing: 0; margin-left: 4px; }
.contact-form-input { width: 100%; background: #f8faff; border: 1.5px solid rgba(37,99,235,0.1); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; font-weight: 500; color: #0d1321; font-family: var(--font); transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form-input:focus { outline: none; border-color: rgba(37,99,235,0.4); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); background: #fff; }
.contact-form-input::placeholder { color: rgba(15,23,42,0.3); }
.contact-form-textarea { min-height: 120px; resize: vertical; }

.contact-phone-wrap { display: flex; gap: 8px; }
.contact-phone-code { width: 100px; flex-shrink: 0; }
.contact-phone-number { flex: 1; }
.contact-phone-custom-btn { cursor: pointer; user-select: none; position: relative; display: flex; align-items: center; gap: 6px; }
.contact-phone-custom-btn::after { content: '▾'; font-size: 10px; color: rgba(15,23,42,0.3); margin-left: auto; }
.contact-phone-custom-list { position: absolute; top: 100%; left: 0; z-index: var(--z-dropdown); background: #fff; border: 1.5px solid rgba(37,99,235,0.12); border-radius: var(--radius-sm); box-shadow: 0 8px 32px rgba(37,99,235,0.12); max-height: 220px; overflow-y: auto; min-width: 160px; display: none; }
.contact-phone-custom-list.open { display: block; }
.contact-phone-custom-item { padding: 9px 14px; font-size: 13px; font-weight: 500; color: #0d1321; cursor: pointer; transition: background 0.15s; }
.contact-phone-custom-item:hover { background: rgba(37,99,235,0.05); }
.contact-phone-custom-item.active { color: var(--color-accent); font-weight: 700; }

.contact-form-submit { width: 100%; margin-top: 4px; }
.contact-form-success { display: none; padding: 12px 16px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: #16a34a; text-align: center; }
.contact-form-success.visible { display: block; }
.contact-form-error { display: none; padding: 12px 16px; background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.15); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: #b91c1c; text-align: center; }
.contact-form-error.visible { display: block; }

@media (max-width: 900px) { .contact-form-wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 580px) { .contact-form-row { grid-template-columns: 1fr; } .contact-form { padding: 20px 16px; } }


/* ── SOCIAL SECTION ── */
.contact-social-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.contact-social-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(240,244,255,0.3); margin-bottom: 4px; }
.contact-social-inner .section-sub { margin-bottom: 16px; }
.contact-social-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.contact-social-btn { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); transition: all 0.25s ease; min-width: 200px; }
.contact-social-btn:hover { border-color: rgba(96,165,250,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(37,99,235,0.2); }
.contact-social-btn-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(37,99,235,0.15); display: flex; align-items: center; justify-content: center; color: #60a5fa; flex-shrink: 0; }
.contact-social-btn-name { font-size: 14px; font-weight: 700; color: #f0f6ff; }
.contact-social-btn-handle { font-size: 12px; color: rgba(240,244,255,0.35); }

/* ── PHONE FIELD MOBILE ── */
@media (max-width: 767px) {
  .contact-phone-wrap { flex-direction: row; gap: 6px; }
  .contact-phone-code { width: 72px; font-size: 11px; padding: 8px 6px; flex-shrink: 0; }
  .contact-phone-number { font-size: 12px; padding: 8px 10px; }
  .contact-phone-custom-btn { font-size: 11px; padding: 8px 6px; width: 72px; }
}

@media (max-width: 480px) { .contact-social-btn { min-width: 160px; padding: 14px 18px; } }