@charset "utf-8";
/* =========================================================
   EAC창원요양병원 — Main
   ========================================================= */

:root {
  --navy: #0e2a4f;
  --navy-2: #13365f;
  --blue: #1758a7;        /* 로고 블루 */
  --sky: #34acd6;         /* 기존 사이트 포인트 */
  --green: #8dbf1f;       /* 로고 그린 */
  --ink: #16202c;
  --body: #4a5563;
  --mute: #8a94a3;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-warm: #f6f4ef;
  --bg-soft: #f2f5f9;

  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --wrap: 1400px;
  --gutter: 40px;
  --hd-h: 96px;
  --curve-overlap: 150px;   /* 히어로 위로 올라오는 곡선 섹션 높이 */
  --curve-r: clamp(60px, 11vw, 200px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: pan-x pan-y; } /* 모바일 확대(핀치·더블탭) 차단 */
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--body); background: var(--bg); word-break: keep-all; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.pc { display: inline; }
.mo { display: none; }

/* ---------- common type ---------- */
.label { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--blue); letter-spacing: .01em; margin-bottom: 18px; }
.label--light { color: #8fc9ea; }
.h-serif { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.38; color: var(--ink); letter-spacing: -.02em; }

.btn-pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; transition: background .25s; }
.btn-pill:hover { background: var(--navy); }
.btn-line { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 16px; transition: .3s var(--ease); }
.btn-line::after { content: ""; width: 18px; height: 1px; background: currentColor; box-shadow: none; transition: width .3s var(--ease); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line:hover::after { width: 28px; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 60px; }
.sec-head__desc { font-size: 17px; color: var(--body); }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.sec-head--center .sec-head__desc { margin-top: 18px; }

/* ---------- icons (mask) ---------- */
.ico { display: inline-block; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-consult { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3Cpath d='M9 11h.01M12 11h.01M15 11h.01'/%3E%3C/svg%3E"); }
.ico-calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2M14 14h2M8 17h2'/%3E%3C/svg%3E"); }
.ico-won { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m7.5 8 2 8 2.5-6 2.5 6 2-8M6.5 11.5h11'/%3E%3C/svg%3E"); }
.ico-map { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ico-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.8 4.5-2.3 1.4a11 11 0 0 0 6.1 6.1l1.4-2.3L20 15.5V19a1.5 1.5 0 0 1-1.5 1.5A15.5 15.5 0 0 1 3.5 5.5 1.5 1.5 0 0 1 5 4Z'/%3E%3C/svg%3E"); }
.ico-blog { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v13H13l-1 3-1-3H4z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ctext x='12' y='13.6' font-size='7' font-family='Arial' font-weight='700' text-anchor='middle'%3Eblog%3C/text%3E%3C/svg%3E"); }
.ico-insta { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
.ico-yt { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='4'/%3E%3Cpath d='m10 9.2 5 2.8-5 2.8z' fill='%23000'/%3E%3C/svg%3E"); }

/* =========================================================
   HEADER
   ========================================================= */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .35s, color .35s, box-shadow .35s; }
.hd__inner { display: flex; align-items: center; height: var(--hd-h); padding: 0 50px; transition: height .35s; }
.hd__logo { flex: 0 0 auto; }
.hd__logo a { position: relative; display: block; width: 230px; }
.hd__logo img { width: 100%; height: auto; transition: opacity .3s; }
.hd__logo .logo-c { position: absolute; inset: 0; opacity: 0; }

.gnb { flex: 1; display: flex; justify-content: center; }
.gnb__list { display: flex; }
.gnb__list > li > a { display: block; padding: 0 34px; line-height: var(--hd-h); font-size: 18px; font-weight: 600; letter-spacing: -.01em; position: relative; transition: line-height .35s; }
.gnb__list > li > a::after { content: ""; position: absolute; left: 34px; right: 34px; bottom: 28px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.gnb__list > li > a:hover::after { transform: scaleX(1); }

.hd__util { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.hd__tel { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2; }
.hd__tel span { font-family: var(--sans); font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: .02em; }
.hd__burger { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.hd__burger i { display: block; height: 2px; width: 26px; background: currentColor; transition: width .3s; }
.hd__burger i:nth-child(2) { width: 18px; }
.hd__burger:hover i { width: 26px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: inset 0 1px 0 transparent; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), box-shadow .3s; }
.mega__inner { display: flex; justify-content: center; padding: 30px 0 40px; }
.mega__inner ul { width: 136px; flex: 0 0 auto; }
.mega__inner li a { display: block; padding: 6px 0; font-size: 15px; color: var(--body); text-align: center; }
.mega__inner li a:hover { color: var(--blue); }

/* 상태: 스크롤 / 메가 오픈 */
.hd.is-solid, .hd.is-open { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd.is-solid .logo-w, .hd.is-open .logo-w { opacity: 0; }
.hd.is-solid .logo-c, .hd.is-open .logo-c { opacity: 1; }
.hd.is-solid { --hd-h: 80px; }
.hd.is-open .mega { max-height: 320px; box-shadow: inset 0 1px 0 var(--line), 0 20px 40px rgba(14,42,79,.08); }
.hd.is-hide { transform: translateY(-100%); }
.hd { transition: background .35s, color .35s, box-shadow .35s, transform .4s var(--ease); }

/* 전체메뉴 */
.allmenu { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; overscroll-behavior: contain; }
/* 전체메뉴·라이트박스로 스크롤을 잠가도 스크롤바는 남겨 화면 폭이 바뀌지 않게 한다
   (폭이 바뀌면 ScrollTrigger가 위치를 다시 계산하면서 메인 상단 레이아웃이 틀어짐) */
html.is-scroll-lock { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  html.is-scroll-lock, html.lenis.lenis-stopped { overflow-y: scroll; }
}
.allmenu.is-open { opacity: 1; visibility: visible; }
.allmenu__inner { max-width: 1400px; margin: 0 auto; padding: 32px 50px 60px; min-height: 100%; display: flex; flex-direction: column; }
.allmenu__top { display: flex; justify-content: space-between; align-items: center; }
.allmenu__top img { width: 230px; }
.allmenu__close { width: 48px; height: 48px; position: relative; }
.allmenu__close::before, .allmenu__close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: #fff; transform: rotate(45deg); }
.allmenu__close::after { transform: rotate(-45deg); }
.allmenu__grid { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; padding: 10vh 0 60px; }
.allmenu__grid dt { font-family: var(--serif); font-size: 28px; font-weight: 600; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.2); }
.allmenu__grid dd a { display: block; padding: 7px 0; font-size: 17px; color: rgba(255,255,255,.7); transition: color .2s, transform .2s; }
.allmenu__grid dd a:hover { color: #fff; transform: translateX(4px); }
.allmenu__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15); font-size: 15px; color: rgba(255,255,255,.75); }
.allmenu.is-open .allmenu__grid dl { animation: fadeUp .6s var(--ease) both; }
.allmenu.is-open .allmenu__grid dl:nth-child(2) { animation-delay: .05s; }
.allmenu.is-open .allmenu__grid dl:nth-child(3) { animation-delay: .1s; }
.allmenu.is-open .allmenu__grid dl:nth-child(4) { animation-delay: .15s; }
.allmenu.is-open .allmenu__grid dl:nth-child(5) { animation-delay: .2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: var(--navy); color: #fff; overflow: hidden; }
.hero__swiper, .hero__swiper .swiper-slide { height: 100%; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,46,.72) 0%, rgba(8,24,46,.35) 55%, rgba(8,24,46,.15) 100%), linear-gradient(0deg, rgba(8,24,46,.45), transparent 40%); }
.hero__swiper .swiper-slide-active .hero__media img { animation: kenburns 8s linear both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero__text { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.hero__eyebrow { font-size: 15px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-bottom: 26px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.32; letter-spacing: -.025em; }
.hero__desc { margin-top: 30px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; opacity: .88; }
.hero__text > * { opacity: 0; transform: translateY(30px); }
.swiper-slide-active .hero__text > * { animation: fadeUp 1s var(--ease) forwards; }
.swiper-slide-active .hero__title { animation-delay: .15s; }
.swiper-slide-active .hero__desc { animation-delay: .3s; }

.hero__ctrl { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(var(--curve-overlap) + 26px); max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 22px; }
.hero__count { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; }
.hero__count .bar { position: relative; width: 180px; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__count .bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero__count .tot { opacity: .6; }
.hero__toggle { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; position: relative; }
.hero__toggle::before, .hero__toggle::after { content: ""; position: absolute; top: 9px; width: 2px; height: 10px; background: #fff; }
.hero__toggle::before { left: 11px; } .hero__toggle::after { left: 15px; }
.hero__toggle.is-paused::after { display: none; }
.hero__toggle.is-paused::before { left: 11px; width: 0; height: 0; background: none; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* 히어로 퀵 타일 (글래스) */
.hero__quick { position: absolute; z-index: 5; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: calc(var(--curve-overlap) + 26px); display: flex; gap: 10px; }
.hero__quick a { display: flex; flex-direction: column; justify-content: space-between; width: 148px; height: 148px; padding: 22px 20px; border-radius: 20px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .35s var(--ease), transform .35s var(--ease), color .35s; }
.hero__quick .ico { width: 32px; height: 32px; }
.hero__quick strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; }
.hero__quick strong::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .7; }
.hero__quick a:hover { background: #fff; color: var(--blue); transform: translateY(-6px); }
.hero__quick a:first-child { background: var(--blue); border-color: var(--blue); }
.hero__quick a:first-child:hover { background: #fff; border-color: #fff; }

/* =========================================================
   PROMISE
   ========================================================= */
.promise { position: relative; z-index: 6; margin-top: calc(var(--curve-overlap) * -1); padding: 180px 0 160px; background: #fff; border-top-right-radius: var(--curve-r); overflow: hidden; isolation: isolate; }
/* 좌상단 소프트 글로우: 블러 처리한 원 두 개 */
.promise::before, .promise::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; opacity: .2; pointer-events: none; }
.promise::before { left: -160px; top: -160px; width: 440px; height: 440px; background: var(--blue); filter: blur(175px); }
.promise::after { left: 26px; top: 384px; width: 408px; height: 408px; background: #ae8766; filter: blur(125px); }
.promise__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.promise__text .h-serif { margin-bottom: 36px; }
.promise__text .lead { font-size: 21px; color: var(--ink); font-weight: 600; line-height: 1.6; margin-bottom: 22px; }
.promise__text p { margin-bottom: 44px; }
.promise__text p.lead { margin-bottom: 22px; }
.promise__visual { position: relative; height: 640px; }
.promise__visual figure { position: absolute; overflow: hidden; }
.promise__visual img { width: 100%; height: 100%; object-fit: cover; }
.pv-1 { right: 0; top: 0; width: 72%; height: 78%; border-radius: 0 160px 0 0; }
.pv-2 { left: 0; bottom: 0; width: 44%; height: 50%; border: 10px solid #fff; }
.pv-cap { position: absolute; right: 0; bottom: 20px; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--blue); text-align: right; line-height: 1.4; }


/* =========================================================
   STRENGTH (Life Care 스타일)
   ========================================================= */
.strength { position: relative; padding: 160px 0 170px; background: linear-gradient(180deg, #eef0f3 0%, #f7f8fa 45%, #fff 100%); border-top-left-radius: var(--curve-r); overflow: hidden; isolation: isolate; }
.strength::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: #fff; filter: blur(120px); opacity: .9; }
.strength__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 90px; align-items: center; }
.strength__media { min-width: 0; }
.strength__swiper { border-radius: 36px; overflow: hidden; aspect-ratio: 800 / 610; }
.strength__swiper .swiper-slide { position: relative; }
.strength__swiper img { width: 100%; height: 100%; object-fit: cover; }
.strength__swiper .swiper-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,88,167,.95) 0%, rgba(23,88,167,.55) 26%, rgba(23,88,167,0) 50%); }
.strength__cap { position: absolute; z-index: 2; left: 50px; right: 50px; bottom: 44px; color: #fff; }
.strength__cap strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.strength__cap p { font-size: 15px; line-height: 1.7; opacity: .9; }
.swiper-slide-active .strength__cap > * { animation: fadeUp .9s var(--ease) both; }
.swiper-slide-active .strength__cap p { animation-delay: .12s; }
.strength__prev, .strength__next { position: absolute; z-index: 3; top: 50%; width: 48px; height: 48px; margin-top: -24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m9 4 8 8-8 8'/%3E%3C/svg%3E") center/34px no-repeat; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); transition: transform .25s; }
.strength__prev { left: 18px; transform: scaleX(-1); }
.strength__next { right: 18px; }
.strength__next:hover { transform: translateX(4px); }
.strength__prev:hover { transform: scaleX(-1) translateX(4px); }

.strength__text .h-serif { margin-bottom: 36px; }
.strength__desc { font-size: 18px; line-height: 1.75; }
.strength__list { margin-top: 110px; }
.strength__list li { position: relative; }
.strength__list li + li { margin-top: 26px; }
.strength__list button { font-size: 19px; font-weight: 500; color: var(--mute); text-align: left; letter-spacing: -.01em; transition: color .3s; }
.strength__list button:hover { color: var(--ink); }
.strength__list li::before { content: ""; position: absolute; right: calc(100% + 22px); top: 50%; width: 0; height: 1px; background: var(--blue); transition: width .6s var(--ease); }
.strength__list li.is-active button { color: var(--blue); font-weight: 600; }
.strength__list li.is-active::before { width: 90px; }

/* =========================================================
   DEPARTMENTS
   ========================================================= */
.dept { padding: 150px 0; background: var(--bg-warm); }
.dept { position: relative; overflow: hidden; isolation: isolate; }
.dept::before { content: ""; position: absolute; z-index: -1; left: -140px; top: 120px; width: 480px; height: 480px; border-radius: 50%; background: var(--sky); opacity: .14; filter: blur(150px); }
.dept__side { display: flex; flex-direction: column; align-items: flex-end; gap: 24px; text-align: right; }
.dept { padding: 0; }
.dept__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 36px; }
.dept .sec-head { margin-bottom: 36px; }
.dept__viewport { overflow: hidden; }
.dept__track { display: flex; gap: 40px; width: max-content; padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.dept__slide { flex: 0 0 auto; width: clamp(200px, calc(36vh * .79), 300px); }
.dept__slide:nth-child(even) { padding-top: 40px; }
.ditem { display: block; text-align: center; }
.ditem__img { position: relative; aspect-ratio: 310 / 393; border-radius: 40px; overflow: hidden; isolation: isolate; transition: border-radius .5s var(--ease); }
.ditem__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ditem__img::after { content: ""; position: absolute; inset: 0; background: rgba(10,22,40,.42); opacity: 0; transition: opacity .4s; }
.ditem__icon { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease); box-shadow: 0 10px 24px rgba(23,88,167,.35); }
.ditem__icon svg { width: 38px; height: 38px; }
.ditem__txt { padding-top: 28px; }
.ditem__txt strong { display: block; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; transition: color .3s; }
.ditem__txt p { font-size: 15px; color: var(--mute); margin-top: 6px; }

.ditem:hover .ditem__img, .ditem:focus-visible .ditem__img { border-radius: 50%; }
.ditem:hover .ditem__img img { transform: scale(1.08); }
.ditem:hover .ditem__img::after, .ditem:focus-visible .ditem__img::after { opacity: 1; }
.ditem:hover .ditem__icon, .ditem:focus-visible .ditem__icon { opacity: 1; transform: none; }
.ditem:hover .ditem__txt strong { color: var(--blue); }

.dept__nav { display: flex; align-items: center; gap: 24px; margin-top: 32px; font-size: 14px; }
.dept__count { font-family: var(--serif); color: var(--mute); min-width: 64px; }
.dept__count b { color: var(--ink); font-weight: 600; }
.dept__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.dept__progress i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.dept__hint { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; color: var(--mute); }
.dept__hint::after { content: ""; width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: hintMove 1.6s var(--ease) infinite; }
@keyframes hintMove { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* =========================================================
   LIFE CARE
   ========================================================= */
.care { background: var(--navy); color: #fff; overflow: hidden; }
.care__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 50px; }
.care__row { display: flex; align-items: center; gap: 60px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.care__viewport { flex: 1; min-width: 0; overflow: hidden; padding: 10px 0 50px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px); mask-image: linear-gradient(90deg, transparent 0, #000 60px); }
.care__track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 0 var(--gutter) 0 60px; will-change: transform; }
.care__intro { flex: 0 0 auto; width: 360px; }
.care__intro .h-serif { color: #fff; margin-bottom: 28px; }
.care__intro > p:last-child { color: rgba(255,255,255,.72); }
.ccard { flex: 0 0 auto; width: clamp(300px, 46vh, 460px); }
.ccard:nth-child(odd) { transform: translateY(40px); }
.ccard figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; }
.ccard img { width: 100%; height: 100%; object-fit: cover; }
.ccard__body { padding: 26px 4px 0; }
.ccard__body span { font-family: var(--serif); font-size: 14px; color: #8fc9ea; }
.ccard__body strong { display: block; font-size: 24px; margin: 6px 0 10px; }
.ccard__body p { font-size: 15px; color: rgba(255,255,255,.65); }
.care__nav { display: flex; align-items: center; gap: 24px; margin-top: 20px; font-size: 14px; }
.care__count { font-family: var(--serif); color: rgba(255,255,255,.5); min-width: 64px; }
.care__count b { color: #fff; font-weight: 600; }
.care__progress { flex: 1; height: 2px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.care__progress i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.care__hint { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; color: rgba(255,255,255,.5); }
.care__hint::after { content: ""; width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: hintMove 1.6s var(--ease) infinite; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { overflow: hidden; padding: 20px 0 10px; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee p { font-family: "Belleza", sans-serif; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.2; color: #d8dde4; padding-right: .8em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   FAMILY (compact)
   ========================================================= */
.family { padding: 90px 0 130px; }
.family__inner { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.family__head .label { font-size: 17px; margin-bottom: 10px; }
.family__title { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.family__head p:last-child { font-size: 15px; color: var(--mute); }
.family__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.family__list li { position: relative; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.family__list li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
.family__list strong { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.family__list p { font-size: 14px; color: var(--mute); margin-top: 4px; }
.family__list em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 1px 8px; }
.family__list li.is-current strong { color: var(--blue); }
.family__list a { display: block; }
.family__list a strong::after { content: ""; flex: none; width: 14px; height: 14px; margin-left: auto; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .45; transition: opacity .25s, transform .25s; }
.family__list a:hover strong { color: var(--blue); }
.family__list a:hover strong::after { opacity: 1; transform: translate(2px, -2px); }

/* =========================================================
   NEWS
   ========================================================= */
.news { padding: 150px 0 100px; }
.news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; }
.news__ctrl { display: flex; align-items: center; gap: 18px; }
.news__more { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); position: relative; transition: transform .35s var(--ease), background .25s; }
.news__more span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.news__more::before, .news__more::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; }
.news__more::before { width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; }
.news__more::after { width: 1.5px; height: 16px; margin: -8px 0 0 -.75px; }
.news__more:hover { transform: rotate(90deg); background: var(--navy); }

/* 소식: 좌측 대표 1건 + 우측 가로형 3건 */
.ngrid { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: repeat(3, auto); gap: 26px 60px; }
.ncard a { display: block; }
.ncard figure { position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; }
.ncard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ncard figure::after { content: ""; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231758a7' stroke-width='1.8'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/16px no-repeat; transform: scale(0); transition: transform .45s var(--ease); }
.ncard__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mute); }
.ncard__meta em { font-style: normal; font-weight: 600; color: var(--blue); }
.ncard__meta em::after { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--line); margin-left: 12px; vertical-align: -1px; }
.ncard strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-size: 20px; line-height: 1.45; color: var(--ink); letter-spacing: -.02em; transition: color .25s; }
.ncard p { margin-top: 12px; font-size: 16px; color: var(--body); }
.ncard a:hover figure img { transform: scale(1.07); }
.ncard a:hover figure::after { transform: scale(1); }
.ncard a:hover strong { color: var(--blue); }

.ncard:not(.ncard--feature) a { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.ncard--feature { grid-row: span 3; }
.ncard--feature figure { aspect-ratio: auto; height: clamp(300px, 28vw, 420px); border-radius: 24px; }
.ncard--feature figure::after { width: 56px; height: 56px; right: 20px; bottom: 20px; background-size: 22px; }
.ncard--feature .ncard__body { padding-top: 26px; }
.ncard--feature strong { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2vw, 30px); margin-top: 14px; }


/* =========================================================
   CONSULT
   ========================================================= */
.consult { position: relative; padding: 140px 0; background: var(--navy) url("../img/about-night.jpg") center / cover no-repeat; color: #fff; isolation: isolate; }
.consult::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,42,79,.96) 30%, rgba(14,42,79,.82)); z-index: -1; }
.consult__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.consult__info .h-serif { color: #fff; margin-bottom: 26px; }
.consult__info > p { color: rgba(255,255,255,.75); }
.consult__tel { display: flex; gap: 50px; margin-top: 50px; }
.consult__tel dt { font-size: 14px; color: rgba(255,255,255,.6); }
.consult__tel dd a { font-family: var(--serif); font-size: 32px; font-weight: 600; }

.cform { background: #fff; color: var(--ink); padding: 50px; border-radius: 8px; }
.cform__row { margin-bottom: 22px; }
.cform__row label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.cform input[type=text], .cform input[type=tel], .cform select { width: 100%; height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font-size: 16px; transition: border-color .2s; }
.cform select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.cform input:focus, .cform select:focus { outline: none; border-color: var(--blue); }
.cform input.is-invalid { border-color: #d64545; }
.cform__agree { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 28px 0 26px; }
.cform__agree input { width: 20px; height: 20px; accent-color: var(--blue); }
.cform__agree a { margin-left: auto; font-size: 14px; color: var(--mute); text-decoration: underline; }
.cform__submit { width: 100%; height: 62px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 700; transition: background .25s; }
.cform__submit:hover { background: var(--navy); }
.cform__msg { margin-top: 14px; font-size: 15px; min-height: 1.5em; color: var(--blue); }
.cform__msg.is-error { color: #d64545; }

/* =========================================================
   LOCATION
   ========================================================= */
.loc { padding: 150px 0; }
.loc__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: stretch; }
.loc__info .h-serif { margin-bottom: 30px; }
.loc__info address { font-size: 20px; color: var(--ink); font-weight: 600; }
.loc__btns { display: flex; gap: 10px; margin: 24px 0 40px; }
.loc__btns a { height: 42px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; transition: .25s; }
.loc__btns a:hover { border-color: var(--blue); color: var(--blue); }
.loc__dl { border-top: 1px solid var(--ink); }
.loc__dl > div { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc__dl dt { color: var(--mute); }
.loc__dl dd { color: var(--ink); font-weight: 600; font-size: 18px; }
.loc__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.loc__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--bg-soft); border-radius: 4px; font-size: 15px; font-weight: 600; color: var(--ink); transition: .25s; }
.loc__links a::after { content: "→"; color: var(--mute); }
.loc__links a:hover { background: var(--blue); color: #fff; }
.loc__links a:hover::after { color: #fff; }
.loc__map { min-height: 520px; border-radius: 6px; overflow: hidden; background: var(--bg-soft); }
.loc__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.ft { background: #0a1d36; color: rgba(255,255,255,.6); padding: 60px 0 50px; font-size: 14px; }
.ft__top { display: flex; align-items: center; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft__logo { width: 200px; }
.ft__policy { display: flex; gap: 24px; margin-left: auto; }
.ft__policy b { color: #fff; }
.ft__family select { height: 44px; min-width: 220px; padding: 0 16px; background: transparent; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }
.ft__family option { color: var(--ink); }
.ft__info { padding-top: 30px; line-height: 1.9; }
.ft__info span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: rgba(255,255,255,.2); margin: 0 12px; vertical-align: -1px; }
.ft__copy { margin-top: 20px; color: rgba(255,255,255,.4); }

/* =========================================================
   FLOATING / MOBILE BAR
   ========================================================= */
.float { position: fixed; right: 24px; top: 50%; z-index: 90; transform: translateY(-50%); display: flex; flex-direction: column; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(14,42,79,.15); padding: 8px; transition: opacity .3s, transform .3s; }
.float a { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 72px; padding: 12px 0; font-size: 12px; font-weight: 600; color: var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.float a .ico { width: 22px; height: 22px; color: var(--blue); }
.float a:hover { background: var(--bg-soft); }
.float__main { background: var(--blue); color: #fff !important; padding: 16px 0 !important; margin-bottom: 4px; }
.float__main .ico { color: #fff !important; }
.float__main:hover { background: var(--navy) !important; }
.float__top { width: 72px; height: 48px; margin-top: 4px; border-top: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316202c' stroke-width='1.8'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center/20px no-repeat; }
.float.is-hidden { opacity: 0; pointer-events: none; transform: translate(20px, -50%); }
.mbar { display: none; }

/* =========================================================
   MOTION (GSAP + Lenis)
   ========================================================= */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }
.hero__media { will-change: transform; }
/* GSAP이 직접 움직이는 요소는 CSS transition과 충돌하지 않게 */
.js-gsap .ditem__img img, .js-gsap .ncard--feature figure img, .js-gsap .pv-1 img { transition: none; }
.no-motion .dept__viewport, .no-motion .care__viewport { overflow-x: auto; }
.no-motion .dept__nav, .no-motion .care__nav { display: none; }

/* =========================================================
   REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1600px) {
  .float { right: 12px; padding: 6px; }
  .float a { width: 52px; padding: 13px 0; font-size: 0; gap: 0; }
  .float a .ico { width: 22px; height: 22px; }
  .float__main { padding: 15px 0 !important; }
  .float__top { width: 52px; }
}
@media (max-width: 1440px) {
  .gnb__list > li > a { padding: 0 22px; }
  .gnb__list > li > a::after { left: 22px; right: 22px; }
  .hd__inner { padding: 0 32px; }
  .float { right: 14px; }
}
@media (max-width: 1280px) {
  :root { --gutter: 32px; --curve-overlap: 130px; }
  .hero__quick a { width: 124px; height: 124px; padding: 18px 16px; border-radius: 16px; }
  .hero__quick strong { font-size: 15px; }
  .hd__tel { display: none; }
  .promise__visual { height: 540px; }
  .float { display: none; }
}
@media (max-width: 1024px) {
  :root { --hd-h: 72px; --gutter: 24px; }
  .gnb, .mega, .hd__util .btn-pill { display: none; }
  .hd__inner { padding: 0 20px; }
  .hd__logo a { width: 180px; }
  .hd.is-solid { --hd-h: 64px; }
  .allmenu__inner { padding: 20px 24px 40px; }
  .allmenu__top img { width: 180px; }
  .allmenu__grid { grid-template-columns: repeat(2, 1fr); padding: 40px 0; gap: 34px 24px; }
  .allmenu__grid dt { font-size: 22px; padding-bottom: 14px; margin-bottom: 12px; }


  .promise { padding: 150px 0 120px; }
  .promise__inner, .consult__inner, .loc__inner { grid-template-columns: 1fr; gap: 56px; }
  .strength { padding: 110px 0; }
  .strength__inner { grid-template-columns: 1fr; gap: 50px; }
  .strength__text { order: -1; }
  .strength__list { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
  .strength__list li + li { margin-top: 0; }
  .strength__list li::before { display: none; }
  .strength__list button { font-size: 15px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .strength__list li.is-active button { background: var(--blue); border-color: var(--blue); color: #fff; }
  .consult, .loc { padding: 110px 0; }
  .care__pin { padding: 90px 0 40px; }
  .news__head { margin-bottom: 40px; }
  .ngrid { gap: 22px 36px; }
  .ncard:not(.ncard--feature) a { grid-template-columns: 140px 1fr; gap: 18px; }
  .dept__pin { padding: 100px 0 40px; }
  .family { padding: 70px 0 100px; }
  .family__inner { grid-template-columns: 1fr; gap: 28px; }
  .news { padding: 110px 0 70px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 44px; }
  .sec-head--center { align-items: center; }
  .dept__side { align-items: flex-start; text-align: left; }
  .loc__map { min-height: 380px; }
  .ft__top { flex-wrap: wrap; gap: 20px; }
  .ft__policy { margin-left: 0; order: 3; width: 100%; }
}
@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 60px; }
  .pc { display: none; }
  .mo { display: inline; }
  :root { --gutter: 16px; }
  .label { font-size: 16px; margin-bottom: 12px; }
  .h-serif { font-size: 28px; }

  .hero { min-height: 560px; }
  .hero__text { transform: translateY(-58%); }
  .hero__eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero__title { font-size: 26px; }
  .hero__desc { font-size: 15px; margin-top: 18px; }
  :root { --curve-overlap: 50px; }
  .hero__ctrl { bottom: calc(var(--curve-overlap) + 132px); }
  .hero__quick { left: var(--gutter); right: var(--gutter); bottom: calc(var(--curve-overlap) + 24px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hero__quick a { width: auto; height: 88px; padding: 14px 6px 12px; border-radius: 14px; align-items: center; text-align: center; }
  .hero__quick .ico { width: 24px; height: 24px; }
  .hero__quick strong { font-size: 12.5px; justify-content: center; white-space: nowrap; }
  .hero__quick strong::after { display: none; }
  .promise::before { width: 300px; height: 300px; filter: blur(110px); }
  .promise::after { width: 260px; height: 260px; top: 300px; filter: blur(90px); }
  .hero__count .bar { width: 100px; }


  .promise { padding: 110px 0 90px; }
  .promise__text .lead { font-size: 17px; }
  .promise__visual { height: 380px; }
  .pv-1 { border-radius: 0 80px 0 0; }
  .pv-2 { border-width: 6px; }
  .pv-cap { font-size: 16px; bottom: 6px; }

  .consult, .loc { padding: 80px 0; }
  .care__pin { padding: 76px 0 72px; justify-content: flex-start; }
  .care__intro > p:last-child { font-size: 14px; }
  .care__intro .h-serif { margin-bottom: 14px; }
  .care__viewport { padding: 6px 0 24px; }
  .care__track { gap: 16px; }
  .care__row { flex-direction: column; align-items: stretch; gap: 20px; padding-left: 0; }
  .care__intro { width: auto; padding: 0 var(--gutter); }
  .care__viewport { -webkit-mask-image: none; mask-image: none; }
  .care__track { padding-left: var(--gutter); }
  .ccard { width: 64vw; }
  .ccard__body { padding-top: 16px; }
  .ccard__body p { font-size: 13px; }
  .ccard:nth-child(odd) { transform: translateY(20px); }
  .ccard__body strong { font-size: 19px; }
  .care__nav { margin-top: 10px; }
  .care__hint { display: none; }
  .ngrid { grid-template-columns: 1fr; gap: 20px; }
  .ncard--feature { grid-row: auto; }
  .ncard--feature figure { height: 230px; border-radius: 18px; }
  .ncard--feature p { display: none; }
  .ncard:not(.ncard--feature) a { grid-template-columns: 104px 1fr; gap: 16px; padding-bottom: 18px; }
  .ncard:not(.ncard--feature) figure { border-radius: 12px; }
  .ncard:not(.ncard--feature) figure::after { display: none; }
  .ncard strong { font-size: 16px; margin-top: 6px; }
  .ncard--feature strong { font-size: 22px; }
  .ncard__meta { font-size: 12px; }
  /* 고정 구간: 하단 고정바(60px) 만큼 아래 여백 확보 */
  .dept__pin { padding: 76px 0 72px; justify-content: flex-start; }
  .dept__side { display: none; }
  .dept .sec-head { margin-bottom: 30px; }
  .dept__track { gap: 16px; }
  .dept__slide { width: clamp(170px, calc(34vh * .79), 240px); }
  .dept__slide:nth-child(even) { padding-top: 24px; }
  .dept__hint { display: none; }
  .family { padding: 50px 0 80px; }
  .family__list { grid-template-columns: 1fr; }
  .family__list li, .family__list li:nth-child(2n) { padding: 18px 0; border-left: 0; }
  .family__list strong { font-size: 16px; }
  .family__list p { font-size: 13px; }
  .marquee { padding: 10px 0 0; }
  .marquee p { font-size: 40px; }
  .strength { padding: 80px 0; }
  .dept__side { align-items: flex-start; text-align: left; gap: 18px; }
  .ditem__img { border-radius: 26px; }
  .ditem__icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .ditem__icon svg { width: 30px; height: 30px; }
  .ditem__txt { padding-top: 18px; }
  .ditem__txt strong { font-size: 18px; }
  .ditem__txt p { font-size: 13px; }
  .dept__nav { margin-top: 30px; }
  .strength__swiper { border-radius: 20px; aspect-ratio: 4 / 5; }
  .strength__cap { left: 22px; right: 22px; bottom: 26px; }
  .strength__cap strong { font-size: 19px; margin-bottom: 8px; }
  .strength__cap p { font-size: 14px; }
  .strength__prev, .strength__next { width: 40px; height: 40px; background-size: 26px; }
  .strength__prev { left: 6px; } .strength__next { right: 6px; }
  .strength__desc { font-size: 15px; }
  .strength__list { display: none; }
  .strength__inner { gap: 36px; }
  .news { padding: 80px 0 50px; }




  .consult__tel { flex-direction: column; gap: 18px; margin-top: 34px; }
  .consult__tel dd a { font-size: 26px; }
  .cform { padding: 28px 20px; }
  .cform__agree { flex-wrap: wrap; font-size: 14px; }

  .loc__info address { font-size: 17px; }
  .loc__links { grid-template-columns: 1fr; }
  .loc__map { min-height: 300px; }

  .ft { padding: 44px 0 36px; font-size: 13px; }
  .ft__logo { width: 160px; }
  .ft__family, .ft__family select { width: 100%; }
  .ft__info span { display: block; }
  .ft__info span + span::before { display: none; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: 60px; background: #fff; box-shadow: 0 -4px 20px rgba(14,42,79,.1); }
  .mbar a { display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--ink); }
  .mbar a + a { border-left: 1px solid var(--line); }
  .mbar a.is-primary { background: var(--blue); color: #fff; border: 0; }
}

/* ---------- 메인 팝업존 (assets/js/popup.js) ---------- */
.pop { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px 16px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.pop.is-open { opacity: 1; visibility: visible; }
.pop__dim { position: absolute; inset: 0; background: rgba(10,18,30,.55); }
.pop__box { position: relative; width: 520px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #2f3236; box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: translateY(24px) scale(.98); transition: transform .5s var(--ease); }
.pop.is-open .pop__box { transform: none; }
.pop__view { position: relative; aspect-ratio: 1 / 1; max-height: calc(100dvh - 150px); background: var(--navy); }
.pop__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.pop__slide.is-on { opacity: 1; visibility: visible; }
.pop__slide a { display: block; width: 100%; height: 100%; }
.pop__slide img { width: 100%; height: 100%; object-fit: cover; }
.pop__ph { position: relative; isolation: isolate; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 40px 48px; color: #fff; background: linear-gradient(135deg, #11519a, #04284f 70%); }
.pop__ph > img { position: absolute; inset: 0; z-index: -2; }
.pop__ph.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,20,40,0) 35%, rgba(4,20,40,.85)); }
.pop__ph span { font-size: 12px; letter-spacing: .24em; color: var(--sky); }
.pop__ph strong { margin: 10px 0 14px; font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.pop__ph p { font-size: 16px; color: rgba(255,255,255,.75); }
.pop__close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(4,20,40,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/18px no-repeat; transition: background-color .25s; }
.pop__close:hover { background-color: rgba(4,20,40,.85); }
.pop__tabs { display: flex; background: #fff; overflow-x: auto; scrollbar-width: none; }
.pop__tabs::-webkit-scrollbar { display: none; }
.pop__tabs button { flex: 1 0 25%; min-width: 0; height: 46px; padding: 0 10px; font-size: 14px; font-weight: 500; color: #4a5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .25s, color .25s; }
.pop__tabs button + button { border-left: 1px solid var(--line); }
.pop__tabs button:hover { color: var(--navy); }
.pop__tabs button[aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 700; border-color: var(--navy); }
.pop__tabs button[aria-selected="true"] + button { border-left-color: transparent; }
.pop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 20px; color: #fff; }
.pop__ctrl { display: flex; align-items: center; gap: 6px; }
.pop__count { min-width: 44px; margin-right: 4px; font-size: 14px; font-weight: 600; }
.pop__prev, .pop__next, .pop__toggle { width: 30px; height: 30px; border-radius: 50%; background: center/16px no-repeat; transition: background-color .2s; }
.pop__prev:hover, .pop__next:hover, .pop__toggle:hover { background-color: rgba(255,255,255,.12); }
.pop__prev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E"); }
.pop__next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E"); }
.pop__toggle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Crect x='7' y='6' width='3' height='12' rx='1'/%3E%3Crect x='14' y='6' width='3' height='12' rx='1'/%3E%3C/svg%3E"); background-size: 14px; }
.pop__toggle.is-paused { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5.5v13l10.5-6.5z'/%3E%3C/svg%3E"); }
.pop__today { font-size: 14px; color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 4px; }
.pop__today:hover { color: #fff; }

@media (max-width: 767px) {
  .pop__box { border-radius: 20px; }
  .pop__ph { padding: 28px 24px 32px; }
  .pop__ph strong { font-size: 26px; }
  .pop__ph p { font-size: 14px; }
  .pop__close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .pop__tabs button { flex-basis: 34%; height: 42px; font-size: 13px; }
  .pop__bar { height: 50px; padding: 0 14px; }
  .pop__count { min-width: 38px; font-size: 13px; }
  .pop__today { font-size: 13px; }
}