/* product-cdmo.css */

/* ========== 01-header / 02-navbar ========== */
/* Uses common.css .page-header and .navbar-index styles */

/* ========== 03-partner-intro ========== */

.partner-intro-section {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
}

.partner-intro-wrapper {
  width: 100%;
  padding: 5rem clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  box-sizing: border-box;
}

.partner-intro-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 100%;
}

.partner-intro-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.partner-intro-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem;
  line-height: 1.3;
  color: var(--darkgreen);
  text-transform: capitalize;
  margin: 0;
}

.partner-intro-description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.025rem;
  color: var(--darkgreen);
}

.partner-intro-description p {
  margin: 0;
}

.partner-intro-description .highlight {
  font-weight: 600;
}

/* Features */
.partner-features {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  width: 100%;
}

.partner-feature-row {
  display: flex;
  gap: 3.75rem;
  align-items: center;
  width: 100%;
}

.partner-feature-tagline {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: flex-start;
  width: 22.5rem;
  flex-shrink: 0;
}

.feature-number {
  font-family: var(--font-paperlogy);
  font-weight: 300;
  font-size: 2.125rem;
  line-height: 1.3;
  color: var(--logogreen);
}

.feature-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.3;
  color: var(--logogreen);
}

.partner-feature-content {
  flex: 1;
  min-width: 0;
}

.feature-description {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.0275rem;
  color: var(--gray);
  margin: 0;
}

/* Partner Intro - Tablet */
@media (max-width: 1199px) {
  .partner-intro-wrapper {
    padding: 4rem 5%;
  }

  .partner-intro-title {
    font-size: 2.25rem;
  }

  .partner-intro-description {
    font-size: 1.125rem;
  }

  .partner-feature-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .partner-feature-tagline {
    width: 100%;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .feature-number,
  .feature-title {
    font-size: 1.75rem;
  }

  .feature-description {
    font-size: 1.125rem;
  }
}

/* Partner Intro - Mobile */
@media (max-width: 767px) {
  .partner-intro-wrapper {
    padding: 3rem 5%;
  }

  .partner-intro-content {
    gap: 3rem;
  }

  .partner-intro-header {
    gap: 1.5rem;
  }

  .partner-intro-title {
    font-size: 1.75rem;
  }

  .partner-intro-description {
    font-size: 1rem;
  }

  .partner-features {
    gap: 2.5rem;
  }

  .partner-feature-row {
    gap: 0.75rem;
  }

  .partner-feature-tagline {
    gap: 0.375rem;
  }

  .feature-number,
  .feature-title {
    font-size: 1.375rem;
  }

  .feature-description {
    font-size: 1rem;
  }
}

/* ========== 04-process-section ========== */

.process-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 12.5rem;
  background-color: #fff;
}

.process-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.process-content {
  width: 100%;
  padding: 0 clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  display: flex;
  flex-direction: column;
  gap: 5rem;
  box-sizing: border-box;
}

.process-header {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.process-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem;
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

.process-description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.025rem;
  color: var(--darkgreen);
}

.process-description p {
  margin: 0;
}

/* 3 Steps */
.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
  padding: 0 1.25rem;
  min-width: 0;
}

.step-icon-wrapper {
  width: 9.375rem;
  height: 9.375rem;
  background-color: var(--lightgray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon {
  width: 5.625rem;
  height: 5.625rem;
  object-fit: contain;
}

.step-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.3;
  color: var(--logogreen);
  text-align: center;
  margin: 0;
}

.step-description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.025rem;
  color: var(--darkgreen);
  text-align: center;
  margin: 0;
}

.process-arrow {
  width: 5rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arrow-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Process - Tablet */
@media (max-width: 1199px) {
  .process-section {
    margin-top: 6rem;
  }

  .process-content {
    padding: 0 5%;
    gap: 3rem;
  }

  .process-title {
    font-size: 2rem;
  }

  .process-description {
    font-size: 1.125rem;
  }

  .step-icon-wrapper {
    width: 7.5rem;
    height: 7.5rem;
  }

  .step-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .step-title {
    font-size: 1.625rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .process-arrow {
    width: 3rem;
    height: 5rem;
  }
}

/* Process - Mobile */
@media (max-width: 767px) {
  .process-section {
    margin-top: 4rem;
  }

  .process-content {
    gap: 2.5rem;
  }

  .process-header {
    gap: 1.5rem;
  }

  .process-title {
    font-size: 1.5rem;
  }

  .process-description {
    font-size: 1rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .process-step {
    width: 100%;
    padding: 0;
    gap: 1.25rem;
  }

  .step-icon-wrapper {
    width: 6.25rem;
    height: 6.25rem;
  }

  .step-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .step-title {
    font-size: 1.375rem;
  }

  .step-description {
    font-size: 0.9375rem;
  }

  .process-arrow {
    width: 3rem;
    height: 2rem;
    transform: rotate(90deg);
  }
}

/* ========== 05-gmp-infrastructure ========== */

.gmp-infrastructure {
  width: 100%;
  background-color: var(--lightgray);
  display: flex;
  justify-content: center;
  margin-top: 12.5rem;
}

.gmp-infrastructure__container {
  width: 100%;
  padding: 0 clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}

.gmp-infrastructure__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
  padding: 9.375rem 0;
  flex: 1;
  min-width: 0;
}

.gmp-infrastructure__text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

.gmp-infrastructure__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem;
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

.gmp-infrastructure__description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.025rem;
  color: var(--darkgreen);
  margin: 0;
}

.gmp-infrastructure__scales {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.gmp-infrastructure__scale-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gmp-infrastructure__scale-icon {
  width: 3.375rem;
  height: 3.375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gmp-infrastructure__scale-icon--light,
.gmp-infrastructure__scale-icon--medium,
.gmp-infrastructure__scale-icon--dark {
  background-color: transparent;
}

.gmp-infrastructure__scale-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gmp-infrastructure__scale-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gmp-infrastructure__scale-title {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.0275rem;
  margin: 0;
}

.gmp-infrastructure__scale-name {
  color: var(--logogreen);
}

.gmp-infrastructure__scale-type {
  color: rgba(0, 0, 0, 0.6);
}

.gmp-infrastructure__scale-desc {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gray);
  margin: 0;
}

.gmp-infrastructure__image {
  width: 29.375rem;
  align-self: stretch;
  flex-shrink: 0;
}

.gmp-infrastructure__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GMP - Tablet */
@media (max-width: 1199px) {
  .gmp-infrastructure {
    margin-top: 6rem;
  }

  .gmp-infrastructure__container {
    padding: 0 5%;
    flex-direction: column;
  }

  .gmp-infrastructure__content {
    padding: 4rem 0;
    width: 100%;
  }

  .gmp-infrastructure__title {
    font-size: 2rem;
  }

  .gmp-infrastructure__title br,
  .gmp-infrastructure__description br {
    display: none;
  }

  .gmp-infrastructure__description {
    font-size: 1.125rem;
  }

  .gmp-infrastructure__image {
    width: 100%;
    height: 25rem;
    order: -1;
  }
}

/* GMP - Mobile */
@media (max-width: 767px) {
  .gmp-infrastructure {
    margin-top: 4rem;
  }

  .gmp-infrastructure__content {
    padding: 2.5rem 0;
    gap: 2rem;
  }

  .gmp-infrastructure__text {
    gap: 1.5rem;
  }

  .gmp-infrastructure__title {
    font-size: 1.5rem;
  }

  .gmp-infrastructure__description {
    font-size: 1rem;
  }

  .gmp-infrastructure__scales {
    gap: 1rem;
  }

  .gmp-infrastructure__scale-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gmp-infrastructure__scale-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .gmp-infrastructure__scale-title {
    font-size: 1.125rem;
  }

  .gmp-infrastructure__scale-desc {
    font-size: 0.9375rem;
  }

  .gmp-infrastructure__image {
    height: 15rem;
  }
}

/* ========== 06-quality-management ========== */

.quality-management-section {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #fff;
  margin-top: 12.5rem;
}

.quality-management-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  box-sizing: border-box;
}

.quality-management-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.quality-management-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem;
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

/* Quality Grid */
.quality-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.quality-card {
  display: flex;
  width: 100%;
  height: 20.625rem; /* 330px */
  overflow: hidden;
}

.quality-card--green {
  background-color: var(--logogreen);
}

.quality-card--beige {
  background-color: #d4ba9f;
}

.quality-card__image {
  width: 50%;
  position: relative;
}

.quality-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-card__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.875rem;
  padding: 5rem;
  box-sizing: border-box;
  color: #fff;
}

.quality-card__content--left {
  background-color: var(--lightgray);
  padding: 5rem 3.75rem;
}

.quality-card__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.3;
  margin: 0;
}

.quality-card__title--green {
  color: var(--logogreen);
}

.quality-card__description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  letter-spacing: -0.025rem;
  margin: 0;
}

.quality-card__description--dark {
  color: var(--gray);
}

/* Quality - Tablet */
@media (max-width: 1199px) {
  .quality-management-section {
    margin-top: 6rem;
  }

  .quality-management-wrapper {
    padding: 2.5rem 5%;
  }

  .quality-management-title {
    font-size: 2rem;
  }

  .quality-card {
    flex-direction: column;
    height: auto;
  }

  .quality-card--beige {
    flex-direction: column-reverse;
  }

  .quality-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .quality-card__content {
    width: 100%;
    padding: 2.5rem;
  }

  .quality-card__content--left {
    padding: 2.5rem;
  }

  .quality-card__title {
    font-size: 1.75rem;
  }

  .quality-card__description {
    font-size: 1rem;
  }
}

/* Quality - Mobile */
@media (max-width: 767px) {
  .quality-management-section {
    margin-top: 4rem;
  }

  .quality-management-content {
    gap: 1.5rem;
  }

  .quality-management-title {
    font-size: 1.5rem;
  }

  .quality-card__content {
    padding: 1.5rem;
    gap: 1rem;
  }

  .quality-card__content--left {
    padding: 1.5rem;
  }

  .quality-card__title {
    font-size: 1.375rem;
  }

  .quality-card__description {
    font-size: 0.9375rem;
  }
}
