﻿/* About page */

.about-hero,
.about-story,
.about-stats,
.about-values,
.about-team,
.about-directions,
.about-cta {
  font-family: var(--font-main);
}

.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 810px;
  padding: 96px 0;
  background: url("../images/about-hero-main.webp") center / cover no-repeat;
  color: #fff;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 42%, rgba(246, 178, 77, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.76) 100%);
  z-index: 1;
}

.about-hero .container,
.about-story .container,
.about-stats .container,
.about-values .container,
.about-team .container,
.about-directions .container,
.about-cta .container {
  width: min(1280px, calc(100vw - 80px));
  max-width: 1280px;
  margin: 0 auto;
}

.about-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(810px - 192px);
}

.about-hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 70px;
}

.about-hero__content {
  max-width: 760px;
}

.about-hero__label {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #f6b24d;
}

.about-hero__title {
  margin: 0 0 26px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 700;
  color: #fff;
}

.about-hero__text {
  max-width: 720px;
  margin: 0 0 34px;
  font-size: 21px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.about-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.about-hero__btn {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  transition: 0.2s ease;
}

.about-hero__btn--primary {
  background: #f6b24d;
  color: #111;
}

.about-hero__btn--light {
  background: rgba(255, 255, 255, 0.88);
  color: #111;
}

.about-hero__btn:hover {
  transform: translateY(-1px);
}

.about-hero__card {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(6, 39, 35, 0.82);
  border: 1px solid rgba(246, 178, 77, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.about-hero__card > span {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.about-hero__card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 68px;
  line-height: 1;
  font-weight: 800;
  color: #f6b24d;
}

.about-hero__card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

/* Story */

.about-story {
  padding: 64px 0;
  background: #faf8f4;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-story__image {
  overflow: hidden;
  height: 430px;
  border-radius: 26px;
  background: #ddd;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.about-story__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-section-label,
.about-section-head p {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #d49b38;
}

.about-story__content h2,
.about-team__content h2 {
  margin: 0 0 20px;
  font-size: 38px;
  line-height: 1.12;
  color: #141414;
}

.about-story__content p,
.about-team__content p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.55;
  color: #4d4740;
}

.about-story__quote {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 4px solid #f6b24d;
  border-radius: 0 16px 16px 0;
  background: #fff;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
  color: #151515;
}

/* Stats */

.about-stats {
  padding: 0 0 54px;
  background: #faf8f4;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(30, 94, 81, 0.5), transparent 42%),
    linear-gradient(135deg, #041f1d 0%, #082f2b 100%);
  color: #fff;
}

.about-stat {
  position: relative;
  padding: 30px 24px;
  text-align: center;
}

.about-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.about-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 48px;
  line-height: 1;
  font-weight: 800;
  color: #f6b24d;
}

.about-stat > span {
  font-size: 16px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
}

/* Shared heading */

.about-section-head {
  margin-bottom: 26px;
}

.about-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.about-section-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  color: #141414;
}

.about-section-link {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid #d9cfc1;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #171717;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

/* Values */

.about-values {
  padding: 54px 0;
  background: #faf8f4;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.about-value {
  padding: 26px 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.about-value__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #082f2b;
  color: #f6b24d;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  font-weight: 700;
}

.about-value h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.15;
  color: #151515;
}

.about-value p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #4c453d;
}

/* Team */

.about-team {
  padding: 60px 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(246, 178, 77, 0.12), transparent 24%),
    linear-gradient(135deg, #061f1d 0%, #082f2b 100%);
  color: #fff;
}

.about-team__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 60px;
  align-items: center;
}

.about-team__content h2 {
  color: #fff;
}

.about-team__content p {
  color: rgba(255, 255, 255, 0.78);
}

.about-team__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-team__list li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.about-team__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 9px;
  display: inline-block;
  vertical-align: -2px;
  background: #f6b24d;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-team__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-team__photos img {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.about-team__photos img:first-child {
  margin-top: 42px;
}

/* Directions */

.about-directions {
  padding: 58px 0;
  background: #faf8f4;
}

.about-directions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-direction {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 22px;
  padding: 22px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  color: #fff;
  text-decoration: none;
  background: #111;
}

.about-direction::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
}

.about-direction img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  transition: 0.35s ease;
}

.about-direction:hover img {
  transform: scale(1.06);
}

.about-direction span,
.about-direction h3 {
  position: relative;
  z-index: 2;
}

.about-direction span {
  width: max-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f6b24d;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.about-direction h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

/* CTA */

.about-cta {
  padding: 20px 0 62px;
  background: #faf8f4;
}

.about-cta__inner {
  position: relative;
  overflow: hidden;
  padding: 34px 46px;
  border-radius: 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background:
    radial-gradient(circle at 86% 30%, rgba(246, 178, 77, 0.18), transparent 28%),
    linear-gradient(135deg, #061f1d 0%, #082f2b 100%);
  color: #fff;
}

.about-cta__inner h2 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.12;
}

.about-cta__inner p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.about-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-cta__btn {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.about-cta__btn--primary {
  background: #f6b24d;
  color: #111;
}

.about-cta__btn--light {
  background: #f3eee6;
  color: #111;
}

/* Adaptive */

@media (max-width: 1100px) {
  .about-hero__inner,
  .about-story__grid,
  .about-team__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-hero__card {
    max-width: 420px;
  }

  .about-values__grid,
  .about-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-directions__grid {
    grid-template-columns: 1fr;
  }

  .about-team__photos {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .about-hero .container,
  .about-story .container,
  .about-stats .container,
  .about-values .container,
  .about-team .container,
  .about-directions .container,
  .about-cta .container {
    width: min(100% - 32px, 1280px);
  }

  .about-hero {
    min-height: 620px;
    padding: 96px 0 72px;
  }

  .about-hero .container {
    min-height: calc(620px - 168px);
  }

  .about-hero__title {
    font-size: 38px;
  }

  .about-hero__text {
    font-size: 17px;
  }

  .about-hero__actions,
  .about-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero__btn,
  .about-cta__btn {
    width: 100%;
  }

  .about-story,
  .about-values,
  .about-team,
  .about-directions {
    padding: 44px 0;
  }

  .about-story__image {
    height: 300px;
  }

  .about-story__content h2,
  .about-team__content h2,
  .about-section-head h2 {
    font-size: 30px;
  }

  .about-values__grid,
  .about-stats__grid {
    grid-template-columns: 1fr;
  }

  .about-stat:not(:last-child)::after {
    display: none;
  }

  .about-team__photos {
    grid-template-columns: 1fr;
  }

  .about-team__photos img {
    height: 260px;
  }

  .about-team__photos img:first-child {
    margin-top: 0;
  }

  .about-section-head--row,
  .about-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-cta__inner {
    padding: 28px 22px;
  }

  .about-cta__inner h2 {
    font-size: 26px;
  }
}
