/* ====================================================================
   homepage-template/style.css — 케어하자 홈페이지 템플릿 «해든» (tp- 접두어)

   기관 홈페이지 견본 하나가 통째로 이 파일이다. 따뜻한 크림 바탕 + 깊은 청록(주색) + 살구빛(강조),
   제목은 명조(Noto Serif KR)·본문은 Pretendard. 사진 자리는 CSS 그라디언트 타일(.tp-photo)로 그린다.
   ==================================================================== */

:root {
	--tp-serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Apple SD Gothic Neo', serif;
	--tp-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Segoe UI', 'Malgun Gothic', sans-serif;

	--tp-ink: #1c1917;
	--tp-ink-2: #44403c;
	--tp-muted: #78716c;
	--tp-line: #e7e5e4;
	--tp-line-2: #f0ede8;
	--tp-bg: #fffcf7;
	--tp-bg-2: #f7f2ea;
	--tp-surface: #ffffff;

	--tp-primary: #0f766e;
	--tp-primary-2: #115e59;
	--tp-primary-3: #134e4a;
	--tp-primary-soft: #cdeee8;
	--tp-primary-tint: #eef8f6;

	--tp-accent: #f59e0b;
	--tp-accent-2: #d97706;
	--tp-accent-soft: #fef3c7;

	--tp-radius: 20px;
	--tp-radius-sm: 12px;
	--tp-shadow: 0 18px 40px -22px rgba(28, 25, 23, .28);
	--tp-shadow-sm: 0 2px 10px -4px rgba(28, 25, 23, .12);
	--tp-max: 1200px;
	--tp-head-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body.tp { font-family: var(--tp-sans); font-size: 16px; line-height: 1.65; color: var(--tp-ink); background: var(--tp-bg); overflow-x: clip; }
body.tp-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.015em; }
.tp-wrap { width: 100%; max-width: var(--tp-max); margin: 0 auto; padding: 0 24px; }

/* ── 버튼 · 링크 ─────────────────────────────────────────────────── */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s; }
.tp-btn:hover { transform: translateY(-2px); }
.tp-btn--primary { background: var(--tp-primary); color: #fff; box-shadow: 0 10px 22px -12px rgba(15, 118, 110, .8); }
.tp-btn--primary:hover { background: var(--tp-primary-2); color: #fff; }
.tp-btn--ghost { background: #fff; color: var(--tp-ink); border-color: var(--tp-line); }
.tp-btn--ghost:hover { border-color: var(--tp-primary); color: var(--tp-primary); }
.tp-btn--light { background: #fff; color: var(--tp-primary-2); }
.tp-btn--light:hover { background: #f0fdfa; }
.tp-btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.tp-btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.tp-btn--sm { padding: 9px 16px; font-size: 14px; }
.tp-btn--lg { padding: 15px 28px; font-size: 16.5px; }
.tp-textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tp-primary); }
.tp-textlink i { transition: transform .18s; }
.tp-textlink:hover i { transform: translateX(4px); }
.tp-linkbtn { margin-left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--tp-primary); background: var(--tp-primary-tint); }

.tp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 800; letter-spacing: .06em; color: var(--tp-primary); }
.tp-eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--tp-accent); }
.tp-eyebrow--pill { padding: 8px 14px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--tp-line); box-shadow: var(--tp-shadow-sm); letter-spacing: 0; gap: 8px; }
.tp-eyebrow--pill::before { display: none; }
.tp-eyebrow--pill i { color: var(--tp-accent-2); }
.tp-eyebrow--light { color: #fde68a; }
.tp-eyebrow--light::before { background: #fde68a; }

/* ── 등장 애니메이션 ──────────────────────────────────────────────── */
.tp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.tp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tp-reveal { opacity: 1; transform: none; transition: none; } }

/* ── 사진 자리(그라디언트 타일) ──────────────────────────────────── */
.tp-photo { position: relative; overflow: hidden; border-radius: var(--tp-radius); display: grid; place-items: center; aspect-ratio: 4 / 3; color: rgba(255, 255, 255, .94); isolation: isolate; }
.tp-photo i { font-size: clamp(34px, 5vw, 58px); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .2)); }
.tp-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 18% 8%, rgba(255, 255, 255, .38), transparent 55%), radial-gradient(90% 70% at 92% 100%, rgba(0, 0, 0, .2), transparent 60%); }
.tp-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .28) 1px, transparent 1.6px); background-size: 22px 22px; opacity: .55; mix-blend-mode: overlay; }
.tp-photo[data-tone="1"] { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 55%, #5eead4 100%); }
.tp-photo[data-tone="2"] { background: linear-gradient(135deg, #b45309 0%, #f59e0b 55%, #fcd34d 100%); }
.tp-photo[data-tone="3"] { background: linear-gradient(135deg, #4338ca 0%, #818cf8 55%, #c7d2fe 100%); }
.tp-photo[data-tone="4"] { background: linear-gradient(135deg, #be123c 0%, #fb7185 55%, #fecdd3 100%); }
.tp-photo[data-tone="5"] { background: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 55%, #bfdbfe 100%); }
.tp-photo[data-tone="6"] { background: linear-gradient(135deg, #4d7c0f 0%, #84cc16 55%, #d9f99d 100%); }
.tp-photo--tall { aspect-ratio: 4 / 5; }

/* ── 케어하자 체험판 띠 ──────────────────────────────────────────── */
.tp-sample { background: #1e1b4b; color: #e0e7ff; font-size: 13px; }
.tp-sample .tp-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.tp-sample__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff; white-space: nowrap; }
.tp-sample__brand img { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.tp-sample__note { flex: 1; color: #c7d2fe; min-width: 240px; }
.tp-sample__cta { margin-left: auto; padding: 6px 13px; border-radius: 999px; background: #6366f1; color: #fff; font-weight: 700; white-space: nowrap; transition: background .18s; }
.tp-sample__cta:hover { background: #4f46e5; }

/* ── 유틸 바 ─────────────────────────────────────────────────────── */
.tp-topbar { background: var(--tp-primary-3); color: #99f6e4; font-size: 13.5px; }
.tp-topbar .tp-wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.tp-topbar i { margin-right: 4px; opacity: .8; }
.tp-topbar__links { display: flex; gap: 22px; }
.tp-topbar a:hover { color: #fff; }

/* ── 헤더 ────────────────────────────────────────────────────────── */
.tp-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 252, 247, .88); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.tp-header.is-scrolled { border-bottom-color: var(--tp-line-2); box-shadow: 0 10px 30px -20px rgba(28, 25, 23, .3); }
.tp-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--tp-head-h); gap: 20px; }
.tp-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tp-brand__mark { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--tp-accent), #fb923c); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 10px 20px -10px rgba(217, 119, 6, .8); transform: rotate(-6deg); transition: transform .25s; }
.tp-brand:hover .tp-brand__mark { transform: rotate(6deg) scale(1.05); }
.tp-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.tp-brand__text strong { font-family: var(--tp-serif); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.tp-brand__text small { margin-top: 4px; font-size: 10px; letter-spacing: .16em; font-weight: 700; color: var(--tp-muted); }
.tp-brand--light strong { color: #fff; }
.tp-brand--light small { color: #a8a29e; }

.tp-nav > ul { display: flex; gap: 2px; }
.tp-nav__item { position: relative; }
.tp-nav__item > a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--tp-ink); transition: background .18s, color .18s; white-space: nowrap; }
.tp-nav__item > a i { font-size: 10px; opacity: .5; transition: transform .2s; }
.tp-nav__item:hover > a, .tp-nav__item:focus-within > a, .tp-nav__item.is-open > a, .tp-nav__item.is-active > a { background: var(--tp-primary-tint); color: var(--tp-primary); }
.tp-nav__item:hover > a i, .tp-nav__item:focus-within > a i, .tp-nav__item.is-open > a i { transform: rotate(180deg); }
.tp-drop { position: absolute; top: calc(100% + 6px); left: 50%; min-width: 230px; padding: 10px; background: #fff; border: 1px solid var(--tp-line); border-radius: 16px; box-shadow: var(--tp-shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .22s, visibility 0s .22s; z-index: 5; }
.tp-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tp-nav__item:hover .tp-drop, .tp-nav__item:focus-within .tp-drop, .tp-nav__item.is-open .tp-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .22s, visibility 0s; }
.tp-drop a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--tp-ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.tp-drop a i { font-size: 11px; opacity: 0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.tp-drop a:hover, .tp-drop a.is-current { background: var(--tp-primary-tint); color: var(--tp-primary); }
.tp-drop a:hover i, .tp-drop a.is-current i { opacity: .7; transform: none; }
.tp-header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tp-burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #fff; border: 1px solid var(--tp-line); }
.tp-burger span { width: 20px; height: 2px; background: var(--tp-ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.tp-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-burger.is-active span:nth-child(2) { opacity: 0; }
.tp-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 모바일 서랍 ─────────────────────────────────────────────────── */
.tp-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .3s; }
.tp-drawer.is-open { visibility: visible; transition: visibility 0s; }
.tp-drawer__backdrop { position: absolute; inset: 0; background: rgba(28, 25, 23, .48); opacity: 0; transition: opacity .28s; }
.tp-drawer.is-open .tp-drawer__backdrop { opacity: 1; }
.tp-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; transform: translateX(100%); transition: transform .32s cubic-bezier(.22, .61, .36, 1); display: flex; flex-direction: column; overflow-y: auto; }
.tp-drawer.is-open .tp-drawer__panel { transform: none; }
.tp-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--tp-line-2); font-family: var(--tp-serif); font-size: 18px; }
.tp-drawer__head button { width: 38px; height: 38px; border-radius: 10px; background: var(--tp-bg-2); font-size: 18px; }
.tp-drawer__group { border-bottom: 1px solid var(--tp-line-2); }
.tp-drawer__group summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-weight: 800; font-size: 16px; cursor: pointer; }
.tp-drawer__group summary::-webkit-details-marker { display: none; }
.tp-drawer__group summary > i:first-child { width: 22px; color: var(--tp-primary); }
.tp-drawer__caret { margin-left: auto; font-size: 11px; opacity: .5; transition: transform .2s; }
.tp-drawer__group[open] .tp-drawer__caret { transform: rotate(180deg); }
.tp-drawer__group a { display: block; padding: 11px 22px 11px 54px; font-size: 15px; color: var(--tp-ink-2); }
.tp-drawer__group a:last-child { padding-bottom: 16px; }
.tp-drawer__group a.is-current { color: var(--tp-primary); font-weight: 700; background: var(--tp-primary-tint); }
.tp-drawer__foot { margin-top: auto; padding: 22px; display: grid; gap: 10px; }

/* ── 첫 화면 · 히어로 ─────────────────────────────────────────────── */
.tp-hero { position: relative; overflow: hidden; background: radial-gradient(1100px 560px at 88% -12%, rgba(253, 230, 138, .55), transparent 62%), radial-gradient(900px 520px at -8% 108%, rgba(153, 246, 228, .5), transparent 60%), var(--tp-bg); }
.tp-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 76px 24px 96px; }
.tp-hero h1 { margin-top: 24px; font-family: var(--tp-serif); font-weight: 700; font-size: clamp(38px, 4.8vw, 62px); line-height: 1.22; letter-spacing: -.02em; color: var(--tp-ink); }
.tp-hero h1 em { font-style: normal; color: var(--tp-primary); background: linear-gradient(transparent 62%, var(--tp-accent-soft) 62%); }
.tp-hero__lead { margin-top: 24px; font-size: 18px; line-height: 1.8; color: var(--tp-ink-2); max-width: 560px; }
.tp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tp-hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tp-line); font-size: 13.5px; font-weight: 700; color: var(--tp-ink-2); box-shadow: var(--tp-shadow-sm); }
.tp-hero__chips i { color: var(--tp-primary); }

.tp-art { position: relative; height: 540px; }
.tp-art__main { position: absolute; left: 0; top: 24px; width: 66%; height: 92%; aspect-ratio: auto; border-radius: 28px; box-shadow: var(--tp-shadow); }
.tp-art__main i { font-size: 96px; }
.tp-art__cap { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--tp-ink); font-size: 13px; font-weight: 700; box-shadow: var(--tp-shadow-sm); }
.tp-art__cap i { font-size: 12px; color: var(--tp-primary); filter: none; }
.tp-art__card { position: absolute; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 22px 40px -22px rgba(28, 25, 23, .35), 0 0 0 1px rgba(28, 25, 23, .05); animation: tpFloat 6s ease-in-out infinite; }
.tp-art__label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--tp-primary); margin-bottom: 8px; }
.tp-art__card--a { right: 0; top: 0; width: 268px; animation-delay: -1s; }
.tp-art__card--a ul { display: grid; gap: 7px; }
.tp-art__card--a li { font-size: 14px; font-weight: 600; color: var(--tp-ink-2); display: flex; gap: 10px; }
.tp-art__card--a li em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--tp-muted); font-weight: 700; }
.tp-art__card--b { right: 8px; top: 214px; width: 246px; animation-delay: -3s; }
.tp-art__card--b strong { display: block; font-size: 15.5px; }
.tp-art__card--b small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--tp-muted); }
.tp-art__card--c { right: 34px; bottom: 26px; display: flex; align-items: center; gap: 12px; animation-delay: -4.5s; }
.tp-art__card--c > i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tp-accent-soft); color: var(--tp-accent-2); font-size: 18px; }
.tp-art__card--c strong { display: block; font-size: 14.5px; }
.tp-art__card--c small { font-size: 12.5px; color: var(--tp-muted); }
.tp-art__ring { position: absolute; left: 54%; bottom: -30px; width: 200px; height: 200px; border-radius: 50%; border: 18px solid var(--tp-accent-soft); opacity: .8; z-index: -1; }
@keyframes tpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tp-art__card { animation: none; } }

/* ── 알림마당 바로가기 ───────────────────────────────────────────── */
.tp-quick { margin-top: -44px; position: relative; z-index: 2; }
.tp-quick__box { display: grid; grid-template-columns: repeat(8, 1fr); background: #fff; border: 1px solid var(--tp-line); border-radius: 22px; box-shadow: var(--tp-shadow); overflow: hidden; }
.tp-quick__item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 8px 20px; border-right: 1px solid var(--tp-line-2); transition: background .18s; }
.tp-quick__item:last-child { border-right: 0; }
.tp-quick__item span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tp-primary-tint); color: var(--tp-primary); font-size: 20px; transition: transform .2s, background .2s, color .2s; }
.tp-quick__item strong { font-size: 14px; font-weight: 700; color: var(--tp-ink-2); }
.tp-quick__item:hover { background: var(--tp-primary-tint); }
.tp-quick__item:hover span { background: var(--tp-primary); color: #fff; transform: translateY(-3px); }

/* ── 섹션 공통 ───────────────────────────────────────────────────── */
.tp-section { padding: 96px 0; }
.tp-section--tint { background: var(--tp-bg-2); }
.tp-section__head { max-width: 640px; margin-bottom: 44px; }
.tp-section__head h2 { margin-top: 14px; font-family: var(--tp-serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.tp-section__head p { margin-top: 14px; font-size: 17px; color: var(--tp-muted); line-height: 1.75; }
.tp-section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* 인사말 */
.tp-greet__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.tp-greet__visual { position: relative; }
.tp-greet__visual .tp-photo { box-shadow: var(--tp-shadow); }
.tp-greet__badge { position: absolute; right: -18px; bottom: 28px; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: var(--tp-shadow); border: 1px solid var(--tp-line-2); }
.tp-greet__badge strong { display: block; font-family: var(--tp-serif); font-size: 32px; color: var(--tp-primary); line-height: 1; }
.tp-greet__badge span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--tp-muted); }
.tp-greet__copy h2 { margin-top: 14px; font-family: var(--tp-serif); font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
.tp-greet__copy p { margin-top: 20px; font-size: 16.5px; line-height: 1.85; color: var(--tp-ink-2); }
.tp-greet__sign { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.tp-greet__sign span { font-size: 14px; color: var(--tp-muted); }
.tp-greet__sign strong { font-family: var(--tp-serif); font-size: 22px; }
.tp-greet__copy .tp-textlink { margin-top: 22px; }

/* 서비스 카드 */
.tp-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tp-svc__card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); transition: transform .22s, box-shadow .22s, border-color .22s; }
.tp-svc__card:hover { transform: translateY(-5px); box-shadow: var(--tp-shadow); border-color: transparent; }
.tp-svc__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--tp-primary-tint), var(--tp-primary-soft)); color: var(--tp-primary); font-size: 22px; margin-bottom: 6px; }
.tp-svc__card strong { font-size: 18px; }
.tp-svc__card p { font-size: 14.5px; color: var(--tp-muted); line-height: 1.6; flex: 1; }
.tp-svc__card em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--tp-primary); display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.tp-svc__card:hover em { opacity: 1; transform: none; }

/* 하루 일과 */
.tp-day__line { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding-top: 10px; }
.tp-day__line::before { content: ''; position: absolute; left: 6%; right: 6%; top: 37px; height: 3px; background: linear-gradient(90deg, var(--tp-primary-soft), var(--tp-accent-soft)); border-radius: 3px; }
.tp-day__line li { position: relative; text-align: center; }
.tp-day__dot { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--tp-primary-soft); color: var(--tp-primary); font-size: 19px; box-shadow: var(--tp-shadow-sm); transition: transform .2s, border-color .2s; }
.tp-day__line li:hover .tp-day__dot { transform: scale(1.08); border-color: var(--tp-accent); }
.tp-day__line em { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--tp-accent-2); font-variant-numeric: tabular-nums; }
.tp-day__line strong { display: block; margin-top: 3px; font-size: 14.5px; }

/* 앨범 미리보기 */
.tp-album-preview { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.tp-album-preview .tp-tile:first-child { grid-row: 1 / 3; }
.tp-album-preview .tp-tile:first-child .tp-photo { height: 100%; aspect-ratio: auto; }
.tp-tile { position: relative; display: block; border-radius: var(--tp-radius); overflow: hidden; }
.tp-tile .tp-photo { border-radius: var(--tp-radius); transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.tp-tile:hover .tp-photo { transform: scale(1.03); }
.tp-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(28, 25, 23, .72)); color: #fff; display: flex; flex-direction: column; gap: 3px; }
.tp-tile__cap em { font-style: normal; font-size: 12px; font-weight: 700; opacity: .85; }
.tp-tile__cap strong { font-size: 16px; }

/* 공지 · 통신문 · 보호자 조회 */
.tp-news { display: grid; grid-template-columns: 1.15fr 1fr .95fr; gap: 22px; }
.tp-news__col { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); padding: 26px 26px 18px; }
.tp-news__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tp-news__head h3 { font-size: 19px; display: flex; align-items: center; gap: 9px; }
.tp-news__head h3 i { color: var(--tp-primary); font-size: 16px; }
.tp-news__head a { font-size: 13.5px; font-weight: 700; color: var(--tp-muted); }
.tp-news__head a:hover { color: var(--tp-primary); }
.tp-news__col ul li a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--tp-line-2); font-size: 15px; transition: color .15s; }
.tp-news__col ul li a:hover { color: var(--tp-primary); }
.tp-news__col ul li a > i { font-size: 11px; opacity: .4; }
.tp-news__date { flex-shrink: 0; padding: 3px 9px; border-radius: 8px; background: var(--tp-bg-2); font-size: 12.5px; font-weight: 700; color: var(--tp-muted); font-variant-numeric: tabular-nums; }
.tp-news__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tp-news__title i { color: var(--tp-accent-2); font-size: 12px; margin-right: 6px; }
.tp-news__hint { margin-top: 12px; font-size: 12.5px; color: var(--tp-muted); }
.tp-news__hint i { margin-right: 4px; }
.tp-news__guard { position: relative; overflow: hidden; border-radius: var(--tp-radius); padding: 30px 28px; background: linear-gradient(150deg, var(--tp-primary-2), var(--tp-primary-3)); color: #fff; }
.tp-news__guard::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.tp-news__guard-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-size: 22px; margin-bottom: 18px; }
.tp-news__guard h3 { font-family: var(--tp-serif); font-size: 24px; }
.tp-news__guard p { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: #ccfbf1; }
.tp-news__guard-btns { display: grid; gap: 8px; margin-top: 22px; position: relative; }

/* 비용 · 상담 띠 */
.tp-cta { position: relative; overflow: hidden; padding: 88px 0; color: #fff; background: linear-gradient(120deg, var(--tp-primary-3) 0%, var(--tp-primary) 60%, #14b8a6 130%); }
.tp-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px); background-size: 26px 26px; opacity: .5; }
.tp-cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.tp-cta__copy h2 { margin-top: 14px; font-family: var(--tp-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.tp-cta__copy p { margin-top: 18px; font-size: 17px; line-height: 1.75; color: #ccfbf1; max-width: 520px; }
.tp-cta__points { display: grid; gap: 8px; margin-top: 24px; }
.tp-cta__points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.tp-cta__points i { color: #fde68a; }
.tp-cta__box { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 24px; padding: 34px 32px; backdrop-filter: blur(8px); text-align: center; }
.tp-cta__label { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: .08em; color: #99f6e4; }
.tp-cta__tel { display: block; margin-top: 10px; font-family: var(--tp-serif); font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.01em; }
.tp-cta__box small { display: block; margin-top: 8px; font-size: 13px; color: #ccfbf1; }
.tp-cta__btns { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ── 하위 페이지 ─────────────────────────────────────────────────── */
.tp-pagehero { position: relative; overflow: hidden; padding: 60px 0 52px; background: radial-gradient(900px 400px at 92% -20%, rgba(253, 230, 138, .5), transparent 60%), var(--tp-bg-2); border-bottom: 1px solid var(--tp-line-2); }
.tp-pagehero__mark { position: absolute; right: 6%; bottom: -30px; font-size: 220px; color: var(--tp-primary); opacity: .06; transform: rotate(-8deg); pointer-events: none; }
.tp-crumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tp-muted); }
.tp-crumb > i { font-size: 9px; opacity: .6; }
.tp-crumb a:hover { color: var(--tp-primary); }
.tp-crumb strong { color: var(--tp-ink); }
.tp-pagehero h1 { margin-top: 20px; font-family: var(--tp-serif); font-size: clamp(32px, 4vw, 46px); font-weight: 700; }
.tp-pagehero p { margin-top: 12px; font-size: 17px; color: var(--tp-muted); }

.tp-subnav { display: none; background: #fff; border-bottom: 1px solid var(--tp-line-2); position: sticky; top: var(--tp-head-h); z-index: 40; }
.tp-subnav .tp-wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.tp-subnav .tp-wrap::-webkit-scrollbar { display: none; }
.tp-subnav a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--tp-ink-2); background: var(--tp-bg-2); }
.tp-subnav a.is-current { background: var(--tp-primary); color: #fff; }

.tp-sub { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 104px; align-items: start; }
.tp-aside { position: sticky; top: calc(var(--tp-head-h) + 24px); display: grid; gap: 16px; }
.tp-aside__box { background: #fff; border: 1px solid var(--tp-line); border-radius: 18px; padding: 8px; }
.tp-aside__box h3 { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; font-size: 15px; font-weight: 800; color: var(--tp-primary); border-bottom: 1px solid var(--tp-line-2); margin-bottom: 6px; }
.tp-aside__box li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--tp-ink-2); transition: background .15s, color .15s; }
.tp-aside__box li a i { font-size: 10px; opacity: .35; }
.tp-aside__box li a:hover { background: var(--tp-bg-2); }
.tp-aside__box li a.is-current { background: var(--tp-primary); color: #fff; }
.tp-aside__box li a.is-current i { opacity: .8; }
.tp-aside__contact { border-radius: 18px; padding: 20px; background: linear-gradient(150deg, var(--tp-primary-2), var(--tp-primary-3)); color: #fff; display: grid; gap: 6px; }
.tp-aside__contact > span { font-size: 13px; font-weight: 800; color: #99f6e4; }
.tp-aside__tel { font-family: var(--tp-serif); font-size: 24px; font-weight: 700; }
.tp-aside__contact small { font-size: 12.5px; color: #ccfbf1; }
.tp-aside__contact .tp-btn { margin-top: 10px; background: #fff; color: var(--tp-primary-2); box-shadow: none; }

.tp-main { min-width: 0; }
.tp-main > * + * { margin-top: 28px; }
.tp-main > .tp-h { margin-top: 56px; }
.tp-main > .tp-h:first-child { margin-top: 0; }
.tp-main > .tp-callout { margin-top: 48px; }

.tp-lead { font-size: 19px; line-height: 1.8; color: var(--tp-ink-2); font-weight: 500; }
.tp-p { font-size: 16.5px; line-height: 1.9; color: var(--tp-ink-2); }
.tp-p + .tp-p { margin-top: 16px; }
.tp-quote { position: relative; padding: 26px 28px 26px 64px; border-radius: 18px; background: #fff; border: 1px solid var(--tp-line); font-family: var(--tp-serif); font-size: 24px; font-weight: 600; color: var(--tp-primary-2); }
.tp-quote::before { content: '“'; position: absolute; left: 22px; top: 6px; font-size: 64px; line-height: 1; color: var(--tp-accent); font-family: var(--tp-serif); }
.tp-sign { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 8px; }
.tp-sign__role { font-size: 14px; color: var(--tp-muted); }
.tp-sign__name { font-family: var(--tp-serif); font-size: 24px; }
.tp-sign__seal { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e11d48; color: #e11d48; display: grid; place-items: center; font-family: var(--tp-serif); font-size: 15px; font-weight: 700; transform: rotate(-10deg); opacity: .8; }
.tp-h { display: grid; gap: 8px; }
.tp-h h3 { position: relative; padding-left: 16px; font-family: var(--tp-serif); font-size: 25px; font-weight: 700; }
.tp-h h3::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 3px; background: linear-gradient(var(--tp-primary), var(--tp-accent)); }
.tp-h p { padding-left: 16px; font-size: 15.5px; color: var(--tp-muted); }

.tp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tp-cards--2 { grid-template-columns: repeat(2, 1fr); }
.tp-cards--3 { grid-template-columns: repeat(3, 1fr); }
.tp-card { padding: 24px 22px; background: #fff; border: 1px solid var(--tp-line); border-radius: 18px; transition: transform .2s, box-shadow .2s; }
.tp-card:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow); }
.tp-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tp-primary-tint); color: var(--tp-primary); font-size: 19px; margin-bottom: 14px; }
.tp-card h4 { font-size: 17.5px; }
.tp-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--tp-muted); }

.tp-check { display: grid; gap: 10px; }
.tp-check li { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--tp-line); border-radius: 12px; font-size: 15.5px; line-height: 1.6; }
.tp-check i { color: var(--tp-primary); margin-top: 4px; }

.tp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: step; }
.tp-step { position: relative; padding: 24px 20px 20px; background: #fff; border: 1px solid var(--tp-line); border-radius: 18px; }
.tp-step__num { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tp-primary); color: #fff; font-size: 13.5px; font-weight: 800; box-shadow: 0 6px 12px -6px rgba(15, 118, 110, .8); }
.tp-step h4 { font-size: 16.5px; margin-top: 4px; }
.tp-step p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--tp-muted); }
.tp-step__who { display: inline-block; margin-top: 12px; padding: 3px 9px; border-radius: 999px; background: var(--tp-accent-soft); color: var(--tp-accent-2); font-size: 12px; font-weight: 700; }

.tp-table-wrap { overflow-x: auto; border: 1px solid var(--tp-line); border-radius: 16px; background: #fff; }
.tp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tp-table th, .tp-table td { padding: 13px 16px; border-bottom: 1px solid var(--tp-line-2); text-align: left; vertical-align: top; }
.tp-table thead th { background: var(--tp-primary-tint); color: var(--tp-primary-2); font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.tp-table tbody th { font-weight: 700; white-space: nowrap; background: #fdfcfa; }
.tp-table tbody tr:last-child th, .tp-table tbody tr:last-child td { border-bottom: 0; }
.tp-table tbody tr:hover td { background: #fdfcfa; }
.tp-table--num td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-table--num thead th:not(:first-child) { text-align: right; }
.tp-table--list td { white-space: nowrap; }
.tp-table--list .is-title { white-space: normal; width: 55%; font-weight: 600; }
.tp-table--list .is-title i { color: var(--tp-muted); font-size: 12px; margin-right: 4px; }
.tp-table--list .is-num { color: var(--tp-muted); }
.tp-table-cap { margin-top: 8px !important; font-size: 13px; color: var(--tp-muted); }
.tp-total { color: var(--tp-primary); font-size: 17px; }
.tp-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tp-badge--ok { background: var(--tp-primary-tint); color: var(--tp-primary); }

.tp-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; background: #fff; border: 1px solid var(--tp-line); border-radius: 16px; padding: 6px 24px; }
.tp-kv > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--tp-line-2); font-size: 15px; }
.tp-kv > div:nth-last-child(-n+2) { border-bottom: 0; }
.tp-kv dt { color: var(--tp-muted); font-weight: 700; }
.tp-kv dd { font-weight: 600; }

.tp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tp-stat { padding: 26px 22px; border-radius: 18px; background: linear-gradient(160deg, #fff, var(--tp-primary-tint)); border: 1px solid var(--tp-line); }
.tp-stat strong { display: block; font-family: var(--tp-serif); font-size: 34px; color: var(--tp-primary); line-height: 1.1; }
.tp-stat span { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--tp-ink-2); }
.tp-stat em { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--tp-muted); }

.tp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tp-gallery .tp-tile figcaption, .tp-album__grid .tp-tile figcaption { padding: 12px 4px 0; display: grid; gap: 2px; }
.tp-gallery figcaption strong { font-size: 15.5px; }
.tp-gallery figcaption span, .tp-album__grid figcaption em { font-size: 13px; color: var(--tp-muted); font-style: normal; }
.tp-album__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tp-album__filters button { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--tp-line); font-size: 14px; font-weight: 700; color: var(--tp-ink-2); transition: background .15s, color .15s, border-color .15s; }
.tp-album__filters button:hover { border-color: var(--tp-primary); color: var(--tp-primary); }
.tp-album__filters button.is-on { background: var(--tp-primary); border-color: var(--tp-primary); color: #fff; }
.tp-album__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tp-album__grid figcaption strong { font-size: 16px; }

.tp-notice { display: grid; gap: 10px; }
.tp-notice__item { background: #fff; border: 1px solid var(--tp-line); border-radius: 14px; overflow: hidden; }
.tp-notice__item summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.tp-notice__item summary::-webkit-details-marker { display: none; }
.tp-notice__date { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--tp-muted); font-variant-numeric: tabular-nums; }
.tp-notice__title { flex: 1; font-size: 16px; font-weight: 700; }
.tp-notice__title i { color: var(--tp-accent-2); font-size: 12px; margin-right: 8px; }
.tp-notice__caret { font-size: 12px; opacity: .45; transition: transform .2s; }
.tp-notice__item[open] .tp-notice__caret { transform: rotate(180deg); }
.tp-notice__item[open] summary { background: var(--tp-primary-tint); }
.tp-notice__body { padding: 18px 20px 20px; font-size: 15.5px; line-height: 1.85; color: var(--tp-ink-2); border-top: 1px solid var(--tp-line-2); }
.tp-notice__item.is-pinned { border-color: var(--tp-accent); }

.tp-callout { display: flex; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(120deg, var(--tp-primary-tint), #fff); border: 1px solid var(--tp-primary-soft); }
.tp-callout__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tp-primary); color: #fff; font-size: 22px; }
.tp-callout__body { flex: 1; }
.tp-callout__body h4 { font-size: 18px; }
.tp-callout__body p { margin-top: 6px; font-size: 14.5px; color: var(--tp-ink-2); line-height: 1.65; }

/* 보호자 인증 */
.tp-gate__form { text-align: center; padding: 44px 32px 36px; background: #fff; border: 1px solid var(--tp-line); border-radius: 22px; }
.tp-gate__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--tp-primary-tint); color: var(--tp-primary); font-size: 26px; }
.tp-gate__form h4 { font-family: var(--tp-serif); font-size: 24px; }
.tp-gate__form > p { margin: 10px auto 0; max-width: 560px; font-size: 15px; color: var(--tp-muted); line-height: 1.7; }
.tp-form--gate { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; margin-top: 26px; text-align: left; align-items: end; }
.tp-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--tp-ink-2); }
.tp-form label b { color: #e11d48; }
.tp-form input, .tp-form select, .tp-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--tp-line); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--tp-ink); transition: border-color .15s, box-shadow .15s; }
.tp-form input:focus, .tp-form select:focus, .tp-form textarea:focus { outline: none; border-color: var(--tp-primary); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.tp-form textarea { resize: vertical; }
.tp-gate__hint { margin-top: 16px; font-size: 13px; color: var(--tp-muted); }
.tp-gate__hint i { color: var(--tp-accent-2); margin-right: 4px; }
.tp-gate__result { scroll-margin-top: calc(var(--tp-head-h) + 20px); }
.tp-gate__result > * + * { margin-top: 24px; }
.tp-gate__result > .tp-h { margin-top: 44px; }
.tp-gate__who { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; background: var(--tp-primary-tint); color: var(--tp-primary-2); font-size: 14.5px; font-weight: 600; }
.tp-gate__who > i { font-size: 18px; }

/* 상담 신청 */
.tp-consult { display: grid; gap: 28px; }
.tp-form--card { padding: 30px 30px 26px; background: #fff; border: 1px solid var(--tp-line); border-radius: 22px; }
.tp-form--card h4 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.tp-form--card h4 i { color: var(--tp-primary); }
.tp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-form__grid .is-wide { grid-column: 1 / -1; }
.tp-form__agree { display: flex !important; grid-template-columns: none; flex-direction: row; align-items: center; gap: 8px; margin-top: 16px; font-weight: 500 !important; }
.tp-form__agree input { width: auto; accent-color: var(--tp-primary); }
.tp-form__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.tp-form__secret { font-size: 13px; color: var(--tp-muted); }
.tp-form__secret i { margin-right: 4px; }
.tp-consult__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.tp-consult__head h4 { font-size: 19px; }
.tp-consult__head span { font-size: 14px; color: var(--tp-muted); }
.tp-consult__head strong { color: var(--tp-primary); }

/* 식단표 · 일정표 */
.tp-meal__head, .tp-program__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.tp-meal__head h4, .tp-program__head h4 { margin-top: 8px; font-family: var(--tp-serif); font-size: 24px; }
.tp-program__head h4 small { font-family: var(--tp-sans); font-size: 14px; color: var(--tp-muted); font-weight: 600; margin-left: 8px; }
.tp-meal__tools { display: flex; gap: 8px; }
.tp-table--meal th, .tp-table--meal td { text-align: center; vertical-align: middle; }
.tp-table--meal thead th span { display: block; font-size: 14px; }
.tp-table--meal thead th em { display: block; font-style: normal; font-size: 12px; color: var(--tp-muted); font-weight: 600; margin-top: 2px; }
.tp-table--meal td { font-size: 14px; line-height: 1.7; padding: 14px 10px; }
.tp-table--meal tbody th { text-align: left; white-space: nowrap; }
.tp-table--meal .is-today { background: var(--tp-accent-soft) !important; }
.tp-table--meal thead .is-today { color: var(--tp-accent-2); }
.tp-meal__notes { margin-top: 14px; display: grid; gap: 4px; font-size: 13px; color: var(--tp-muted); }
.tp-meal__notes li::before { content: '※ '; }
.tp-program__legend { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-program__legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tp-ink-2); }
.tp-program__legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.tp-program__legend [data-cat="신체"]::before, .tp-slot[data-cat="신체"] { background: #dbeafe; }
.tp-program__legend [data-cat="인지"]::before, .tp-slot[data-cat="인지"] { background: #ede9fe; }
.tp-program__legend [data-cat="여가"]::before, .tp-slot[data-cat="여가"] { background: #ffedd5; }
.tp-program__legend [data-cat="일상"]::before, .tp-slot[data-cat="일상"] { background: var(--tp-bg-2); }
.tp-program__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tp-program__day { display: grid; gap: 6px; padding: 10px; background: #fff; border: 1px solid var(--tp-line); border-radius: 16px; align-content: start; }
.tp-program__day.is-today { border-color: var(--tp-accent); box-shadow: 0 0 0 3px var(--tp-accent-soft); }
.tp-program__date { display: flex; align-items: baseline; gap: 6px; padding: 4px 4px 8px; border-bottom: 1px solid var(--tp-line-2); margin-bottom: 4px; }
.tp-program__date span { font-size: 13px; font-weight: 700; color: var(--tp-muted); }
.tp-program__date strong { font-family: var(--tp-serif); font-size: 22px; }
.tp-program__day.is-today .tp-program__date strong { color: var(--tp-accent-2); }
.tp-slot { padding: 8px 10px; border-radius: 10px; display: grid; gap: 2px; }
.tp-slot em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--tp-muted); font-variant-numeric: tabular-nums; }
.tp-slot strong { font-size: 13px; line-height: 1.4; }
.tp-slot[data-cat="일상"] strong { font-weight: 600; color: var(--tp-muted); }

/* 오시는 길 */
.tp-map { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.tp-map__info { padding: 28px; background: #fff; border: 1px solid var(--tp-line); border-radius: 20px; }
.tp-map__info h4 { font-family: var(--tp-serif); font-size: 22px; margin-bottom: 14px; }
.tp-map__info dl > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--tp-line-2); font-size: 15px; }
.tp-map__info dt { color: var(--tp-muted); font-weight: 700; }
.tp-map__info dt i { color: var(--tp-primary); margin-right: 5px; }
.tp-map__info dd a:hover { color: var(--tp-primary); }
.tp-map__btns { display: flex; gap: 10px; margin-top: 18px; }
.tp-map__btns img { height: 40px; width: auto; border-radius: 8px; transition: transform .18s; }
.tp-map__btns a:hover img { transform: translateY(-2px); }
.tp-map__canvas { position: relative; min-height: 320px; border-radius: 20px; overflow: hidden; background: #eef3ee; border: 1px solid var(--tp-line); }
.tp-map__roads { position: absolute; inset: 0; background-image: linear-gradient(#fff 3px, transparent 3px), linear-gradient(90deg, #fff 3px, transparent 3px), linear-gradient(rgba(15, 118, 110, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 118, 110, .06) 1px, transparent 1px); background-size: 100% 96px, 128px 100%, 24px 24px, 24px 24px; background-position: 0 40px, 60px 0, 0 0, 0 0; }
.tp-map__roads::after { content: ''; position: absolute; left: -10%; top: 46%; width: 120%; height: 34px; background: #fff; transform: rotate(-9deg); box-shadow: 0 0 0 6px rgba(255, 255, 255, .5); }
.tp-map__pin { position: absolute; left: 48%; top: 44%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tp-map__pin i { font-size: 44px; color: #e11d48; filter: drop-shadow(0 8px 10px rgba(225, 29, 72, .4)); animation: tpBounce 2.4s ease-in-out infinite; }
.tp-map__pin span { padding: 5px 12px; border-radius: 999px; background: var(--tp-ink); color: #fff; font-size: 13px; font-weight: 700; }
.tp-map__label { position: absolute; padding: 4px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--tp-line); font-size: 12px; font-weight: 700; color: var(--tp-ink-2); }
.tp-map__hint { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 12px; color: var(--tp-muted); }
@keyframes tpBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* 이전 · 다음 */
.tp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 64px !important; padding-top: 28px; border-top: 1px solid var(--tp-line); }
.tp-pager a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--tp-line); background: #fff; transition: border-color .15s, transform .15s; }
.tp-pager a:hover { border-color: var(--tp-primary); transform: translateY(-2px); }
.tp-pager a small { display: block; font-size: 12px; color: var(--tp-muted); font-weight: 700; }
.tp-pager a strong { display: block; font-size: 15.5px; }
.tp-pager a i { color: var(--tp-primary); }
.tp-pager__next { justify-content: flex-end; text-align: right; }

/* ── 푸터 ────────────────────────────────────────────────────────── */
.tp-footer { background: #1c1917; color: #d6d3d1; }
.tp-footer__grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1.5fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.tp-footer__brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.75; color: #a8a29e; }
.tp-footer__hours { display: grid; gap: 4px; margin-top: 16px; font-size: 13.5px; color: #d6d3d1; }
.tp-footer__hours span::before { content: '·'; margin-right: 8px; color: var(--tp-accent); }
.tp-footer__info > div { display: grid; grid-template-columns: 118px 1fr; gap: 10px; padding: 7px 0; font-size: 14px; }
.tp-footer__info dt { color: #78716c; font-weight: 700; }
.tp-footer__info dd a:hover { color: #fff; }
.tp-footer__links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tp-footer__links strong { display: block; margin-bottom: 10px; font-size: 14px; color: #fff; }
.tp-footer__links a { display: block; font-size: 13.5px; color: #a8a29e; padding: 3px 0; }
.tp-footer__links a:hover { color: #fff; }
.tp-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid #292524; font-size: 13px; color: #78716c; }
.tp-footer__bottom > div { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.tp-footer__bottom a:hover { color: #fff; }
.tp-footer__powered a { color: #a5b4fc; font-weight: 700; }

/* ── 토스트 ──────────────────────────────────────────────────────── */
.tp-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 13px 20px; border-radius: 14px; background: var(--tp-ink); color: #fff; font-size: 14.5px; font-weight: 600; box-shadow: var(--tp-shadow); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; z-index: 200; max-width: min(92vw, 520px); text-align: center; }
.tp-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .25s, visibility 0s; }

/* ── 반응형 ──────────────────────────────────────────────────────── */
@media (max-width: 1160px) {
	.tp-nav__item > a { padding: 10px 12px; font-size: 15px; }
	.tp-brand__text small { display: none; }
}
@media (max-width: 1080px) {
	.tp-sub { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
	.tp-aside { display: none; }
	.tp-subnav { display: block; }
	.tp-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 80px; }
	.tp-hero__lead { max-width: none; }
	.tp-art { height: 460px; max-width: 640px; }
	.tp-quick__box { grid-template-columns: repeat(4, 1fr); }
	.tp-quick__item { border-bottom: 1px solid var(--tp-line-2); }
	.tp-quick__item:nth-child(4n) { border-right: 0; }
	.tp-quick__item:nth-last-child(-n+4) { border-bottom: 0; }
	.tp-greet__inner { grid-template-columns: 1fr; gap: 40px; }
	.tp-greet__visual { max-width: 460px; }
	.tp-svc { grid-template-columns: repeat(2, 1fr); }
	.tp-day__line { grid-template-columns: repeat(4, 1fr); gap: 24px 8px; }
	.tp-day__line::before { display: none; }
	.tp-news { grid-template-columns: 1fr 1fr; }
	.tp-news__guard { grid-column: 1 / -1; }
	.tp-cta__inner { grid-template-columns: 1fr; gap: 32px; }
	.tp-footer__grid { grid-template-columns: 1fr 1fr; }
	.tp-footer__links { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
	.tp-nav, .tp-header__cta { display: none; }
	.tp-burger { display: flex; }
	:root { --tp-head-h: 68px; }
}
@media (max-width: 760px) {
	.tp-wrap { padding: 0 18px; }
	.tp-sample .tp-wrap { gap: 8px; }
	.tp-sample__note { display: none; }
	.tp-topbar__hours { display: none; }
	.tp-topbar .tp-wrap { justify-content: flex-end; }
	.tp-section { padding: 64px 0; }
	.tp-hero__inner { padding-top: 40px; padding-bottom: 64px; }
	.tp-hero h1 { font-size: clamp(32px, 9vw, 42px); }
	.tp-art { height: 400px; }
	.tp-art__main { width: 72%; }
	.tp-art__main i { font-size: 64px; }
	.tp-art__card--a { width: 220px; right: -6px; }
	.tp-art__card--a li { font-size: 13px; }
	.tp-art__card--b { width: 200px; top: 190px; right: 0; }
	.tp-art__card--c { right: 6px; bottom: 10px; }
	.tp-quick { margin-top: -28px; }
	.tp-quick__item { padding: 16px 6px 14px; gap: 8px; }
	.tp-quick__item span { width: 44px; height: 44px; font-size: 17px; border-radius: 13px; }
	.tp-quick__item strong { font-size: 12.5px; }
	.tp-section__head--row { flex-direction: column; align-items: flex-start; }
	.tp-svc { grid-template-columns: 1fr; }
	.tp-day__line { grid-template-columns: repeat(2, 1fr); }
	.tp-album-preview { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.tp-album-preview .tp-tile:first-child { grid-column: 1 / -1; grid-row: auto; }
	.tp-album-preview .tp-tile:first-child .tp-photo { aspect-ratio: 16 / 9; height: auto; }
	.tp-news { grid-template-columns: 1fr; }
	.tp-cta { padding: 64px 0; }
	.tp-cta__box { padding: 26px 20px; }
	.tp-pagehero { padding: 40px 0 36px; }
	.tp-pagehero__mark { font-size: 140px; right: -20px; }
	.tp-cards--2, .tp-cards--3 { grid-template-columns: 1fr; }
	.tp-stats { grid-template-columns: 1fr; }
	.tp-kv { grid-template-columns: 1fr; padding: 4px 18px; }
	.tp-kv > div { grid-template-columns: 110px 1fr; }
	.tp-kv > div:nth-last-child(2) { border-bottom: 1px solid var(--tp-line-2); }
	.tp-gallery, .tp-album__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.tp-form--gate { grid-template-columns: 1fr; }
	.tp-form__grid { grid-template-columns: 1fr; }
	.tp-callout { flex-direction: column; align-items: flex-start; }
	.tp-map { grid-template-columns: 1fr; }
	.tp-map__canvas { min-height: 260px; }
	.tp-program__grid { grid-template-columns: 1fr 1fr; }
	.tp-pager { grid-template-columns: 1fr; }
	.tp-pager__next { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
	.tp-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
	.tp-footer__links { grid-template-columns: repeat(2, 1fr); }
	.tp-quote { font-size: 20px; padding-left: 52px; }
	.tp-sign { justify-content: flex-start; }
}
@media (max-width: 460px) {
	.tp-program__grid { grid-template-columns: 1fr; }
	.tp-gallery, .tp-album__grid { grid-template-columns: 1fr; }
	.tp-hero__cta .tp-btn { width: 100%; }
}

/* ── 인쇄(식단표 등) ─────────────────────────────────────────────── */
@media print {
	.tp-sample, .tp-topbar, .tp-header, .tp-subnav, .tp-aside, .tp-footer, .tp-drawer, .tp-toast, .tp-pager, .tp-meal__tools, .tp-callout { display: none !important; }
	body.tp { background: #fff; }
	.tp-pagehero { background: none; border: 0; padding: 0 0 12px; }
	.tp-sub { display: block; padding: 0; }
	.tp-table-wrap { border: 0; }
}
