/* =================================
 * about 페이지 스타일 (pages/about.css)
 * ================================= */

/* --- 공통 섹션 스타일 --- */
main section {
  color: #171717;
}
.section-header h2 {
  color: #171717;
  margin-bottom: 4px;
}
.section-header h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
}

/* --- 1. 히어로 배너 --- */
.banner-content img {
  max-width: 180px;
}
.about-banner {
  background: var(--color-primary);
}
.about-banner .section-header h2,
.about-banner .section-header p {
  color: #fff;
}
.about-banner .section-header p {
  margin: 0;
}

/* --- 2. CEO 인사말 섹션 --- */
.about-greetings-container {
  max-width: 1390px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.about-greetings-container .section-header h2 {
  text-align: left;
  padding-right: 40px;
}
.about-greetings .section-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.about-greetings-message {
  width: 65%;
  padding-right: 72px;
  position: relative;
}

.about-greetings-message p {
  font-size: 18px;
  font-weight: 300;
  text-align: left;

  color: #404040;

  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.2px;
}

.about-signature {
  max-width: 410px;
  width: 30%;
  aspect-ratio: 410 / 339;
  position: absolute;
  bottom: 80px;
  right: 16px;
}

.separator-line {
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
}

/* --- 3. system --- */
.about-system-items {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  gap: 36px;
}
.about-system-items .system-item {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 36px;
}
.about-system-items .system-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-system-items .system-item img {
  width: 80px;
  height: 80px;
}
.about-system-items .system-item h3 {
  color: #171717;
  text-align: left;
  font-size: 24px;
  font-weight: 400;
}
.about-system-items .system-item p {
  color: #404040;
  font-size: 18px;
  font-weight: 300;
  text-align: left;
}

/* --- 4. history --- */
.about-history .section-container {
  display: flex;
  justify-content: space-between;
}
.about-history .section-container .section-header,
.about-history .section-container .about-history-content {
  flex: 1;
}

.about-history .section-header h3,
.about-history .section-header h2 {
  text-align: left;
}

.about-history-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.history-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.history-item-year {
  display: flex;
  width: 100px;
  height: 100px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-size: 24px;
  border: 1px solid #f1f4ff;
  background: #ffff;
  color: #525252;
}
.history-item-year span {
  font-size: 12px;
  font-weight: 300;
}
.history-item:first-child .history-item-year {
  background: var(--color-primary);
  color: #fff;
}

.history-list {
  margin: 0;
  padding: 0;
}

.history-list li {
  list-style: none;
  position: relative;
  padding-left: 91px;
  margin-bottom: 12px;
  text-align: left;
}

.history-list li::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 6px;
  display: flex;
  width: 10px;
  height: 10px;
  border-radius: 99999px;
  background: #f1f4ff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.history-item:first-child .history-list li::before {
  background: var(--color-primary);
}

/* --- 5. group --- */
.about-group {
  display: none;
}

.org-children-line-wrapper {
  position: relative;
  padding-top: 36px;
}
.org-children-line-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 36px;
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
}

.org-children-flex {
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.org-children-flex::before {
  content: "";
  position: absolute;
  top: 66px;
  left: 10%;
  right: 10%;
  height: 2px;
  width: 80%;
  border-radius: 9999px;
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
  z-index: 1;
}

.org-node {
  flex: 1;
  max-width: 340px;
}

.org-group-content {
  margin-top: 100px;
}

.org-item {
  display: flex;
  flex-direction: column;
  padding: 36px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  border-radius: var(--border-radius-rounded, 99999px);
  z-index: 2;
  position: relative;
  height: 63px;
  max-width: 268px;
}

.org-item.main-item {
  background: var(--color-primary);
  color: #fff;
  margin: 0 auto;
}
.org-item h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
}
.org-item p {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
}
.org-child-node {
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
  position: relative;
}
.org-child-node::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 36px;
  border-radius: 0 9999px 9999px 0;
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  margin-top: 36px;
}
.detail-list li:first-child {
  color: #171717;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 24px;
}
.detail-list li {
  color: #404040;
  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
}
.detail-list li:last-child {
  margin-bottom: 0;
}

/* --- 5. 상담 섹션 --- */
.about-consult .section-container {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}
.about-consult .section-header {
  width: 37%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-consult .section-header h2 {
  text-align: left;
}
.about-consult .section-header p {
  text-align: left;
  margin-bottom: 24px;
}
.about-consult .section-header a {
  margin: 0;
}

.about-consult-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.about-consult-item {
  display: flex;
  padding: 36px;
  align-items: center;
  gap: 36px;
  border-radius: var(--border-radius-rounded, 99999px);
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.02) 0%,
      rgba(0, 33, 167, 0.02) 100%
    ),
    #fff;
}
.about-consult-item span {
  display: flex;
  width: 80px;
  height: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
}
.about-consult-item h3 {
  color: #171717;
  font-size: 24px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.2px;
  text-align: left;
}
.about-consult-item p {
  color: #404040;
  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  letter-spacing: -0.2px;
  margin-top: 8px;
}

/* --- 6. incruit --- */
.about-incruit-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 100px;
  gap: 36px;
}
.about-incruit-items .incruit-item {
  display: flex;
  padding: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(241, 244, 255, 0.3);
}

.about-incruit-items h3 {
  color: #171717;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-top: 8px;
}
.about-incruit-items p {
  color: #404040;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
}

.section-cta {
  background: linear-gradient(
      0deg,
      rgba(0, 33, 167, 0.04) 0%,
      rgba(0, 33, 167, 0.04) 100%
    ),
    #fff;
}

.section-cta .section-header h3 {
  color: var(--color-primary);
}
.section-cta .section-header p {
  margin-bottom: 24px;
}

@media (max-width: 720px) {
  .section-header h2 {
    margin: 0;
  }
  .section-header h3 {
    margin-bottom: 8px;
  }
  .app-showcase-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .app-showcase-grid img {
    max-width: 70%;
  }

  .about-greetings-container .section-header h2 {
    text-align: center;
    padding: 0;
  }

  .poink-features .section-container {
    flex-direction: column;
    gap: 150px;
  }
  .poink-features .section-header {
    width: 90%;
  }

  .poink-for-store-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .poink-for-store-grid img {
    max-width: 70%;
  }

  .about-greetings .section-container {
    flex-direction: column;
    gap: 40px;
  }

  .about-greetings-message {
    padding: 0;
    width: 100%;
  }

  .about-greetings-line {
    display: none;
  }

  .about-system-items {
    gap: 40px;
    margin-top: 40px;
  }
  .about-system-items .system-item {
    align-items: flex-start;
    padding: 24px;
  }
  .about-system-items .system-item img {
    width: 60px;
    height: 60px;
  }
  .about-system-items .system-item-content {
    gap: 4px;
  }
  .about-system-items .system-item h3 {
    font-size: 16px;
  }
  .about-system-items .system-item p {
    font-size: 14px;
  }

  .about-history .section-container {
    flex-direction: column;
  }

  .history-item-year {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
  .history-list li {
    padding-left: 49px;
  }
  .history-list li::before {
    left: 27px;
    width: 6px;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
  }

  .about-history .section-header h3,
  .about-history .section-header h2 {
    text-align: center;
  }

  .about-history-content {
    margin-top: 40px;
  }

  .history-item-year-span {
    display: none;
  }

  .about-incruit .section-container {
    padding: 80px 16px 120px 16px;
  }

  .about-incruit-items {
    grid-template-columns: 1fr;
    margin-top: 40px;
    justify-items: center;
    gap: 16px;
  }
  .about-incruit-items .incruit-item {
    width: 300px;
    height: 300px;
    gap: 0;
    box-sizing: border-box;
  }
  .about-incruit-items p {
    margin-top: 4px;
  }
}
