/**
 * brand.css - 병원소개(브랜드)
 */

/* 히어로: 시안 배너 */
.brand .sub-bg-wrap.brand-hero {
  height: 380px;
}

.brand .brand-hero-bg {
  background: url("/assets/img/sub02_bg.png") 50% 50% / cover no-repeat;
}

.brand .brand-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.brand .sub-top-text.brand-hero-text {
  z-index: 1;
}

.brand .brand-hero-label {
  font-family: "Marcellus", "Aboreto", serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.12em;
  margin: 0 0 8px 0;
  padding-bottom: 0;
}

.brand .brand-hero-title {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

/* 본문 영역 */
.brand-inner {
  max-width: 1350px;
  margin: 0 auto;
  padding: 80px 20px 0;
  box-sizing: border-box;
}

.brand-page-head {
  text-align: center;
  margin-bottom: 72px;
}

.brand-page-title {
  font-family: "Marcellus", "Aboreto", serif;
  font-size: 35px;
  font-weight: 500;
  color: var(--color-primary, #710014);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 10px 0;
}

.brand-page-sub {
  font-size: 17px;
  color: #888;
  margin: 0;
}

/* 섹션 구분선 + 2컬럼 */
.brand-section {
  border-top: 1px solid #cccac7;
  padding: 72px 0;
}

.brand-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.brand-col-text {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 520px;
}

.brand-col-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.brand-sec-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--color-primary, #710014);
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.brand-sec-title-ko {
  font-size: 17px;
  font-weight: 400;
  color: #888;
  margin: 0 0 24px 0;
}

.brand-sec-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}
 
/* 하단 배너 — brand-inner 밖, 전체 너비 */
.brand .brand-cta-banner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 40px 0 0;
  min-height: 530px;
  background: url("/assets/img/brand_banner.png") 70% 30% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 10% 0 17%;
  box-sizing: border-box;
}

.brand-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  box-sizing: border-box;
}

.brand-cta-ko {
  font-size: 25px;
  line-height: 1.55;
  color: #fff;
  font-weight: 400;
  margin: 0 0 24px 0;
}

.brand-cta-en {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .brand-inner {
    padding: 60px 20px 0;
  }

  .brand-page-head {
    margin-bottom: 56px;
  }

  .brand-section {
    padding: 56px 0;
  }

  .brand .brand-cta-banner {
    min-height: 300px;
    padding: 48px 8% 0 12%;
  }

  .brand-cta-ko {
    font-size: 19px;
  }

  .brand-cta-en {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .brand .sub-bg-wrap.brand-hero {
    height: 192px;
  }

  .brand .brand-hero-label {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .brand .brand-hero-title {
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  .brand-inner {
    padding: 48px 16px 0;
  }

  .brand-page-head {
    margin-bottom: 40px;
  }

  .brand-page-title {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .brand-page-sub {
    font-size: 14px;
  }

  .brand-section {
    padding: 40px 0;
  }

  .brand-row {
    flex-direction: column;
  }

  /* 02번 섹션과 같이 모바일은 항상 이미지 상단 */
  .brand-row .brand-col-img {
    order: -1;
    padding-bottom: 28px;
    box-sizing: border-box;
  }

  .brand-row .brand-col-text {
    order: 0;
  }

  .brand-col-text,
  .brand-col-img {
    max-width: 100%;
    flex-basis: auto;
  }

  .brand-sec-title {
    font-size: 20px;
  }

  .brand-sec-title-ko {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .brand-sec-body {
    font-size: 15px;
    line-height: 1.7;
  }

  .brand .brand-cta-banner {
    min-height: 260px;
    margin-top: 24px;
    margin-bottom: 0;
    padding: 36px 24px 0 28px;
    background-position: 60% center;
  }

  .brand-cta-inner {
    padding-right: 12px;
  }

  .brand-cta-ko {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .brand-cta-en {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.65);
  }
}
