/* ====================================================================
   병원소개(sub0701) 추가 섹션 — 서버 about.css(개발자) 위에 얹는다.
   병원소개 (sub07/sub0701.php) 전용 — 2026-11-11
   작업본 : _about_renewal/preview/sub0701.html · preview/css/sub0701.css
   ==================================================================== */

/* ---------- CARE PROMISE : 기존 사이트 「체인지 소개」 서비스 3가지 ---------- */
.ab-promise { padding: 130px 24px 0; text-align: center; }
.ab-promise__in { max-width: 1200px; margin: 0 auto; }
.ab-promise__head .ab-desc { max-width: 620px; margin: 0 auto; }
.ab-promise__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.ab-promise__item {
  display: flex;
  flex-direction: column;
  padding: 40px 36px 42px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--ab-line);
}
.ab-promise__no {
  font-family: var(--ab-en);
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--ab-brown);
}
.ab-promise__item h3 {
  margin: 18px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ab-line);
  font-family: var(--ab-ko);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ab-ink);
  word-break: keep-all;
}
.ab-promise__item p {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--ab-text);
  word-break: keep-all;
  text-wrap: pretty;
}
.ab-promise__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}
.ab-promise__tags li {
  padding: 3px 12px;
  border: 1px solid rgba(122, 99, 80, .35);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ab-brown);
}
.ab-promise__quote {
  margin: 56px 0 0;
  font-family: var(--ab-ko);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ab-brown);
  word-break: keep-all;
}

@media (max-width: 1100px) {
  .ab-promise__list { grid-template-columns: 1fr; gap: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .ab-promise__tags { margin-top: 0; }
}
@media (max-width: 767px) {
  .ab-promise { padding: 80px 20px 0; }
  .ab-promise__list { margin-top: 40px; }
  .ab-promise__item { padding: 28px 22px 30px; }
  .ab-promise__item h3 { font-size: 19px; padding-bottom: 18px; }
  .ab-promise__item p { margin-top: 18px; font-size: 15px; }
  .ab-promise__tags { padding-top: 18px; }
  .ab-promise__tags li { font-size: 13px; }
  .ab-promise__quote { margin-top: 40px; font-size: 16px; }
}

/* ---------- OUR DOCTORS 사진 ----------
   서버의 main3-doctors-new.png 는 파일 자체가 가로로 늘어나 있어(1024×683) 원본 main3-doctors.png(1459×1063)로 바꿈.
   사진 바탕색(#f3efe3)과 칸 색을 맞춰 위쪽 경계가 안 보이게 함 */
.ab-split__img--cream { background: #f3efe3; }

/* [공통 후보] 히어로 제목 : 서버 about.css 는 Noto Serif KR 600 → 메인페이지 · 디자인 시스템처럼 Pretendard 500 (2026-11-11)
   영문 소제목(VISIT 등)은 세리프 그대로. 세 페이지(sub0701~0703) 같은 규칙. */
.ab-hero__title {
  font-family: "Pretendard", "Pretendard Variable", -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ---------- 배너 : 진료안내(sub0703)와 같은 고화질 로비 사진(AI 업스케일 2560px) + 같은 흐림 (2026-11-11)
   진료안내는 아래쪽 소파에, 병원소개는 위쪽 로고 · 안내데스크에 초점.
   사진 파일은 진료안내 채팅이 만든 preview/images/sub0703-hero-lobby.jpg 를 같이 씀 (서버 반영 때 공통 이름으로 옮기기) */
.ab-hero--clinic { overflow: hidden; }
.ab-hero--clinic::before {
  inset: -24px;
  background-image: linear-gradient(rgba(36, 24, 16, .5), rgba(36, 24, 16, .66)), url("../images/about/sub0703-hero-lobby.jpg");
  background-position: center 18%;
  filter: blur(5px);
}

/* [공통 후보 · sub0701~0703 같은 규칙] 제목 글꼴 (2026-11-11 사용자 요청)
   큰 한글 제목 : 명조(Noto Serif KR) → Pretendard / 영문 소제목 : Cardo → Marcellus.
   서버 about.css 가 모든 제목을 --ab-ko · --ab-en 두 변수로 쓰므로 변수만 바꾼다.
   Pretendard 는 같은 굵기에서 명조보다 굵어 보여서 600 → 500 (히어로 제목과 같게). */
/* 로컬 미리보기용 예비 글꼴 : 사이트 Marcellus(default.css)는 다른 주소에서 열면 막혀서 구글 폰트 파일을 다른 이름으로 한 번 더 건다.
   실제 서버에서는 사이트 Marcellus 가 먼저 쓰이므로 영향 없음 */
@font-face {
  font-family: "Marcellus GF";
  src: url(https://fonts.gstatic.com/s/marcellus/v14/wEO_EBrOk8hQLDvIAF81VvoK.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-002F, U+003A-FFFF; /* 숫자는 빼서 Pretendard 로 (사이트 default.css 와 같게) */
}
.ab-page {
  --ab-ko: "Pretendard", "Pretendard Variable", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --ab-en: "Marcellus", "Marcellus GF", "Pretendard", serif;
}
.ab-h3,
.ab-hero__cap h2,
.ab-std__sub,
.ab-std__card h3,
.ab-space__head .ab-space__tit,
.ab-doc__name,
.ab-promise__item h3 { font-weight: 500; letter-spacing: -0.02em; }

/* ---------- WHY CHANGE 배경 : 매끈한 사선 그라데이션(AI 느낌) → 여러 겹의 은은한 빛 + 고운 노이즈 (2026-11-11)
   노이즈는 SVG feTurbulence 로 만든 이미지(외부 파일 없음). 띠 모양 계단이 생기지 않도록 그라데이션도 부드럽게 흩어 줌 */
.ab-std {
  position: relative;
  isolation: isolate;
  background-color: #f6ede2;
  background-image:
    radial-gradient(ellipse 65% 75% at 30% 40%, rgba(253, 249, 244, .95) 0%, rgba(253, 249, 244, 0) 72%),
    radial-gradient(ellipse 55% 65% at 90% 85%, rgba(232, 214, 193, .6) 0%, rgba(232, 214, 193, 0) 70%),
    radial-gradient(ellipse 40% 55% at 4% 90%, rgba(238, 222, 204, .55) 0%, rgba(238, 222, 204, 0) 70%),
    linear-gradient(170deg, #f8f0e6 0%, #f1e4d4 100%);
}
.ab-std::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .28  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* 공간 갤러리 → 푸터 사이 여백 조금 더 (서버 120px → 180px, 모바일 64px → 100px) (2026-11-11) */
.ab-space { padding-bottom: 180px; }
@media (max-width: 767px) {
  .ab-space { padding-bottom: 100px; }
}


/* ---------- CARE PROMISE 카드 : 디자인 시스템 버전에서 확정한 모양 그대로 (2026-11-11)
   선 없이 흰 카드 · 둥근 모서리 16px · 카드 그림자, 설명 글은 폭을 줄여 어절 단위 줄바꿈 */
.ab-promise__item {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(33, 16, 1, .08);
}
.ab-promise__item h3 { border-bottom: 0; padding-bottom: 0; }
.ab-promise__item p { max-width: 280px; margin-top: 14px; word-break: keep-all; text-wrap: pretty; color: #776B61; }
@media (max-width: 1100px) {
  .ab-promise__item p { max-width: 520px; }
}

/* 2026-11-12 OUR DOCTORS 사진 : 피그마처럼 크림 상자 + 위 CHANGE CLINIC 로고 + 의료진 (한 장 그림, 피그마 571x540 비율) */
.ab-split__img--docs img { height: auto; aspect-ratio: 1142 / 1080; object-fit: cover; object-position: center; }

/* 2026-11-12 WHY CHANGE 배경 : 피그마처럼 연한 세이지 단색 (#e1e1cf). 이전 베이지 그라데이션 · 노이즈는 끔 */
.ab-std { background: #e1e1cf; }
.ab-std::before { display: none; }

/* 2026-11-12 제목 줄바꿈 : about-tone.css 가 .ab-split 제목의 <br> 을 숨기므로, 줄 단위 묶음(.ab-hl)으로 피그마처럼 두 줄 (.ab-line 은 about.css 의 짧은 구분선 이름이라 쓰지 않음) */
.ab-split .ab-h3 .ab-hl { display: block; }

/* 2026-11-12 WHY CHANGE 카드 사이 세로선 (모바일은 가로선) : 흰색 → 피그마 색 #bfb0a5 */
.ab-std__card + .ab-std__card { border-left-color: #bfb0a5; }
@media (max-width: 1100px) {
  .ab-std__card + .ab-std__card { border-top-color: #bfb0a5; }
}

/* 2026-11-12 상담 장면 (A CHANCE TO CHANGE) : 안면지방윤곽술 · 두스실 리프팅 페이지 맨 아래 섹션과 같은 모양
   종이 질감 + 크림 색감(곱하기), 올리브 영문 제목, 갈색 문구, 세이지 버튼 · 테두리 버튼 */
.ab-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  min-height: 75svh;
  padding: 120px 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: #fdfaf5;
  background-image: url("../../change/facial-contouring/images/bg-paper-overlay.webp");
  background-size: 1920px 2560px;
  background-position: left top;
  background-repeat: repeat;
  background-blend-mode: multiply;
}
.ab-cta__in { width: 100%; }
.ab-cta__title { margin: 0; font-family: "Marcellus", serif; font-size: 56px; line-height: 1.2; letter-spacing: 4.48px; color: #6e7150; }
.ab-cta__sub { margin: 48px 0 0; font-size: 22px; line-height: 32.3px; font-weight: 600; color: #4a3a28; word-break: keep-all; }
.ab-cta__btns { margin-top: 64px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.ab-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 44px; box-sizing: border-box;
  font-size: 16px; letter-spacing: 0.96px; text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.ab-cta__btn--solid { background: #b1b48d; border: 1px solid #b1b48d; color: #332416; font-weight: 600; }
.ab-cta__btn--solid:hover { background: #332416; border-color: #332416; color: #f3efe6; }
.ab-cta__btn--line { border: 1px solid rgba(51, 36, 22, .4); color: #332416; font-weight: 500; }
.ab-cta__btn--line:hover { border-color: #6e7150; color: #6e7150; }
@media (max-width: 1024px) {
  .ab-cta__title { font-size: 44px; }
  .ab-cta__sub { margin-top: 34px; font-size: 20px; }
  .ab-cta__btns { margin-top: 44px; }
}
@media (max-width: 768px) {
  .ab-cta { padding: 80px 20px; }
  .ab-cta__br { display: none; }
  .ab-cta__title { font-size: 28px; letter-spacing: 2.4px; }
  .ab-cta__sub { margin-top: 28px; font-size: 16px; line-height: 1.6; }
  .ab-cta__btns { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 10px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .ab-cta__btn { min-height: 54px; font-size: 15px; }
}

/* 모바일 : OUR DOCTORS 사진(크림 상자 + 로고 + 의료진)을 화면 높이 44% 이내 · 가운데 (2026-11-13, 다른 원장 사진과 같은 기준). 비율 1142:1080 그대로 */
@media (max-width: 767px) {
  .ab-split__img--docs { width: min(100%, calc(44svh * 1142 / 1080)); margin-left: auto; margin-right: auto; }
}
