/* صفحه داستان ما — تایم‌لاین و تیم */

.page-about #main > .container:first-child {
  display: none;
}

.page-about .story-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 0.35rem;
  background: var(--brand-bright);
}

.page-about .story-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.08), transparent 40%);
  pointer-events: none;
}

.page-about .story-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.75rem 0 2.25rem;
  color: #fff;
}

.page-about .story-hero-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.page-about .story-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
  color: #fff;
  line-height: 1.28;
}

.page-about .story-hero-lead {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  line-height: 1.85;
  opacity: 0.94;
}

.page-about .story-body {
  padding: 0 0 3rem;
}

.page-about .story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: -1.1rem 0 2rem;
  position: relative;
  z-index: 2;
}

.page-about .story-stat {
  background: var(--surface-strong, #fff);
  border: 1px solid var(--line, #dfe8e2);
  border-radius: 14px;
  padding: 0.85rem 0.65rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(32, 40, 34, 0.06);
}

.page-about .story-stat strong {
  display: block;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--brand, #81B061);
  line-height: 1.2;
}

.page-about .story-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text, #1a1f1c);
}

.page-about .story-stat small {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  color: var(--text-muted, #5c6560);
}

.page-about .story-intro {
  margin: 0 0 2.5rem;
}

.page-about .story-intro-grid {
  display: grid;
  grid-template-columns: 1fr min(22rem, 40%);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.page-about .story-intro-content {
  text-align: right;
}

.page-about .story-intro-content h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
}

.page-about .story-intro-content p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted, #5c6560);
}

.page-about .story-intro-content p:last-of-type {
  margin-bottom: 1.35rem;
}

.page-about .story-intro-media {
  margin: 0;
}

.page-about .story-intro-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow, 0 8px 28px rgba(0, 0, 0, 0.1));
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-about .story-quote {
  margin: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #c9a66b 40%, var(--line) 60%);
  background: linear-gradient(135deg, #fffdf8 0%, #fff 60%);
  text-align: right;
}

.page-about .story-quote-text {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 700;
  color: var(--brand, #81B061);
  line-height: 1.4;
}

.page-about .story-quote-caption {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted, #5c6560);
}

/* تایم‌لاین */
.page-about .story-timeline {
  margin-bottom: 2.75rem;
}

.page-about .story-timeline-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.page-about .story-timeline-heading h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.page-about .story-timeline-heading p {
  margin: 0;
  color: var(--text-muted, #5c6560);
  font-size: 0.9rem;
}

.page-about .story-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-about .story-timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.1rem;
  width: 3px;
  border-radius: 999px;
  background: var(--brand);
}

.page-about .story-timeline-item {
  position: relative;
  padding: 0 2.75rem 1.35rem 0;
}

.page-about .story-timeline-item:last-child {
  padding-bottom: 0;
}

.page-about .story-timeline-dot {
  position: absolute;
  right: 0.55rem;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--surface-strong, #fff);
  border: 3px solid var(--brand, #81B061);
  box-shadow: 0 0 0 4px rgba(129, 176, 97, 0.12);
  z-index: 1;
}

.page-about .story-timeline-item.is-highlight .story-timeline-dot {
  border-color: #c9a66b;
  box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.25);
  transform: scale(1.1);
}

.page-about .story-timeline-card {
  background: var(--surface-strong, #fff);
  border: 1px solid var(--line, #dfe8e2);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 10px 28px rgba(32, 40, 34, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  direction: rtl;
  text-align: right;
}

.page-about .story-timeline-item.is-highlight .story-timeline-card {
  border-color: color-mix(in srgb, #c9a66b 45%, var(--line) 55%);
  background: linear-gradient(135deg, #fffdf8 0%, #fff 55%);
}

.page-about .story-timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(32, 40, 34, 0.09);
}

.page-about .story-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.45rem;
}

.page-about .story-timeline-year {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-light, #e8f2ea);
  color: var(--brand, #81B061);
  font-size: 0.78rem;
  font-weight: 700;
}


.page-about .story-timeline-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
}

.page-about .story-timeline-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--text-muted, #5c6560);
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  hyphens: auto;
}

/* تیم */
.page-about .story-team {
  margin-bottom: 2rem;
}

.page-about .story-team-heading {
  text-align: center;
  margin-bottom: 1.35rem;
}

.page-about .story-team-heading h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.page-about .story-team-heading p {
  margin: 0;
  color: var(--text-muted, #5c6560);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-about .story-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.page-about .story-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem 1.1rem;
  background: var(--surface-strong, #fff);
  border: 1px solid var(--line, #dfe8e2);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(32, 40, 34, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-about .story-team-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line) 65%);
}

.page-about .story-team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  margin-bottom: 0.75rem;
}

.page-about .story-team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.page-about .story-team-role {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted, #5c6560);
}

.page-about .story-team-count {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface-soft, #f5f8f6);
  color: var(--brand, #81B061);
}

.page-about .story-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--surface-soft, #f5f8f6);
  border-radius: 16px;
  border: 1px solid var(--line, #dfe8e2);
}

.page-about .story-cta p {
  flex: 1 1 100%;
  margin: 0 0 0.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted, #5c6560);
}

@media (min-width: 900px) {
  .page-about .story-timeline-list::before {
    right: 50%;
    transform: translateX(50%);
  }

  .page-about .story-timeline-item {
    padding: 0 0 1.75rem;
    width: 50%;
    clear: both;
  }

  .page-about .story-timeline-item:nth-child(odd) {
    float: right;
    padding-left: 2.5rem;
    padding-right: 0;
  }

  .page-about .story-timeline-item:nth-child(even) {
    float: left;
    padding-right: 2.5rem;
    padding-left: 0;
  }

  .page-about .story-timeline-item:nth-child(odd) .story-timeline-dot,
  .page-about .story-timeline-item:nth-child(even) .story-timeline-dot {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .page-about .story-timeline-item.is-highlight .story-timeline-dot {
    transform: translateX(-50%) scale(1.1);
  }

  .page-about .story-timeline-list::after {
    content: "";
    display: table;
    clear: both;
  }
}

@media (max-width: 768px) {
  .page-about .story-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about .story-intro-grid {
    grid-template-columns: 1fr;
  }

  .page-about .story-intro-media {
    order: -1;
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  .page-about .story-hero-inner {
    padding: 1.5rem 0 1.35rem;
  }

  .page-about .story-stats {
    margin-top: -0.75rem;
  }

  .page-about .story-timeline-list::before {
    right: 0.85rem;
  }

  .page-about .story-timeline-item {
    padding-right: 2.35rem;
  }

  .page-about .story-timeline-dot {
    right: 0.3rem;
  }
}

/* ارزش‌ها و ماموریت */
.page-about .about-section-title {
  margin: 0 0 1.15rem;
  text-align: center;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
}

.page-about .about-pillars {
  margin-bottom: 2.25rem;
}

.page-about .about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.page-about .about-pillar-card {
  padding: 1.15rem 1.1rem;
  background: var(--surface-strong, #fff);
  border: 1px solid var(--line, #dfe8e2);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(32, 40, 34, 0.05);
  direction: rtl;
  text-align: right;
}

.page-about .about-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.65rem;
  border-radius: 12px;
  background: var(--brand-light, #e8f2ea);
  color: var(--brand, #81B061);
}

.page-about .about-pillar-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.page-about .about-pillar-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-muted, #5c6560);
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
}

.page-about .about-values {
  margin-bottom: 2.5rem;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line) 82%);
  background:
    linear-gradient(155deg, #f8fcf9 0%, #fff 42%, #fffdf8 100%);
  box-shadow: 0 12px 32px rgba(32, 40, 34, 0.05);
}

.page-about .about-values-heading {
  text-align: center;
  margin-bottom: 1.35rem;
}

.page-about .about-values-heading .about-section-title {
  margin-bottom: 0.35rem;
}

.page-about .about-values-heading p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted, #5c6560);
  line-height: 1.65;
}

.page-about .about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-about .about-value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.1rem 1rem 1.05rem;
  background: var(--surface-strong, #fff);
  border: 1px solid var(--line, #dfe8e2);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(32, 40, 34, 0.04);
  direction: rtl;
  text-align: right;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-about .about-value-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line) 68%);
  box-shadow: 0 10px 24px rgba(129, 176, 97, 0.08);
}

.page-about .about-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--brand, #81B061);
  background: linear-gradient(145deg, var(--brand-light, #e8f2ea) 0%, #fff 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}

.page-about .about-value-card:nth-child(2) .about-value-icon {
  color: #6b4423;
  background: linear-gradient(145deg, #fff8ee 0%, #fff 100%);
  border-color: color-mix(in srgb, #c9a66b 35%, transparent);
}

.page-about .about-value-card:nth-child(3) .about-value-icon {
  background: linear-gradient(145deg, #eef6ff 0%, #fff 100%);
  border-color: color-mix(in srgb, #3b7dd8 25%, transparent);
  color: #2a5f9e;
}

.page-about .about-value-card:nth-child(4) .about-value-icon {
  background: linear-gradient(145deg, #f5f0ff 0%, #fff 100%);
  border-color: color-mix(in srgb, #7c5cbf 22%, transparent);
  color: #5c4a8a;
}

.page-about .about-value-title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--text, #1a1f1c);
}

@media (max-width: 540px) {
  .page-about .about-values-grid {
    grid-template-columns: 1fr;
  }
}

.page-about .about-trust {
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--brand-bright, #1a5c38) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-bright, #1a5c38) 18%, transparent);
}

.page-about .about-trust-lead {
  margin: 0 0 1rem;
  line-height: 1.85;
  color: var(--text-muted, #4a554f);
}

.page-about .about-trust-faq-item {
  border-bottom: 1px solid color-mix(in srgb, var(--border, #e2e8e4) 80%, transparent);
  padding: 0.65rem 0;
}

.page-about .about-trust-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.page-about .about-trust-faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about .about-trust-faq-item p {
  margin: 0.5rem 0 0;
  line-height: 1.75;
  color: var(--text-muted, #4a554f);
}

@media (prefers-reduced-motion: reduce) {
  .page-about .story-timeline-card:hover,
  .page-about .story-team-card:hover,
  .page-about .about-value-card:hover {
    transform: none;
  }
}
