:root {
  --about-hero-height: 720px;
  --about-hero-max-width: 887px;
  --about-color-text: #2f2f2f;
  --about-color-text-muted: #8d8d8b;
  --about-color-white: #ffffff;
  --about-color-title: #424c5c;
  --about-color-accent: #96a15a;
  --about-color-theme-dark: #477023;
  --about-font-body: "Lato", Arial, sans-serif;
  --about-font-title: "Tenor Sans", "Times New Roman", serif;
}

@font-face {
    font-family: "Lato";
    src: url("../../src/font/Lato/Lato-Regular.woff2") format("woff2"),
    url("../../src/font/Lato/Lato-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.about-page {
  min-height: 100vh;
}

.about-page__content {
  display: block;
}

.about-hero {
  position: relative;
  min-height: var(--about-hero-height);
  overflow: hidden;
  isolation: isolate;
  background-color: #6d7b58;
  background-image: url("../img/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.about-hero__container {
  min-height: var(--about-hero-height);
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.about-hero .breadcrumb-box {
  width: 100%;
  padding: 0;
  overflow: visible;
}

.about-hero .breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 1.4;
}

.about-hero .breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.about-hero .breadcrumb li + li::before {
  content: "/";
  margin-right: 9px;
  color: var(--about-color-text-muted);
}

.about-hero .breadcrumb a,
.about-hero .breadcrumb a span {
  color: var(--about-color-text-muted);
}

.about-hero .breadcrumb li.active,
.about-hero .breadcrumb li.active span {
  color: var(--about-color-title);
}

.about-hero__content {
  width: 100%;
  max-width: var(--about-hero-max-width);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero__title {
  margin: 0;
  color: var(--about-color-white);
  font-family: var(--about-font-title);
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
}

.about-hero__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

.about-quote {
  padding-top: 160px;
  padding-bottom: 120px;
}

.about-quote__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.about-quote__text {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  text-align: center;
  color: var(--about-color-text);
  font-family: var(--about-font-title);
  font-size: 41px;
  font-weight: 400;
  line-height: 1.3;
}

.about-quote__divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--about-color-accent);
}

.about-facts {
  padding-bottom: 160px;
}

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

.about-facts__card {
  min-height: 180px;
  padding: 32px;
  border-radius: 12px;
  background: #eff2ec;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.about-facts__value {
  color: var(--about-color-accent);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.about-facts__suffix {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin-left: 12px;
}

.about-facts__suffix--tight {
  margin-left: 0;
}

.about-facts__label {
  width: 100%;
  margin: 0;
  color: var(--about-color-text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.about-project {
  padding-bottom: 160px;
}

.about-project__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  align-items: center;
  gap: 80px;
}

.about-project__media {
  min-width: 0;
  height: 640px;
  overflow: hidden;
  border-radius: 20px;
}

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

.about-project__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.about-project__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-project__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.about-project__title {
  margin: 0;
  color: var(--about-color-text);
  font-family: var(--about-font-title);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.about-project__text {
  width: 100%;
  color: var(--about-color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.about-project__text p {
  margin: 0 0 28.8px;
}

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

.about-project__button {
  min-width: 116px;
  min-height: 40px;
  padding-left: 20px;
  padding-right: 20px;
}

.about-founders {
  padding-top: 160px;
  padding-bottom: 160px;
  background: #eff2ec;
}

.about-founders__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 100px;
}

.about-founders__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-founders__title {
  width: 100%;
  margin: 0;
  text-align: center;
  color: var(--about-color-text);
  font-family: var(--about-font-title);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.about-founder {
  width: 100%;
  display: grid;
  grid-template-columns: 540px minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.about-founder--reverse {
  grid-template-columns: minmax(0, 1fr) 540px;
}

.about-founder--reverse .about-founder__media {
  order: 2;
}

.about-founder--reverse .about-founder__content {
  order: 1;
}

.about-founder__media {
  width: 540px;
  height: 680px;
  overflow: hidden;
  border-radius: 16px;
}

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

.about-founder__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.about-founder__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.about-founder__name {
  margin: 0;
  color: var(--about-color-text);
  font-family: var(--about-font-title);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
}

.about-founder__role {
  max-width: 392px;
  color: var(--about-color-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.about-founder__description {
  width: 100%;
  margin: 0;
  color: var(--about-color-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.about-founder__quote {
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding-left: 24px;
  border-left: 4px solid var(--about-color-accent);
  color: var(--about-color-text);
  font-family: var(--about-font-body);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
}

.about-founder__tags {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-founder__tags li {
  padding: 6px 12px;
  border-radius: 20px;
  background: #eff2ec;
  color: var(--about-color-theme-dark);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.about-immersive {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #44652b;
  background-image: url("../img/bg-big.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      270deg,
      rgba(41, 74, 13, 0.18) 0%,
      rgba(71, 112, 35, 0.45) 46%,
      rgba(41, 74, 13, 0.9) 100%
    );
}

.about-immersive__container {
  padding-top: 160px;
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.about-immersive__title {
  margin: 0;
  color: var(--about-color-white);
  font-family: var(--about-font-title);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
}

.about-immersive__text {
  width: 100%;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.about-immersive__text-mobile {
  display: none;
}

.about-immersive__text p {
  margin: 0 0 12px;
}

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

.about-immersive__welcome {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-immersive__welcome-title {
  color: var(--about-color-white);
  font-family: var(--about-font-title);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

.about-immersive__welcome-divider {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.about-contacts {
  padding-top: 160px;
  padding-bottom: 160px;
}

.about-contacts__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: stretch;
  gap: 80px;
}

.about-contacts__media {
  min-width: 0;
  height: 100%;
}

.about-contacts__map {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #eff2ec;
}

.about-contacts__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.about-contacts__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-contacts__title {
  margin: 0;
  color: var(--about-color-text);
  font-family: var(--about-font-title);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.about-contacts__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-contacts__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-contacts__item-title {
  color: var(--about-color-text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.about-contacts__item-value,
.about-contacts__item-value a {
  color: var(--about-color-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.about-contacts__socials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.about-contacts__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-contacts__icon {
  display: block;
  fill: currentColor;
}

.about-contacts__icon--vk {
  width: 20px;
  height: 20px;
}

.about-contacts__icon--teleg {
  width: 20px;
  height: 20px;
}

.about-contacts__icon--yt {
  width: 24px;
  height: 24px;
}

.about-contacts__social-link svg {
  display: block;
}

@media (min-width: 768px) {
  .about-contacts__map {
    min-height: 500px;
  }
}

@media (max-width: 1399px) {
  .about-hero__container {
    min-height: 640px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

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

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

  .about-hero__description {
    font-size: 22px;
  }

  .about-quote {
    padding-top: 120px;
    padding-bottom: 96px;
  }

  .about-quote__container {
    gap: 40px;
  }

  .about-quote__text {
    max-width: 840px;
    font-size: 34px;
    line-height: 1.28;
  }

  .about-facts {
    padding-bottom: 120px;
  }

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

  .about-project {
    padding-bottom: 120px;
  }

  .about-project__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-project__media {
    height: 520px;
  }

  .about-project__content {
    gap: 32px;
  }

  .about-project__title {
    font-size: 40px;
  }

  .about-founders {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .about-founders__container {
    gap: 72px;
  }

  .about-founder,
  .about-founder--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-founder--reverse .about-founder__media,
  .about-founder--reverse .about-founder__content {
    order: initial;
  }

  .about-founder__media {
    width: 100%;
    height: 560px;
  }

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

  .about-immersive__container {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .about-immersive__title {
    font-size: 52px;
  }

  .about-immersive__text {
    max-width: 620px;
    font-size: 18px;
  }

  .about-contacts {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .about-contacts__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-contacts__map {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .about-hero .container,
  .about-quote .container,
  .about-facts .container,
  .about-project .container,
  .about-founders .container,
  .about-contacts .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .about-hero__container {
    min-height: 720px;
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .about-hero {
    min-height: 720px;
    background-position: 28%;
  }

  .about-hero .breadcrumb {
    gap: 9px;
    font-size: 16px;
    line-height: 22.4px;
  }

  .about-hero .breadcrumb li + li::before {
    margin-right: 9px;
    color: rgba(255, 255, 255, 0.8);
  }

  .about-hero .breadcrumb a,
  .about-hero .breadcrumb a span {
    color: rgba(255, 255, 255, 0.8);
  }

  .about-hero .breadcrumb li.active,
  .about-hero .breadcrumb li.active span {
    color: var(--about-color-white);
  }

  .about-hero__content {
    gap: 24px;
  }

  .about-hero__title {
    font-size: 32px;
    line-height: 38.4px;
  }

  .about-hero__description {
    font-size: 16px;
    line-height: 1.4;
  }

  .about-quote {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-quote__container {
    gap: 48px;
  }

  .about-quote__text {
    font-size: 20px;
    line-height: 26px;
  }

  .about-facts {
    padding-bottom: 40px;
  }

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

  .about-facts__card {
    min-height: 130px;
    padding: 20px;
    border-radius: 6px;
  }

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

  .about-facts__suffix {
    font-size: 20px;
    line-height: 20px;
    margin-left: 0;
  }

  .about-facts__label {
    font-size: 14px;
    line-height: 19.6px;
    color: #5e5e5e;
    letter-spacing: -0.14px;
  }

  .about-project {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-project__layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .about-project__media {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    order: 2;
  }

  .about-project__content {
    display: contents;
  }

  .about-project__header {
    gap: 16px;
    margin-bottom: 0;
    order: 1;
  }

  .about-project__body {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .about-project__title {
    font-size: 32px;
    line-height: 32px;
  }

  .about-project__text {
    font-size: 15px;
    line-height: 21px;
  }

  .about-project__text p {
    margin-bottom: 13px;
  }

  .about-project__button {
    width: 100%;
    min-height: 40px;
  }

  .about-founders {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-founders__container {
    gap: 40px;
  }

  .about-founders__header {
    gap: 16px;
  }

  .about-founders__title {
    font-size: 32px;
    line-height: 32px;
    text-align: left;
  }

  .about-founder,
  .about-founder--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-founder--reverse .about-founder__media,
  .about-founder--reverse .about-founder__content {
    order: initial;
  }

  .about-founder__media {
    width: 100%;
    height: 440px;
    border-radius: 12px;
  }

  .about-founder__content {
    gap: 24px;
  }

  .about-founder__name {
    font-size: 28px;
    line-height: 33.6px;
  }

  .about-founder__role {
    max-width: none;
    font-size: 14px;
  }

  .about-founder__description {
    font-size: 16px;
    line-height: 25.6px;
  }

  .about-founder__quote {
    padding-left: 20px;
    font-size: 18px;
    line-height: 27px;
  }

  .about-founder__tags li {
    border: 0.5px solid var(--about-color-accent);
  }

  .about-immersive {
    min-height: 540px;
    background-position: 68% 0;
    background-size: 409%;
  }

  .about-immersive::before {
    background:
      linear-gradient(
        360deg,
        rgba(41, 74, 13, 0.2) 0%,
        rgba(71, 112, 35, 0.5) 43%,
        #294a0d 100%
      );
  }

  .about-immersive__container {
    min-height: 540px;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 48px;
    align-items: center;
  }

  .about-immersive__title {
    font-size: 28px;
    line-height: 33.6px;
    text-align: center;
  }

  .about-immersive__text {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }

  .about-immersive__text-desktop {
    display: none;
  }

  .about-immersive__text-mobile {
    display: block;
  }

  .about-immersive__text p {
    margin-bottom: 24px;
  }

  .about-immersive__welcome {
    display: none;
  }

  .about-contacts {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-contacts__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-contacts__content {
    gap: 40px;
    order: 1;
  }

  .about-contacts__header {
    gap: 16px;
  }

  .about-contacts__title {
    font-size: 32px;
    line-height: 32px;
  }

  .about-contacts__list {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px 10px;
  }

  .about-contacts__item {
    gap: 6px;
  }

  .about-contacts__item--address {
    max-width: none;
  }

  .about-contacts__item--phone {
    grid-column: 1;
    order: 1;
  }

  .about-contacts__item--email {
    grid-column: 2;
    order: 2;
  }

  .about-contacts__item--bureau {
    grid-column: 1;
    order: 3;
  }

  .about-contacts__item--worktime {
    grid-column: 2;
    order: 4;
  }

  .about-contacts__item--address {
    grid-column: 1 / -1;
    max-width: 221px;
    order: 5;
  }

  .about-contacts__item-value,
  .about-contacts__item-value a,
  .about-contacts__item-title {
    font-size: 15px;
    line-height: 21px;
  }

  .about-contacts__item-title {
    text-transform: none;
  }

  .about-contacts__item-value,
  .about-contacts__item-value a {
    font-size: 15px;
    line-height: 21px;
    font-weight: 400;
  }

  .about-contacts__socials {
    gap: 12px;
  }

  .about-contacts__media {
    order: 2;
    height: 340px;
  }

  .about-contacts__map {
    height: 340px;
    border-radius: 12px;
  }
}
