/* =====================================================================
   /ko/ 리뉴얼 스타일 (2026-09) — idhospital.com 레이아웃 참고
   폰트: Pretendard(본문) · Montserrat(영문 라벨) · Ivy Journal(이탤릭 강조)
   ===================================================================== */
:root {
	--brand: #e75899;
	--brand-deep: #cf3f82;
	--brand-soft: #fdeef5;
	--ink: #111318;
	--text: #343434;
	--muted: #7a7a7a;
	--line: #e6e6e8;
	--soft: #f7f7f8;
	--soft-2: #f3f0f2;
	--white: #fff;
	--radius: 18px;
	--radius-sm: 12px;
	--inner: 1400px;
	--gutter: 24px;
	--hd-h: 90px;
	--shadow: 0 18px 50px rgba(17, 19, 24, .10);
	--shadow-sm: 0 8px 24px rgba(17, 19, 24, .08);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
	--font-en: 'Montserrat', var(--font);
	--font-serif: 'Ivy Journal', Georgia, 'Times New Roman', serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
em { font-style: normal; }
iframe { display: block; border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.is-locked { overflow: hidden; }

.inner { width: 100%; max-width: calc(var(--inner) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.inner-narrow { max-width: calc(960px + var(--gutter) * 2); }
.inner-wide { max-width: 1680px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; box-shadow: 0 10px 24px rgba(231, 88, 153, .28); }
.btn-brand:hover { box-shadow: 0 14px 30px rgba(231, 88, 153, .36); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border: 1px solid rgba(17, 19, 24, .18); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5dc00; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.link-more::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.link-more:hover { color: var(--brand); }
.link-more:hover::after { transform: translateX(3px) rotate(45deg); }

/* =====================================================================
   HEADER
   ===================================================================== */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(17, 19, 24, .06); transition: box-shadow .3s; }
.hd.is-scrolled { box-shadow: 0 6px 24px rgba(17, 19, 24, .06); }
.hd-inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--hd-h); max-width: calc(var(--inner) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.hd-logo { flex: 0 0 auto; }
.hd-logo img { height: 40px; width: auto; }

.hd-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: -10px; flex: 0 0 auto; }
.hd-burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s; }
.hd-burger i:nth-child(1) { top: 14px; }
.hd-burger i:nth-child(2) { top: 21px; }
.hd-burger i:nth-child(3) { top: 28px; }

.gnb { flex: 1 1 auto; display: flex; justify-content: center; }
.gnb > ul { display: flex; gap: 6px; }
.gnb > ul > li > a { display: flex; align-items: center; height: var(--hd-h); padding: 0 18px; font-size: 17px; font-weight: 600; color: var(--ink); position: relative; letter-spacing: -.01em; white-space: nowrap; }
.gnb > ul > li > a::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 26px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnb > ul > li.is-on > a::after, .gnb > ul > li > a:hover::after { transform: scaleX(1); }
.gnb > ul > li.is-on > a { color: var(--brand); }

.hd-util { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.hd-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--ink); }
.hd-tel svg { width: 18px; height: 18px; fill: var(--brand); }
.hd-member { display: flex; gap: 14px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.hd-member a:hover { color: var(--ink); }
.hd-name { color: var(--ink); }
.hd-lang { position: relative; }
.hd-lang-cur { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hd-lang:not(.is-single) .hd-lang-cur::after { content: ''; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.hd-lang.is-single .hd-lang-cur { cursor: default; }
.hd-lang-list { position: absolute; top: calc(100% + 8px); right: 0; min-width: 100%; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.hd-lang.is-open .hd-lang-list { opacity: 1; visibility: visible; transform: none; }
.hd-lang-list a { display: block; padding: 8px 12px; border-radius: 8px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-align: center; }
.hd-lang-list a:hover { background: var(--soft); }

/* 메가 메뉴 */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 60px rgba(17, 19, 24, .12); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.hd.is-mega .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: flex; gap: 28px; max-width: calc(var(--inner) + var(--gutter) * 2); margin: 0 auto; padding: 40px var(--gutter) 44px; }
/* 컬럼 폭은 내용(제목·항목 길이)에 맞춰 배분 — "기계 리프팅, 리프팅 주사" 같은 긴 제목이 한 줄로 나오도록 */
.mega-col { flex: 1 1 auto; min-width: 0; padding-right: 20px; border-right: 1px solid var(--line); }
.mega-col h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.mega-col li a { white-space: nowrap; }
.mega-col.is-on h3 { color: var(--brand); border-color: var(--brand); }
.mega-col li + li { margin-top: 8px; }
.mega-col a { display: inline-block; font-size: 15px; color: #555; transition: color .2s, transform .2s; }
.mega-col a:hover { color: var(--brand); transform: translateX(4px); }
.mega-side { flex: 0 0 250px; padding: 26px; border-radius: var(--radius); background: linear-gradient(160deg, #fff5f9 0%, #fbe4ee 100%); }
.mega-side em { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mega-side strong { display: block; margin-top: 8px; font-family: var(--font-en); font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.mega-side p { margin: 10px 0 18px; font-size: 14px; color: #666; line-height: 1.7; }
.hd-dim { position: fixed; inset: var(--hd-h) 0 0 0; background: rgba(17, 19, 24, .35); opacity: 0; visibility: hidden; transition: .25s; z-index: -1; }
.hd.is-mega .hd-dim { opacity: 1; visibility: visible; }

/* 모바일 전체 메뉴 */
.mnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 400px); background: #fff; z-index: 120; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.mnav.is-open { transform: none; }
.mnav-dim { position: fixed; inset: 0; background: rgba(17, 19, 24, .5); z-index: 110; opacity: 0; visibility: hidden; transition: .3s; }
.mnav-dim.is-open { opacity: 1; visibility: visible; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); }
.mnav-logo img { height: 30px; width: auto; }
.mnav-close { position: relative; width: 40px; height: 40px; }
.mnav-close i { position: absolute; top: 50%; left: 10px; right: 10px; height: 2px; background: var(--ink); }
.mnav-close i:first-child { transform: rotate(45deg); }
.mnav-close i:last-child { transform: rotate(-45deg); }
.mnav-list { padding: 8px 0; }
.mnav-group { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; }
.mnav-group i { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; }
.mnav-group[aria-expanded="true"] { color: var(--brand); }
.mnav-group[aria-expanded="true"] i { transform: rotate(-135deg); border-color: var(--brand); }
.mnav-sub { display: none; padding: 4px 20px 14px; background: var(--soft); }
.mnav-sub.is-open { display: block; }
.mnav-sub a { display: block; padding: 10px 0; font-size: 15px; color: #555; }
.mnav-util { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); }
.mnav-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.mnav-cta { display: grid; gap: 10px; }
.mnav-cta .btn { width: 100%; }

/* =====================================================================
   HERO
   ===================================================================== */
/* mylineps.com 랜딩 슬라이드(텍스트가 이미지에 포함) — 잘리지 않도록 이미지 비율을 그대로 사용 */
.visual { position: relative; padding-top: var(--hd-h); background: #0f1a2b; }
.visual-swiper { position: relative; background: #0f1a2b; }
.visual-slide { position: relative; overflow: hidden; background: #0f1a2b; }
.visual-slide picture { display: block; width: 100%; }
.visual-img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 850; max-height: calc(100vh - var(--hd-h)); object-fit: cover; object-position: left bottom; }
.visual-pg.swiper-pagination { position: absolute; left: 0; right: 0; bottom: 74px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.visual-pg .swiper-pagination-bullet { width: 30px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .5); opacity: 1; margin: 0 !important; transition: background .3s, width .3s; }
.visual-pg .swiper-pagination-bullet:hover { background: rgba(255, 255, 255, .8); }
.visual-pg .swiper-pagination-bullet-active { width: 40px; background: #fff; }

/* 빠른 상담 (히어로 하단 도킹) */
.consult { position: relative; z-index: 6; margin-top: -44px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; }
.consult-form { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px 24px; }
.consult-head { display: flex; flex-direction: column; padding-right: 24px; border-right: 1px solid var(--line); }
.consult-head em { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.consult-head strong { margin-top: 4px; font-size: 20px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.consult-fields { display: grid; grid-template-columns: 1fr 1.2fr 1.1fr; gap: 12px; }
.consult-field input, .consult-field select { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); outline: none; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.consult-field select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.consult-field input:focus, .consult-field select:focus { border-color: var(--brand); background: #fff; }
.consult-field input.is-error, .consult-field select.is-error { border-color: #e33; }
.consult-agree { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; white-space: nowrap; }
.consult-agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.consult-agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consult-agree i { width: 20px; height: 20px; border: 1.5px solid #c9c9cc; border-radius: 6px; background: #fff; transition: .2s; position: relative; }
.consult-agree i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.consult-agree input:checked + i { background: var(--brand); border-color: var(--brand); }
.consult-agree input:checked + i::after { opacity: 1; }
.consult-agree a { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.consult-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consult-submit { min-width: 150px; }
.consult-submit[aria-busy="true"] { opacity: .6; pointer-events: none; }
.consult-msg { grid-column: 1 / -1; margin: -4px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; background: #fff1f3; color: #c0233c; }
.consult-msg.is-ok { background: #eefaf2; color: #1c7c45; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sec { padding: 120px 0; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.sec-eyebrow { display: block; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec-title { font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.sec-desc { margin-top: 16px; font-size: 17px; color: var(--muted); }
.sec-foot { text-align: center; margin-top: 48px; }

/* swiper 공통 */
.swiper-container { position: relative; overflow: hidden; z-index: 1; }
.snav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.snav-prev, .snav-next { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; position: relative; transition: .25s; flex: 0 0 auto; }
.snav-prev::after, .snav-next::after { content: ''; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); }
.snav-prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.snav-next::after { transform: translate(-70%, -50%) rotate(45deg); }
.snav-prev:hover, .snav-next:hover { background: var(--ink); border-color: var(--ink); }
.snav-prev:hover::after, .snav-next:hover::after { border-color: #fff; }
.snav-prev.swiper-button-disabled, .snav-next.swiper-button-disabled { opacity: .3; pointer-events: none; }
.snav-pg.swiper-pagination { position: static; width: auto; display: flex; gap: 6px; }
.snav-pg .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: #d7d7da; opacity: 1; transition: .25s; }
.snav-pg .swiper-pagination-bullet-active { width: 24px; border-radius: 4px; background: var(--brand); }

/* 인사말 */
.sec-greet { padding: 96px 0 0; }
.greet { max-width: 1000px; margin: 0 auto; padding: 72px 48px; border-radius: var(--radius); background: linear-gradient(160deg, #fff3f8 0%, #fdddee 100%); text-align: center; }
.greet-title { font-family: var(--font-en); font-size: clamp(40px, 5vw, 70px); font-weight: 400; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.greet-title i { font-family: var(--font-serif); font-style: italic; color: var(--brand); }
.greet-tx { margin-top: 26px; font-size: 18px; font-weight: 300; line-height: 1.8; color: #444; }
.greet-tx + .greet-tx { margin-top: 18px; }

/* MyLine Plastic Surgery 4단계 */
.sec-mps { background: #fff; }
.mps { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.mps-visual { position: sticky; top: calc(var(--hd-h) + 40px); aspect-ratio: 640 / 650; overflow: hidden; background: var(--soft); border-radius: 10px 100px 100px 100px; transition: border-radius .6s var(--ease); }
.mps-visual[data-on="1"] { border-radius: 100px 100px 10px 100px; }
.mps-visual[data-on="2"] { border-radius: 100px 10px 100px 100px; }
.mps-visual[data-on="3"] { border-radius: 100px 100px 100px 10px; }
.mps-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.mps-img.is-on { opacity: 1; transform: none; }
.mps-item { padding: 44px 0; border-top: 1px solid var(--line); transition: opacity .3s; }
.mps-item:last-child { border-bottom: 1px solid var(--line); }
.mps-item em { display: block; font-family: var(--font-en); font-size: 14px; font-weight: 700; color: var(--brand); }
.mps-item em span { margin-left: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mps-item h3 { margin-top: 12px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); transition: color .3s; }
.mps-item p { margin-top: 14px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.mps-item.is-on h3 { color: var(--brand); }
.mps-item-img { display: none; }

/* 시그니처 */
.sec-sig { background: #fff; overflow: hidden; }
.sig-swiper { overflow: visible; }
.sig-card { width: 320px; }
.sig-card a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 43 / 65; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sig-card a:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.sig-ph, .sig-ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sig-ph img { object-fit: cover; transition: transform .8s var(--ease); }
.sig-card a:hover .sig-ph img { transform: scale(1.05); }
.sig-tx { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 26px 26px; color: #fff; background: linear-gradient(180deg, rgba(17, 19, 24, 0) 0%, rgba(17, 19, 24, .78) 100%); }
.sig-tx em { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffd1e5; }
.sig-tx strong { display: block; margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.sig-tx p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.sig-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; }
.sig-more::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.sig-nav { margin-top: 36px; }

/* 진료 분야 탭 */
.sec-fields { background: var(--soft); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: #555; transition: .25s; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panel { animation: fadeUp .4s var(--ease); }
.field-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field-list a { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 24px; border-radius: var(--radius-sm); background: #fff; border: 1px solid transparent; font-size: 17px; font-weight: 600; color: var(--ink); transition: .25s; }
.field-list a i { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); position: relative; flex: 0 0 auto; transition: .25s; }
.field-list a i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); transform: translate(-70%, -50%) rotate(45deg); }
.field-list a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.field-list a:hover i { background: var(--brand); }
.field-list a:hover i::after { border-color: #fff; }

/* 안심케어 */
.sec-why { background: #fff; overflow: hidden; }
.sec-why .sec-head { margin-bottom: 40px; }
.why-swiper { overflow: visible; }
.why-card { width: 440px; }
.why-ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 120 / 62; background: var(--soft); }
.why-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.why-card:hover .why-ph img { transform: scale(1.04); }
.why-tx { padding: 22px 6px 0; }
.why-tx em { display: inline-block; font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.why-tx strong { display: block; margin-top: 8px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.why-tx p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* 리프팅 라인업 */
.sec-lineup { background: var(--soft-2); overflow: hidden; }
.sec-lineup .sec-head { margin-bottom: 40px; }
.lineup-swiper { overflow: visible; }
.lineup-card { width: 300px; display: flex; flex-direction: column; height: auto; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lineup-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.lineup-ph { aspect-ratio: 52 / 62; background: #f2f2f4; }
.lineup-ph img { width: 100%; height: 100%; object-fit: cover; }
.lineup-tx { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.lineup-tx strong { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.lineup-tx strong em { display: block; margin-top: 2px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lineup-tx p { margin: 12px 0 18px; font-size: 14px; line-height: 1.7; color: #666; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lineup-tx .link-more { margin-top: auto; }

/* 의료진 */
.sec-doctors { background: #fff; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.doc-card { display: grid; grid-template-columns: 260px 1fr; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.doc-ph { position: relative; min-height: 380px; background: #ececee; }
.doc-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-body { padding: 40px 36px; display: flex; flex-direction: column; }
.doc-body em { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.doc-body h3 { margin-top: 10px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.doc-body h3 span { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.doc-msg { margin-top: 14px; font-size: 16px; line-height: 1.7; color: #444; }
.doc-body ul { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(17, 19, 24, .08); }
.doc-body li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.8; color: #555; }
.doc-body li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

/* 유튜브 */
.sec-yt { background: var(--ink); color: #fff; overflow: hidden; }
.sec-yt .sec-title { color: #fff; }
.sec-yt .snav-prev, .sec-yt .snav-next { background: transparent; border-color: rgba(255, 255, 255, .25); }
.sec-yt .snav-prev::after, .sec-yt .snav-next::after { border-color: #fff; }
.sec-yt .snav-prev:hover, .sec-yt .snav-next:hover { background: #fff; }
.sec-yt .snav-prev:hover::after, .sec-yt .snav-next:hover::after { border-color: var(--ink); }
.sec-yt .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.sec-yt .btn-line:hover { background: #fff; color: var(--ink); }
.yt-swiper { overflow: visible; }
.yt-card { width: 420px; }
.yt-thumb { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #222; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.yt-thumb:hover img { transform: scale(1.05); opacity: .85; }
.yt-play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(231, 88, 153, .92); transition: .25s; }
.yt-play::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-40%, -50%); border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.yt-thumb:hover .yt-play { transform: scale(1.08); }
.yt-title { margin-top: 14px; font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .9); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 사후관리 */
.sec-care { background: #fff; }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.care-ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 96 / 102; background: var(--soft); }
.care-ph img { width: 100%; height: 100%; object-fit: cover; }
.care-body .sec-head { text-align: left; margin-bottom: 36px; }
.care-list li { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.care-list li:last-child { border-bottom: 1px solid var(--line); }
.care-list em { flex: 0 0 auto; font-family: var(--font-en); font-size: 15px; font-weight: 700; color: var(--brand); line-height: 1.6; }
.care-list strong { display: block; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.care-list p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* FAQ */
.sec-faq { background: var(--soft); }
.faq-item { background: #fff; border-radius: var(--radius-sm); overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; padding: 22px 26px; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq-q em { font-family: var(--font-en); font-weight: 700; color: var(--brand); }
.faq-q span { flex: 1 1 auto; }
.faq-q i { width: 10px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .3s; flex: 0 0 auto; }
.faq-q[aria-expanded="true"] i { transform: rotate(-135deg); }
.faq-a { padding: 0 26px 26px 54px; font-size: 15px; line-height: 1.8; color: #555; }
.faq-a p { margin-bottom: 14px; }

/* 오시는 길 */
.sec-contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.contact-map { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; }
.contact-body .sec-head { text-align: left; margin-bottom: 30px; }
.contact-dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-dl > div:last-child { border-bottom: 1px solid var(--line); }
.contact-dl dt { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 3px; }
.contact-dl dd { font-size: 16px; line-height: 1.7; color: var(--ink); }
.contact-dl small { display: block; font-size: 13px; color: var(--muted); }
.contact-tel { font-family: var(--font-en); font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: var(--brand); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ft { background: var(--ink); color: rgba(255, 255, 255, .8); }
.ft-top { display: flex; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.ft-brand img { height: 36px; width: auto; }
.ft-brand p { margin-top: 22px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .6); }
.ft-cols { display: flex; gap: 72px; }
.ft-col h4 { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.ft-col p { font-size: 14px; line-height: 1.9; }
.ft-dim { color: rgba(255, 255, 255, .45); }
.ft-tel { display: block; font-family: var(--font-en); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ft-sns { display: flex; gap: 10px; }
.ft-sns a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); transition: .25s; }
.ft-sns svg { width: 18px; height: 18px; fill: #fff; }
.ft-sns a:hover { background: var(--brand); border-color: var(--brand); }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 36px; }
.ft-policy { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.ft-policy b { color: #fff; }
.ft-policy a:hover { color: #fff; }
.ft-info { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ft-copy { margin-top: 12px; font-family: var(--font-en); font-size: 11px; letter-spacing: .04em; color: rgba(255, 255, 255, .35); }

/* =====================================================================
   QUICK BAR / MODAL
   ===================================================================== */
.quick { position: fixed; right: 20px; bottom: 28px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.quick-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 68px; height: 68px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink); transition: .25s; }
.quick-item svg { width: 22px; height: 22px; fill: var(--brand); transition: fill .25s; }
.quick-item:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(-3px); }
.quick-item:hover svg { fill: #fff; }
.quick-kakao svg { fill: #3c1e1e; }
.quick-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.quick-kakao:hover { background: #f5dc00; border-color: #f5dc00; color: #191919; }
.quick-kakao:hover svg { fill: #3c1e1e; }
.quick-top { width: 68px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s; }
.quick-top.is-show { opacity: 1; visibility: visible; transform: none; }

.ytm { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: .25s; }
.ytm.is-open { opacity: 1; visibility: visible; }
.ytm-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.ytm-box { position: relative; width: min(100%, 1000px); }
.ytm-frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.ytm-frame iframe { width: 100%; height: 100%; }
.ytm-close { position: absolute; right: 0; top: -48px; width: 40px; height: 40px; }
.ytm-close i { position: absolute; top: 50%; left: 8px; right: 8px; height: 2px; background: #fff; }
.ytm-close i:first-child { transform: rotate(45deg); }
.ytm-close i:last-child { transform: rotate(-45deg); }

/* =====================================================================
   마라TV 쇼츠 (홈 스와이퍼 · /ko/shorts 목록 · 서브페이지 관련 쇼츠)
   ===================================================================== */
.sec-shorts { background: var(--soft); overflow: hidden; }
.shorts-swiper { overflow: visible; }
.shorts-card { width: 240px; }
.shorts-thumb { display: block; position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #111; box-shadow: var(--shadow-sm); }
.shorts-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shorts-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%); }
.shorts-thumb:hover img { transform: scale(1.04); }
.shorts-thumb .yt-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; z-index: 2; }
.shorts-thumb .yt-play::after { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.shorts-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(17, 19, 24, .7); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.shorts-meta { padding: 12px 4px 0; }
.shorts-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.shorts-sub { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.shorts-page .sec-head { margin-bottom: 28px; }
.shorts-updated { margin-top: 12px; font-size: 12px; color: var(--muted); }
.shorts-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.shorts-filter .tab { height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #555; transition: .25s; }
.shorts-filter .tab:hover { border-color: var(--ink); color: var(--ink); }
.shorts-filter .tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shorts-filter .tab small { margin-left: 5px; font-family: var(--font-en); font-size: 11px; opacity: .7; }
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.shorts-grid .shorts-card { width: auto; }
.shorts-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.stail-shorts { padding: 96px 0; background: #fff; }
.stail-shorts .sec-head { margin-bottom: 36px; }
.ytm-box.is-vertical { width: min(100%, 420px, calc((100vh - 120px) * 9 / 16)); }
.ytm-box.is-vertical .ytm-frame { aspect-ratio: 9 / 16; }

/* =====================================================================
   REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.doc-card.reveal:nth-child(2) { transition-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .mps-img { opacity: 1; transform: none; transition: none; }
	.mps-img:not(.is-on) { opacity: 0; }
	.tab-panel { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* GNB 6개 항목이 한 줄을 유지하도록 폭 단계별로 글자·여백 축소 */
@media (max-width: 1560px) {
	.hd-inner { gap: 20px; }
	.gnb > ul { gap: 2px; }
	.gnb > ul > li > a { padding: 0 13px; font-size: 16px; }
	.gnb > ul > li > a::after { left: 13px; right: 13px; }
	.mega-inner { gap: 22px; }
	.mega-col h3 { font-size: 15px; }
	.mega-col a { font-size: 14px; }
	.mega-side { flex-basis: 230px; padding: 22px; }
	.mega-side strong { font-size: 22px; }
}
@media (max-width: 1400px) {
	.gnb > ul > li > a { padding: 0 11px; font-size: 15px; }
	.gnb > ul > li > a::after { left: 11px; right: 11px; }
	.hd-member { display: none; }
	.hd-tel { font-size: 15px; }
}
@media (max-width: 1280px) {
	.hd-inner { gap: 14px; }
	.gnb > ul > li > a { padding: 0 9px; font-size: 14px; }
	.gnb > ul > li > a::after { left: 9px; right: 9px; }
	.mega-inner { gap: 16px; }
	.mega-col { padding-right: 12px; }
	.mega-side { flex-basis: 200px; padding: 18px; }
	.field-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
	.doc-grid { grid-template-columns: 1fr; }
	.consult-form { grid-template-columns: 1fr; }
	.consult-head { padding-right: 0; border-right: 0; flex-direction: row; align-items: baseline; gap: 12px; }
	.consult-agree { justify-content: space-between; white-space: normal; }
	.consult-submit { width: 100%; }
}
@media (max-width: 1023px) {
	:root { --hd-h: 64px; --gutter: 20px; }
	.hd-burger { display: block; }
	.gnb, .mega, .hd-dim, .hd-lang { display: none; }
	.hd-inner { gap: 12px; }
	.hd-logo { margin-right: auto; }
	.hd-logo img { height: 32px; }
	.hd-tel span { display: none; }
	.hd-tel { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: var(--brand-soft); }
	.hd-tel svg { width: 20px; height: 20px; }

	.visual-img { aspect-ratio: 1 / 1; max-height: none; object-position: center; }
	.visual-pg.swiper-pagination { bottom: 16px; }
	.consult { margin-top: 16px; padding: 20px; }
	.sec-greet { padding-top: 64px; }
	.mps { grid-template-columns: 1fr; gap: 0; }
	.mps-visual { display: none; }
	.mps-item { padding: 32px 0; }
	.mps-item-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }

	.sec { padding: 80px 0; }
	.sec-head { margin-bottom: 36px; }
	.sec-head-row { flex-direction: column; align-items: flex-start; }
	.sec-head-row .snav { align-self: flex-end; }
	.care-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
	.care-ph { aspect-ratio: 4 / 3; }
	.contact-map iframe { min-height: 320px; }
	.ft-top { flex-direction: column; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
	.ft-cols { flex-wrap: wrap; gap: 32px 48px; }
}
@media (max-width: 767px) {
	body { font-size: 15px; }
	.btn { min-height: 48px; padding: 0 22px; font-size: 14px; }
	.greet { padding: 48px 22px; }
	.greet-tx { font-size: 15px; }
	.greet-tx br { display: none; }
	.mps-item h3 { font-size: 22px; }
	.consult-fields { grid-template-columns: 1fr; }
	.consult-head strong { font-size: 18px; }
	.sec-title { font-size: 26px; }
	.sec-desc { font-size: 15px; }
	.sig-card { width: 260px; }
	.why-card { width: 300px; }
	.lineup-card { width: 260px; }
	.yt-card { width: 300px; }
	.shorts-card { width: 180px; }
	.shorts-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 12px; }
	.shorts-title { font-size: 14px; }
	.stail-shorts { padding: 64px 0; }
	.field-list { grid-template-columns: 1fr; gap: 10px; }
	.field-list a { min-height: 64px; font-size: 16px; padding: 0 18px; }
	.tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
	.tabs::-webkit-scrollbar { display: none; }
	.tab { flex: 0 0 auto; height: 42px; padding: 0 18px; font-size: 14px; }
	.doc-card { grid-template-columns: 1fr; }
	.doc-ph { min-height: 0; aspect-ratio: 4 / 3; }
	.doc-body { padding: 26px 22px; }
	.doc-body h3 { font-size: 24px; }
	.faq-q { padding: 18px 18px; font-size: 15px; }
	.faq-a { padding: 0 18px 20px 44px; }
	.contact-dl > div { grid-template-columns: 76px 1fr; }
	.contact-tel { font-size: 22px; }

	.quick { right: 0; left: 0; bottom: 0; flex-direction: row; gap: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17, 19, 24, .08); padding-bottom: env(safe-area-inset-bottom); }
	.quick-item { flex: 1 1 0; height: 60px; border-radius: 0; border: 0; box-shadow: none; }
	.quick-item:hover { transform: none; }
	.quick-top { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 44px; height: 44px; border-radius: 50%; }
	.ft { padding-bottom: 60px; }
	.ytm { padding: 12px; }
	.ytm-close { top: -44px; }
}
