/* ==========================================
   SAMAPARDAZ - Inner Pages Styles
   ========================================== */

/* ==========================================
   PRODUCTS PAGE
   ========================================== */

.products-detail-section {
  padding: 80px 80px;
}

.product-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 2px solid rgba(13,27,62,0.1);
}

.product-tab-btn {
  padding: 16px 32px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: rgba(13,27,62,0.55);
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.product-tab-btn.active {
  color: var(--navy-dark);
  border-bottom-color: var(--gold);
}

.product-tab-btn:hover {
  color: var(--navy-dark);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Software product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(13,27,62,0.07);
}

.feature-item:last-child { border-bottom: none; }

.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(246,139,13,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.85rem;
  color: rgba(13,27,62,0.6);
  line-height: 1.7;
}

.product-screenshot {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 40px rgba(13,27,62,0.10), inset 0 1px 0 rgba(255,255,255,0.85);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold);
}

/* ==========================================
   SERVICES PAGE
   ========================================== */

.services-detail-section {
  padding: 80px 80px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(13,27,62,0.1);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: #ffffff;
  border-color: rgba(246,139,13,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,27,62,0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy-dark);
}

.service-desc {
  font-size: 0.875rem;
  color: rgba(13,27,62,0.6);
  line-height: 1.8;
}

.service-price {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
}

/* ==========================================
   CLIENTS PAGE
   ========================================== */

.clients-section {
  padding: 80px 80px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.client-card {
  background: #ffffff;
  border: 1px solid rgba(13,27,62,0.1);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.client-card:hover {
  background: #fffdf5;
  border-color: rgba(246,139,13,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(13,27,62,0.08);
}

.client-card .logo-placeholder {
  width: 80px;
  height: 80px;
  background: #f0f3f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}

.client-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.client-card-type {
  font-size: 0.78rem;
  color: rgba(13,27,62,0.55);
}

/* Map section */
.map-section {
  padding: 0 80px 80px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: #f0f3f8;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(13,27,62,0.5);
  border: 1px solid rgba(13,27,62,0.1);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '🗺';
  font-size: 4rem;
  position: absolute;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-section {
  padding: 48px 80px 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
}

.about-visual {
  border-radius: 20px;
  overflow: hidden;
  background: #f0f3f8;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid rgba(13,27,62,0.1);
}

.timeline {
  position: relative;
  padding-right: 30px;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-right: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(246,139,13,0.2);
  transform: translateX(50%);
}

.timeline-year {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: rgba(13,27,62,0.6);
  line-height: 1.7;
}

/* Certificates */
.certs-section {
  padding: 80px 80px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.cert-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(246,139,13,0.25);
  background: #ffffff;
  padding: 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cert-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(13,27,62,0.1);
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.cert-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-dark);
}

/* Team */
.team-section {
  padding: 80px 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(13,27,62,0.1);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(13,27,62,0.1);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f0f3f8;
  margin: 0 auto 16px;
  border: 3px solid rgba(246,139,13,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--gold);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-section {
  padding: 80px 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-form {
  background: #f5f7fb;
  border: 1px solid rgba(13,27,62,0.1);
  border-radius: 20px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  color: rgba(13,27,62,0.75);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid rgba(13,27,62,0.15);
  border-radius: 10px;
  color: var(--navy-dark);
  font-family: var(--font-main);
  font-size: 0.9rem;
  direction: rtl;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  background: #fffdf7;
}

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

.form-select option {
  background: #ffffff;
  color: var(--navy-dark);
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(13,27,62,0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
  border-color: rgba(246,139,13,0.3);
  box-shadow: 0 8px 24px rgba(13,27,62,0.08);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(246,139,13,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
}

/* Map in contact page */
.contact-map {
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13,27,62,0.1);
  font-size: 0.9rem;
  color: rgba(13,27,62,0.5);
}

/* ==========================================
   VIDEO TUTORIALS PAGE
   ========================================== */

.videos-section {
  padding: 80px 80px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(13,27,62,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(13,27,62,0.12);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #dce4f0, #c5d2e8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-play-btn {
  width: 60px;
  height: 60px;
  background: rgba(246,139,13,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s, background 0.3s;
  padding: 0;
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--gold);
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-meta {
  font-size: 0.78rem;
  color: rgba(13,27,62,0.55);
  display: flex;
  gap: 14px;
}

/* ==========================================
   DEMO PAGE
   ========================================== */

.demo-section {
  padding: 80px 80px;
  text-align: center;
}

.demo-form-wrap {
  max-width: 600px;
  margin: 60px auto 0;
  background: #f5f7fb;
  border: 1px solid rgba(13,27,62,0.1);
  border-radius: 24px;
  padding: 50px 40px;
}

.demo-form-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy-dark);
}

.demo-form-subtitle {
  font-size: 0.9rem;
  color: rgba(13,27,62,0.6);
  margin-bottom: 36px;
}

/* ==========================================
   RESPONSIVE INNER PAGES
   ========================================== */

@media (max-width: 1024px) {
  .products-detail-section,
  .services-detail-section,
  .clients-section,
  .about-section,
  .certs-section,
  .team-section,
  .contact-section,
  .videos-section,
  .demo-section,
  .map-section { padding: 60px 50px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .products-detail-section,
  .services-detail-section,
  .clients-section,
  .about-section,
  .certs-section,
  .team-section,
  .contact-section,
  .videos-section,
  .demo-section,
  .map-section { padding: 50px 20px; }

  .service-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-tabs { overflow-x: auto; }
}

/* ==========================================
   CONTACT — فرم و تصویر
   ========================================== */
.contact-sample { padding: 50px 80px 80px; background: #fff; }
.contact-sample-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}
.contact-sample-form { display: flex; flex-direction: column; }
.contact-sample-form form { display: flex; flex-direction: column; flex: 1; }
.contact-sample-title { font-size: 1.15rem; font-weight: 400; color: rgba(13,27,62,0.6); margin: 0 0 26px; }
.cs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cs-group { margin-bottom: 4px; }
.cs-grow { flex: 1; display: flex; flex-direction: column; }
.cs-label { display: block; font-size: 0.95rem; color: var(--navy-dark); margin-bottom: 8px; }
.cs-input {
  width: 100%; box-sizing: border-box; background: #f8f8f8; border: 1px solid transparent;
  border-radius: 0; padding: 0 14px; height: 50px; font-family: var(--font-main);
  font-size: 0.9rem; color: var(--navy-dark); margin-bottom: 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cs-input:focus { border-color: var(--gold); background: #fff; }
.cs-select { appearance: none; -webkit-appearance: none; cursor: pointer; color: rgba(13,27,62,0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' stroke='%23555' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-left: 40px; }
.cs-textarea { flex: 1; height: auto; min-height: 220px; padding: 14px; resize: vertical; line-height: 1.8; }
.cs-submit {
  align-self: flex-end; background: #f68b0d; color: #fff; border: 0;
  padding: 0 44px; height: 50px; font-family: var(--font-main); font-weight: 700; font-size: 1rem;
  cursor: pointer; margin-top: 8px; transition: background 0.2s;
}
.cs-submit:hover { background: #d97506; }
.contact-sample-img { border-radius: 14px; overflow: hidden; min-height: 420px; }
.contact-sample-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .contact-sample { padding: 40px 30px 60px; } .contact-sample-grid { grid-template-columns: 1fr; } .contact-sample-img { order: -1; min-height: 300px; max-height: 420px; } }
@media (max-width: 600px) { .contact-sample { padding: 30px 20px 50px; } .cs-row { grid-template-columns: 1fr; } }

.contact-sample-head { max-width: 1400px; margin: 0 auto 40px; text-align: right; }
picture{display:block;width:100%;height:100%}

/* ==========================================
   محصولات بند الف — لیست بخش‌ها و پنل توضیحات
   ========================================== */
.product-detail-grid.has-panel { align-items: start; }
.feature-tab {
  width: 100%; text-align: right; background: none; border: 0; cursor: pointer;
  font-family: var(--font-main); align-items: center; padding: 10px 12px; min-height: 0;
  border-bottom: 1px solid rgba(13,27,62,0.07); transition: background 0.2s;
}
.feature-tab .feature-check { width: 32px; height: 32px; margin-top: 0; font-weight: 700; font-size: 0.8rem; }
.feature-tab .feature-text { flex: 1; }
.feature-tab .feature-text h4 { margin: 0; color: var(--navy-dark); font-size: 1rem; }
.feature-arrow { color: rgba(13,27,62,0.35); font-size: 1.4rem; transition: transform 0.2s, color 0.2s; }
.feature-tab:hover { background: rgba(13,27,62,0.03); }
/* آیکون‌ها: در حالت عادی خاکستری و بدون دایره؛ در حالت فعال آبی سرمه‌ای */
.feature-tab .feature-check { background: none; border-radius: 0; color: #8b92a5; transition: color 0.25s; }
.feature-tab .feature-check svg { width: 22px; height: 22px; }
.feature-tab:hover .feature-check { color: #5d6785; }
/* نوار فعال: گرادینت آبی به آبی کمرنگ، متحرک (کم‌رنگ‌تر شده) */
.feature-tab.active {
  background: linear-gradient(100deg, #cfe2ff 0%, #e3eeff 35%, #f3f7ff 50%, #e3eeff 65%, #cfe2ff 100%);
  background-size: 250% 100%;
  animation: ppBarFlow 4s linear infinite;
}
@keyframes ppBarFlow { from { background-position: 0% 0; } to { background-position: -250% 0; } }
@media (prefers-reduced-motion: reduce) { .feature-tab.active { animation: none; background-position: 40% 0; } }
.feature-tab.active .feature-check { background: none; color: var(--navy-text, #1b2a6b); }
.feature-tab.active .feature-text h4 { color: var(--navy-text, #1b2a6b); }
.feature-tab.active .feature-arrow { color: var(--navy-text, #1b2a6b); transform: translateX(-4px); }
.product-panel {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(13,27,62,0.10), inset 0 1px 0 rgba(255,255,255,0.85);
  padding: 32px;
  min-height: 420px;
}
.product-panel-title { font-size: 1.3rem; margin: 0 0 6px; color: var(--navy-dark); }
.product-panel-subtitle { font-size: 0.88rem; font-weight: 600; color: var(--gold); margin: 0 0 14px; letter-spacing: 0.01em; }
.product-panel-text { font-size: 0.93rem; line-height: 2; color: rgba(13,27,62,0.75); margin: 0 0 16px; text-align: justify; }
.product-panel-bullets { margin: 0 0 20px; padding-right: 0; list-style: none; display: grid; gap: 8px; }
.product-panel-bullets li { font-size: 0.88rem; color: rgba(13,27,62,0.72); padding-right: 20px; position: relative; line-height: 1.7; }
.product-panel-bullets li::before { content: ''; position: absolute; right: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.product-panel-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.product-panel-gallery[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.product-panel-gallery[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.pp-shot { position: relative; aspect-ratio: 1011 / 625; background: #eef0f5; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: rgba(13,27,62,0.3); }
.pp-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* لینک آموزش ویدیویی زیر کادر تصاویر پنل (سمت چپ) */
.pp-video-link { grid-column: 1 / -1; text-align: left; margin-top: 4px; }
.pp-video-link { font-size: 0.85rem; color: var(--navy-text, #1b2a6b); }
.pp-video-link a { display: inline; font-size: inherit; font-weight: 700; color: var(--gold, #e8a020); text-decoration: none; border-bottom: none; transition: color 0.2s, opacity 0.2s; }
.pp-video-link a:hover { opacity: 0.75; }
@media (max-width: 600px) { .product-panel { padding: 20px; } .product-panel-gallery, .product-panel-gallery[data-count] { grid-template-columns: 1fr; } .pp-video-link { text-align: right; } }

:root { --navy-text: #1b2a6b; }
.feature-tab .feature-text h4, .product-panel-title { color: var(--navy-text); }
.product-panel-text { color: rgba(27,42,107,0.85); }
.feature-tab.active .feature-text h4 { color: var(--navy-text); }

/* ─── CTA Section ─── */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #0d1b3e 0%, #1b2a6b 60%, #0d1b3e 100%);
  text-align: center;
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-label {
  font-size: 0.9rem;
  color: rgba(255, 170, 120, 0.85);
  letter-spacing: 0.04em;
  margin: 0;
}
.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 30px rgba(246,139,13, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(246,139,13, 0.55);
}
@media (max-width: 600px) {
  .cta-section { padding: 56px 20px; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

/* انیمیشن‌های صفحهٔ محصولات بند الف */
.feature-tab { opacity: 0; transform: translateX(28px); }
.product-feature-list.in .feature-tab { animation: ppSlideIn 0.6s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(var(--i) * 80ms); }
.product-feature-list.in .feature-tab.active { animation: ppSlideIn 0.6s cubic-bezier(.22,.61,.36,1) both, ppBarFlow 4s linear infinite; animation-delay: calc(var(--i) * 80ms), 0s; }
@keyframes ppSlideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.product-panel.pp-enter .product-panel-title { animation: ppUp 0.5s ease both; }
.product-panel.pp-enter .product-panel-text { animation: ppUp 0.6s ease 0.12s both; }
.product-panel.pp-enter .pp-shot { animation: ppUp 0.6s ease both; animation-delay: calc(0.25s + var(--j) * 0.12s); }
@keyframes ppUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .feature-tab { opacity: 1; transform: none; animation: none !important; } .product-panel.pp-enter * { animation: none !important; } }

/* ─── صفحهٔ طراحی فروشگاه آنلاین: متن + اسلایدر تصاویر ─── */
.shop-grid { grid-template-columns: 1fr minmax(320px, 440px); align-items: start; column-gap: 60px; row-gap: 0; }
.shop-head { grid-column: 1; grid-row: 1; }
.shop-body { grid-column: 1; grid-row: 2; }
.shop-list-title { font-size: 1.1rem; font-weight: 700; margin: 34px 0 10px; color: var(--navy-text, #1b2a6b); }
.shop-body > .shop-list-title:first-child { margin-top: 30px; }
.shop-list { list-style-type: persian; padding-inline-start: 1.6em; margin: 0; }
.shop-list li { padding: 9px 0; border-bottom: 1px solid rgba(13,27,62,0.07); font-size: 0.92rem; line-height: 1.9; color: rgba(13,27,62,0.75); }
.shop-list li::marker { color: var(--gold); font-weight: 700; }
.shop-list li:last-child { border-bottom: none; }
.shop-slider {
  grid-column: 2; grid-row: 1 / span 2; margin-top: 0; position: sticky; top: 110px; width: 100%; aspect-ratio: 1058 / 1298;
  border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.78); box-shadow: 0 8px 40px rgba(13,27,62,0.10);
}
.shop-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.shop-slider img.active { opacity: 1; }
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-head, .shop-body, .shop-slider { grid-column: 1; }
  .shop-slider { grid-row: 2; position: relative; top: 0; max-width: 440px; margin: 30px auto 0; }
  .shop-body { grid-row: 3; }
}

/* پشتیبانی سخت‌افزار: متن سمت راست، تصویر سمت چپ (در فارسی و انگلیسی) */
.support-split { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: start; direction: ltr; max-width: 1400px; margin: 0 auto; position: relative; }
.support-split-text { direction: rtl; text-align: right; }
html[dir="ltr"] .support-split-text { direction: ltr; text-align: left; }
.support-split-desc { font-size: 1.1rem; line-height: 2.2; color: rgba(13,27,62,0.78); margin: 18px 0 0; text-align: justify; }
.hw-service-list { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: hw-counter; display: flex; flex-direction: column; gap: 10px; }
.hw-service-list li { counter-increment: hw-counter; display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; line-height: 1.8; color: rgba(13,27,62,0.82); }
.hw-service-list li::before { content: counter(hw-counter); min-width: 28px; height: 28px; border-radius: 50%; background: rgba(246,139,13,0.12); color: var(--gold-dark, #c47800); font-size: .85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
/* لیست گلوله‌دار (ul) — بدون شماره */
ul.hw-service-list li::before { content: ''; width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--gold, #e8a020); margin-top: 8px; }
.support-split-img { border-radius: 18px; overflow: hidden; box-shadow: 0 8px 40px rgba(13,27,62,0.14); aspect-ratio: 4 / 4.4; max-height: 600px; background: #eef0f5; }
.support-split-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .support-split { grid-template-columns: 1fr; gap: 36px; }
  .support-split-text { order: -1; }
  .support-split-img { aspect-ratio: 4 / 3; max-height: 420px; }
}

.support-split-img[data-slider] { position: relative; }
.support-split-img[data-slider] img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.support-split-img[data-slider] img.active { opacity: 1; }

/* ==========================================
   واحدهای سازمانی — کادرها بدون لبهٔ نارنجی
   ========================================== */
.unit-list { counter-reset: unit; display: flex; flex-direction: column; gap: 28px; max-width: 1400px; margin: 40px auto 0; position: relative; }
.unit-card {
  counter-increment: unit;
  background: #fff;
  border: 1px solid rgba(246,139,13,0.25);
  border-radius: 18px;
  padding: 32px 36px 36px;
  box-shadow: 0 6px 28px rgba(13,27,62,0.05);
}
.unit-title { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; color: var(--navy-dark); }
.unit-title::before {
  content: counter(unit);
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: .95rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.unit-desc { margin: 0 0 18px; font-size: .95rem; line-height: 2.1; color: rgba(13,27,62,0.65); }
.unit-sub { margin: 22px 0 14px; font-size: .95rem; font-weight: 700; color: var(--navy-dark); }
.unit-items { list-style: none; counter-reset: item; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.unit-items li {
  counter-increment: item;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; min-height: 70px;
  background: #fafbfd; border: 1px solid rgba(246,139,13,0.25); border-radius: 12px;
  font-size: .9rem; line-height: 1.8; color: var(--navy-dark);
}
.unit-items li::before {
  content: counter(item);
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: .85rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .unit-card { padding: 24px 20px 28px; }
  .unit-items { grid-template-columns: 1fr; }
}

/* ==========================================
   تاریخچه شرکت
   ========================================== */
.history-grid { align-items: center; gap: 60px; }
.history-visual { border-radius: 18px; overflow: hidden; box-shadow: 0 8px 40px rgba(13,27,62,0.12); }
.history-visual img { display: block; width: 100%; height: auto; }
.hist-heading { margin: 28px 0 20px; font-size: 1.15rem; font-weight: 700; color: var(--navy-dark); }
.hist-services { padding-top: 32px; }

/* فهرست شماره‌دار (محصولات و خدمات) */
.hist-products:not(.unit-items), .hist-list { list-style: none; counter-reset: hl; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hist-products:not(.unit-items) li, .hist-list li {
  counter-increment: hl; display: flex; align-items: center; gap: 14px;
  font-size: .92rem; line-height: 1.9; color: rgba(13,27,62,0.75);
}
.hist-products:not(.unit-items) li::before, .hist-list li::before {
  content: counter(hl); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(246,139,13,0.14); color: var(--gold); font-size: .8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* آکاردئون خدمات انفورماتیکی */
.hist-accs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; margin-top: 40px; max-width: 1400px; }
.hist-acc { background: #fff; border: 1px solid rgba(13,27,62,0.1); border-radius: 8px; box-shadow: 0 4px 22px rgba(13,27,62,0.04); transition: border-color .25s, box-shadow .25s; }
.hist-acc[open] { border-color: var(--gold-light); box-shadow: 0 8px 30px rgba(246,139,13,0.10); }
.hist-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 26px; }
.hist-acc summary::-webkit-details-marker { display: none; }
.hist-acc-title { flex: 1; font-size: .98rem; font-weight: 700; color: var(--navy-dark); }
.hist-acc-rank { flex: none; padding: 5px 16px; border-radius: 50px; background: rgba(246,139,13,0.12); color: var(--gold); font-size: .72rem; font-weight: 700; }
/* رتبه ۳ و ۴: طوسی کمرنگ */
.hist-acc-rank--muted { background: rgba(100,110,130,0.1); color: rgba(80,90,110,0.65); }
.hist-acc summary::after { content: "›"; flex: none; color: var(--gold); font-size: 2rem; line-height: .8; transition: transform .25s; }
.hist-acc[open] summary::after { transform: scaleX(-1); }
.hist-acc .hist-list { padding: 4px 26px 26px; }
.hist-note { margin: 28px 0 0; font-size: .82rem; color: rgba(13,27,62,0.5); }
html[dir="ltr"] .hist-acc summary::after { content: "›"; }
@media (max-width: 900px) {
  .hist-accs { grid-template-columns: 1fr; }
  .history-grid { gap: 30px; }
}

/* ==========================================
   گالری گواهینامه‌ها و تقدیرنامه‌ها
   ========================================== */
.doc-gallery { display: flex; gap: 24px; align-items: flex-start; margin-top: 50px; }
.doc-fig { flex: var(--ar, 0.7) 1 0; min-width: 0; margin: 0; }
.doc-zoom {
  display: block; width: 100%; padding: 12px; margin: 0; font: inherit;
  background: #fff; border: 1px solid rgba(246,139,13,0.25); border-radius: 12px;
  box-shadow: 0 6px 24px rgba(13,27,62,0.05); cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
button.doc-zoom:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(13,27,62,0.12); }
.doc-zoom img { display: block; width: 100%; height: auto; border-radius: 4px; }
.doc-fig figcaption { margin-top: 14px; text-align: center; font-size: .85rem; line-height: 1.8; color: rgba(13,27,62,0.55); }
@media (max-width: 900px) {
  .doc-gallery { flex-wrap: wrap; justify-content: center; }
  .doc-fig { flex: 0 1 calc(50% - 12px); }
}
@media (max-width: 560px) { .doc-fig { flex-basis: 100%; } }

/* نمایش بزرگ تصویر (lightbox) — div معمولی با z-index کمتر از کرسر سفارشی (10000) */
.lightbox { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8,17,42,0.9); color: #fff; text-align: center; }
.lightbox[hidden] { display: none; }
html.lightbox-open { overflow: hidden; }
.lightbox-fig { margin: 0; max-width: min(92vw, 1400px); }
.lightbox-img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 8px; background: #fff; box-shadow: 0 10px 50px rgba(0,0,0,.45); }
.lightbox-cap { margin: 12px 0 0; font-size: .9rem; }
.lightbox-cap:empty { display: none; }
.lightbox-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-nav { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox-nav:hover { background: var(--gold); }
.lightbox-nav[hidden] { display: none; }
@media (max-width: 600px) { .lightbox { padding: 12px; gap: 6px; } .lightbox-nav { width: 36px; height: 36px; font-size: 1.6rem; } }


/* ==========================================
   صفحات خدمات: تراز بالای عکس با بالای متن، و چیدمان انگلیسی
   ========================================== */
.services-detail-section .product-detail-grid:not(.shop-grid) { align-items: start; }
.services-detail-section .support-split { align-items: start; }
@media (min-width: 901px) {
  /* انگلیسی: متن سمت چپ (هم‌تراز با عنوان صفحه)، عکس سمت راست */
  html[dir="ltr"] .support-split { grid-template-columns: 7fr 5fr; max-width: none; margin: 0; }
  html[dir="ltr"] .support-split-text { order: -1; }
}
/* زبانهٔ آبی و breadcrumb زیر هیرو روی عکس/متن نیفتد */
@media (min-width: 1025px) { .services-detail-section { padding-top: 160px; } }

/* صفحهٔ دمو: فقط سه ویدئو */
.demo-videos-section { padding-top: 60px; }
@media (min-width: 1025px) { .demo-videos-section { padding-top: 160px; } }
.demo-video-grid { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.demo-video { margin: 0; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 12px 36px rgba(13,27,62,.18); }
.demo-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.demo-video figcaption { padding: 14px 16px; font-size: 15px; font-weight: 600; text-align: center; color: var(--text-dark, #0d1b3e); background: #fff; }
@media (max-width: 1024px) { .demo-video-grid { grid-template-columns: 1fr; max-width: 720px; } }

/* پیام وضعیت فرم تماس */
.cs-status { min-height: 1.6em; margin: 0 0 12px; font-size: .92rem; line-height: 1.7; }
.cs-status.is-ok { color: #1a7f4b; }
.cs-status.is-err { color: #c0392b; }


/* ─── دموی نرم‌افزار: کاور ویدئو با دایرهٔ نارنجی و مثلث سفید در مرکز ─── */
.demo-video-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.demo-video-media video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.demo-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%;
  background: var(--gold, #f68b0d); box-shadow: 0 4px 16px rgba(246,139,13,.45);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .2s, background .2s;
}
.demo-play svg { width: 24px; height: 24px; fill: #fff; display: block; }
.demo-play:hover, .demo-play:focus-visible { background: var(--gold-light, #f9a64a); transform: translate(-50%, -50%) scale(1.08); }
.demo-video-media.is-playing .demo-play { display: none; }
.pp-catalog { display: flex; }

/* ==========================================
   محصولات — موبایل: آکاردئون (توضیحات هر آیتم زیر خودش باز می‌شود)
   js/products-accordion.js
   ========================================== */
@media (max-width: 768px) {
  .product-feature-list .feature-tab { padding: 14px 12px; }
  /* فلش: با border رسم می‌شود (مستقل از جهت RTL/LTR و فونت): رو به پایین = بسته، رو به بالا = باز */
  .product-feature-list .feature-tab .feature-arrow {
    font-size: 0; width: 9px; height: 9px; flex: none; margin: 0 6px 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .25s, color .2s;
  }
  .product-feature-list .feature-tab.active .feature-arrow { transform: rotate(-135deg) translate(-2px, -2px); margin-bottom: 0; }
  .product-panel.pp-acc {
    opacity: 1 !important; transform: none !important; visibility: visible !important;
    min-height: 0; margin: 6px 0 14px !important; padding: 20px 18px;
  }
  .product-panel.pp-acc .product-panel-title { font-size: 1.1rem; }
}
