/* ============================================================
   About page — richer hierarchy, still on-brand with home/team
   ============================================================ */

body.page-about {
  --shell-teal: #024442;
  --shell-teal-mid: #0a514d;
  --shell-teal-deep: #013a3a;
  --shell-ink: #183331;
  --shell-muted: #677a78;
  --shell-line: #d5dfdd;
  --shell-line-strong: #c2cecb;
  --shell-soft: #f3f6f5;
  --shell-white: #ffffff;
  --shell-radius: 16px;
  --shell-radius-md: 22px;
  --shell-radius-lg: 28px;
  --shell-shadow: 0 12px 30px rgba(15, 62, 59, 0.07);
  --shell-shadow-hover: 0 18px 42px rgba(15, 62, 59, 0.12);
  --shell-content: 1100px;
  --shell-gutter: 24px;
  --shell-section-y: 72px;

  margin: 0;
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  background: var(--shell-soft);
  color: var(--shell-ink);
  line-height: 1.75;
}

body.page-about .chat-button,
body.page-about .chat-widget,
body.page-about #chatButton {
  display: none !important;
}

body.page-about .main-header {
  background: rgba(247, 248, 248, 0.92) !important;
  border-bottom: 1px solid var(--shell-line);
  box-shadow: none !important;
}

body.page-about .container:not(.nav-container) {
  width: min(var(--shell-content), calc(100% - 32px));
  max-width: var(--shell-content);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

/* ---------- Shared headings ---------- */
body.page-about .about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--shell-teal-mid);
  font-size: 0.88rem;
  font-weight: 700;
}

body.page-about .about-kicker::before,
body.page-about .about-kicker::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

body.page-about .about-kicker.light {
  color: rgba(255, 255, 255, 0.88);
}

body.page-about .about-heading {
  margin: 0 0 12px;
  color: var(--shell-teal-mid);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

body.page-about .about-heading.light {
  color: #fff;
}

body.page-about .about-lede {
  margin: 0;
  max-width: 40rem;
  color: var(--shell-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

body.page-about .section-head {
  margin-bottom: 32px;
  text-align: right;
}

/* ---------- Hero ---------- */
body.page-about .about-hero {
  position: relative;
  overflow: hidden;
  padding: 52px var(--shell-gutter) 40px;
  background:
    radial-gradient(ellipse 65% 60% at 100% 0%, rgba(2, 68, 66, 0.09), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(2, 68, 66, 0.04), transparent 50%),
    var(--shell-soft);
}

body.page-about .hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

body.page-about .hero-brand {
  margin: 0 0 4px;
  color: var(--shell-teal);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

body.page-about .about-hero h1 {
  margin: 0 0 12px;
  color: var(--shell-ink);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

body.page-about .about-hero .lead {
  margin: 0 0 22px;
  max-width: 34rem;
  color: var(--shell-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

body.page-about .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-about .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.page-about .hero-btn.primary {
  background: var(--shell-teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 68, 66, 0.22);
}

body.page-about .hero-btn.primary:hover {
  background: var(--shell-teal-deep);
  transform: translateY(-1px);
}

body.page-about .hero-btn.ghost {
  background: var(--shell-white);
  color: var(--shell-teal-mid);
  border: 1px solid var(--shell-line-strong);
}

body.page-about .hero-btn.ghost:hover {
  border-color: rgba(2, 68, 66, 0.35);
  transform: translateY(-1px);
}

body.page-about .hero-panel {
  border-radius: var(--shell-radius-lg);
  background:
    linear-gradient(160deg, var(--shell-teal) 0%, var(--shell-teal-deep) 100%);
  color: #fff;
  box-shadow: var(--shell-shadow-hover);
  overflow: hidden;
}

body.page-about .hero-panel-inner {
  height: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1), transparent 40%);
}

body.page-about .hero-panel-label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0.85;
}

body.page-about .hero-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

body.page-about .hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
}

body.page-about .hero-panel-list i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  flex-shrink: 0;
}

body.page-about .hero-panel-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ---------- Trust ---------- */
body.page-about .about-trust {
  padding: 0 var(--shell-gutter);
  margin-top: -8px;
  margin-bottom: -28px;
  position: relative;
  z-index: 2;
}

body.page-about .trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(194, 206, 203, 0.8);
  border-radius: var(--shell-radius-lg);
  background: var(--shell-white);
  box-shadow: var(--shell-shadow);
}

body.page-about .trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
}

body.page-about .trust-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0f6f4, #e4eeeb);
  border: 1px solid rgba(214, 224, 221, 0.9);
  color: var(--shell-teal-mid);
  font-size: 1.05rem;
  flex-shrink: 0;
}

body.page-about .trust-item strong {
  display: block;
  color: var(--shell-teal-mid);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

body.page-about .trust-item span {
  color: var(--shell-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- Story ---------- */
body.page-about .about-story {
  padding: calc(var(--shell-section-y) + 20px) var(--shell-gutter) var(--shell-section-y);
  background: var(--shell-white);
}

body.page-about .story-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;
}

body.page-about .story-blocks {
  display: grid;
  gap: 14px;
}

body.page-about .story-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(194, 206, 203, 0.75);
  border-radius: var(--shell-radius-md);
  background: var(--shell-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page-about .story-block:hover {
  border-color: rgba(83, 133, 125, 0.45);
  box-shadow: var(--shell-shadow);
  transform: translateY(-2px);
}

body.page-about .story-block-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--shell-white);
  border: 1px solid rgba(214, 224, 221, 0.9);
  color: var(--shell-teal-mid);
  font-size: 1.05rem;
}

body.page-about .story-block h3 {
  margin: 0 0 6px;
  color: var(--shell-teal-mid);
  font-size: 1.05rem;
  font-weight: 800;
}

body.page-about .story-block p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

body.page-about .story-aside {
  padding: 26px 22px;
  border-radius: var(--shell-radius-lg);
  background: var(--shell-teal);
  color: #fff;
  box-shadow: var(--shell-shadow-hover);
  position: sticky;
  top: 96px;
}

body.page-about .aside-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
}

body.page-about .story-aside h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
}

body.page-about .story-aside > p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.8;
}

body.page-about .aside-links {
  display: grid;
  gap: 8px;
}

body.page-about .aside-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

body.page-about .aside-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Pillars ---------- */
body.page-about .about-pillars {
  padding: var(--shell-section-y) var(--shell-gutter);
  background: var(--shell-soft);
}

body.page-about .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.page-about .pillar {
  padding: 24px 20px;
  border: 1px solid rgba(194, 206, 203, 0.75);
  border-radius: var(--shell-radius-md);
  background: var(--shell-white);
  box-shadow: var(--shell-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-about .pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 133, 125, 0.4);
  box-shadow: var(--shell-shadow-hover);
}

body.page-about .pillar-index {
  display: block;
  margin-bottom: 16px;
  color: #9aaba8;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.page-about .pillar h3 {
  margin: 0 0 8px;
  color: var(--shell-teal-mid);
  font-size: 1.1rem;
  font-weight: 800;
}

body.page-about .pillar p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* ---------- Roshdname (featured teal band) ---------- */
body.page-about .about-roshd {
  padding: var(--shell-section-y) var(--shell-gutter);
  background: var(--shell-white);
}

body.page-about .roshd-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
  padding: 32px 28px;
  border-radius: var(--shell-radius-lg);
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(145deg, var(--shell-teal) 0%, var(--shell-teal-deep) 100%);
  color: #fff;
  box-shadow: var(--shell-shadow-hover);
}

body.page-about .roshd-copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.85;
}

body.page-about .roshd-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

body.page-about .roshd-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 600;
}

body.page-about .roshd-points i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  flex-shrink: 0;
}

body.page-about .roshd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--shell-teal);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

body.page-about .roshd-cta:hover {
  background: #f3f6f5;
  transform: translateY(-1px);
}

body.page-about .roshd-visual {
  display: grid;
  gap: 12px;
}

body.page-about .roshd-metric {
  padding: 18px 16px;
  border-radius: var(--shell-radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

body.page-about .roshd-metric i {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

body.page-about .roshd-metric strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
}

body.page-about .roshd-metric span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- Services ---------- */
body.page-about .about-services {
  padding: var(--shell-section-y) var(--shell-gutter);
  background: var(--shell-soft);
}

body.page-about .services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-about .service-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 18px;
  border: 1px solid rgba(194, 206, 203, 0.75);
  border-radius: var(--shell-radius-md);
  background: var(--shell-white);
  box-shadow: var(--shell-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-about .service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(83, 133, 125, 0.4);
  box-shadow: var(--shell-shadow-hover);
}

body.page-about .service-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f0f6f4, #e4eeeb);
  border: 1px solid rgba(214, 224, 221, 0.85);
  color: var(--shell-teal-mid);
  font-size: 1.1rem;
}

body.page-about .service-row h3 {
  margin: 0 0 6px;
  color: var(--shell-teal-mid);
  font-size: 1.05rem;
  font-weight: 800;
}

body.page-about .service-row p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Values ---------- */
body.page-about .about-values {
  padding: var(--shell-section-y) var(--shell-gutter);
  background: var(--shell-white);
}

body.page-about .values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.page-about .value-item {
  padding: 22px 18px;
  border-radius: var(--shell-radius-md);
  background: var(--shell-soft);
  border: 1px solid rgba(194, 206, 203, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-about .value-item:hover {
  transform: translateY(-3px);
  background: var(--shell-white);
  border-color: rgba(83, 133, 125, 0.4);
  box-shadow: var(--shell-shadow);
}

body.page-about .value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--shell-white);
  border: 1px solid rgba(214, 224, 221, 0.9);
  color: var(--shell-teal-mid);
  font-size: 1rem;
}

body.page-about .value-item h3 {
  margin: 0 0 8px;
  color: var(--shell-teal-mid);
  font-size: 1.02rem;
  font-weight: 800;
}

body.page-about .value-item p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- Mission ---------- */
body.page-about .about-mission {
  padding: var(--shell-section-y) var(--shell-gutter);
  background: var(--shell-soft);
}

body.page-about .mission-block {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--shell-radius-lg);
  background: var(--shell-white);
  border: 1px solid rgba(194, 206, 203, 0.75);
  box-shadow: var(--shell-shadow);
}

body.page-about .mission-lead {
  margin: 0 0 28px;
  color: var(--shell-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

body.page-about .mission-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: right;
}

body.page-about .mission-trio article {
  padding: 18px 16px;
  border-radius: var(--shell-radius);
  background: var(--shell-soft);
  border: 1px solid rgba(213, 223, 221, 0.9);
}

body.page-about .mission-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  background: var(--shell-white);
  border: 1px solid rgba(214, 224, 221, 0.9);
  color: var(--shell-teal-mid);
}

body.page-about .mission-trio h3 {
  margin: 0 0 8px;
  color: var(--shell-teal-mid);
  font-size: 1rem;
  font-weight: 800;
}

body.page-about .mission-trio p {
  margin: 0;
  color: var(--shell-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ---------- CTA ---------- */
body.page-about .about-cta {
  padding: 48px var(--shell-gutter) 72px;
  background: var(--shell-white);
}

body.page-about .about-cta .cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 28px;
  border-radius: var(--shell-radius-lg);
  background:
    radial-gradient(ellipse 40% 80% at 100% 50%, rgba(255, 255, 255, 0.08), transparent 50%),
    var(--shell-teal);
  color: #fff;
  box-shadow: var(--shell-shadow-hover);
}

body.page-about .about-cta .cta-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-about .about-cta .cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
}

body.page-about .about-cta .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-about .about-cta .cta-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

body.page-about .about-cta .btn-solid {
  background: #fff;
  color: var(--shell-teal);
}

body.page-about .about-cta .btn-solid:hover {
  transform: translateY(-1px);
  background: #f3f6f5;
}

body.page-about .about-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

body.page-about .about-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* ---------- Reveal ---------- */
body.page-about .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.page-about .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body.page-about .hero-grid,
  body.page-about .story-layout,
  body.page-about .roshd-panel {
    grid-template-columns: 1fr;
  }

  body.page-about .story-aside {
    position: static;
  }

  body.page-about .pillars-grid,
  body.page-about .values-grid,
  body.page-about .mission-trio {
    grid-template-columns: 1fr;
  }

  body.page-about .services-list {
    grid-template-columns: 1fr;
  }

  body.page-about .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.page-about {
    --shell-gutter: 16px;
    --shell-section-y: 52px;
  }

  body.page-about .about-hero {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  body.page-about .hero-panel-inner,
  body.page-about .roshd-panel,
  body.page-about .mission-block,
  body.page-about .about-cta .cta-panel {
    padding: 22px 18px;
  }

  body.page-about .about-trust {
    margin-bottom: -16px;
  }

  body.page-about .trust-row {
    padding: 12px;
  }

  body.page-about .hero-actions {
    width: 100%;
  }

  body.page-about .hero-btn {
    flex: 1;
    justify-content: center;
  }

  body.page-about .about-cta .cta-panel {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-about .about-cta .cta-actions {
    width: 100%;
  }

  body.page-about .about-cta .cta-actions a {
    flex: 1;
    justify-content: center;
  }

  body.page-about .story-block {
    grid-template-columns: 1fr;
  }
}
