/* ==========================================================================
   کارخانه آرد رضایی — استایل‌های تمیز، مینیمال و فوق‌حرفه‌ای صفحه تماس با ما
   Clean & Modern Contact Page Styles - Rezaei Flour Factory
   ========================================================================== */

/* ─── Hero & Breadcrumb ─── */
.contact-hero-wrap {
  text-align: center;
  padding: 48px 20px 32px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 88, 51, 0.08) 0%, transparent 70%),
              linear-gradient(180deg, rgba(248, 249, 250, 0.7) 0%, #ffffff 100%);
  border-bottom: 1px solid #eef0f2;
}
html.dark .contact-hero-wrap {
  background: radial-gradient(circle at 50% 0%, rgba(255, 88, 51, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, #12151b 0%, #0d0f14 100%);
  border-bottom-color: #1f242e;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 88, 51, 0.08);
  color: var(--primary, #FF5833);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 88, 51, 0.18);
}
.contact-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.contact-hero-h1 {
  font-size: 32px;
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.35;
}
html.dark .contact-hero-h1 {
  color: #f3f4f6;
}

.contact-hero-sub {
  font-size: 15px;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 16px;
  line-height: 1.7;
}
html.dark .contact-hero-sub {
  color: #94a3b8;
}

/* Breadcrumb without bootstrap slashes */
.contact-crumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}
.contact-crumbs a {
  color: var(--primary, #FF5833);
  text-decoration: none;
  font-weight: 700;
}
.contact-crumbs .crumb-sep {
  font-size: 11px;
  opacity: 0.6;
}

/* ─── Top 4 Quick Info Cards ─── */
.c-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}
@media (max-width: 1024px) {
  .c-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .c-cards-row {
    grid-template-columns: 1fr;
  }
}

.c-mini-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  position: relative;
}
html.dark .c-mini-card {
  background: #15181e;
  border-color: #262b35;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.c-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 88, 51, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
html.dark .c-mini-card:hover {
  border-color: rgba(255, 88, 51, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.c-mini-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.c-mini-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.icon-phone-bg { background: rgba(255, 88, 51, 0.1); color: #FF5833; }
.icon-wa-bg    { background: rgba(37, 211, 102, 0.12); color: #16a34a; }
.icon-loc-bg   { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.icon-clock-bg { background: rgba(245, 158, 11, 0.1); color: #d97706; }

.c-mini-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}
html.dark .c-mini-title {
  color: #f1f5f9;
}

.c-mini-body {
  flex-grow: 1;
  margin-bottom: 14px;
}
.c-mini-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
html.dark .c-mini-text {
  color: #94a3b8;
}

.c-mini-val {
  font-size: 14.5px;
  font-weight: 800;
  direction: ltr;
  text-align: right;
  color: #0f172a;
  margin-top: 4px;
  font-family: inherit;
}
html.dark .c-mini-val {
  color: #e2e8f0;
}
.c-mini-val a {
  color: inherit;
  text-decoration: none;
}
.c-mini-val a:hover {
  color: #FF5833;
}

.c-mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  width: 100%;
}
.btn-mini-primary {
  background: #FF5833;
  color: #ffffff !important;
}
.btn-mini-primary:hover {
  background: #e04420;
}
.btn-mini-wa {
  background: #22c55e;
  color: #ffffff !important;
}
.btn-mini-wa:hover {
  background: #16a34a;
}
.btn-mini-outline {
  background: transparent;
  border-color: #d1d5db;
  color: #334155 !important;
}
html.dark .btn-mini-outline {
  border-color: #374151;
  color: #cbd5e1 !important;
}
.btn-mini-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
html.dark .btn-mini-outline:hover {
  background: #1e242e;
  border-color: #4b5563;
}

/* ─── Main Content: Split Grid (Form & Map) ─── */
.c-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 991px) {
  .c-split-layout {
    grid-template-columns: 1fr;
  }
}

/* Form Panel */
.c-form-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
html.dark .c-form-panel {
  background: #15181e;
  border-color: #262b35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.c-panel-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}
html.dark .c-panel-header {
  border-color: #222733;
}
.c-panel-header h2,
.c-panel-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
html.dark .c-panel-header h2,
html.dark .c-panel-header h3 {
  color: #f8fafc;
}
.c-panel-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
html.dark .c-panel-header p {
  color: #94a3b8;
}

.f-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 576px) {
  .f-row-2 {
    grid-template-columns: 1fr;
  }
}

.f-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}
.f-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  text-align: right;
}
html.dark .f-label {
  color: #cbd5e1;
}
.f-label .req {
  color: #ef4444;
  font-weight: bold;
}

.f-ctrl {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 13.5px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}
html.dark .f-ctrl {
  background: #1a1e27;
  border-color: #2e3543;
  color: #f1f5f9;
}
.f-ctrl:focus {
  border-color: #FF5833;
  box-shadow: 0 0 0 3px rgba(255, 88, 51, 0.15);
}
.f-ctrl::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

select.f-ctrl {
  cursor: pointer;
  height: 42px;
}
textarea.f-ctrl {
  min-height: 95px;
  resize: vertical;
}

/* ─── Modern Request Type Chips (نوع درخواست شیک و تعاملی) ─── */
.request-type-group {
  margin-bottom: 18px;
}
.request-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .request-type-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.rt-option {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.rt-option.rt-span-full {
  grid-column: 1 / -1;
}
.rt-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.rt-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
html.dark .rt-card {
  background: #181d26;
  border-color: #272f3d;
  color: #cbd5e1;
}
.rt-card .rt-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.22s ease;
}
html.dark .rt-card .rt-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}
.rt-card .rt-text {
  flex-grow: 1;
  line-height: 1.35;
}
.rt-card .rt-check {
  font-size: 15px;
  font-weight: 900;
  color: #FF5833;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.rt-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}
html.dark .rt-card:hover {
  background: #1e2531;
  border-color: #3b4555;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Checked State */
.rt-option input[type="radio"]:checked + .rt-card {
  background: rgba(255, 88, 51, 0.06);
  border-color: #FF5833;
  color: #FF5833;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 88, 51, 0.16);
  transform: translateY(-1.5px);
}
html.dark .rt-option input[type="radio"]:checked + .rt-card {
  background: rgba(255, 88, 51, 0.14);
  border-color: #FF5833;
  color: #ff704d;
  box-shadow: 0 4px 18px rgba(255, 88, 51, 0.28);
}
.rt-option input[type="radio"]:checked + .rt-card .rt-icon {
  background: #FF5833;
  color: #ffffff;
  transform: scale(1.06);
}
.rt-option input[type="radio"]:checked + .rt-card .rt-check {
  opacity: 1;
  transform: scale(1);
}
.rt-option input[type="radio"]:focus-visible + .rt-card {
  outline: 2px solid #FF5833;
  outline-offset: 2px;
}

.f-submit-btn {
  background: #FF5833;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 4px 14px rgba(255, 88, 51, 0.25);
}
.f-submit-btn:hover {
  background: #e04420;
  box-shadow: 0 6px 18px rgba(255, 88, 51, 0.35);
}
.f-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Map & Navigation Panel */
.c-map-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
html.dark .c-map-panel {
  background: #15181e;
  border-color: #262b35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.c-map-frame {
  width: 100%;
  height: 290px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  background: #f1f5f9;
}
html.dark .c-map-frame {
  border-color: #2b3240;
}
.c-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Smart Navigation Buttons Grid */
.nav-section-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
html.dark .nav-section-title {
  color: #cbd5e1;
}
.nav-gps-pill {
  font-size: 11px;
  font-family: monospace;
  direction: ltr;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 6px;
}
html.dark .nav-gps-pill {
  background: #1f242e;
  color: #94a3b8;
}

.nav-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .nav-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.nav-btn-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #1e293b !important;
  transition: all 0.2s ease;
}
html.dark .nav-btn-chip {
  background: #1a1e27;
  border-color: #2b3240;
  color: #f1f5f9 !important;
}
.nav-btn-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 3px;
}
html.dark .nav-chip-icon {
  background: #1e2430;
  border-color: #333d4e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.nav-chip-icon img,
.nav-chip-icon svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* Hover highlights for navigation chips */
.chip-gmaps:hover {
  border-color: #4285F4;
  background: rgba(66, 133, 244, 0.06);
}
.chip-gmaps:hover .nav-chip-icon {
  border-color: #4285F4;
  transform: scale(1.08);
}

.chip-neshan:hover {
  border-color: #00BA72;
  background: rgba(0, 186, 114, 0.06);
}
.chip-neshan:hover .nav-chip-icon {
  border-color: #00BA72;
  transform: scale(1.08);
}

.chip-balad:hover {
  border-color: #1E63ED;
  background: rgba(30, 99, 237, 0.06);
}
.chip-balad:hover .nav-chip-icon {
  border-color: #1E63ED;
  transform: scale(1.08);
}

.chip-waze:hover {
  border-color: #33CCFF;
  background: rgba(51, 204, 255, 0.08);
}
.chip-waze:hover .nav-chip-icon {
  border-color: #33CCFF;
  transform: scale(1.08);
}

/* Feedback Alert */
.c-form-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
  display: none;
  align-items: center;
  gap: 8px;
}
.c-form-alert.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  display: flex;
}
.c-form-alert.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  display: flex;
}
html.dark .c-form-alert.success {
  background: rgba(21, 128, 61, 0.25);
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.2);
}
html.dark .c-form-alert.error {
  background: rgba(185, 28, 28, 0.25);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.2);
}
