.about-page {
  --about-soft: #eceeeb;
  --about-dark: #151d24;
  overflow: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--body-font-family);
}

.about-page :where(h1, h2, h3, p, figure) {
  margin-top: 0;
}

.about-page h1 {
  color: var(--h1-color);
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height);
}

.about-page h2 {
  margin-bottom: 0;
  color: var(--h2-color);
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
  text-wrap: balance;
}

.about-page h3 {
  color: var(--h3-color);
  font-family: var(--h3-font-family);
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
}

.about-page p,
.about-page li {
  color: var(--p-color);
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-page a,
.about-page button {
  font-family: var(--body-font-family);
}

.about-page .btn {
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-page > section > .container {
  width: min(var(--container), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(520px, 70svh, 760px);
  align-items: flex-end;
  overflow: hidden;
  background: var(--about-dark);
}

.about-hero__media,
.about-hero__overlay {
  position: absolute;
  inset: 0;
}

.about-hero__media {
  z-index: -2;
  background-image: var(--about-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-hero__overlay {
  z-index: -1;
  background: rgba(10, 14, 18, 0.7);
}

.about-hero > .container {
  padding-top: clamp(180px, 22vw, 260px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.about-hero__inner {
  display: flex;
  max-width: 1050px;
  align-items: flex-start;
  flex-direction: column;
}

.about-hero .section-breadcrumbs,
.about-hero .section-breadcrumbs a,
.about-hero .placeholder-breadcrumbs,
.about-hero .placeholder-breadcrumbs a,
.about-hero .placeholder-breadcrumbs li:last-child span,
.about-hero .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.78);
}

.about-hero .section-breadcrumbs a:hover,
.about-hero .placeholder-breadcrumbs a:hover {
  color: #fff;
}

.about-hero__title {
  max-width: 1000px;
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: #fff !important;
  font-size: clamp(var(--h1-font-size), 4.5vw, 58px);
}

.about-hero__accent {
  color: var(--accent);
  font: inherit;
  text-transform: none;
}

.about-intro {
  background: #f7f7f4;
}

.about-intro > .container,
.about-pricing > .container,
.about-included > .container,
.about-options > .container,
.about-timeline > .container,
.about-estimate > .container,
.about-advantages > .container,
.about-calculation > .container {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
}

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

.about-intro__copy > p {
  margin-bottom: 20px;
}

.about-intro__copy .about-intro__lead {
  color: var(--h3-color);
  font-family: var(--h3-font-family);
  font-size: max(var(--h3-font-size), calc(var(--p-font-size) * 1.35));
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
}

.about-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.about-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
  text-decoration: none;
}

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

.about-intro__media {
  position: relative;
  min-height: 620px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--about-dark);
  box-shadow: var(--shadow);
}

.about-intro__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.about-intro__media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  color: #fff;
  background: rgba(10, 14, 18, 0.82);
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  line-height: var(--p-line-height);
}

.about-intro__media figcaption strong {
  font-family: var(--h4-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--h4-font-weight);
  line-height: var(--h4-line-height);
}

.about-pricing {
  background: var(--about-soft);
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.about-section-heading--single {
  grid-template-columns: 1fr;
}

.about-section-copy p {
  margin-bottom: 18px;
}

.about-section-copy p:last-child {
  margin-bottom: 0;
}

.about-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-price-card {
  display: flex;
  min-height: 250px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
}

.about-price-card--accent {
  background: var(--accent);
}

.about-price-card > p {
  max-width: 28ch;
  margin-bottom: 42px;
}

.about-price-card > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  line-height: var(--p-line-height);
}

.about-price-card strong {
  color: var(--h2-color);
  font-family: var(--h2-font-family);
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: var(--h2-line-height);
}

.about-included {
  background: #f7f7f4;
}

.about-included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.about-included-card {
  min-height: 300px;
  padding: clamp(26px, 3vw, 42px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.about-included-card__number {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-included-card h3 {
  margin-bottom: 14px;
}

.about-included-card p {
  margin-bottom: 0;
}

.about-options {
  color: #fff;
  background: var(--about-dark);
}

.about-options__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 140px);
}

.about-options h2 {
  color: #fff;
}

.about-options__intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.about-options__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.about-options__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.about-options__list span {
  color: var(--accent);
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-options__list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.about-timeline {
  background: var(--accent);
}

.about-timeline__card {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.about-timeline__value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-timeline__value strong {
  color: var(--h1-color);
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: var(--h1-line-height);
}

.about-timeline__value span {
  color: var(--p-color);
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-timeline__card p {
  margin: 24px 0 0;
}

.about-estimate {
  background: #fff;
}

.about-estimate__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.about-estimate__steps li {
  display: grid;
  grid-template-columns: minmax(80px, 0.2fr) minmax(0, 1fr);
  gap: 28px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--border);
}

.about-estimate__number {
  color: var(--accent);
  font-family: var(--h3-font-family);
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
}

.about-estimate__steps h3 {
  margin-bottom: 10px;
}

.about-estimate__steps p {
  margin-bottom: 0;
}

.about-advantages {
  color: #fff;
  background: #11181e;
}

.about-section-heading--light h2 {
  color: #fff;
}

.about-advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-advantages__grid li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 104px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.045);
}

.about-advantages__grid img {
  flex: 0 0 22px;
  margin-top: 2px;
}

.about-advantages__grid span {
  color: inherit;
  font-family: var(--p-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--p-font-weight);
  line-height: var(--p-line-height);
}

.about-calculation {
  background: var(--about-soft);
}

.about-calculation__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 0.65fr);
  gap: clamp(46px, 9vw, 140px);
  align-items: center;
}

.about-calculation__copy > p {
  margin: 28px 0 0;
}

.about-calculation__phone {
  display: inline-block;
  margin-top: 32px;
  color: var(--h3-color);
  font-family: var(--h3-font-family);
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: var(--h3-line-height);
  text-decoration: none;
}

.about-calculation__phone:hover {
  color: var(--accent);
}

.about-calculation__form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 42px;
  }

  .about-intro__media,
  .about-intro__media img {
    min-height: 540px;
  }

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

@media (max-width: 767px) {
  .about-hero {
    min-height: 500px;
  }

  .about-hero > .container {
    padding-top: 150px;
    padding-bottom: 58px;
  }

  .about-intro__grid,
  .about-section-heading,
  .about-options__grid,
  .about-timeline__card,
  .about-calculation__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__grid {
    gap: 44px;
  }

  .about-intro__media,
  .about-intro__media img {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .about-section-heading {
    gap: 28px;
  }

  .about-price-grid,
  .about-included-grid,
  .about-advantages__grid {
    grid-template-columns: 1fr;
  }

  .about-options__intro {
    position: static;
  }

  .about-estimate__steps li {
    grid-template-columns: 58px 1fr;
  }
}

@media (max-width: 480px) {
  .about-intro__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-price-card {
    padding: 26px 22px;
  }

  .about-options__list li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

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

  .about-calculation__form {
    padding: 22px 18px;
  }
}
