
  .contact-page {
    direction: rtl;
    color: #1f2937;
    font-family: iranyekan, tahoma, sans-serif;
    background: #f8fafc;
    padding-bottom: 60px;
  }
  .contact-page * { box-sizing: border-box; }

  /* HERO */
  .contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
      background: linear-gradient(
        135deg,
        #7f1d1d,
        #991b1b
    );
    padding: 40px 20px 90px;
    text-align: center;
  }
  .hero-content { color: #fff; max-width: 800px; z-index: 2; }

  .hero-content h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
  .hero-content p { margin: 0; font-size: 16px; opacity: 0.9; }

  /* GRID */
  .contact-grid {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 10;
  }
  .contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    padding: 32px;
    display: flex;
    flex-direction: column;
  }

  .section-title { margin-bottom: 24px; }
  .section-title span { color: #ffff; font-size: 13px; font-weight: 700;  margin-bottom: 4px; }
  .section-title h2 { margin: 0; font-size: 26px; color: #0f172a; font-weight: 800;text-align:center; }
  .section-title.center { text-align: center; }

  /* INFO ITEMS */
  .info-list { display: grid; gap: 16px; }
  .info-item-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    transition: all 0.2s ease-in-out;
  }
  .info-item-wrapper:hover {
    background: #ffffff;
    border-color: #fca5a5;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.1);
  }
  .info-item-wrapper .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
  }
  .text-content { flex-grow: 1; }
  .text-content h3 { margin: 0 0 4px; font-size: 15px; color: #0f172a; font-weight: 700; }
  .text-content p { margin: 0; color: #475569; font-size: 14px; line-height: 1.6; }
  .info-link { position: absolute; inset: 0; z-index: 2; }

  /* HOURS BOX */
  .hours-box {
    margin-top: 24px;
    background: #0f172a;
    color: #fff;
    border-radius: 18px;
    padding: 20px;
  }
  .hours-box h3 { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
  .hours-box h3 i { color: #ef4444; }
  .hours-box ul { list-style: none; margin: 0; padding: 0; }
  .hours-box li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
  .hours-box li:last-child { border-bottom: 0; }
  .hours-box b { color: #f8fafc; font-weight: 600; }
  .hours-box b.closed { color: #f87171; }

 
  /* SOCIAL BUTTONS */
  .social-buttons-section { max-width: 1200px; margin: 60px auto; padding: 40px 20px; }
  .social-buttons-container.creative {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
  }
  .social-card { border-radius: 16px; padding: 20px; transition: transform 0.2s ease; text-align: center; }
  .social-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .social-card i { font-size: 28px; color: #fff; }
  .social-text { font-size: 15px; font-weight: 700; color: #fff; }
  .social-card.instagram { background: linear-gradient(135deg, #f09433, #e1306c, #833ab4); }
  .social-card.whatsapp { background: #25d366; }
  .social-card.telegram { background: #26a9e0; }
  .social-card.website { background: #475569; }
  .social-card:hover { transform: translateY(-4px); }

  /* FORM */
  .contact-form-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  .contact-form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 40px; box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06); }
  .smart-form { display: grid; gap: 20px; max-width: 900px;  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field { display: grid; gap: 8px; }
  .field label { font-size: 14px; font-weight: 700; color: #334155; }
  .field input, .field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
  }
  .field input:focus, .field textarea:focus {
    border-color: #ef4444;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
  }
  .field textarea { min-height: 140px; resize: vertical; }
  .field.full { grid-column: 1 / -1; }
  .submit-btn {
    justify-self: center;
    border: 0;
    cursor: pointer;
    padding: 14px 36px;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
  }
  .submit-btn:hover { opacity: 0.95; }

  /* RESPONSIVE MEDIA QUERIES */
  @media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; margin-top: -40px; gap: 24px; }
    .contact-form-card { padding: 30px; }
  }

  @media (max-width: 768px) {
    .contact-hero { min-height: 260px; padding: 40px 20px; }
    .contact-card { padding: 24px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .smart-form { gap: 16px; }
    .submit-btn { width: 100%; justify-content: center; }
    .social-buttons-container.creative { grid-template-columns: repeat(2, 1fr); }
    .hours-box li { flex-direction: row; justify-content: space-between; }
  }

  @media (max-width: 480px) {
    .social-buttons-container.creative { grid-template-columns: 1fr; }
    .hours-box li { flex-direction: column; gap: 4px; }
    .hours-box li b { align-self: flex-start; }
  }
/* فرم کنار اطلاعات تماس */
.form-card .smart-form {
    max-width: 100%;
    height: 100%;
}

/* هم ارتفاع شدن دو باکس */
.contact-grid {
    align-items: stretch;
}

.contact-grid .contact-card {
    height: 100%;
}
/* بخش نقشه */
.contact-map-section {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.contact-map-section .map-card {
    padding: 32px;
}

.contact-map-section .map-frame {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.contact-map-section .map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}
@media (max-width: 768px) {
    .contact-map-section .map-frame {
        height: 200px;
    }
}