/* About Page Styles - BEM Style */

.about-page {
  background-color: #ffffff;
}

.about-page .inner-hero {
  min-height: 520px;
  background-position: center;
}

.about-page .inner-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(19, 22, 26, 0.92) 0%,
    rgba(19, 22, 26, 0.7) 40%,
    rgba(19, 22, 26, 0.3) 70%,
    transparent 100%
  );
}

.about-page .hero-lead {
  color: rgba(232, 230, 225, 0.65);
}

/* Founder Section */
.about-founder {
  padding: 80px 0;
}

.about-founder__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .about-founder__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 64px;
  }
}

.about-founder__content {
  order: 2;
}

@media (min-width: 1024px) {
  .about-founder__content {
    order: 1;
  }
}

.about-founder__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.about-founder__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--obsidian);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .about-founder__title {
    font-size: 48px;
  }
}

.about-founder__cv-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1.5px solid var(--forest-teal);
  color: var(--forest-teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 32px;
  transition: all 0.2s ease;
}

.about-founder__cv-link:hover {
  background: rgba(26, 143, 125, 0.08);
}

.about-founder__text {
  margin-bottom: 40px;
  color: rgba(19, 22, 26, 0.6);
  line-height: 1.6;
}

.about-founder__text p {
  margin-bottom: 16px;
}

/* Stats */
.about-founder__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(19, 22, 26, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #fafafa;
}

@media (min-width: 640px) {
  .about-founder__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-founder__stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(19, 22, 26, 0.08);
  border-bottom: 1px solid rgba(19, 22, 26, 0.08);
}

.about-founder__stat-item:nth-child(2n) {
  border-right: 0;
}

@media (min-width: 640px) {
  .about-founder__stat-item {
    border-bottom: 0;
  }
  .about-founder__stat-item:nth-child(2n) {
    border-right: 1px solid rgba(19, 22, 26, 0.08);
  }
  .about-founder__stat-item:last-child {
    border-right: 0;
  }
}

.about-founder__stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--champagne);
  margin-bottom: 2px;
}

.about-founder__stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(19, 22, 26, 0.45);
}

/* Specialties */
.about-founder__specs-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(19, 22, 26, 0.35);
  margin-bottom: 16px;
}

.about-founder__specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.about-founder__spec-tag {
  display: inline-flex;
  padding: 8px 16px;
  background: rgba(232, 234, 230, 0.3);
  border: 1px solid rgba(19, 22, 26, 0.05);
  border-radius: 9999px;
  font-size: 12px;
  color: rgba(19, 22, 26, 0.7);
  transition: all 0.3s ease;
}

.about-founder__spec-tag:hover {
  background: var(--forest-teal);
  color: #fff;
  transform: scale(1.05);
}

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

.about-founder__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.about-founder__btn--telegram {
  background: var(--obsidian);
  color: #fff;
}

.about-founder__btn--email {
  border: 1px solid rgba(19, 22, 26, 0.2);
  color: var(--obsidian);
}

.about-founder__btn--email:hover {
  border-color: var(--forest-teal);
  color: var(--forest-teal);
}

/* Photo */
.about-founder__photo-wrap {
  order: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .about-founder__photo-wrap {
    order: 2;
    margin: 0;
  }
}

.about-founder__photo-inner {
  display: flex;
}

.about-founder__photo-accent {
  width: 6px;
  background: var(--champagne);
  border-radius: 9999px;
  flex-shrink: 0;
}

.about-founder__photo-container {
  position: relative;
  flex: 1;
  margin-left: 12px;
  aspect-ratio: 3 / 4;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 8px solid #fff;
}

.about-founder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Practice Section */
.about-practice {
  padding: 96px 0;
  background-color: #1c2024;
}

.about-practice__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
}

@media (min-width: 1024px) {
  .about-practice__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 84px;
  }

  .about-practice__steps {
    grid-auto-rows: 1fr;
  }
}

.about-practice__heading {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.06;
}

@media (min-width: 768px) {
  .about-practice__heading {
    font-size: 56px;
  }
}

.about-practice__text {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 720px;
}

.about-practice__text p {
  margin: 0 0 32px;
}

.about-practice__steps {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.about-practice__step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  min-height: 148px;
  padding: 24px 30px;
  background: #1d2329;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.about-practice__step:hover {
  background: #1e2329;
  border-color: rgba(26, 143, 125, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-practice__step-num {
  width: 54px;
  font-size: 26px;
  font-weight: 700;
  color: var(--champagne);
  opacity: 0.4;
  line-height: 1;
  align-self: center;
  transform: translateY(0);
  transition: opacity 0.5s;
}

.about-practice__step-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.about-practice__step:hover .about-practice__step-num {
  opacity: 1;
  transform: translateY(0) scale(1.1);
}

.about-practice__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
  transition: color 0.3s;
}

.about-practice__step:hover .about-practice__step-title {
  color: var(--forest-teal);
}

.about-practice__step-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 767px) {
  .about-practice {
    padding: 80px 0;
  }

  .about-page .inner-hero__content {
    padding: 100px 0 56px;
  }

  .about-page .inner-hero__divider {
    width: 100%;
    margin-bottom: 22px;
  }

  .about-page .hero-lead {
    font-size: 1rem;
  }

  .about-practice__heading {
    margin-bottom: 28px;
    font-size: 2.5rem;
  }

  .about-practice__text {
    font-size: 1rem;
  }

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

  .about-practice__steps {
    gap: 14px;
  }

  .about-practice__step {
    min-height: 0;
    padding: 22px 22px;
    border-radius: 28px;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
  }

  .about-practice__step-num {
    width: 42px;
    font-size: 22px;
    transform: translateY(0);
  }

  .about-practice__step:hover .about-practice__step-num {
    transform: translateY(0) scale(1.1);
  }

  .about-practice__step-title {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }

  .about-practice__step-desc {
    font-size: 1rem;
  }
}

/* Not Us Section */
.about-not-us {
  padding: 80px 0;
  background-color: #f4f5f0;
}

.about-not-us__header {
  margin-bottom: 64px;
}

.about-not-us__subtitle {
  font-size: 18px;
  color: rgba(19, 22, 26, 0.55);
  max-width: 640px;
}

.about-not-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .about-not-us__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-not-us__card {
  position: relative;
  padding: 48px;
  background: #fff;
  border-radius: 48px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s ease;
}

.about-not-us__card:hover {
  background: #fafafa;
  border-color: rgba(26, 143, 125, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px) scale(1.025);
}

.about-not-us__card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  background: rgba(26, 143, 125, 0.05);
  border-bottom-left-radius: 80px;
  margin-right: -40px;
  margin-top: -40px;
  transition: transform 0.7s;
}

.about-not-us__card:hover .about-not-us__card-bg {
  transform: scale(1.1);
}

.about-not-us__card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 143, 125, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--forest-teal);
  position: relative;
  z-index: 1;
  transition: all 0.5s;
}

.about-not-us__card:hover .about-not-us__card-icon {
  background: var(--forest-teal);
  color: #fff;
}

.about-not-us__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.about-not-us__card:hover .about-not-us__card-title {
  color: var(--forest-teal);
}

.about-not-us__card-desc {
  color: rgba(19, 22, 26, 0.6);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Partners Section */
.about-partners {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-partners__header {
  margin-bottom: 64px;
}

.about-partners__subtitle {
  font-size: 18px;
  color: rgba(19, 22, 26, 0.6);
  max-width: 640px;
}

.about-partners__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .about-partners__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .about-partners__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-partners__card {
  padding: 40px;
  background: #fff;
  border-radius: 40px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
}

.about-partners__card:hover {
  background: var(--forest-teal);
  border-color: var(--forest-teal);
  box-shadow: 0 25px 50px -12px rgba(26, 143, 125, 0.4);
  transform: translateY(-4px) scale(1.025);
}

.about-partners__card-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(26, 143, 125, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: all 0.5s;
}

.about-partners__card:hover .about-partners__card-icon-wrap {
  background: rgba(255, 255, 255, 0.2);
}

.about-partners__card-icon {
  width: 16px;
  height: 16px;
  background: var(--forest-teal);
  border-radius: 4px;
  transform: rotate(45deg);
  transition: background 0.3s;
}

.about-partners__card:hover .about-partners__card-icon {
  background: #fff;
}

.about-partners__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: 16px;
  line-height: 1.2;
  transition: color 0.3s;
}

.about-partners__card:hover .about-partners__card-title {
  color: #fff;
}

.about-partners__card-desc {
  font-size: 14px;
  color: rgba(19, 22, 26, 0.6);
  line-height: 1.6;
  transition: color 0.3s;
}

.about-partners__card:hover .about-partners__card-desc {
  color: rgba(255, 255, 255, 0.8);
}

.about-partners__diagram {
  margin-top: 80px;
  padding: 48px;
  background: #1c2024;
  border-radius: 48px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-partners__diagram-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

@media (min-width: 1024px) {
  .about-partners__diagram-items {
    flex-direction: row;
    gap: 48px;
  }
}

.about-partners__diagram-item {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.about-partners__diagram-item:hover {
  color: #fff;
}

.about-partners__diagram-divider {
  display: none;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .about-partners__diagram-divider {
    display: block;
  }
}

.about-partners__diagram-center {
  background: var(--forest-teal);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 40px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(26, 143, 125, 0.2);
}

.about-partners__diagram-note {
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
