/* درباره ما — چیدمان مارکتینگ نامتقارن کارنو پلاس */
.page-about {
  --about-ink: #062e2c;
  --about-body: #3d5653;
  --about-teal: #0a7a72;
  --about-deep: #003d3d;
  --about-line: rgba(6, 46, 44, 0.12);
  --about-soft: #f3faf8;
  --about-accent: #e8920a;
  background: #f7fbfa;
}

.page-about .section__head {
  text-align: right;
  max-width: none;
  margin: 0 0 2rem;
}

/* ─── Hero ─── */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + var(--vote-bar-h, 0px) + 1.5rem) 0 0;
  color: #f7fffc;
  background:
    radial-gradient(ellipse 80% 60% at 8% 20%, rgba(85, 201, 195, 0.24), transparent 58%),
    radial-gradient(ellipse 55% 50% at 92% 8%, rgba(232, 146, 10, 0.2), transparent 52%),
    linear-gradient(155deg, #001f1f 0%, #003838 46%, #0a5a53 100%);
}

.about-hero__glow {
  position: absolute;
  inset: auto -12% -40% 30%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(232, 146, 10, 0.2), transparent 65%);
  pointer-events: none;
  animation: about-glow 9s ease-in-out infinite alternate;
}

.about-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 88%);
  pointer-events: none;
}

.about-hero__watermark {
  position: absolute;
  left: clamp(-40px, 2vw, 40px);
  top: 50%;
  transform: translateY(-52%);
  width: min(42vw, 420px);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  filter: saturate(1.05);
  animation: about-mark 10s ease-in-out infinite alternate;
}

.about-hero__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 0;
}

.about-hero__copy {
  max-width: 40rem;
  padding-bottom: 0.5rem;
}

.about-hero__eyebrow {
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f0b45a;
}

.about-hero__eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: #f0b45a;
}

.about-hero__brand {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: clamp(2.75rem, 6.2vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}

.about-hero__tag {
  margin: 0.7rem 0 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #7fe0d8;
}

.about-hero__headline {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.6;
  color: rgba(247, 255, 252, 0.95);
}

.about-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.95;
  color: rgba(247, 255, 252, 0.72);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-hero__strip {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.22));
}

.about-hero__strip li {
  padding: 0.35rem 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__strip li:last-child {
  border-left: 0;
}

.about-hero__strip strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.about-hero__strip span {
  font-size: 0.82rem;
  color: rgba(247, 255, 252, 0.62);
}

@keyframes about-mark {
  from { transform: translateY(-52%) translateX(0); opacity: 0.12; }
  to { transform: translateY(-48%) translateX(12px); opacity: 0.18; }
}

/* ─── Shared editorial ─── */
.about-block {
  padding: 4.5rem 0;
}

.about-block--soft {
  background: #fff;
}

.about-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--about-accent);
}

.about-kicker--light {
  color: #f0b45a;
}

.about-h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--about-ink);
  line-height: 1.45;
}

.about-h2--light {
  color: #f4fffc;
}

.about-lead {
  margin: 0;
  max-width: 40rem;
  color: var(--about-body);
  font-size: 0.98rem;
  line-height: 1.85;
}

.about-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.about-text-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--about-teal);
  text-decoration: none;
}

.about-text-link:hover {
  color: var(--about-deep);
}

/* ─── Who split ─── */
.about-split {
  display: grid;
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.4fr);
  gap: 2.5rem 3.5rem;
  align-items: start;
}

.about-split__rail {
  position: sticky;
  top: 5.5rem;
  padding: 1.5rem 0 0;
  border-top: 3px solid var(--about-teal);
}

.about-split__year {
  margin: 0.35rem 0 1.1rem;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--about-ink);
  line-height: 1.15;
}

.about-split__year em {
  font-style: normal;
  color: var(--about-teal);
}

.about-split__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-split__cities li {
  font-weight: 700;
  color: var(--about-body);
  font-size: 0.95rem;
}

.about-split__body p {
  margin: 0 0 1.05rem;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--about-body);
}

.about-split__body p strong {
  color: var(--about-ink);
}

/* ─── Stats band ─── */
.about-band {
  padding: 3rem 0;
  background:
    linear-gradient(100deg, #013636 0%, #0a5a53 100%);
  color: #f4fffc;
}

.about-band__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.4fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.about-band__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}

.about-band__stats li {
  padding: 0.35rem 0;
  border-right: 2px solid rgba(240, 180, 90, 0.55);
  padding-right: 0.85rem;
}

.about-band__stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.about-band__stats span {
  font-size: 0.82rem;
  color: rgba(244, 255, 252, 0.7);
}

/* ─── Timeline ─── */
.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.about-timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  right: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--about-teal), rgba(10, 122, 114, 0.15));
}

.about-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.25rem;
  padding: 0 1.75rem 1.75rem 0;
}

.about-timeline li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--about-teal);
  box-shadow: 0 0 0 4px rgba(10, 122, 114, 0.15);
}

.about-timeline__mark {
  font-weight: 800;
  color: var(--about-teal);
  font-size: 1rem;
  padding-top: 0.15rem;
}

.about-timeline__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--about-ink);
}

.about-timeline__content p {
  margin: 0;
  color: var(--about-body);
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 46rem;
}

/* ─── Services editorial ─── */
.about-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--about-line);
}

.about-services article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  padding: 1.35rem 1.1rem 1.35rem 0;
  border-bottom: 1px solid var(--about-line);
}

.about-services article:nth-child(odd) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--about-line);
}

.about-services article:nth-child(even) {
  padding-right: 1.5rem;
}

.about-services span {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--about-accent);
  padding-top: 0.15rem;
}

.about-services h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--about-ink);
}

.about-services p {
  margin: 0;
  color: var(--about-body);
  line-height: 1.75;
  font-size: 0.92rem;
}

/* ─── Why ─── */
.about-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-why article {
  padding: 0.25rem 0 0.25rem 0;
  border-right: 3px solid var(--about-teal);
  padding-right: 1rem;
}

.about-why h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--about-ink);
}

.about-why p {
  margin: 0;
  color: var(--about-body);
  line-height: 1.8;
  font-size: 0.93rem;
}

/* ─── Closing CTA ─── */
.about-cta {
  padding: 4rem 0;
  background:
    radial-gradient(700px 280px at 15% 20%, rgba(232, 146, 10, 0.18), transparent 60%),
    linear-gradient(120deg, #012828 0%, #0a5a53 100%);
  color: #f4fffc;
}

.about-cta__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-cta__text {
  margin: 0 0 1.35rem;
  max-width: 34rem;
  line-height: 1.85;
  color: rgba(244, 255, 252, 0.8);
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.about-cta__branches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.about-cta__branches li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 20, 20, 0.28);
}

.about-cta__branches strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.02rem;
}

.about-cta__branches span {
  font-size: 0.88rem;
  color: rgba(244, 255, 252, 0.7);
}

/* ─── Motion (محتوا همیشه خوانا؛ انیمیشن فقط وقتی JS فعال است) ─── */
.reveal {
  opacity: 1;
  transform: none;
}

html.about-anim .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

html.about-anim .reveal--delay:not(.is-in) {
  transition-delay: 0.1s;
}

html.about-anim .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes about-glow {
  from { opacity: 0.55; transform: translateX(0); }
  to { opacity: 1; transform: translateX(-4%); }
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .about-split,
  .about-band__inner,
  .about-cta__layout,
  .about-why {
    grid-template-columns: 1fr;
  }

  .about-hero__watermark {
    width: min(55vw, 280px);
    opacity: 0.1;
  }

  .about-hero__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero__strip li:nth-child(2) {
    border-left: 0;
  }

  .about-hero__strip li:nth-child(3),
  .about-hero__strip li:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.9rem;
  }

  .about-split__rail {
    position: static;
  }

  .about-services {
    grid-template-columns: 1fr;
  }

  .about-services article:nth-child(odd),
  .about-services article:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .about-band__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding: calc(var(--nav-h) + var(--vote-bar-h, 0px) + 1.1rem) 0 0;
  }

  .about-hero__shell {
    gap: 2.25rem;
  }

  .about-hero__watermark {
    display: none;
  }

  .about-timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-right: 1.5rem;
  }

  .about-band__stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-hero__actions .btn,
  .about-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--delay,
  .about-hero__glow,
  .about-hero__watermark {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .about-hero__watermark {
    opacity: 0.12 !important;
    transform: translateY(-52%) !important;
  }
}

/* ─── پیش‌نمایش + کمپین رأی جوان پلاس ─── */
.about-preview-flag {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3b2a08;
  background: #f6d48a;
  border-bottom: 1px solid rgba(59, 42, 8, 0.12);
}

.page-about-preview .topbar {
  top: 0;
}

.vote-campaign {
  padding: calc(var(--nav-h) + var(--vote-bar-h) + 1.75rem) 0 3.75rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(232, 146, 10, 0.08), transparent 55%),
    linear-gradient(180deg, #f7fbfa 0%, #eef6f4 100%);
}

.vote-campaign__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}

.vote-campaign__portrait {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #003838;
  box-shadow: 0 18px 40px rgba(0, 45, 45, 0.16);
}

.vote-campaign__portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.vote-campaign__panel {
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 22px;
  color: #f4fffc;
  background:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(232, 146, 10, 0.22), transparent 50%),
    linear-gradient(160deg, #002a2a 0%, #004d4d 58%, #0a6363 100%);
  box-shadow: 0 18px 40px rgba(0, 45, 45, 0.14);
}

.vote-campaign__stamp {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #3b2a08;
  background: #f0b45a;
  border-radius: 999px;
  white-space: nowrap;
  transform: none;
}

.vote-campaign__panel h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
}

.vote-campaign__role {
  margin: 0 0 1.1rem;
  color: #7fe0d8;
  font-weight: 600;
}

.vote-campaign__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.vote-campaign__facts li {
  padding: 0.7rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.vote-campaign__facts span {
  display: block;
  font-size: 0.72rem;
  color: rgba(244, 255, 252, 0.65);
}

.vote-campaign__facts strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.98rem;
}

.vote-campaign__bio {
  margin: 0 0 1rem;
  line-height: 1.9;
  color: rgba(244, 255, 252, 0.88);
  font-size: 0.95rem;
}

.vote-campaign__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.vote-campaign__highlights li {
  padding: 0.32rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d9f6f2;
  border: 1px solid rgba(127, 224, 216, 0.35);
  border-radius: 999px;
}

.vote-box {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vote-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.vote-box__kicker {
  font-size: 0.75rem;
  font-weight: 800;
  color: #b45309;
}

.vote-box strong {
  color: #003d3d;
  font-size: 1.08rem;
}

.vote-box__meta {
  color: #5f7575;
  font-size: 0.86rem;
}

.vote-box__btn {
  margin-top: 0.45rem;
  justify-self: start;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0a7a72, #004d4d);
  border-radius: 999px;
}

.vote-resume-wrap {
  margin-top: 0.15rem;
}

.vote-resume__label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0a7a72;
}

.vote-resume {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: vote-item;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.vote-resume li {
  counter-increment: vote-item;
  min-width: 0;
  margin: 0;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--about-line);
  border-right: 3px solid #0a7a72;
  border-radius: 14px;
  line-height: 1.9;
  color: var(--about-body);
  text-align: justify;
  text-justify: inter-word;
}

.vote-resume li::before {
  content: counter(vote-item, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: 0.45rem;
  vertical-align: -0.15em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0a7a72;
  background: rgba(10, 122, 114, 0.1);
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}

.vote-resume strong {
  color: var(--about-ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .vote-campaign__layout {
    grid-template-columns: 1fr;
  }

  .vote-resume {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vote-campaign__facts {
    grid-template-columns: 1fr;
  }

  .page-about-preview .topbar {
    top: 0;
  }
}
