.eg-about-page {
  overflow: hidden;
  color: var(--color-navy);
  background: #ffffff;
}

.eg-about-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.eg-about-hero,
.eg-about-section {
  padding: 76px 0;
}

.eg-about-hero {
  background:
    linear-gradient(135deg, rgba(235, 248, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(231, 246, 245, 0.86) 100%);
}

.eg-about-hero__inner,
.eg-about-split,
.eg-about-recruit {
  display: grid;
  gap: 42px;
}

.eg-about-hero__copy,
.eg-about-copy {
  min-width: 0;
}

.eg-about-eyebrow {
  margin: 0 0 18px;
  color: var(--color-accent-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eg-about-page h1,
.eg-about-page h2 {
  margin: 0;
  color: var(--color-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.eg-about-page h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.18;
}

.eg-about-page h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.28;
}

.eg-about-lead,
.eg-about-text {
  margin-top: 24px;
  color: rgba(16, 34, 57, 0.78);
  font-size: 17px;
  line-height: 2;
}

.eg-about-lead {
  max-width: 680px;
  font-size: 18px;
}

.eg-about-lead p,
.eg-about-text p {
  margin: 0;
}

.eg-about-lead p + p,
.eg-about-text p + p {
  margin-top: 1em;
}

.eg-about-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  padding: 14px 28px;
  border: 1px solid rgba(31, 82, 116, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #1f6f8b 0%, #1f8f88 100%);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  box-shadow: 0 16px 34px rgba(28, 108, 136, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eg-about-button:hover,
.eg-about-button:focus {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(28, 108, 136, 0.26);
}

.eg-about-media {
  min-width: 0;
}

.eg-about-media img,
.eg-about-placeholder {
  width: 100%;
  min-height: 320px;
  display: block;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(28, 61, 86, 0.14);
}

.eg-about-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.eg-about-placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: rgba(31, 82, 116, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(230, 246, 246, 0.78)),
    repeating-linear-gradient(45deg, rgba(31, 111, 139, 0.08) 0 12px, rgba(255, 255, 255, 0.12) 12px 24px);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.eg-about-section--white {
  background: #ffffff;
}

.eg-about-section--soft {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.eg-about-card-grid {
  display: grid;
  gap: 24px;
}

.eg-about-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(31, 82, 116, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(28, 61, 86, 0.08);
}

.eg-about-card__icon,
.eg-about-card__mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(31, 111, 139, 0.24);
  border-radius: 999px;
  background: #ffffff;
}

.eg-about-card__icon {
  object-fit: contain;
  padding: 8px;
}

.eg-about-card__mark {
  color: #1f6f8b;
  font-size: 20px;
  font-weight: 900;
}

.eg-about-card .eg-about-media {
  margin-top: 24px;
}

.eg-about-card .eg-about-media img,
.eg-about-card .eg-about-placeholder {
  min-height: 220px;
  border-radius: 20px;
  box-shadow: none;
}

.eg-about-section--recruit {
  background: #ffffff;
}

.eg-about-recruit {
  padding: 34px;
  border: 1px solid rgba(31, 82, 116, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(235, 248, 255, 0.92) 0%, rgba(244, 252, 250, 0.98) 100%);
  box-shadow: 0 22px 54px rgba(28, 61, 86, 0.1);
}

@media (min-width: 760px) {
  .eg-about-hero__inner,
  .eg-about-split,
  .eg-about-recruit {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
  }

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

@media (min-width: 1080px) {
  .eg-about-hero,
  .eg-about-section {
    padding: 96px 0;
  }

  .eg-about-hero__inner,
  .eg-about-split {
    gap: 64px;
  }

  .eg-about-recruit {
    gap: 58px;
    padding: 48px;
  }
}

@media (max-width: 759px) {
  .eg-about-container {
    width: min(100% - 28px, 560px);
  }

  .eg-about-hero,
  .eg-about-section {
    padding: 58px 0;
  }

  .eg-about-hero__inner {
    display: flex;
    flex-direction: column-reverse;
  }

  .eg-about-page h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .eg-about-lead,
  .eg-about-text {
    font-size: 16px;
    line-height: 1.9;
  }

  .eg-about-media img,
  .eg-about-placeholder {
    min-height: 240px;
    border-radius: 22px;
  }

  .eg-about-card,
  .eg-about-recruit {
    padding: 24px;
    border-radius: 22px;
  }

  .eg-about-button {
    width: 100%;
    min-height: 58px;
  }
}
