/* =========================================================
   About Page — Sanaye Danesh Bartar
   Dedicated styles; fully namespaced to the about page.
========================================================= */

.about-page {
  --about-max: 1680px;
  --about-pad: clamp(22px, 6vw, 112px);
  background: var(--paper);
  color: var(--ink);
}

.about-page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Hero */

.about-hero {
  width: min(var(--about-max), calc(100% - 32px));
  min-height: 610px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(600px, 1.12fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: center;
  padding: clamp(38px, 4vw, 64px);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(34, 28, 22, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(242, 121, 5, 0.075),
      transparent 24%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.97),
      rgba(248, 245, 240, 0.93)
    );
  box-shadow: 0 26px 70px rgba(41, 31, 20, 0.075);
}

.about-hero::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  left: -112px;
  bottom: -122px;
  border-radius: 50%;
  border: 1px solid rgba(242, 121, 5, 0.1);
  box-shadow:
    0 0 0 42px rgba(242, 121, 5, 0.022),
    0 0 0 84px rgba(242, 121, 5, 0.014);
  pointer-events: none;
}

.about-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
  text-align: right;
}

.about-hero__copy .eyebrow {
  margin-bottom: 14px;
}

.about-hero h1 {
  max-width: 12.5ch;
  margin: 0 0 20px;
  color: #151515;
  font-size: clamp(42px, 4.35vw, 66px);
  line-height: 1.38;
  font-weight: 540;
  letter-spacing: -2px;
}

.about-hero h1 span {
  display: block;
  color: var(--orange);
}

.about-hero__lead {
  max-width: 52ch;
  margin: 0;
  color: #6f6a64;
  font-size: 14.5px;
  line-height: 2.15;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  color: #292622;
  font-size: 12.5px;
  font-weight: 650;
  border-bottom: 1px solid rgba(242, 121, 5, 0.3);
}

.about-text-link span {
  color: var(--orange);
  font-size: 16px;
}

.about-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(35, 28, 20, 0.1);
}

.about-hero__facts div {
  display: grid;
  gap: 5px;
  padding: 0 16px;
  border-left: 1px solid rgba(35, 28, 20, 0.08);
}

.about-hero__facts div:first-child {
  padding-right: 0;
}

.about-hero__facts div:last-child {
  border-left: 0;
}

.about-hero__facts strong {
  font-size: 13.5px;
  font-weight: 750;
}

.about-hero__facts span {
  color: #827b74;
  font-size: 11px;
  line-height: 1.75;
}

/* Hero image composition */

.about-hero__visual {
  position: relative;
  height: 500px;
  min-height: 0;
  align-self: center;
}

.about-hero__main-photo,
.about-hero__small-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #e9e5df;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(41, 31, 20, 0.14);
}

.about-hero__main-photo {
  inset: 10px 0 34px 72px;
  border-radius: 26px;
}

.about-hero__small-photo--lab {
  width: 41%;
  height: 196px;
  right: -24px;
  bottom: 0;
  border-radius: 20px;
}

.about-hero__small-photo--students {
  width: 35%;
  height: 164px;
  left: -4px;
  top: 42px;
  border-radius: 20px;
}

/* Shared heading */

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  margin-bottom: 46px;
  text-align: right;
}

.about-section-heading h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.5;
  font-weight: 480;
  letter-spacing: -1.4px;
}

.about-section-heading > p {
  margin: 0;
  color: #77716b;
  font-size: 14px;
  line-height: 2.2;
}

/* Story */

.about-story {
  width: min(var(--about-max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(520px, 1.1fr) minmax(420px, 0.85fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
  padding: 128px var(--about-pad);
}

.about-story__media {
  min-height: 610px;
  position: relative;
}

.about-story__photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #ece8e2;
  border-radius: 26px;
  box-shadow: 0 28px 68px rgba(36, 28, 20, 0.12);
}

.about-story__photo--main {
  inset: 0 70px 65px 0;
}

.about-story__photo--accent {
  width: 44%;
  height: 280px;
  left: 0;
  bottom: 0;
  border: 8px solid var(--paper);
}

.about-story__copy {
  text-align: right;
}

.about-story__copy h2 {
  margin: 0 0 24px;
  font-size: clamp(35px, 3.7vw, 56px);
  line-height: 1.52;
  font-weight: 460;
  letter-spacing: -1.6px;
}

.about-story__copy > p {
  margin: 0 0 18px;
  color: #706b65;
  font-size: 14.5px;
  line-height: 2.3;
}

.about-story blockquote {
  position: relative;
  margin: 34px 0 0;
  padding: 24px 26px 24px 22px;
  border-right: 3px solid var(--orange);
  background: linear-gradient(
    90deg,
    rgba(242, 121, 5, 0.04),
    rgba(255, 255, 255, 0.45)
  );
}

.about-story blockquote > span {
  position: absolute;
  left: 18px;
  top: -12px;
  color: rgba(242, 121, 5, 0.16);
  font:
    86px/1 Georgia,
    serif;
}

.about-story blockquote p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #37322d;
  font-size: 15px;
  line-height: 2.15;
  font-weight: 600;
}

/* Principles */

.about-principles {
  padding: 82px var(--about-pad) 92px;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(242, 121, 5, 0.07),
      transparent 24%
    ),
    linear-gradient(180deg, #f6f2ec, #fbfaf8);
  border-block: 1px solid rgba(35, 28, 20, 0.08);
}

.about-principles > * {
  width: min(var(--about-max), 100%);
  margin-inline: auto;
}

/* The entire section heading stays on one clean horizontal line on desktop. */
.about-principles-heading {
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  grid-template-areas: "lead title eyebrow";
  gap: clamp(18px, 2.2vw, 38px);
  align-items: center;
  margin-bottom: 30px;
}

.about-principles-heading .eyebrow {
  grid-area: eyebrow;
  white-space: nowrap;
}

.about-principles-heading h2 {
  grid-area: title;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(27px, 2.35vw, 40px);
  line-height: 1.45;
  letter-spacing: -1px;
}

.about-principles-heading .about-section-heading__lead {
  grid-area: lead;
  max-width: none;
  padding-right: clamp(18px, 2vw, 32px);
  border-right: 1px solid rgba(35, 28, 20, 0.12);
  white-space: nowrap;
  font-size: 13.5px;
  line-height: 2;
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-principle {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 30px 28px 28px;
  text-align: right;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(242, 121, 5, 0.08),
      transparent 42%
    ),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(35, 28, 20, 0.1);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(43, 34, 24, 0.055);
  transition:
    transform 0.35s var(--ease-premium),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s var(--ease-premium);
}

.about-principle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 52px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--orange);
}

.about-principle h3 {
  margin: 4px 0 10px;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 680;
}

.about-principle p {
  margin: 0;
  color: #716b65;
  font-size: 13.5px;
  line-height: 2.05;
}

@media (hover: hover) and (pointer: fine) {
  .about-principle:hover {
    transform: translateY(-5px);
    background:
      radial-gradient(
        circle at 100% 0,
        rgba(242, 121, 5, 0.12),
        transparent 44%
      ),
      rgba(255, 255, 255, 0.94);
    border-color: rgba(242, 121, 5, 0.25);
    box-shadow: 0 22px 48px rgba(43, 34, 24, 0.1);
  }
}

@media (max-width: 1180px) and (min-width: 721px) {
  .about-principles-heading {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
      "eyebrow eyebrow"
      "lead title";
    gap: 10px 30px;
  }

  .about-principles-heading .about-section-heading__lead {
    white-space: normal;
  }
}

/* Approach */

.about-approach {
  width: min(var(--about-max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(62px, 8vw, 142px);
  align-items: start;
  padding: 126px var(--about-pad);
}

.about-approach__heading {
  position: sticky;
  top: 116px;
  text-align: right;
}

.about-approach__heading h2 {
  max-width: 12ch;
  margin: 0 0 20px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.5;
  font-weight: 470;
  letter-spacing: -1.5px;
}

.about-approach__heading > p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: #77716b;
  font-size: 14px;
  line-height: 2.2;
}

.about-approach__steps {
  display: grid;
  border-top: 1px solid rgba(35, 28, 20, 0.12);
}

.about-approach__steps article {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  column-gap: 30px;
  padding: 34px 0;
  text-align: right;
  border-bottom: 1px solid rgba(35, 28, 20, 0.12);
}

.about-approach__steps span {
  grid-row: 1 / span 2;
  color: var(--orange);
  font-size: 13px;
  font-weight: 750;
}

.about-approach__steps h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.7;
  font-weight: 650;
}

.about-approach__steps p {
  margin: 0;
  color: #77716b;
  font-size: 14px;
  line-height: 2.15;
}

/* Gallery */

.about-gallery {
  padding: 112px var(--about-pad) 126px;
  background: #171613;
  color: #f7f2ea;
}

.about-gallery > * {
  width: min(var(--about-max), 100%);
  margin-inline: auto;
}

.about-gallery .eyebrow {
  color: #ff9142;
}

.about-gallery .about-section-heading > p {
  color: #aaa198;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 105px;
  gap: 14px;
}

.about-gallery__item {
  position: relative;
  grid-column: span 4;
  grid-row: span 3;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #24211e;
}

.about-gallery__item--wide {
  grid-column: span 8;
}

.about-gallery__item--tall {
  grid-row: span 6;
}

.about-gallery__item img {
  transition:
    transform 0.7s var(--ease-premium),
    filter 0.5s ease;
}

.about-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.86), transparent 54%);
}

.about-gallery__item figcaption {
  position: absolute;
  right: 22px;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  gap: 5px;
  text-align: right;
}

.about-gallery__item strong {
  color: #fff;
  font-size: 16px;
}

.about-gallery__item span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
  line-height: 1.8;
}

@media (hover: hover) and (pointer: fine) {
  .about-gallery__item:hover img {
    transform: scale(1.045);
    filter: saturate(1.05);
  }
}

/* Promise */

.about-promise {
  width: min(var(--about-max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(400px, 0.88fr);
  align-items: center;
  gap: clamp(58px, 8vw, 140px);
  padding: 126px var(--about-pad);
}

.about-promise__media {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 64px rgba(36, 28, 20, 0.14);
}

.about-promise__copy {
  text-align: right;
}

.about-promise__copy h2 {
  margin: 0 0 22px;
  font-size: clamp(35px, 3.8vw, 56px);
  line-height: 1.5;
  font-weight: 470;
  letter-spacing: -1.5px;
}

.about-promise__copy > p {
  margin: 0;
  color: #716b65;
  font-size: 14.5px;
  line-height: 2.3;
}

.about-promise__copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-promise__copy li {
  position: relative;
  padding-right: 23px;
  color: #4f4944;
  font-size: 13.5px;
  line-height: 2;
}

.about-promise__copy li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Final CTA */

.about-final-cta {
  width: min(var(--about-max), calc(100% - 32px));
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  padding: clamp(48px, 5vw, 78px);
  color: #f7f1e8;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(242, 121, 5, 0.24),
      transparent 28%
    ),
    #171613;
  box-shadow: 0 24px 60px rgba(20, 17, 14, 0.16);
}

.about-final-cta .eyebrow {
  color: #ff9142;
}

.about-final-cta h2 {
  max-width: 18ch;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.55;
  font-weight: 470;
}

.about-final-cta p:not(.eyebrow) {
  max-width: 65ch;
  margin: 0;
  color: #bdb4a9;
  font-size: 13.5px;
  line-height: 2.15;
}

.about-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-final-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

/* Tablet */

@media (max-width: 1120px) {
  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px;
    gap: 42px;
  }

  .about-hero__copy {
    max-width: 760px;
  }

  .about-hero h1 {
    max-width: 15ch;
  }

  .about-hero__visual {
    width: 100%;
    height: 520px;
  }

  .about-story,
  .about-promise {
    grid-template-columns: 1fr;
  }

  .about-story__media {
    order: 2;
  }

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

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

  .about-approach__heading {
    position: static;
  }

  .about-approach__heading h2 {
    max-width: none;
  }

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

/* Mobile */

@media (max-width: 720px) {
  .about-page {
    --about-pad: 20px;
  }

  .about-hero {
    width: calc(100% - 20px);
    min-height: auto;
    margin-top: 4px;
    padding: 34px 22px 22px;
    gap: 28px;
    border-radius: 24px;
  }

  .about-hero__copy .eyebrow {
    margin-bottom: 10px;
  }

  .about-hero h1 {
    max-width: none;
    margin-bottom: 16px;
    font-size: 37px;
    line-height: 1.46;
    letter-spacing: -1px;
  }

  .about-hero__lead {
    font-size: 14px;
  }

  .about-hero__actions {
    display: grid;
  }

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

  .about-text-link {
    width: fit-content;
  }

  .about-hero__facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-hero__facts div {
    padding: 0 0 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(35, 28, 20, 0.08);
  }

  .about-hero__facts div:last-child {
    border-bottom: 0;
  }

  .about-hero__visual {
    height: 375px;
  }

  .about-hero__main-photo {
    inset: 6px 0 42px 24px;
    border-radius: 20px;
  }

  .about-hero__small-photo--lab {
    width: 45%;
    height: 138px;
    right: -6px;
  }

  .about-hero__small-photo--students {
    width: 37%;
    height: 118px;
    left: 0;
    top: 24px;
  }

  .about-story,
  .about-approach,
  .about-promise {
    padding-block: 78px;
  }

  .about-story__media {
    min-height: 420px;
  }

  .about-story__photo--main {
    inset: 0 34px 48px 0;
  }

  .about-story__photo--accent {
    width: 48%;
    height: 185px;
    border-width: 5px;
  }

  .about-story__copy h2,
  .about-promise__copy h2 {
    font-size: 34px;
    line-height: 1.6;
  }

  .about-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .about-section-heading h2 {
    max-width: none;
    font-size: 33px;
  }

  .about-principles {
    padding-block: 62px 68px;
  }

  .about-principles-heading {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead";
    gap: 8px;
    margin-bottom: 24px;
  }

  .about-principles-heading h2 {
    white-space: normal;
    font-size: 30px;
    line-height: 1.55;
  }

  .about-principles-heading .about-section-heading__lead {
    padding-right: 0;
    border-right: 0;
    white-space: normal;
    line-height: 2.05;
  }

  .about-principles__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-principle {
    padding: 24px 22px 22px;
    border-radius: 18px;
  }

  .about-principle::before {
    right: 22px;
    width: 44px;
  }

  .about-principle h3 {
    font-size: 19px;
  }

  .about-approach__steps article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0;
  }

  .about-approach__steps span {
    grid-row: auto;
  }

  .about-gallery {
    padding-block: 78px;
  }

  .about-gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .about-gallery__item,
  .about-gallery__item--wide,
  .about-gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }

  .about-gallery__item--tall {
    min-height: 430px;
  }

  .about-promise__media {
    min-height: 370px;
    border-radius: 22px;
  }

  .about-final-cta {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    padding: 38px 24px;
    border-radius: 24px;
  }

  .about-final-cta h2 {
    max-width: none;
    font-size: 31px;
  }

  .about-final-cta__actions {
    display: grid;
  }

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

@media (prefers-reduced-motion: reduce) {
  .about-principle,
  .about-gallery__item img {
    transition: none;
  }
}
/* =========================
   About Hero Top Spacing Fix
========================= */

.about-hero {
  min-height: 540px !important;
  margin: 0 auto !important;
  padding: 24px 48px 38px !important;
}

.about-hero__copy {
  align-self: start !important;
  margin-top: 18px !important;
}

.about-hero__visual {
  align-self: start !important;
  margin-top: 8px !important;
}

@media (max-width: 1120px) {
  .about-hero {
    padding: 32px 38px 40px !important;
  }

  .about-hero__copy,
  .about-hero__visual {
    margin-top: 0 !important;
  }
}

@media (max-width: 680px) {
  .about-hero {
    padding: 26px 20px 24px !important;
  }
}
/* =========================
   Remove About Hero Facts
========================= */

.about-hero__facts {
  display: none !important;
}

.about-hero::after {
  display: none !important;
}

.about-hero {
  min-height: auto !important;
  padding-bottom: 34px !important;
}
/* =========================
   About Principles Heading
========================= */

.about-principles-heading {
  width: min(100%, 760px) !important;
  display: block !important;
  margin: 0 0 52px auto !important;
  text-align: right !important;
}

.about-principles-heading .eyebrow {
  margin: 0 0 14px !important;
  color: var(--orange) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.about-principles-heading h2 {
  max-width: 13ch !important;
  margin: 0 0 20px !important;
  color: #171717 !important;
  font-size: clamp(40px, 4vw, 62px) !important;
  line-height: 1.42 !important;
  font-weight: 520 !important;
  letter-spacing: -1.7px !important;
}

.about-section-heading__lead {
  max-width: 58ch !important;
  margin: 0 !important;
  color: #756f69 !important;
  font-size: 14.5px !important;
  line-height: 2.15 !important;
}

/* خط ظریف زیر معرفی */

.about-principles-heading::after {
  content: "" !important;
  display: block !important;
  width: 74px !important;
  height: 2px !important;
  margin-top: 26px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    90deg,
    rgba(242, 121, 5, 0.18),
    var(--orange)
  ) !important;
}

/* Tablet */

@media (max-width: 900px) {
  .about-principles-heading {
    width: 100% !important;
    margin-bottom: 40px !important;
  }

  .about-principles-heading h2 {
    max-width: 15ch !important;
    font-size: 44px !important;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .about-principles-heading {
    margin-bottom: 30px !important;
  }

  .about-principles-heading .eyebrow {
    margin-bottom: 10px !important;
    font-size: 12px !important;
  }

  .about-principles-heading h2 {
    max-width: none !important;
    margin-bottom: 15px !important;
    font-size: 32px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.7px !important;
  }

  .about-section-heading__lead {
    font-size: 13px !important;
    line-height: 2.05 !important;
  }

  .about-principles-heading::after {
    width: 54px !important;
    margin-top: 20px !important;
  }
}
/* =========================
   Compact About Gallery Heading
========================= */

.about-gallery__heading {
  width: min(100%, 760px) !important;
  display: block !important;
  margin: 0 0 38px auto !important;
  text-align: right !important;
}

.about-gallery__heading .eyebrow {
  margin: 0 0 10px !important;
  color: var(--orange) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  font-weight: 650 !important;
}

.about-gallery__heading h2 {
  max-width: 16ch !important;
  margin: 0 0 12px !important;
  color: #f7f2ea !important;
  font-size: clamp(36px, 3.7vw, 56px) !important;
  line-height: 1.45 !important;
  font-weight: 520 !important;
  letter-spacing: -1.4px !important;
}

.about-gallery__heading > p:last-child {
  max-width: 52ch !important;
  margin: 0 !important;
  color: rgba(247, 242, 234, 0.62) !important;
  font-size: 13.5px !important;
  line-height: 2 !important;
}

@media (max-width: 680px) {
  .about-gallery__heading {
    width: 100% !important;
    margin-bottom: 26px !important;
  }

  .about-gallery__heading .eyebrow {
    margin-bottom: 8px !important;
    font-size: 12px !important;
  }

  .about-gallery__heading h2 {
    max-width: none !important;
    margin-bottom: 10px !important;
    font-size: 30px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.7px !important;
  }

  .about-gallery__heading > p:last-child {
    font-size: 12.5px !important;
    line-height: 1.95 !important;
  }
}
/* =========================
   About Gallery Height Fix
========================= */

.about-gallery {
  padding-top: 52px !important;
  padding-bottom: 76px !important;
}

.about-gallery__heading {
  margin-bottom: 30px !important;
}

@media (max-width: 680px) {
  .about-gallery {
    padding-top: 38px !important;
    padding-bottom: 52px !important;
  }

  .about-gallery__heading {
    margin-bottom: 24px !important;
  }
}


/* =========================
   v9.3 Patch — Modernize About Approach & Promise Sections
========================= */

.about-approach {
  position: relative;
  width: min(var(--about-max), calc(100% - 32px));
  margin: 18px auto 0;
  padding: clamp(34px, 3.8vw, 54px);
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(35, 28, 20, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 121, 5, 0.08), transparent 26%),
    radial-gradient(circle at 0 100%, rgba(242, 121, 5, 0.035), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(250,248,244,0.94));
  box-shadow: 0 24px 64px rgba(36, 28, 20, 0.07);
}

.about-approach::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.about-approach__heading {
  position: sticky;
  top: 114px;
  align-self: start;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid rgba(35, 28, 20, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.74));
  box-shadow: 0 16px 42px rgba(41, 31, 20, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-approach__heading .eyebrow {
  margin-bottom: 12px;
}

.about-approach__heading h2 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(33px, 3.55vw, 54px);
  line-height: 1.45;
}

.about-approach__heading > p:not(.eyebrow) {
  max-width: none;
  color: #6f6a64;
}

.about-approach__steps {
  display: grid;
  gap: 16px;
  border-top: 0;
}

.about-approach__steps article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 26px 28px 24px;
  border: 1px solid rgba(35, 28, 20, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  box-shadow: 0 14px 34px rgba(41, 31, 20, 0.05);
  transition:
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium),
    border-color 0.35s ease,
    background 0.35s ease;
  border-bottom: 1px solid rgba(35, 28, 20, 0.08);
}

.about-approach__steps article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(242,121,5,0.82), rgba(242,121,5,0.32));
}

.about-approach__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 13px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 780;
  border-radius: 999px;
  background: rgba(242, 121, 5, 0.1);
  border: 1px solid rgba(242, 121, 5, 0.16);
}

.about-approach__steps h3 {
  margin: 0;
  font-size: clamp(21px, 1.6vw, 25px);
  line-height: 1.65;
}

.about-approach__steps p {
  color: #6f6a64;
  font-size: 14px;
  line-height: 2.1;
}

@media (hover: hover) and (pointer: fine) {
  .about-approach__steps article:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 121, 5, 0.2);
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,249,243,0.9));
    box-shadow: 0 22px 46px rgba(41, 31, 20, 0.09);
  }
}

.about-promise {
  position: relative;
  width: min(var(--about-max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 3.8vw, 54px);
  align-items: center;
  gap: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(35, 28, 20, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 100%, rgba(242, 121, 5, 0.07), transparent 22%),
    linear-gradient(150deg, rgba(255,255,255,0.98), rgba(248,245,239,0.95));
  box-shadow: 0 24px 64px rgba(36, 28, 20, 0.07);
}

.about-promise::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.about-promise__media {
  min-height: 560px;
  border-radius: 30px;
  box-shadow: 0 26px 58px rgba(36, 28, 20, 0.16);
}

.about-promise__copy {
  position: relative;
  padding: clamp(14px, 1.8vw, 18px) 0;
}

.about-promise__copy::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,121,5,0.9), rgba(242,121,5,0.26));
}

.about-promise__copy .eyebrow {
  margin-bottom: 14px;
}

.about-promise__copy h2 {
  max-width: 10.5ch;
  margin: 0 0 18px;
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.42;
}

.about-promise__copy > p {
  max-width: 38ch;
  color: #6f6a64;
}

.about-promise__copy ul {
  gap: 10px;
  margin-top: 26px;
}

.about-promise__copy li {
  padding: 14px 18px 14px 18px;
  padding-right: 42px;
  font-size: 13.5px;
  line-height: 1.95;
  border: 1px solid rgba(35, 28, 20, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(41, 31, 20, 0.045);
}

.about-promise__copy li::before {
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(242, 121, 5, 0.12);
}

@media (max-width: 1120px) {
  .about-approach,
  .about-promise {
    width: calc(100% - 24px);
    padding: 28px;
    gap: 24px;
  }

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

  .about-approach__heading,
  .about-approach__steps {
    min-width: 0;
  }

  .about-approach__heading {
    position: static;
  }

  .about-promise__copy h2,
  .about-approach__heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .about-approach,
  .about-promise {
    width: calc(100% - 20px);
    padding: 22px;
    border-radius: 24px;
  }

  .about-approach::before,
  .about-promise::before {
    inset: 10px;
    border-radius: 18px;
  }

  .about-approach__heading {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .about-approach__heading h2,
  .about-promise__copy h2 {
    font-size: 33px;
    line-height: 1.5;
  }

  .about-approach__steps article {
    padding: 22px 20px 20px;
    border-radius: 18px;
  }

  .about-approach__steps article::before {
    right: 20px;
    width: 44px;
  }

  .about-promise__media {
    min-height: 380px;
    border-radius: 22px;
  }

  .about-promise__copy::after {
    width: 56px;
  }

  .about-promise__copy li {
    padding: 12px 14px 12px 14px;
    padding-right: 38px;
    border-radius: 15px;
  }

  .about-promise__copy li::before {
    right: 15px;
  }
}


/* =========================
   v9.3 Patch — Gallery Heading in One Row
========================= */

@media (min-width: 1181px) {
  .about-gallery__heading {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content max-content !important;
    grid-template-areas: "lead title eyebrow" !important;
    align-items: center !important;
    gap: clamp(20px, 2.4vw, 42px) !important;
    margin: 0 0 34px !important;
    text-align: right !important;
  }

  .about-gallery__heading .eyebrow {
    grid-area: eyebrow !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .about-gallery__heading h2 {
    grid-area: title !important;
    max-width: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: clamp(34px, 2.8vw, 46px) !important;
    line-height: 1.4 !important;
    letter-spacing: -1px !important;
  }

  .about-gallery__heading > p:last-child {
    grid-area: lead !important;
    max-width: none !important;
    margin: 0 !important;
    padding-right: clamp(18px, 2vw, 32px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
}

@media (max-width: 1180px) and (min-width: 721px) {
  .about-gallery__heading {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    grid-template-areas:
      "eyebrow eyebrow"
      "lead title" !important;
    align-items: center !important;
    gap: 10px 28px !important;
  }

  .about-gallery__heading .eyebrow {
    grid-area: eyebrow !important;
  }

  .about-gallery__heading h2 {
    grid-area: title !important;
    max-width: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: clamp(32px, 4vw, 42px) !important;
  }

  .about-gallery__heading > p:last-child {
    grid-area: lead !important;
    max-width: none !important;
    margin: 0 !important;
  }
}


/* =========================
   v9.3 Patch — Gallery Heading Like Reference
   Eyebrow, one-line title, then supporting text.
========================= */

.about-gallery__heading {
  width: min(var(--about-max), 100%) !important;
  max-width: none !important;
  display: block !important;
  margin: 0 auto 42px !important;
  text-align: right !important;
}

.about-gallery__heading .eyebrow {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
  color: #ff8a24 !important;
}

.about-gallery__heading h2 {
  display: block !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  color: #fffaf3 !important;
  font-size: clamp(38px, 3.15vw, 58px) !important;
  line-height: 1.42 !important;
  font-weight: 560 !important;
  letter-spacing: -1.35px !important;
}

.about-gallery__heading > p:last-child {
  display: block !important;
  max-width: 64ch !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: normal !important;
  color: #aaa198 !important;
  font-size: 13.5px !important;
  line-height: 2 !important;
}

@media (max-width: 1180px) {
  .about-gallery__heading {
    display: block !important;
    margin-bottom: 34px !important;
  }

  .about-gallery__heading h2 {
    white-space: normal !important;
    font-size: clamp(34px, 5vw, 48px) !important;
  }
}

@media (max-width: 720px) {
  .about-gallery__heading {
    margin-bottom: 28px !important;
  }

  .about-gallery__heading .eyebrow {
    margin-bottom: 9px !important;
  }

  .about-gallery__heading h2 {
    margin-bottom: 12px !important;
    font-size: 32px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.8px !important;
  }

  .about-gallery__heading > p:last-child {
    font-size: 13px !important;
    line-height: 1.95 !important;
  }
}
/* پرکردن فضای خالی گالری صفحه درباره */

.about-gallery__grid {
  grid-auto-flow: dense;
}

.about-gallery__item--gap-fill {
  grid-column: span 4;
  grid-row: span 3;
}

/* تنظیم جای تصویر داخل کارت */
.about-gallery__item--gap-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* تبلت */
@media (max-width: 1120px) and (min-width: 721px) {
  .about-gallery__item--gap-fill {
    grid-column: span 6;
    grid-row: span 3;
  }
}

/* موبایل */
@media (max-width: 720px) {
  .about-gallery__item--gap-fill {
    grid-column: auto;
    grid-row: auto;
    min-height: 310px;
  }
}
