.page--about .about-hero.section {
  position: relative;
  margin-top: -1px;
  padding: 0;
  background: #fcf9f4;
  overflow: hidden;
}

.page--about .about-hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/about-hero-bg.png") center / cover no-repeat;
  opacity: 0.84;
  transform: scale(1.01);
  pointer-events: none;
}

.page--about .about-hero.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(252, 249, 244, 0.62) 0%, rgba(252, 249, 244, 0.28) 34%, rgba(252, 249, 244, 0.38) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 46%, rgba(252, 249, 244, 0.18) 100%);
  pointer-events: none;
}

.page--about .about-hero .container {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
}

.about-hero__content {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: 278px;
}

.about-hero__frame {
  display: flex;
  width: 1120px;
  min-height: 198px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 32px 18px 32px 28px;
}

.about-hero__breadcrumbs {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #8a755d;
}

.about-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
}

.about-hero__text {
  margin: 0;
  width: 640px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #4F3C28;
}

@media (min-width: 768px) and (max-width: 991px) {
  .page--about .about-hero .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-hero__content {
    min-height: 248px;
  }

  .about-hero__frame {
    width: 100%;
    min-height: 188px;
    padding: 28px 16px;
  }

  .about-hero__title {
    font-size: 50px;
  }

  .about-hero__text {
    width: min(100%, 560px);
    font-size: 17px;
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .page--about .about-hero.section::before {
    background: url("../images/about-hero-bg.png") center / cover no-repeat;
    opacity: 0.74;
    transform: scale(1.01);
  }

  .page--about .about-hero.section::after {
    display: block;
    background:
      linear-gradient(180deg, rgba(252, 249, 244, 0.28) 0%, rgba(252, 249, 244, 0.1) 32%, rgba(252, 249, 244, 0.3) 100%),
      radial-gradient(circle at center, rgba(255, 255, 255, 0) 38%, rgba(252, 249, 244, 0.12) 100%);
  }

  .page--about .about-hero .container {
    width: auto;
    padding-inline: 0;
  }

  .about-hero__content {
    align-items: flex-start;
    min-height: 228px;
    padding: 10px;
  }

  .about-hero__frame {
    width: 340px;
    min-height: 208px;
    gap: 14px;
    justify-content: flex-start;
    padding: 14px 12px 16px;
    border-radius: 20px;

  }

  .about-hero__breadcrumbs {
    font-size: 10px;
    line-height: 20px;
  }

  .about-hero__title {
    width: 320px;
    font-size: 40px;
    line-height: 1.1;
  }

  .about-hero__text {
    width: 320px;
    font-size: 14px;
    line-height: 24px;
    color: #5e4a39;
  }
}

.about-history.section {
  position: relative;
  margin-top: 0;
  padding: 42px 0 24px;
  background: #fcf9f4;
}

.about-history.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1200px;
  height: 1px;
  background: rgba(230, 219, 204, 0.9);
  transform: translateX(-50%);
}

.about-history.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: rgba(160, 122, 73, 0.5);
  transform: translateX(-50%);
}

.page--about .about-history .container {
  width: min(100%, 1280px);
  padding-inline: 40px;
}

.about-history__content {
  display: flex;
  width: 1200px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 10px 0;
  margin: 0 auto;
}

.about-history__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
  text-align: center;
}

.about-history__text {
  width: 708px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
  color: #8a755d;
}

.about-history__grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 30px;
  width: 1200px;
  padding: 10px 0;
}

.about-history-card {
  box-sizing: border-box;
  display: flex;
  min-height: 612px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 10px;
  background: #f5efe6;
  border: 1px solid #e4d8c7;
  border-radius: 24px;
}

.about-history-card__label {
  width: 360px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
  color: #a07a49;
}

.about-history-card__title {
  width: 360px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.about-history-card__image-wrap {
  display: flex;
  width: 360px;
  padding: 10px 0;
  border-radius: 24px;
}

.about-history-card__image {
  width: 360px;
  height: 200.93px;
  border-radius: 24px;
  object-fit: cover;
}

.about-history-card__text {
  width: 360px;
  margin: 0;
  font-size: 17px;
  line-height: 30px;
  font-weight: 400;
  color: #6d5846;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-history.section {
    padding: 40px 0 24px;
  }

  .about-history.section::before {
    width: calc(100% - 64px);
  }

  .page--about .about-history .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-history__content {
    width: 100%;
    gap: 32px;
  }

  .about-history__text {
    width: min(100%, 680px);
  }

  .about-history__grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 24px;
  }

  .about-history-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .about-history-card__label,
  .about-history-card__title,
  .about-history-card__image-wrap,
  .about-history-card__image,
  .about-history-card__text {
    width: 100%;
  }

  .about-history-card__image {
    height: 280px;
  }

  .about-history-card__text {
    font-size: 16px;
    line-height: 28px;
  }
}

@media (max-width: 767px) {
  .page--about .about-hero.section {
    margin-top: 0;
  }

  .about-history.section {
    position: relative;
    padding: 34px 0 24px;
  }

  .about-history.section::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 320px;
    height: 1px;
    background: rgba(230, 219, 204, 0.9);
    transform: translateX(-50%);
  }

  .about-history.section::after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: rgba(160, 122, 73, 0.5);
    transform: translateX(-50%);
  }

  .page--about .about-history .container {
    width: auto;
    padding-inline: 10px;
  }

  .about-history__content {
    width: 340px;
    gap: 40px;
    padding: 10px 0;
  }

  .about-history__title {
    width: 340px;
  }

  .about-history__text {
    width: 340px;
    font-size: 15px;
    text-align: left;
  }

  .about-history__grid {
    grid-template-columns: 340px;
    width: 340px;
    gap: 30px;
  }

  .about-history-card {
    min-height: auto;
    align-self: stretch;
  }

  .about-history-card__label {
    width: 320px;
  }

  .about-history-card__title {
    width: 320px;
  }

  .about-history-card__image-wrap {
    width: 320px;
  }

  .about-history-card__image {
    width: 320px;
    height: 178.6px;
  }

  .about-history-card__text {
    width: 320px;
    font-size: 15px;
  }
}

.about-team.section {
  margin-top: 60px;
  padding: 0;
}

.page--about .about-team .container {
  width: min(100%, 1280px);
  padding-inline: 40px;
}

.about-team__content {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 680px 400px;
  align-items: center;
  gap: 64px;
  width: 1200px;
  min-height: 496px;
  margin: 0 auto;
  padding: 40px 28px 40px 28px;
  background: #f5efe6;
  border: 1px solid #e4d8c7;
  border-radius: 36px;
}

.about-team__text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 10px;
}

.about-team__title {
  width: 660px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
}

.about-team__text {
  width: 660px;
  margin: 0;
  font-size: 17px;
  line-height: 32px;
  font-weight: 400;
  color: #6d5846;
}

.about-team__side-card {
  box-sizing: border-box;
  display: flex;
  width: 400px;
  min-height: 250px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: #fbf8f3;
  border: 1px solid #e6dbcc;
  border-radius: 28px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

.about-team__side-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #4f3c28;
  text-align: center;
}

.about-team__side-text {
  width: 344px;
  margin: 0;
  font-size: 15px;
  line-height: 30px;
  font-weight: 400;
  text-align: center;
  color: #6d5846;
}

.about-team__link {
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: #a07a49;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-team.section {
    margin-top: 52px;
  }

  .page--about .about-team .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-team__content {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    min-height: auto;
    padding: 32px 24px;
  }

  .about-team__text-col {
    width: 100%;
    gap: 18px;
    padding: 0;
  }

  .about-team__title,
  .about-team__text {
    width: 100%;
  }

  .about-team__title {
    font-size: 36px;
  }

  .about-team__text {
    font-size: 16px;
    line-height: 30px;
  }

  .about-team__side-card {
    width: 100%;
    min-height: 0;
    padding: 26px 24px;
  }

  .about-team__side-text {
    width: min(100%, 540px);
  }
}

@media (hover: hover) and (pointer: fine) {
  .about-team__side-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 767px) {
  .about-team.section {
    margin-top: 60px;
    padding: 24px 0;
  }

  .page--about .about-team .container {
    width: auto;
    padding-inline: 10px;
  }

  .about-team__content {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 340px;
    min-height: 1090px;
    padding: 20px 10px;
  }

  .about-team__text-col {
    width: 320px;
    min-height: 740px;
    padding: 10px;
  }

  .about-team__title {
    width: 300px;
    font-size: 40px;
  }

  .about-team__text {
    width: 300px;
    font-size: 15px;
    line-height: 32px;
  }

  .about-team__side-card {
    width: 320px;
    min-height: 280px;
    align-self: center;
  }

  .about-team__side-text {
    width: 264px;
  }
}

.about-services.section {
  margin-top: 60px;
  padding: 24px 0;
  background: #fcf9f4;
}

.page--about .about-services .container {
  width: min(100%, 1280px);
  padding-inline: 40px;
}

.about-services__content {
  display: flex;
  width: 1200px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 10px 0;
  margin: 0 auto;
}

.about-services__intro {
  display: flex;
  width: 1160px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-services__title {
  width: 1160px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.about-services__text {
  width: 896px;
  margin: 0;
  font-size: 17px;
  line-height: 30px;
  font-weight: 400;
  text-align: center;
  color: #8a755d;
}

.about-services__rows {
  display: flex;
  width: 1160px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.about-service-row {
  display: flex;
  width: 1160px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.about-service-row--text-image {
  gap: 33px;
}

.about-service-row--image-text {
  gap: 13px;
}

.about-service-row__text {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 24px;
}

.about-service-row__text--primary {
  width: 544px;
  min-height: 340px;
  align-items: flex-start;
}

.about-service-row__text--secondary {
  width: 544px;
  min-height: 340px;
  align-items: flex-end;
}

.about-service-row__text--tertiary {
  width: 544px;
  min-height: 173px;
  align-items: flex-start;
}

.about-service-row__title {
  width: 524px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
}

.about-service-row__paragraph {
  width: 524px;
  margin: 0;
  font-size: 17px;
  line-height: 30px;
  font-weight: 400;
  color: #6d5846;
}

.about-service-row__list {
  display: flex;
  width: 524px;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
  margin: 0;
  list-style: disc;
  list-style-position: outside;
  padding-left: 20px;
}

.about-service-row__item {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #4f3c28;
}

.about-service-row__media {
  display: flex;
  width: 583px;
  justify-content: center;
  align-items: center;
  padding: 18px 0 20px;
}

.about-service-row__image {
  width: 574px;
  height: 382px;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-services.section {
    margin-top: 52px;
  }

  .page--about .about-services .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-services__content,
  .about-services__intro,
  .about-services__rows {
    width: 100%;
    gap: 30px;
  }

  .about-services__content {
    gap: 32px;
  }

  .about-services__title {
    width: 100%;
    font-size: 36px;
  }

  .about-services__text {
    width: min(100%, 700px);
    font-size: 16px;
    line-height: 28px;
  }

  .about-service-row,
  .about-service-row--text-image,
  .about-service-row--image-text {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 0;
  }

  .about-service-row--image-text {
    flex-direction: column-reverse;
  }

  .about-service-row__text,
  .about-service-row__text--primary,
  .about-service-row__text--secondary,
  .about-service-row__text--tertiary {
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding: 0;
    gap: 18px;
  }

  .about-service-row__title,
  .about-service-row__paragraph,
  .about-service-row__list {
    width: 100%;
  }

  .about-service-row__title {
    font-size: 30px;
  }

  .about-service-row__paragraph {
    font-size: 16px;
    line-height: 28px;
  }

  .about-service-row__item {
    font-size: 16px;
    line-height: 26px;
  }

  .about-service-row__media {
    width: 100%;
    padding: 0;
  }

  .about-service-row__image {
    width: 100%;
    height: 360px;
  }
}

@media (max-width: 767px) {
  .about-services.section {
    margin-top: 60px;
    padding: 24px 0;
  }

  .page--about .about-services .container {
    width: auto;
    padding-inline: 10px;
  }

  .about-services__content {
    width: 340px;
    align-items: flex-start;
    gap: 40px;
  }

  .about-services__intro {
    width: 320px;
    align-items: flex-start;
    gap: 20px;
    padding-inline: 10px;
  }

  .about-services__title {
    width: 320px;
    font-size: 40px;
    text-align: left;
  }

  .about-services__text {
    width: 320px;
    font-size: 15px;
    line-height: 30px;
    text-align: left;
  }

  .about-services__rows {
    width: 340px;
    gap: 24px;
  }

  .about-service-row,
  .about-service-row--text-image,
  .about-service-row--image-text {
    width: 340px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
  }

  .about-service-row--image-text {
    flex-direction: column-reverse;
  }

  .about-service-row__text,
  .about-service-row__text--primary,
  .about-service-row__text--secondary,
  .about-service-row__text--tertiary {
    width: 340px;
    min-height: auto;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
  }

  .about-service-row__title {
    width: 320px;
    font-size: 24px;
  }

  .about-service-row__paragraph {
    width: 320px;
    font-size: 15px;
    line-height: 30px;
  }

  .about-service-row__list {
    width: 320px;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .about-service-row__item {
    font-size: 15px;
    line-height: 30px;
  }

  .about-service-row__media {
    width: 320px;
    padding: 0 10px;
  }

  .about-service-row__image {
    width: 320px;
    height: 213.33px;
  }
}

.about-diagnostics.section {
  margin-top: 60px;
  padding: 24px 0;
  background: #fcf9f4;
}

.page--about .about-diagnostics .container {
  width: min(100%, 1280px);
  padding-inline: 40px;
}

.about-diagnostics__content {
  display: flex;
  width: 1200px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 10px 0;
  margin: 0 auto;
}

.about-diagnostics__intro {
  display: flex;
  width: 1200px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-diagnostics__title {
  width: 1200px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.about-diagnostics__text {
  width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
  color: #8a755d;
}

.about-diagnostics__grid {
  display: grid;
  grid-template-columns: repeat(6, 170px);
  grid-template-rows: 192px 200px;
  column-gap: 30px;
  row-gap: 30px;
  width: 1170px;
  justify-content: center;
}

.about-diagnostics-card {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 16px;
  background: #f5efe6;
  border: 1px solid #e4d8c7;
  border-radius: 20px;
}

.about-diagnostics-card:nth-child(-n + 3) {
  grid-column: span 2;
}

.about-diagnostics-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.about-diagnostics-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.about-diagnostics-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #4f3c28;
}

.about-diagnostics-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #6d5846;
}

.about-diagnostics__note {
  width: 730px;
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
  color: #6d5846;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-diagnostics.section {
    margin-top: 52px;
  }

  .page--about .about-diagnostics .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-diagnostics__content,
  .about-diagnostics__intro {
    width: 100%;
  }

  .about-diagnostics__content {
    gap: 32px;
  }

  .about-diagnostics__title {
    width: 100%;
    font-size: 36px;
  }

  .about-diagnostics__text {
    width: min(100%, 640px);
    font-size: 16px;
    line-height: 26px;
  }

  .about-diagnostics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    width: 100%;
    gap: 20px;
  }

  .about-diagnostics-card,
  .about-diagnostics-card:nth-child(-n + 3),
  .about-diagnostics-card:nth-child(4),
  .about-diagnostics-card:nth-child(5) {
    grid-column: auto;
    width: 100%;
    min-height: 200px;
    height: auto;
  }

  .about-diagnostics__note {
    width: min(100%, 720px);
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .about-diagnostics.section {
    margin-top: 60px;
    padding: 24px 0;
  }

  .page--about .about-diagnostics .container {
    width: auto;
    padding-inline: 10px;
  }

  .about-diagnostics__content {
    width: 340px;
    align-items: flex-start;
    gap: 40px;
  }

  .about-diagnostics__intro {
    width: 340px;
    align-items: flex-start;
    gap: 16px;
  }

  .about-diagnostics__title {
    width: 340px;
    font-size: 40px;
    text-align: left;
  }

  .about-diagnostics__text {
    width: 320px;
    font-size: 15px;
    line-height: 30px;
    text-align: left;
  }

  .about-diagnostics__grid {
    display: grid;
    grid-template-columns: 320px;
    grid-template-rows: none;
    width: 340px;
    gap: 16px;
  }

  .about-diagnostics-card,
  .about-diagnostics-card:nth-child(-n + 3),
  .about-diagnostics-card:nth-child(4),
  .about-diagnostics-card:nth-child(5) {
    grid-column: auto;
    width: 320px;
    min-height: 160px;
    height: auto;
  }

  .about-diagnostics-card__title {
    font-size: 24px;
  }

  .about-diagnostics-card__text {
    font-size: 15px;
    line-height: 24px;
  }

  .about-diagnostics__note {
    width: 320px;
    font-size: 15px;
    line-height: 30px;
    text-align: center;
  }
}

.about-final.section {
  margin-top: 60px;
  padding: 24px 0;
  background: #fcf9f4;
}

.page--about .about-final .container {
  width: min(100%, 1280px);
  padding-inline: 20px;
}

.about-final__content {
  display: flex;
  width: 1240px;
  justify-content: center;
  padding: 10px 0;
  margin: 0 auto;
}

.about-final__card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  margin-bottom: 60px;
  width: 1160px;
  min-height: 454px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 30px 36px 28px;
  background: #f5efe6;
  border: 1px solid #e4d8c7;
  border-radius: 28px;
  overflow: hidden;
}

.about-final__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/hero-texture-side.png") center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.about-final__lead,
.about-final__text,
.about-final__title {
  position: relative;
  z-index: 1;
  margin: 0;
}

.about-final__lead {
  width: 784px;
  font-size: 20px;
  line-height: 34px;
  font-weight: 400;
  text-align: center;
  color: #6d5846;
}

.about-final__text {
  width: 940px;
  font-size: 20px;
  line-height: 34px;
  font-weight: 400;
  text-align: center;
  color: #6d5846;
}

.about-final__text strong {
  font-weight: 700;
  color: #6d5846;
}

.about-final__title {
  width: 1088px;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-final.section {
    margin-top: 52px;
  }

  .page--about .about-final .container {
    width: auto;
    padding-inline: 32px;
  }

  .about-final__content {
    width: 100%;
  }

  .about-final__card {
    width: 100%;
    min-height: auto;
    gap: 28px;
    margin-bottom: 24px;
    padding: 28px 24px;
  }

  .about-final__lead,
  .about-final__text,
  .about-final__title {
    width: 100%;
  }

  .about-final__lead,
  .about-final__text {
    font-size: 18px;
    line-height: 30px;
  }

  .about-final__title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .about-final.section {
    margin-top: 60px;
    padding: 24px 0;
  }

  .page--about .about-final .container {
    width: auto;
    padding-inline: 10px;
  }

  .about-final__content {
    width: 340px;
  }

  .about-final__card {
    width: 340px;
    min-height: 726px;
    gap: 28px;
    padding: 24px 18px 20px;
    border-radius: 24px;
  }

  .about-final__lead {
    width: 320px;
    font-size: 16px;
    line-height: 30px;
  }

  .about-final__text {
    width: 320px;
    font-size: 16px;
    line-height: 30px;
  }

  .about-final__title {
    width: 320px;
    font-size: 28px;
  }
}
