/* Sahand Logistics About module — v5
   Fully namespaced and container-query driven for safe embedding. */

.slc-demo-page {
  margin: 0;
  background: var(--slc-color-canvas);
}

.slc-about-shell {
  --slc-page-bg: var(--slc-color-canvas);
  --slc-heading: var(--slc-color-ink-strong);
  --slc-body: var(--slc-color-ink-muted);
  --slc-accent: var(--slc-component-action-bg);
  --slc-action-fg: var(--slc-component-action-fg);
  --slc-icon-bg: var(--slc-color-surface-strong);
  --slc-icon-filter: var(--slc-component-icon-filter);
  --slc-stats-line: var(--slc-color-line);
  --slc-container-width: 1320px;
  --slc-font: "Vazirmatn", "IRANSansX", "PeydaWeb", "Noto Sans Arabic", Tahoma, Arial, sans-serif;

  width: 100%;
  container-name: slc-about;
  container-type: inline-size;
  background: var(--slc-page-bg);
  color: var(--slc-heading);
  font-family: var(--slc-font);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

.slc-about-shell,
.slc-about-shell *,
.slc-about-shell *::before,
.slc-about-shell *::after {
  box-sizing: border-box;
}

.slc-about-shell img {
  display: block;
  max-width: 100%;
}

.slc-about-module {
  width: min(var(--slc-container-width), calc(100% - 48px));
  margin-inline: auto;
  padding-block: 38px 100px;
}

.slc-eyebrow {
  margin: 0;
  color: var(--slc-accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

.slc-title-line {
  display: block;
}

.slc-title-line--accent {
  color: var(--slc-color-action, #2563eb);
}

.slc-why-title,
.slc-feature-copy h3 {
  color: var(--slc-heading);
}

.slc-why-description,
.slc-feature-copy p {
  color: var(--slc-body);
  font-weight: 400;
}

.slc-why-section {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  column-gap: 76px;
  margin-top: 102px;
  direction: rtl;
}

.slc-why-intro {
  grid-column: 1;
  min-width: 0;
  padding-top: 11px;
  text-align: right;
}

.slc-why-title {
  margin: 20px 0 0;
  font-size: clamp(44px, 3.64cqi, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.1px;
}

.slc-why-description {
  width: 370px;
  max-width: 100%;
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 2.03;
}

.slc-feature-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 2.4cqi, 32px);
  row-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slc-feature-item {
  display: grid;
  grid-template-columns: clamp(62px, 5.38cqi, 71px) minmax(0, 1fr);
  column-gap: clamp(16px, 1.6cqi, 21px);
  min-width: 0;
  align-items: start;
}

.slc-feature-icon {
  grid-column: 1;
  display: grid;
  width: clamp(62px, 5.38cqi, 71px);
  height: clamp(62px, 5.38cqi, 71px);
  place-items: center;
  border-radius: 50%;
  background: var(--slc-icon-bg);
}

.slc-feature-icon svg {
  width: 38px;
  height: 38px;
  transform: translate(1px, -2px);
  fill: none;
  stroke: var(--slc-accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slc-feature-icon .mdi {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  transform: translate(1px, -2px);
  color: var(--slc-accent);
  font-size: 38px;
  line-height: 1;
}

.slc-feature-icon__image {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  transform: translate(1px, -1px);
  filter: var(--slc-icon-filter);
  pointer-events: none;
  user-select: none;
}

.slc-feature-copy {
  grid-column: 2;
  min-width: 0;
  padding-top: 4px;
  text-align: right;
}

.slc-feature-copy h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.25px;
}

.slc-feature-copy p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.95;
}

@container slc-about (max-width: 1080px) {
  .slc-why-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }

  .slc-why-intro,
  .slc-feature-grid {
    grid-column: 1;
  }

  .slc-why-intro {
    max-width: 660px;
  }

  .slc-feature-grid {
    column-gap: 34px;
    row-gap: 28px;
  }
}

@container slc-about (max-width: 860px) {
  .slc-about-module {
    width: min(calc(100% - 32px), 680px);
    padding-block: 28px 72px;
  }

  .slc-why-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .slc-why-title {
    margin-top: 18px;
    font-size: clamp(36px, 6.4cqi, 44px);
    line-height: 1.16;
    letter-spacing: -0.8px;
  }
  .slc-why-description {
    width: 100%;
    font-size: 15px;
    line-height: 1.9;
  }

  .slc-why-section {
    margin-top: 84px;
    row-gap: 44px;
  }

  .slc-why-intro {
    max-width: 640px;
    padding-top: 0;
  }

  .slc-why-description {
    margin-top: 20px;
  }

  .slc-feature-grid {
    column-gap: 28px;
    row-gap: 30px;
  }

  .slc-feature-item {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 16px;
  }

  .slc-feature-icon {
    width: 58px;
    height: 58px;
  }

  .slc-feature-icon svg {
    width: 33px;
    height: 33px;
  }

  .slc-feature-icon .mdi {
    width: 33px;
    height: 33px;
    font-size: 33px;
  }

  .slc-feature-icon__image {
    width: 36px;
    height: 36px;
  }

  .slc-feature-copy h3 {
    font-size: 18.5px;
    line-height: 1.4;
  }

  .slc-feature-copy p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.9;
  }
}

@container slc-about (max-width: 700px) {
  .slc-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container slc-about (max-width: 520px) {
  .slc-about-module {
    padding-block: 18px 56px;
  }

  .slc-eyebrow {
    font-size: 10.5px;
    line-height: 1.45;
  }

  .slc-why-title {
    font-size: clamp(30px, 8.25cqi, 35px);
    line-height: 1.2;
    letter-spacing: -0.45px;
  }

  .slc-why-description,
  .slc-feature-copy p {
    font-size: 14.5px;
    line-height: 1.88;
  }

  .slc-why-section {
    margin-top: 72px;
    row-gap: 38px;
  }

  .slc-why-description {
    margin-top: 18px;
  }

  .slc-feature-grid {
    row-gap: 28px;
  }

  .slc-feature-item {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
  }

  .slc-feature-icon {
    width: 52px;
    height: 52px;
  }

  .slc-feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .slc-feature-icon .mdi {
    width: 30px;
    height: 30px;
    font-size: 30px;
  }

  .slc-feature-icon__image {
    width: 33px;
    height: 33px;
  }

  .slc-feature-copy h3 {
    font-size: 17.5px;
    line-height: 1.45;
  }

  .slc-feature-copy p {
    margin-top: 6px;
  }

}

@container slc-about (max-width: 360px) {
  .slc-feature-item {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 12px;
  }

  .slc-feature-icon {
    width: 48px;
    height: 48px;
  }

  .slc-feature-icon svg {
    width: 28px;
    height: 28px;
  }

  .slc-feature-icon__image {
    width: 30px;
    height: 30px;
  }
}

/* Statistics continuation: same about-module surface, with its own namespace. */

.slc-about-shell .slc-stats-section {
  width: 100%;
  margin-top: var(--slc-space-module-secondary, 3.75rem);
}

.slc-about-shell .slc-stats-panel {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 224px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--slc-page-bg);
  color: var(--slc-heading);
  font-family: "IRANSansX", "IRANYekanX", Tahoma, Arial, sans-serif;
  font-weight: 400;
}

.slc-about-shell .slc-stats-panel::after {
  content: "";
  position: absolute;
  right: 21px;
  bottom: 50%;
  left: 21px;
  height: 1px;
  transform: translateY(0.5px);
  background: var(--slc-stats-line);
  pointer-events: none;
}

.slc-about-shell .slc-stats-grid {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  direction: rtl;
}

.slc-about-shell .slc-stat {
  --slc-stat-icon-size: 72px;
  --slc-stat-gap: 13px;
  --slc-stat-copy-width: min(
    clamp(6.5rem, 8cqi, 8.5rem),
    calc(100% - var(--slc-stat-icon-size) - var(--slc-stat-gap))
  );
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--slc-stat-gap);
  padding: 13px 14px 12px;
  direction: rtl;
}

.slc-about-shell .slc-stat:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--slc-stats-line);
}

.slc-about-shell .slc-stat__copy {
  width: var(--slc-stat-copy-width);
  flex: 0 1 var(--slc-stat-copy-width);
  min-width: 0;
  color: var(--slc-heading);
  text-align: center;
  line-height: 1;
}

.slc-about-shell .slc-stat__number {
  display: block;
  color: var(--slc-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.slc-about-shell .slc-stat__label {
  margin-top: 7px;
  color: var(--slc-body);
  font-size: 13.2px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
}

.slc-about-shell .slc-stat__icon {
  display: grid;
  width: var(--slc-stat-icon-size);
  height: var(--slc-stat-icon-size);
  flex: 0 0 var(--slc-stat-icon-size);
  place-items: center;
  border-radius: 50%;
  background: var(--slc-icon-bg);
  color: var(--slc-accent);
}

.slc-about-shell .slc-stat__icon svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slc-about-shell .slc-stat:nth-child(3) .slc-stat__icon svg {
  width: 46px;
  height: 50px;
}

.slc-about-shell .slc-stat:nth-child(4) .slc-stat__icon svg {
  width: 50px;
  height: 50px;
}

.slc-about-shell .slc-stat:nth-child(5) .slc-stat__icon svg {
  width: 49px;
  height: 49px;
}

.slc-about-shell .slc-stat:nth-child(6) .slc-stat__icon svg {
  width: 47px;
  height: 47px;
}

.slc-about-shell .slc-stat:nth-child(8) .slc-stat__icon svg {
  width: 48px;
  height: 48px;
}

.slc-about-shell .slc-stat__icon-image {
  display: block;
  width: calc(var(--slc-stat-icon-size) - 4px);
  height: calc(var(--slc-stat-icon-size) - 4px);
  object-fit: contain;
  filter: var(--slc-icon-filter);
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}

/* The supplied terminal mark uses the same destination blue as the stat icons. */
.slc-about-shell .slc-stat__icon-image--terminal {
  width: calc(var(--slc-stat-icon-size) - 4px);
  height: calc(var(--slc-stat-icon-size) - 4px);
  filter: var(--slc-icon-filter);
  mix-blend-mode: normal;
}

.slc-about-shell .slc-stat__icon-image--customer,
.slc-about-shell .slc-stat__icon-image--wagon,
.slc-about-shell .slc-stat__icon-image--contract,
.slc-about-shell .slc-stat__icon-image--contractor,
.slc-about-shell .slc-stat__icon-image--cargo,
.slc-about-shell .slc-stat__icon-image--waybill {
  width: calc(var(--slc-stat-icon-size) - 16px);
  height: calc(var(--slc-stat-icon-size) - 16px);
  filter: var(--slc-icon-filter);
  mix-blend-mode: normal;
}

/* Content-driven tablet tuning keeps the original 4x2 composition intact. */
@container slc-about (min-width: 621px) and (max-width: 860px) {
  .slc-about-shell .slc-stat {
    --slc-stat-icon-size: 58px;
    --slc-stat-gap: 8px;
    --slc-stat-copy-width: min(
      clamp(5.8rem, 9cqi, 6.5rem),
      calc(100% - var(--slc-stat-icon-size) - var(--slc-stat-gap))
    );
    padding: 12px 7px 11px;
  }

  .slc-about-shell .slc-stat__icon {
    width: var(--slc-stat-icon-size);
    height: var(--slc-stat-icon-size);
    flex-basis: var(--slc-stat-icon-size);
  }

  .slc-about-shell .slc-stat__icon svg {
    width: 38px;
    height: 38px;
  }

  .slc-about-shell .slc-stat__number {
    font-size: clamp(23px, 3.8cqi, 27px);
  }

  .slc-about-shell .slc-stat__label {
    font-size: clamp(11.5px, 1.9cqi, 13px);
    line-height: 1.3;
  }
}

@container slc-about (max-width: 620px) {
  .slc-about-shell .slc-stats-panel {
    height: auto;
    overflow: visible;
  }

  .slc-about-shell .slc-stats-panel::after {
    display: none;
  }

  .slc-about-shell .slc-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .slc-about-shell .slc-stat {
    --slc-stat-icon-size: 62px;
    --slc-stat-gap: 10px;
    --slc-stat-copy-width: min(
      6.5rem,
      calc(100% - var(--slc-stat-icon-size) - var(--slc-stat-gap))
    );
    min-height: 108px;
    gap: var(--slc-stat-gap);
    padding: 12px 10px;
    border-bottom: 1px solid var(--slc-stats-line);
  }

  .slc-about-shell .slc-stat:not(:nth-child(4n))::after {
    display: none;
  }

  .slc-about-shell .slc-stat:nth-child(odd)::after {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    display: block;
    width: 1px;
    background: var(--slc-stats-line);
  }

  .slc-about-shell .slc-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .slc-about-shell .slc-stat__icon {
    width: var(--slc-stat-icon-size);
    height: var(--slc-stat-icon-size);
    flex-basis: var(--slc-stat-icon-size);
  }

  .slc-about-shell .slc-stat__icon svg {
    width: 42px;
    height: 42px;
  }

  .slc-about-shell .slc-stat__number {
    font-size: 25px;
  }

  .slc-about-shell .slc-stat__label {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
  }
}

@container slc-about (max-width: 390px) {
  .slc-about-shell .slc-stat {
    --slc-stat-icon-size: 56px;
    --slc-stat-gap: 8px;
    --slc-stat-copy-width: min(
      6rem,
      calc(100% - var(--slc-stat-icon-size) - var(--slc-stat-gap))
    );
    gap: var(--slc-stat-gap);
    padding-inline: 7px;
  }

  .slc-about-shell .slc-stat__icon {
    width: var(--slc-stat-icon-size);
    height: var(--slc-stat-icon-size);
    flex-basis: var(--slc-stat-icon-size);
  }

  .slc-about-shell .slc-stat__icon svg {
    width: 38px;
    height: 38px;
  }

  .slc-about-shell .slc-stat__number {
    font-size: 23px;
  }

  .slc-about-shell .slc-stat__label {
    font-size: 12px;
    line-height: 1.28;
  }
}

.slc-about-shell #slc-why-title {
  font-size: var(--slc-content-title-size, clamp(1.875rem, 3.2vw, 3rem));
}
