/* 가족같은 노인요양복지센터 공통 틀 (리더 담당)
   v1 (2026-11-26): _자료/효과_명세.md 값으로 맞춤. 근거 번호는 명세의 절 번호.
   페이지 담당은 이 파일을 고치지 말고 리더에게 요청. */

/* ---------- 글꼴 (명세 1.2: 원본과 같은 파일·같은 이름·같은 선언 굵기) ---------- */
@font-face { font-family: "NanumSquareNeo-aLt"; font-weight: 200; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff") format("woff"); }
@font-face { font-family: "NanumSquareNeo-bRg"; font-weight: 300; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff") format("woff"); }
@font-face { font-family: "NanumSquareNeo-cBd"; font-weight: 500; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff") format("woff"); }
@font-face { font-family: "NanumSquareNeo-dEb"; font-weight: 700; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff") format("woff"); }
@font-face { font-family: "NanumSquareNeo-eHv"; font-weight: 900; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff") format("woff"); }

@font-face { font-family: "NanumSquareRoundEB"; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundEB.woff") format("woff"); }
@font-face { font-family: "NanumSquareRoundR"; font-display: swap;
  src: url("https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareRound/NanumSquareRoundR.woff") format("woff"); }

:root {
  /* 색 (1.1) */
  --accent: #009fe3;
  --yellow: #ffd323;
  --yellow-ink: #2d2d2d;
  --ink: #000;
  --line: rgba(0, 0, 0, .12);
  --bg: #fff;
  --bg-soft: #f4f4f4;
  --footer-bg: #1c1c1c;
  --banner-under: #566678;
  /* 글꼴 */
  --f-rg: "NanumSquareNeo-bRg", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-bd: "NanumSquareNeo-cBd", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-eb: "NanumSquareNeo-dEb", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-hv: "NanumSquareNeo-eHv", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  /* 너비 (1.5) */
  --container: 1320px;
  /* 머리말 (2.2, 2.6) */
  --header-h: 111px;
  --header-h-small: 80.78px;
  /* 곡선 */
  --ease-expo6: linear(0 0%, .1142 2%, .2172 4%, .3101 6%, .3936 8%, .4686 10%, .5664 13%, .6487 16%, .7379 20%, .822 25%, .8824 30%, .9313 36%, .9657 43%, .9844 50%, .9959 60%, .9993 70%, .9999 80%, 1 90%, 1 100%); /* 4.1 easeOutExpo = 1-(1-t)^6 */
  --ease-btn: cubic-bezier(.25, 1, .33, 1);    /* 5.2 */
  --ease-letter: cubic-bezier(.25, 1, .5, 1);  /* 4.2 */
  --ease-hl: cubic-bezier(.15, .75, .4, 1);    /* 4.3 */
  --ease-zoom: cubic-bezier(.1, .2, .7, 1);    /* 4.4 */
  --ease-divider: cubic-bezier(.18, .75, .25, 1); /* 4.8 */
  --ease-ocm: cubic-bezier(.15, .2, .1, 1);    /* 2.7 */
}
@supports not (transition-timing-function: linear(0, 1)) {
  :root { --ease-expo6: cubic-bezier(.16, 1, .3, 1); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-rg);
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  word-break: normal; /* 원본 body·p word-break normal (sub-pages 실측) */
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
p { margin: 0; padding-bottom: 27px; } /* 원본: 마지막이 아닌 p 아래 27px */
p:last-child { padding-bottom: 0; }

/* 제목 (1.3) */
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); }
h1 { font-family: var(--f-hv); font-weight: 900; font-size: 62px; line-height: 77px; }
h2 { font-family: var(--f-eb); font-weight: 800; font-size: 44px; line-height: 54px; }
h3 { font-family: var(--f-eb); font-weight: 600; font-size: 30px; line-height: 38px; letter-spacing: -.05px; }
h4 { font-family: var(--f-bd); font-weight: 700; font-size: 18px; line-height: 28px; }
h5 { font-family: var(--f-rg); font-weight: 500; font-size: 15px; line-height: 22px; }
h6 { font-family: var(--f-rg); font-size: 14px; line-height: 24px; }
h2 { margin-bottom: 7px; } h3, h4 { margin-bottom: 8px; } /* 원본 제목 아래 여백 (sub-pages 실측) */
h2:last-child, h3:last-child, h4:last-child { margin-bottom: 0; }
@media (max-width: 1300px) { /* 원본은 1300 너비에서 이미 작아짐 (home-page 실측) */
  h1 { font-size: 46.5px; line-height: 57.75px; }
  h2 { font-size: 37.4px; line-height: 45.9px; }
  h3 { font-size: 25.5px; line-height: 32.3px; }
}
@media (max-width: 999px) {
  h1 { font-size: 43.4px; line-height: 53.9px; }
  h2 { font-size: 33px; line-height: 40.5px; }
  h3 { font-size: 22.5px; line-height: 28.5px; }
  h4 { font-size: 16.2px; line-height: 25.2px; }
}
@media (max-width: 690px) {
  h1 { font-size: 27.9px; line-height: 34.65px; }
  h2 { font-size: 26.4px; line-height: 32.4px; }
  h3 { font-size: 21px; line-height: 26.6px; }
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: #000; padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }

/* 내용 상자 (1.5): 1000px 이상 최대 1500 + 좌우 90 = 내용 1320, 999 이하 88% */
.container { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 90px; }
@media (max-width: 999px) { .container { width: 88%; max-width: none; padding: 0; } }
.section-soft { background: var(--bg-soft); }

/* ---------- 머리말 (2장) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease, opacity .3s ease;
}
.header-inner {
  height: var(--header-h); padding: 0 80px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height .32s ease;
}
.site-header.is-small .header-inner { height: var(--header-h-small); }
/* 로고: GPT 지붕 그림 + 진짜 글꼴 글자(벡터, 선명). 원본 로고 색 초록 #3EB134, 진한 갈색 #231815 */
.site-logo { position: relative; display: block; height: 58px; flex: none; }
.logo-svg { display: block; height: 58px; width: auto; overflow: visible; } /* hlee 11/26: 더 크게 (원본 43px) */
@media (max-width: 1399px) { .site-logo, .logo-svg { height: 50px; } }
.logo-w1 { font-family: "NanumSquareRoundEB", var(--f-eb); font-size: 31px; fill: #3eb134; }
.logo-w2 { font-family: "NanumSquareRoundR", var(--f-rg); font-size: 23px; fill: #231815; transition: fill .2s ease; }

.gnb ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.gnb li { margin: 0 26px; }
.gnb li:last-child { margin-right: 0; }
.gnb a { display: inline-block; font-family: var(--f-bd); font-weight: 700; font-size: 18px; line-height: 16px; color: #000; transition: color .2s ease, opacity .2s ease; }
.gnb a[data-nav] > span { position: relative; display: inline-block; }
/* 밑줄: 글자 아래 6px, 2px, 가운데부터 양옆으로 (2.4) */
.gnb a[data-nav] > span::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--accent); transform: scaleX(0);
  transition: transform .3s ease-out, background-color .3s ease-out;
}
.gnb a[data-nav]:hover > span::after,
.gnb a.current > span::after { transform: scaleX(1); }

/* 전화 단추 (2.5): 알약 202x40 */
.btn-call, .gnb a.btn-call { /* .gnb a(inline-block, 16px 줄)보다 앞서게 */
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 36px; border-radius: 200px;
  background: var(--accent); color: #fff !important; opacity: 1 !important;
  font-family: var(--f-bd); font-weight: 700; font-size: 18px; line-height: 1;
  justify-content: center; overflow: hidden; /* hlee 11/26: 글자 위아래·양옆 가운데 (원본 16px 줄 높이는 글자가 위로 뜸) */
}
.btn-call::after { /* 올리면 겹친 판 투명도 0→1 (판 색은 명세 확인 필요 4번: 임시로 옅은 흰 막) */
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.12); opacity: 0; transition: opacity .3s ease;
}
.btn-call:hover::after { opacity: 1; }
.btn-call > * { position: relative; z-index: 1; }
.ico-phone { display: block; flex: none; width: 21px; height: 21px; fill: currentColor; } /* hlee 11/26: 더 크게 (원본 15px) */
@media (max-width: 1199px) { .ico-phone { width: 18px; height: 18px; } } /* 검수 11/26: 아이콘이 위로 붙던 것 → 세로 가운데 */
.gnb a, .btn-call { white-space: nowrap; }
/* 원본보다 메뉴가 1개(복지용구) 많고 센터 이름이 길어서, 좁은 화면에서는 간격만 줄인다(원본에 없는 규칙) */
@media (max-width: 1599px) { .gnb li { margin: 0 18px; } .header-inner { padding: 0 50px; } }
@media (max-width: 1399px) { .gnb li { margin: 0 12px; } .header-inner { padding: 0 32px; } .btn-call, .gnb a.btn-call { padding: 0 24px; } }
@media (max-width: 1199px) { .gnb a, .btn-call, .gnb a.btn-call { font-size: 15px; } .gnb li { margin: 0 7px; } .btn-call, .gnb a.btn-call { padding: 0 16px; } .header-inner { padding: 0 20px; } .site-logo, .logo-svg { height: 40px; } }

/* 홈 투명 머리말 (2.3): body.has-hero 이고 아직 스크롤 안 했을 때 */
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120%; pointer-events: none;
  background: linear-gradient(to top, rgba(255,255,255,0) 0, rgba(0,0,0,0) 1%, rgba(0,0,0,.04) 16%, rgba(0,0,0,.23) 75%, rgba(0,0,0,.33) 100%);
  opacity: 0; transition: opacity .3s ease;
}
body.has-hero .site-header:not(.is-solid) { background: transparent; }
body.has-hero .site-header:not(.is-solid)::before { opacity: 1; }
body.has-hero .site-header:not(.is-solid) .gnb a { color: #fff; opacity: .75; }
body.has-hero .site-header:not(.is-solid) .gnb a:hover,
body.has-hero .site-header:not(.is-solid) .gnb a.current { opacity: 1; }
body.has-hero .site-header:not(.is-solid) .gnb a[data-nav] > span::after { background: #fff; }
body.has-hero .site-header:not(.is-solid) .logo-w2 { fill: #fff; }
body.has-hero .site-header:not(.is-solid) .menu-toggle { color: #fff; }

/* 하위 쪽: 처음부터 흰 머리말, 머리말 높이만큼 자리 비움 (2.3) */
body:not(.has-hero) { padding-top: var(--header-h); }

/* 햄버거 (2.6) */
.menu-toggle { display: none; position: relative; width: 34px; height: 34px; border: 0; background: none; padding: 0; cursor: pointer; color: #000; }
.menu-toggle .lines, .menu-toggle .lines::before, .menu-toggle .lines::after {
  display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto;
  transition: transform .3s ease, background-color .3s ease, top .4s .45s ease;
}
.menu-toggle .lines { position: relative; }
.menu-toggle .lines::before, .menu-toggle .lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle .lines::before { top: -6px; }
.menu-toggle .lines::after { top: 6px; }

@media (max-width: 999px) {
  :root { --header-h: 68px; --header-h-small: 68px; }
  .header-inner { padding: 0 6%; }
  .gnb { display: none; }
  .menu-toggle { display: block; }
  .site-logo, .logo-svg { height: 32px; } /* hlee 11/26: 더 크게 (원본 24px) */
}

/* 모바일 메뉴 (2.7): 쪽이 작아지며 왼쪽으로, 오른쪽 파란 판 */
.page-wrap { transition: transform .8s var(--ease-ocm); transform-origin: center center; }
html.ocm-open, html.ocm-open body { overflow: hidden; }
html.ocm-open body { background: var(--accent); } /* 검수 11/26: 원본은 줄어든 쪽 뒤가 파란 바탕 */
html.ocm-open .page-wrap { transform: scale(.835) translateX(-466px); pointer-events: none; }
@media (max-width: 450px) { html.ocm-open .page-wrap { transform: scale(.84) translateX(-93vw); } }
.ocm-backdrop { position: fixed; inset: 0; z-index: 990; background: transparent; /* 검수 11/26: 원본은 어둡게 덮지 않음 */ opacity: 0; visibility: hidden; transition: opacity .8s var(--ease-ocm), visibility 0s .8s; cursor: pointer; }
html.ocm-open .ocm-backdrop { opacity: 1; visibility: visible; transition: opacity .8s var(--ease-ocm); }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 995;
  min-width: 360px; padding: 0 60px; background: var(--accent);
  display: flex; align-items: center;
  transform: translateX(100%); transition: transform .8s var(--ease-ocm);
}
.mobile-menu nav { opacity: 0; transform: translateX(110px); transition: opacity .8s var(--ease-ocm), transform .8s var(--ease-ocm); }
html.ocm-open .mobile-menu { transform: none; }
html.ocm-open .mobile-menu nav { opacity: 1; transform: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { margin: 0 0 18px; }
.mobile-menu a { position: relative; display: inline-block; font-family: var(--f-bd); font-weight: 400; font-size: 22px; line-height: 28px; color: #fff; }
.mobile-menu a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform .37s cubic-bezier(.52,.01,.16,1); }
.mobile-menu a:hover::after, .mobile-menu a.current::after { transform: scaleX(1); }
.mobile-menu .btn-call { background: none; height: auto; padding: 0; overflow: visible; font-size: 22px; line-height: 28px; font-weight: 400; }
.mobile-menu .btn-call::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: #fff; opacity: 1; inset: auto 0 -4px 0; transform: scaleX(0); transform-origin: left center; transition: transform .37s cubic-bezier(.52,.01,.16,1); }
.mobile-menu .btn-call:hover::after { transform: scaleX(1); }
.ocm-close {
  position: fixed; top: 24px; right: 24px; z-index: 996; width: 46px; height: 46px; /* 검수 11/26: 원본은 메뉴판 오른쪽 위 흰 X, 옅은 원 */
  border: 0; border-radius: 50%; background: rgba(255,255,255,.18); cursor: pointer;
  opacity: 0; transform: translateX(80px); transition: opacity .8s var(--ease-ocm), transform .8s var(--ease-ocm);
}
.ocm-close::before, .ocm-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: #fff; }
.ocm-close::before { transform: rotate(45deg); }
.ocm-close::after { transform: rotate(-45deg); }
html.ocm-open .ocm-close { opacity: 1; transform: none; }
@media (max-width: 450px) { .mobile-menu { min-width: 0; width: 78vw; padding: 0 50px; } }
@media (min-width: 1000px) { .mobile-menu, .ocm-close, .ocm-backdrop { display: none; } }
html:not(.ocm-open) .ocm-close, html:not(.ocm-open) .mobile-menu { visibility: hidden; transition-property: opacity, transform, visibility; transition-delay: 0s, 0s, .8s; } /* 닫혀 있으면 Tab 순서에서 빠짐 */

/* ---------- 메뉴 페이지 맨 위 띠 배너 (3장, 4.2, 4.5) ---------- */
.page-banner {
  position: relative; overflow: hidden; height: 377px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff;
}
.page-banner::before { /* 사진 층: 밑색 #566678, 0.55s ease-out 으로 서서히 */
  content: ""; position: absolute; inset: 0;
  background: var(--banner-under) var(--banner) center / cover no-repeat;
  animation: bg-fade-in .55s ease-out both;
}
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.page-banner h1 { position: relative; z-index: 1; color: #fff; line-height: 1.2; }
@keyframes bg-fade-in { from { opacity: 0; } to { opacity: 1; } }
/* 999 이하: 윗여백 22%(칸 폭 기준) + 아래 152px. 원본 실측 768→370px, 375→264px (story-consult 재측정) */
@media (max-width: 999px) { .page-banner { height: auto; padding: 22% 6% 152px; } }

/* ---------- 공통 버튼 (5.2) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 23px 50px; margin: 0 0 10px; border-radius: 200px; border: 0; cursor: pointer; /* 23px: skin-material jumbo (home-page 실측 높이 66) */
  font-family: var(--f-eb); font-weight: 700; font-size: 18px; line-height: 20px;
  color: #fff; opacity: 1;
  transition: opacity .45s var(--ease-btn), transform .45s var(--ease-btn), border-color .45s var(--ease-btn), color .45s var(--ease-btn), background-color .45s var(--ease-btn), box-shadow .45s var(--ease-btn);
}
.btn:hover { opacity: .87; transform: translateY(-3px); box-shadow: 0 20px 38px rgba(0,0,0,.16); color: #fff; }
.btn--accent { background: var(--accent); }
.btn--yellow { background: var(--yellow); color: var(--yellow-ink); }
.btn--yellow:hover { color: #fff; }
/* 아이콘 있는 버튼: 안쪽 22 54 22 66, 오른쪽 14px 에 지름 44px 원 */
.btn:has(.btn__arrow), .btn:has(.btn__phone), .btn.has-icon { padding: 22px 66px 22px 54px; }
.btn > span { position: relative; left: -18px; }
.btn:not(:has(.btn__arrow, .btn__phone)):not(.has-icon) > span { left: 0; }
.btn__arrow, .btn__phone {
  position: absolute; right: 14px; top: 50%; width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; background: rgba(255,255,255,.22); transform: translateX(3px); /* rounded_shadow 버튼 아이콘 원 (home-page 실측) */
  display: inline-flex; align-items: center; justify-content: center;
}
.btn__arrow::before { content: ""; width: 9px; height: 9px; margin-left: -4px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn__phone::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%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'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- 구분선 (4.8) · 표 (5.6) ---------- */
.divider { box-sizing: content-box; height: 1px; padding: 12.5px 0; margin: 0; background: var(--line); background-clip: content-box; } /* 위아래 12.5px 이 앞뒤 여백과 겹쳐 사라지지 않게 padding 으로 */
.divider[data-anim="divider"] { visibility: hidden; transform: scale(0, 1); transform-origin: left center; }
.divider[data-anim="divider"].is-in { visibility: visible; transform: scale(1, 1); transition: transform 1.5s var(--ease-divider); }
.text-center .divider[data-anim="divider"], .divider.is-center { transform-origin: center center; }

.price-table { width: 100%; border-collapse: collapse; color: #111; text-align: center; border-top: 1px solid #ececec; } /* 원본 computed (sub-pages 실측): 선은 아래만 #ececec */
.price-table th, .price-table td { padding: 10px; border: 0; border-bottom: 1px solid #ececec; border-left: 1px solid #ececec; border-right: 1px solid #ececec; } /* 검수 11/26: 원본 실측 세로 선 있음 */
.price-table th { font-size: 18px; line-height: 32px; font-weight: 700; }
.price-table td { font-size: 14px; line-height: 32px; }
.price-table thead th { background: #d9edf7; }
.price-table tbody tr:nth-child(odd) td { background: #fff; }
.price-table tbody tr:nth-child(even) td { background: #f9f9f9; }
.price-table tbody tr:hover td { background: #f3f3f3; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 공통 애니메이션 (4장) ---------- */
/* 4.1 열 등장: 투명 0 + 아래 100px → 제자리, 1350ms, easeOutExpo(6제곱) */
[data-anim="fade-in-from-bottom"] { opacity: 0; transform: translateY(100px); }
[data-anim="fade-in-from-bottom"].is-in { opacity: 1; transform: none; transition: opacity 1.35s var(--ease-expo6), transform 1.35s var(--ease-expo6); }

/* 4.2 글자 올라오기: 낱말 상자 overflow hidden, 글자 1.3em → 0, 1200ms */
[data-text-effect="letter-reveal-bottom"]:not(.lr-ready) { opacity: 0; }
[data-text-effect="letter-reveal-bottom"] .lr-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em; margin: 0 -.05em; line-height: 1.2; }
[data-text-effect="letter-reveal-bottom"] .lr-ch { display: inline-block; transform: translateY(1.3em); }
[data-text-effect="letter-reveal-bottom"].is-in .lr-ch { transform: none; transition: transform 1.2s var(--ease-letter); }

/* 4.3 강조 띠: 높이 80%, 세로 70%, 0 → 100%, 0.9s */
.hl {
  display: inline; padding: 0 3px; font-style: normal;
  background-image: linear-gradient(to right, var(--accent) 0, var(--accent) 100%);
  background-repeat: no-repeat; background-position: left center; background-size: 0 100%; /* hlee 11/26: 파란 칸이 글자를 다 덮게 (원본 80%·70%) */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl.is-in { background-size: 100% 100%; transition: background-size .9s var(--ease-hl); }

/* 4.4 / 4.5 배경: zoom-out-slow 1.35 → 1 (8s), fade-in 0.55s. 대상은 .bg-media 층 */
[data-bg-anim] { position: relative; overflow: hidden; }
[data-bg-anim] .bg-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
[data-bg-anim="zoom-out-slow"] .bg-media { transform: scale(1.35); }
[data-bg-anim="zoom-out-slow"].is-in .bg-media { transform: scale(1); transition: transform 8s var(--ease-zoom); }
[data-bg-anim="fade-in"] .bg-media { opacity: 0; }
[data-bg-anim="fade-in"].is-in .bg-media { opacity: 1; transition: opacity .55s ease-out; }

/* 4.0 999px 이하: 등장 애니메이션 끔 (처음부터 보임) */
@media (max-width: 999px) {
  [data-anim="fade-in-from-bottom"], [data-anim="fade-in-from-bottom"].is-in { opacity: 1; transform: none; transition: none; }
  [data-text-effect="letter-reveal-bottom"] .lr-ch { transform: none; transition: none !important; }
  .divider[data-anim="divider"] { visibility: visible; transform: none; transition: none !important; }
  .hl.is-in { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-anim].is-in, [data-text-effect] .lr-ch, .divider[data-anim] { transition: none !important; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .hl { background-size: 100% 100%; transition: none !important; }
  [data-bg-anim] .bg-media, .page-banner::before { animation: none !important; transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ---------- 바닥글 (3.7) · 떠 있는 상담 버튼 ---------- */
.site-footer { background: var(--footer-bg); color: #fff; padding: 70px 6%; text-align: center; }
.site-footer p { margin: 0; padding-bottom: 0; font-family: var(--f-rg); font-size: 15px; line-height: 32px; color: #fff; } /* 검수 11/26: 원본 줄간격 32px, 줄 사이 여백 없음 */
.site-footer a { color: #fff; opacity: .7; transition: opacity .3s ease; }
.site-footer a:hover { opacity: 1; }

/* 떠 있는 "상담&문의": 원본 소스에 없음(명세 5.8, 바깥 스크립트). 원본 화면 사진을 보고 만든 모양 */
.float-consult {
  position: fixed; right: 72px; bottom: 50px; z-index: 900; /* 검수 11/26: 원본 215x60, 오른쪽 72·아래 50 */
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 60px; padding: 0 0 0 34px; border-radius: 60px; line-height: 1;
  background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18);
  font-family: var(--f-bd); font-weight: 700; font-size: 18px; color: #000;
  transition: transform .3s ease, box-shadow .3s ease;
}
.float-consult:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.float-consult-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: rgb(8,166,211); display: inline-flex; align-items: center; justify-content: center; }
.float-consult-icon svg { display: block; width: 30px; height: 30px; fill: #fff; }
@media (max-width: 690px) { .float-consult { right: 16px; bottom: 16px; padding-left: 20px; } }

/* 사진 자리표시 (사진이 아직 없을 때) */
.ph { background: repeating-linear-gradient(45deg, #9aa0a6 0 2px, #a5aab0 2px 30px); }
