/* ==========================================================================
   VEDEVS CONTACT PAGE STYLES — Zero Inline Styles
   ========================================================================== */

/* ── Root Variables ──────────────────────────────────────────────────────── */
.contact-page {
  background-color: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* ── Shared Typography ───────────────────────────────────────────────────── */
.contact-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 55%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  letter-spacing: -1px;
  line-height: 1.15;
}

.contact-section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.contact-hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b !important;
  max-width: 560px;
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.contact-hero-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(2, 132, 199, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 92% 78%, rgba(139, 92, 246, 0.08) 0%, transparent 48%),
    #ffffff;
}

.contact-hero-grid-bg {
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(to right, #f1f5f9 1px, transparent 1px),
    linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
  background-size: 36px 36px;
}

/* ── Pulse Beacon ────────────────────────────────────────────────────────── */
.contact-pulse-beacon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #0284c7;
  border-radius: 50%;
  animation: contactPulse 1.8s infinite;
}

@keyframes contactPulse {
  0%   { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

/* ── Hero Badge ──────────────────────────────────────────────────────────── */
.contact-hero-badge {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bfdbfe;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

/* ── Contact Channel Cards (phone, email, address) ───────────────────────── */
.contact-channel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.contact-channel-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 42px -14px rgba(2, 132, 199, 0.14);
  text-decoration: none !important;
  color: inherit;
}

.contact-channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-icon-blue   { background: #eff6ff; color: #0284c7; }
.ch-icon-green  { background: #ecfdf5; color: #059669; }
.ch-icon-purple { background: #faf5ff; color: #7c3aed; }
.ch-icon-orange { background: #fff7ed; color: #ea580c; }

.contact-channel-label {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
}

.contact-channel-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.contact-channel-sub {
  font-size: 0.82rem;
  color: #64748b;
}

/* ── Contact Form Card ───────────────────────────────────────────────────── */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08);
}

.contact-form-header {
  border-bottom: 1px solid #f1f5f9;
}

.contact-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #94a3b8;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Submit Button */
.btn-contact-submit {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-contact-submit:hover .btn-icon-arrow {
  transform: translateX(4px);
}

/* ── Right Column Visual Panel ───────────────────────────────────────────── */
.contact-visual-panel {
  background: #0b0f19;
  border-radius: 28px;
  overflow: hidden;
}

.contact-visual-img-wrap {
  height: 260px;
  overflow: hidden;
}

.contact-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.6s ease;
}

.contact-visual-panel:hover .contact-visual-img {
  transform: scale(1.04);
}

.contact-visual-overlay {
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(11, 15, 25, 0.85) 100%);
}

.contact-panel-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.72rem;
  letter-spacing: 1.2px;
}

.contact-response-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.contact-response-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.met-icon-blue  { background: rgba(2, 132, 199, 0.2); color: #38bdf8; }
.met-icon-green { background: rgba(5, 150, 105, 0.2); color: #34d399; }
.met-icon-gold  { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }

.contact-metric-val {
  font-size: 1.05rem;
  line-height: 1.2;
}

.contact-metric-label {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Social Row inside panel */
.contact-social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact-social-chip:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.contact-faq-section {
  background: #f8fafc;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: box-shadow 0.25s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-question {
  font-size: 0.97rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  flex: 1;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: #0284c7;
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #64748b;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Bottom CTA ──────────────────────────────────────────────────────────── */
.contact-cta-section {
  background: #ffffff;
}

.contact-cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.28);
  overflow: hidden;
}

.contact-cta-glow {
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.contact-cta-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.8px;
}

.btn-cta-white {
  background: #ffffff;
  color: #0f172a !important;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  transition: transform 0.2s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  color: #0f172a !important;
}

.btn-cta-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  color: #ffffff !important;
  transition: background 0.2s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

/* ── Form Success/Error Message ─────────────────────────────────────────── */
.contact-form-alert {
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.contact-form-alert.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #065f46;
}

.contact-form-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Utility ─────────────────────────────────────────────────────────────── */
.contact-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  border: none;
  margin: 0;
}

.cta-action-gap {
  gap: 14px;
}

/* ── Panel Badge Position ────────────────────────────────────────────────── */
.contact-panel-badge-pos {
  bottom: 1rem;
  left: 1rem;
}

/* ── Panel Body Text ─────────────────────────────────────────────────────── */
.contact-panel-heading {
  font-size: 1.2rem;
}

.contact-panel-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ── Metrics Stack ───────────────────────────────────────────────────────── */
.contact-metrics-stack {
  gap: 10px;
}

.contact-metric-row {
  gap: 12px;
}

/* ── Social Row ──────────────────────────────────────────────────────────── */
.contact-social-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 10px;
}

.contact-social-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

/* ── FAQ Stack ───────────────────────────────────────────────────────────── */
.contact-faq-stack {
  gap: 12px;
}

/* ── CTA Description ─────────────────────────────────────────────────────── */
.contact-cta-desc {
  max-width: 520px;
  font-size: 1.05rem;
  opacity: 0.85;
}
