/* ============================================
   رز دولوپ - استایل اختصاصی صفحه تماس
   ============================================ */

/* ===========================================
   1. PAGE HERO
   =========================================== */
.ct-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 20px;
  position: relative;
}

.ct-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
}

.ct-glow-1 {
  background: rgba(37, 99, 235, 0.4);
  top: -150px;
  right: -100px;
}

.ct-glow-2 {
  background: rgba(16, 185, 129, 0.3);
  bottom: -100px;
  left: -100px;
}

.ct-hero-inner {
  max-width: 700px;
  margin-inline: auto;
}

.ct-hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.3;
  margin: 0.75rem 0 1rem;
}

.ct-hero-sub {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.ct-hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ct-hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ===========================================
   2. MAIN GRID (Form + Cards)
   =========================================== */
.ct-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 2.5rem;
  align-items: start;
}

/* ===========================================
   3. CONTACT FORM
   =========================================== */
.ct-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.ct-form-head {
  margin-bottom: 2rem;
}

.ct-form-head h2 {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.ct-form-head p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.ct-row .ct-field {
  margin-bottom: 0;
}

.ct-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.ct-req {
  color: var(--color-cta);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-sm);
  transition: all 0.3s;
  outline: none;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* استایل حرفه‌ای برای Select */
.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-left: 45px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 16px;
}

.ct-field select:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
}

.ct-field select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
}

/* استایل option‌ها */
.ct-field select option {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px;
  font-family: inherit;
  font-size: var(--font-size-sm);
}

.ct-field select option:hover,
.ct-field select option:focus,
.ct-field select option:checked {
  background: var(--color-blue);
  color: #fff;
}

/* استایل option اول (placeholder) */
.ct-field select option:first-child {
  color: var(--text-muted);
}

/* استایل رنگ متن Select وقتی چیزی انتخاب نشده */
.ct-field select:invalid,
.ct-field select option[value=""] {
  color: var(--text-muted);
}

.ct-field textarea {
  min-height: 180px;
  resize: vertical;
}

.ct-field input.err-shake,
.ct-field select.err-shake,
.ct-field textarea.err-shake {
  animation: ctShake 0.4s ease;
  border-color: #ef4444;
}

@keyframes ctShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.ct-ferr {
  font-size: 12px;
  color: #ef4444;
  min-height: 0.875rem;
  animation: fadeIn 0.3s;
}

.ct-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  font-size: var(--font-size-md);
}

.ct-submit.success {
  background: var(--color-green) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.ct-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.ct-privacy {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1rem;
  justify-content: center;
}

/* ===========================================
   4. CONTACT CARDS
   =========================================== */
.ct-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ct-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.ct-contact-card:hover {
  transform: translateY(-3px);
}

.ct-cc-wa {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.ct-cc-wa:hover {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.2);
}

.ct-cc-tg {
  background: rgba(0, 136, 204, 0.08);
  border: 1px solid rgba(0, 136, 204, 0.15);
  color: #2aabee;
}

.ct-cc-tg:hover {
  box-shadow: 0 0 25px rgba(0, 136, 204, 0.2);
}

.ct-cc-ph {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  color: var(--color-cta);
}

.ct-cc-ph:hover {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}

.ct-cc-em {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.ct-cc-em:hover {
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.ct-cc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-cc-info {
  flex: 1;
}

.ct-cc-info h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.15rem;
}

.ct-cc-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.ct-cc-detail {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.25rem;
}

.ct-cc-btn {
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ct-contact-card:hover .ct-cc-btn {
  opacity: 1;
}

/* ===========================================
   5. WORKING HOURS
   =========================================== */
.ct-hours {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.ct-hours-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ct-hours-head h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.ct-hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.ct-hours-off span:last-child {
  color: var(--text-muted);
}

.ct-hours-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

/* ===========================================
   6. ADDRESS
   =========================================== */
.ct-address {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 500px;
  margin-inline: auto;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.ct-address h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

.ct-address p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
}

.ct-address small {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===========================================
   7. FAQ CARDS
   =========================================== */
.ct-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.ct-faq-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.ct-faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-blue);
}

.ct-faq-card h4 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.ct-faq-card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* ===========================================
   8. CTA
   =========================================== */
.ct-cta {
  padding: 4rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.ct-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-border);
}

.ct-cta h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.ct-cta p {
  font-size: var(--font-size-md);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ===========================================
   9. RESPONSIVE - TABLET
   =========================================== */
@media (max-width: 1024px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   10. RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 768px) {
  .ct-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 20px);
  }
  
  .ct-hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .ct-row {
    grid-template-columns: 1fr;
  }
  
  .ct-form-card {
    padding: 1.5rem;
  }
  
  .ct-faq-grid {
    grid-template-columns: 1fr;
  }
  
  .ct-cta {
    padding: 2.5rem 1.5rem;
  }
  
  .ct-cta h2 {
    font-size: var(--font-size-xl);
  }
  
  .ct-hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}