/* 순공88 스터디랩 홈페이지 — 앱 BrandColors와 같은 매장 색 (homepage.design.md 7장) */

@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('/assets/fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('/assets/fonts/Pretendard-Bold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; font-display: swap; src: url('/assets/fonts/Pretendard-ExtraBold.subset.woff2') format('woff2'); }

:root {
  --green: #1f3b31;
  --green-deep: #152a22;
  --green-raised: #2a4b3f;
  --green-tint: #e3ece6;
  --gold: #c9a04b;
  --gold-ink: #8a6a24;
  --gold-tint: #f4ead0;
  --gold-soft: #dcc897;
  --olive: #6b6a4e;
  --paper: #f6f3eb;
  --paper-deep: #efe9da;
  --surface: #fffdf8;
  --ink: #1d2420;
  --muted: #5e655f;
  --line: #e2dccd;
  --cream: #f3eedf;
  --cream-muted: rgba(243, 238, 223, 0.72);
  --stamp: #24439a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(21, 42, 34, 0.04), 0 8px 28px -12px rgba(21, 42, 34, 0.16);
  --shadow-lg: 0 2px 6px rgba(21, 42, 34, 0.06), 0 28px 60px -24px rgba(21, 42, 34, 0.35);
  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.22; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.ic { width: 20px; height: 20px; flex: none; }

/* ── 상단 배너 ── */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px var(--gutter);
  background: var(--gold-tint);
  color: var(--green-deep);
  font-size: 14px; font-weight: 600;
  border-bottom: 1px solid var(--gold-soft);
  text-align: center;
}
.topbar__tag { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--green); color: var(--gold-tint); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.topbar__arrow { width: 16px; height: 16px; transition: transform .2s; }
a.topbar:hover .topbar__arrow { transform: translateX(3px); }

/* ── 내비게이션 ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 235, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(21, 42, 34, .5); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__name { display: flex; flex-direction: column; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; line-height: 1.15; color: var(--green-deep); }
.brand__name small { font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--gold-ink); margin-top: 3px; }
.brand__mark {
  --s: 42px;
  width: var(--s); height: var(--s); flex: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: calc(var(--s) * 0.26);
  background: linear-gradient(160deg, #2b4c40, var(--green-deep));
  box-shadow: inset 0 0 0 calc(var(--s) * 0.045) var(--green-deep), inset 0 0 0 calc(var(--s) * 0.075) var(--gold);
  line-height: 1;
}
.brand__mark span { color: var(--cream); font-weight: 800; font-size: calc(var(--s) * 0.2); letter-spacing: -0.02em; }
.brand__mark b { color: var(--gold); font-weight: 800; font-size: calc(var(--s) * 0.4); letter-spacing: -0.04em; margin-top: calc(var(--s) * 0.02); }
.brand__mark--lg { --s: 56px; }
.brand__mark--xl { --s: 112px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s, background .15s; }
.nav__links > a:not(.btn):hover, .nav__links > a[aria-current] { color: var(--green-deep); background: rgba(31, 59, 49, .07); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--green-deep); cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle .ic { width: 24px; height: 24px; }
.nav__toggle .ic--close { display: none; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--sm .ic { width: 16px; height: 16px; }
.btn--gold { background: var(--gold); color: var(--green-deep); box-shadow: 0 10px 24px -12px rgba(201, 160, 75, .9); }
.btn--gold:hover { background: #d4ad5c; }
.btn--ghost { color: var(--cream); border-color: rgba(243, 238, 223, .35); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(243, 238, 223, .06); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-raised); }
.btn--line { background: var(--surface); color: var(--green-deep); border-color: var(--line); }
.btn--line:hover { border-color: var(--green); }
.btn--kakao { background: #fee500; color: #191600; }

/* ── 공통 섹션 ── */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec--top { padding-top: clamp(40px, 5vw, 64px); }
.sec--tint { background: var(--paper-deep); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec__head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--green-deep); }
.sec__lead { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.2em; color: var(--gold-ink); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); white-space: nowrap; padding: 8px 0; }
.more .ic { width: 18px; height: 18px; transition: transform .2s; }
.more:hover .ic { transform: translateX(3px); }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ── 히어로 ── */
.hero {
  position: relative; overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(201, 160, 75, .20), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(42, 75, 63, .9), transparent 70%),
    linear-gradient(165deg, #22423a 0%, var(--green-deep) 70%);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 160, 75, .5), transparent); }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(72px, 9vw, 128px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.16; color: #fbf8ef; }
.hero__lead { margin-top: 22px; max-width: 520px; font-size: clamp(16.5px, 1.6vw, 19px); line-height: 1.75; color: var(--cream-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__art { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.art__num {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  font-size: clamp(200px, 26vw, 340px); font-weight: 800; letter-spacing: -0.06em; line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(201, 160, 75, .35);
  user-select: none;
}
.art__card {
  position: relative; width: min(320px, 82%);
  padding: 22px 22px 24px; border-radius: 26px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 160, 75, .25);
  transform: rotate(-2.5deg);
}
.art__row { display: flex; align-items: center; justify-content: space-between; }
.art__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--gold-ink); }
.art__stamp {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2.5px solid var(--stamp); color: var(--stamp);
  font-weight: 800; font-size: 14px; transform: rotate(12deg); opacity: .88;
  box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4.5px rgba(36, 67, 154, .6);
}
.art__ring { position: relative; width: 150px; height: 150px; margin: 6px auto 18px; }
.art__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.art__ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.art__track { stroke: var(--green-tint); }
.art__fill { stroke: var(--green); stroke-dasharray: 314; stroke-dashoffset: 52; }
.art__ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.art__ring b { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: var(--green-deep); line-height: 1; }
.art__ring small { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.art__bars { display: grid; gap: 9px; }
.art__bars li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.art__bars i { height: 9px; border-radius: 99px; background: #f0ece1; overflow: hidden; }
.art__bars em { display: block; height: 100%; border-radius: inherit; }
.c-a { background: #f4a7b6; } .c-b { background: #92d7c1; } .c-c { background: #a2cbee; } .c-d { background: #ffdf6b; }
.art__chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px 11px 12px; border-radius: 999px;
  background: rgba(255, 253, 248, .96); color: var(--green-deep);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .5);
}
.art__chip .ic { width: 18px; height: 18px; padding: 3px; box-sizing: content-box; border-radius: 50%; background: var(--green); color: var(--gold-tint); }
.art__chip--1 { top: 12%; left: 0; animation: float 6s ease-in-out infinite; }
.art__chip--2 { bottom: 12%; right: 0; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ── 프로그램 ── */
.progs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.prog {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.prog:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prog--featured { border-color: var(--gold-soft); }
.prog--featured::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.prog--closed { opacity: .62; box-shadow: none; }
.prog--closed:hover { transform: none; box-shadow: none; }
.prog__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.prog__meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.prog__meta span + span::before { content: '·'; margin-right: 6px; color: var(--line); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; }
.badge--open { background: var(--green); color: var(--gold-tint); }
.badge--open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 6px; box-shadow: 0 0 0 3px rgba(201, 160, 75, .25); }
.badge--always { background: var(--green-tint); color: var(--green); }
.badge--closed { background: #ebe7dc; color: var(--muted); }
.prog h3 { font-size: 23px; font-weight: 800; color: var(--green-deep); }
.prog__summary { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.prog__items { display: grid; gap: 9px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.prog__items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.prog__items .ic { width: 19px; height: 19px; margin-top: 2px; color: var(--gold-ink); }
.prog__benefit { display: flex; gap: 9px; align-items: flex-start; margin-top: 20px; padding: 13px 15px; border-radius: 14px; background: var(--gold-tint); color: #6e5419; font-size: 14.5px; font-weight: 700; }
.prog__benefit .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-ink); }
.prog__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; }
.prog__price { font-weight: 800; font-size: 18px; color: var(--green-deep); }
.prog__price--ask { font-weight: 600; font-size: 13.5px; color: var(--muted); }

/* ── 카드 (관리 방식 · 시스템) ── */
.cards { display: grid; gap: 18px; }
.cards--care { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--green-tint); color: var(--green); margin-bottom: 18px; }
.card__icon .ic { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--green-deep); }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

.sys {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(800px 420px at 100% 0%, rgba(201, 160, 75, .14), transparent 65%), var(--green-deep);
}
.sys::before { content: '88'; position: absolute; right: -3%; bottom: -22%; font-size: clamp(260px, 34vw, 480px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 160, 75, .09); pointer-events: none; }
.sys .wrap { position: relative; }
.sys .sec__head h2 { color: #fbf8ef; }
.sys .sec__lead { color: var(--cream-muted); }
.sys .eyebrow { color: var(--gold); }
.sys__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -12px 0 36px; }
.sys__flow li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(243, 238, 223, .07); border: 1px solid rgba(201, 160, 75, .3); font-weight: 700; font-size: 15px; }
.sys__flow li .ic { width: 18px; height: 18px; color: var(--gold); }
.sys__flow { gap: 30px; }
.sys__flow li { position: relative; }
.sys__flow li + li::before { content: ''; position: absolute; left: -24px; top: 50%; width: 18px; height: 1.5px; background: rgba(201, 160, 75, .7); }
.cards--sys { grid-template-columns: repeat(4, 1fr); }
.cards--sys .card { background: linear-gradient(170deg, rgba(42, 75, 63, .75), rgba(31, 59, 49, .5)); border-color: rgba(201, 160, 75, .22); padding-top: 30px; }
.cards--sys .card__icon { background: rgba(201, 160, 75, .14); color: var(--gold); }
.cards--sys .card h3 { color: #fbf8ef; }
.cards--sys .card p { color: var(--cream-muted); }
.card__num { position: absolute; top: 24px; right: 24px; font-size: 14px; font-weight: 800; letter-spacing: .08em; color: rgba(201, 160, 75, .75); }

/* ── 소식 ── */
.newsgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.newsgrid--list { grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.newsgrid--3 { grid-template-columns: repeat(3, 1fr); }
.news { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.news:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news__thumb { aspect-ratio: 4 / 3; background: var(--paper-deep); overflow: hidden; }
.news__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.news:hover .news__thumb img { transform: scale(1.03); }
.news__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, var(--green-raised), var(--green-deep)); }
.news__ph b { font-size: 64px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 160, 75, .6); letter-spacing: -0.05em; }
.news__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.news__date { font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.news__date em { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--gold-tint); color: var(--gold-ink); }
.news strong { font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--green-deep); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news__sum { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 12px; font-weight: 700; }
.pager a { color: var(--muted); }
.pager a:hover { background: var(--surface); color: var(--green-deep); }
.pager span { background: var(--green); color: var(--cream); }

/* ── 오시는 길 ── */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.visit__card { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.visit__card h3 { font-size: 24px; font-weight: 800; color: var(--green-deep); }
.visit__rows { display: grid; gap: 18px; margin-top: 24px; }
.visit__rows li { display: flex; gap: 14px; }
.visit__rows .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--gold-ink); flex: none; }
.visit__rows strong { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.visit__rows span { font-size: 16.5px; font-weight: 600; }
.visit__rows small { color: var(--muted); font-weight: 500; }
.visit__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 28px; }
.visit__btns .btn { height: 48px; padding: 0 16px; font-size: 15px; }
.visit__how { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); color: var(--cream); background: radial-gradient(500px 300px at 100% 0%, rgba(201, 160, 75, .22), transparent 70%), var(--green-deep); }
.visit__how::after { content: '88'; position: absolute; right: -12px; bottom: -60px; font-size: 220px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 160, 75, .14); pointer-events: none; }
.visit__label { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.visit__place { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.visit__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--green-deep); flex: none; }
.visit__pin .ic { width: 28px; height: 28px; }
.visit__place strong { display: block; font-size: 22px; font-weight: 800; color: #fbf8ef; letter-spacing: -0.03em; }
.visit__place > div span { display: block; margin-top: 2px; color: var(--cream-muted); font-size: 14.5px; }
.visit__rows--dark { position: relative; z-index: 1; padding-top: 22px; border-top: 1px solid rgba(243, 238, 223, .12); }
.visit__rows--dark .ic { color: var(--gold); }
.visit__rows--dark strong { color: var(--gold-soft); }
.visit__rows--dark span { color: #fbf8ef; font-size: 15.5px; font-weight: 500; }
.visit__maps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 28px; }
.visit__maps .btn { height: 48px; padding: 0 16px; font-size: 15px; }
.visit__maps .btn .ic { color: var(--gold); }

/* ── 상담 띠 ── */
.cta { padding: 0 0 clamp(72px, 9vw, 120px); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 60px); border-radius: 28px; color: var(--cream); background: linear-gradient(120deg, var(--green) 0%, var(--green-deep) 100%); box-shadow: var(--shadow-lg); }
.cta__in .eyebrow { margin-bottom: 10px; }
.cta h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; color: #fbf8ef; max-width: 560px; }

/* ── 서브 페이지 ── */
.subhero { padding: clamp(56px, 7vw, 88px) 0 clamp(36px, 4vw, 52px); background: linear-gradient(180deg, var(--paper-deep), var(--paper)); border-bottom: 1px solid var(--line); }
.subhero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; color: var(--green-deep); }
.subhero p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 17px; }

.post { padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 8vw, 104px); }
.post__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.post__back .ic { width: 18px; height: 18px; }
.post__back:hover { color: var(--green-deep); }
.post__head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.post__head h1 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 800; color: var(--green-deep); }
.post__source { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post__source a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.prose { font-size: 17px; line-height: 1.9; color: #2a312c; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 22px; font-weight: 800; color: var(--green-deep); }
.prose strong { color: var(--ink); }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--surface); border-radius: 0 14px 14px 0; font-weight: 600; color: var(--green-deep); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ul li + li { margin-top: .35em; }
.prose ul li::marker { color: var(--gold-ink); }
.linkcard a { display: flex; flex-direction: column; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none !important; }
.linkcard span { font-weight: 700; color: var(--green-deep); }
.linkcard small { color: var(--muted); font-weight: 500; }
.mapcard { display: flex; flex-direction: column; padding: 16px 20px; border-radius: 14px; background: var(--green-tint); }
.mapcard span { color: var(--muted); font-size: 15px; }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.doc__main { min-width: 0; }
.doc__meta { display: inline-block; margin-bottom: 28px; padding: 6px 14px; border-radius: 999px; background: var(--green-tint); color: var(--green); font-weight: 700; font-size: 14px; }
.prose--doc { font-size: 16px; line-height: 1.85; }
.prose--doc h2 { font-size: 19px; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose--doc h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.versions { position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.versions h2 { font-size: 15px; font-weight: 800; color: var(--green-deep); margin-bottom: 14px; }
.versions li + li { margin-top: 4px; }
.versions li a { display: block; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.versions li a:hover { background: var(--paper); }
.versions li[aria-current] a { background: var(--green-tint); color: var(--green-deep); }
.versions li b { color: var(--green-deep); }
.versions li em { font-style: normal; margin-left: 4px; font-size: 11.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--green); color: var(--gold-tint); }
.versions li em.soon { background: var(--gold-tint); color: var(--gold-ink); }
.versions li small { display: block; padding: 0 12px 6px; font-size: 13px; color: var(--muted); }
.notice { display: flex; gap: 12px; margin-bottom: 28px; padding: 16px 18px; border-radius: 14px; background: var(--gold-tint); color: #6e5419; font-size: 15px; }
.notice .ic { margin-top: 3px; color: var(--gold-ink); }
.notice a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; color: var(--green-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }
.contactbox p { color: var(--muted); font-size: 15px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; transition: background .15s; }
.contact:hover { background: var(--paper); }
.contact .ic { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--green-tint); color: var(--green); }
.contact span { display: flex; flex-direction: column; font-weight: 700; color: var(--green-deep); }
.contact small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contactbox__hours { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; margin-top: 14px; padding: 0 12px; }
.contactbox__hours .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-ink); }
.contactbox__privacy { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0 12px; font-weight: 700; font-size: 14.5px; color: var(--green); }
.contactbox__privacy .ic { width: 16px; height: 16px; }

.nf { text-align: center; min-height: 50vh; }
.nf__num { font-size: 120px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold); }
.nf h1 { margin-top: 16px; font-size: 28px; color: var(--green-deep); }
.nf p { margin: 10px 0 28px; color: var(--muted); }

/* ── 하단 ── */
.foot { background: var(--green-deep); color: var(--cream-muted); font-size: 15px; line-height: 1.6; }
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
.foot__logo { display: inline-flex; align-items: center; gap: 12px; }
.foot__logo > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.foot__logo b { font-size: 18px; font-weight: 800; color: #fbf8ef; letter-spacing: -0.03em; }
.foot__logo small { margin-top: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; color: var(--gold); }
.foot__brand p { margin-top: 18px; color: var(--cream-muted); font-size: 15px; }
.foot__sns { display: flex; gap: 8px; margin-top: 18px; }
.foot__sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(243, 238, 223, .2); color: var(--cream); transition: border-color .15s, color .15s; }
.foot__sns a:hover { border-color: var(--gold); color: var(--gold); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot__col h2 { margin-bottom: 6px; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: var(--gold); }
.foot__col a { color: rgba(243, 238, 223, .88); font-size: 15.5px; font-weight: 500; transition: color .15s; }
.foot__col a:hover { color: var(--gold); }
.foot__col strong { color: var(--gold-soft); font-weight: 700; }
.foot__store p { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; font-size: 15px; color: rgba(243, 238, 223, .88); }
.foot__store .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); flex: none; }
.foot__store a { font-variant-numeric: tabular-nums; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0 32px; border-top: 1px solid rgba(243, 238, 223, .12); font-size: 13.5px; }
.foot__biz span + span::before { content: ''; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: rgba(243, 238, 223, .25); }
.foot__copy { opacity: .7; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .cards--sys { grid-template-columns: repeat(2, 1fr); }
  .newsgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(21, 42, 34, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links > a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav__cta { margin: 10px 0 0; height: 50px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .ic--open { display: none; }
  .nav.is-open .ic--close { display: block; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { min-height: 360px; margin-top: 8px; }
  .cards--care { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
  .newsgrid--list, .newsgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .versions { position: static; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot__brand, .foot__store { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__name small { display: none; }
  .brand__mark { --s: 38px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .art__chip { font-size: 12.5px; }
  .art__chip--1 { left: -4px; top: 4%; }
  .art__chip--2 { right: -4px; bottom: 4%; }
  .progs { grid-template-columns: 1fr; }
  .prog { padding: 26px 22px 22px; }
  .cards--care { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards--care .card { padding: 20px 18px; }
  .cards--care .card__icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px; }
  .cards--care .card h3 { font-size: 16.5px; }
  .cards--care .card p { font-size: 14px; }
  .cards--sys { grid-template-columns: 1fr; gap: 12px; }
  .newsgrid, .newsgrid--list, .newsgrid--3 { grid-template-columns: 1fr; }
  .news { flex-direction: row; }
  .news__thumb { width: 116px; flex: none; aspect-ratio: 1; }
  .news__body { padding: 14px 16px; gap: 4px; }
  .news strong { font-size: 15.5px; }
  .news__sum { -webkit-line-clamp: 1; font-size: 13.5px; }
  .news__ph b { font-size: 36px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .cta__in .btn { width: 100%; }
  .prose { font-size: 16.5px; }
  .foot__biz span { display: block; }
  .foot__biz span + span::before { display: none; }
  .cards--sys .card { padding: 22px 20px; }
  .cards--sys .card__icon { width: 44px; height: 44px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── 프로모션 팝업 ── */
.pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.pop[hidden] { display: none; }
.pop__backdrop { position: absolute; inset: 0; background: rgba(13, 26, 21, .58); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: pop-fade .25s ease-out; }
.pop__box {
  position: relative; width: min(400px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  border-radius: 24px; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  animation: pop-in .32s cubic-bezier(.2, .9, .3, 1.2);
}
.pop__box:focus { outline: none; }
.pop__x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(21, 42, 34, .55); color: #fff; cursor: pointer; }
.pop__x .ic { width: 18px; height: 18px; }
.pop__media img { width: 100%; max-height: 62vh; object-fit: cover; object-position: top; }
.pop__art {
  position: relative; height: 180px; overflow: hidden; display: flex; align-items: flex-end; padding: 22px 24px;
  background: radial-gradient(360px 200px at 100% 0%, rgba(201, 160, 75, .35), transparent 70%), linear-gradient(160deg, var(--green-raised), var(--green-deep));
}
.pop__art b { position: absolute; right: -10px; bottom: -46px; font-size: 200px; font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 160, 75, .5); }
.pop__tag { padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.pop__body { padding: 24px 26px 8px; }
.pop__period { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--gold-tint); color: var(--gold-ink); font-size: 12.5px; font-weight: 800; }
.pop__body h2 { font-size: 23px; font-weight: 800; color: var(--green-deep); }
.pop__body p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.pop__cta { width: 100%; margin-top: 20px; height: 50px; }
.pop__foot { display: flex; justify-content: space-between; margin-top: 12px; border-top: 1px solid var(--line); }
.pop__foot button { flex: 1; height: 52px; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.pop__foot button + button { border-left: 1px solid var(--line); color: var(--green-deep); font-weight: 700; }
.pop__foot button:hover { background: var(--paper); }
body.pop-open { overflow: hidden; }
@keyframes pop-fade { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@media (max-width: 640px) {
  .pop { align-items: end; padding: 0; }
  .pop__box { width: 100%; border-radius: 24px 24px 0 0; max-height: 88vh; animation-name: pop-up; padding-bottom: env(safe-area-inset-bottom); }
  @keyframes pop-up { from { transform: translateY(100%); } }
}

/* ── 상담 문의 창 (PC) ── */
.pop--contact .pop__box { width: min(380px, 100%); }
.pop__x--light { background: rgba(243, 238, 223, .14); }
.ct__head { padding: 30px 26px 24px; color: var(--cream); background: radial-gradient(320px 180px at 100% 0%, rgba(201, 160, 75, .3), transparent 70%), linear-gradient(160deg, var(--green-raised), var(--green-deep)); }
.ct__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold); color: var(--green-deep); margin-bottom: 14px; }
.ct__icon .ic { width: 22px; height: 22px; }
.ct__head h2 { font-size: 22px; font-weight: 800; color: #fbf8ef; }
.ct__head p { margin-top: 4px; color: var(--cream-muted); font-size: 15px; }
.ct__body { display: grid; gap: 16px; padding: 22px 26px 26px; }
.ct__phone + .ct__phone { margin-top: -8px; }
.ct__phone { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.ct__phone a { white-space: nowrap; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.ct__wide { width: 100%; height: 48px; }
.ct__rows { display: grid; gap: 10px; }
.ct__rows li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.ct__rows .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-ink); }
.ct__maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.ct__maps .btn { width: 100%; height: 44px; padding: 0 12px; justify-content: center; }
.ct__maps .btn .ic { color: var(--gold-ink); }
.ct__rows li span { line-height: 1.5; }

/* ── 앱 소개 ── */
.sys__more { margin-top: 28px; }
.appgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.appc { display: flex; flex-direction: column; gap: 16px; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.appc__top { display: flex; align-items: center; gap: 16px; }
.appc__icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 20px -10px rgba(21, 42, 34, .6); }
.appc__who { font-size: 13px; font-weight: 800; color: var(--gold-ink); letter-spacing: .02em; }
.appc h2 { font-size: 22px; font-weight: 800; color: var(--green-deep); }
.appc__lead { color: var(--muted); min-height: calc(1.65em * 2); } /* 세 카드 설명 두 줄로 맞춤 */
.appc .prog__items { margin-top: 0; padding-top: 16px; }
.appc__device { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: auto; }
.appc__device .ic { width: 16px; height: 16px; color: var(--gold-ink); }
.appc__stores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.store { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--green-deep); color: var(--cream); line-height: 1.2; transition: background .15s; }
a.store:hover { background: var(--green-raised); }
.store .ic { width: 20px; height: 20px; color: var(--gold); }
.store span { display: flex; flex-direction: column; min-width: 0; }
.store small { font-size: 11px; font-weight: 600; opacity: .75; }
.store b { font-size: 15px; font-weight: 800; white-space: nowrap; }
.store--off { background: #efebe1; color: var(--muted); cursor: default; }
.store--off .ic { color: #b3ab97; }
.store--off small { color: var(--gold-ink); opacity: 1; font-weight: 700; }
.shots { display: flex; gap: 28px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.shot { margin: 0; text-align: center; }
.shot img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.shot--student { flex: 0 1 640px; min-width: 0; }
.shot--parent { flex: 0 0 240px; }
.shot img { width: 100%; }
@media (max-width: 760px) { .shot--student { flex-basis: 100%; } .shot--parent { flex-basis: 60%; } }
.shot figcaption { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
@media (max-width: 1100px) { .nav__links > a:not(.btn) { padding: 8px 10px; font-size: 14.5px; } }
@media (max-width: 1024px) { .appgrid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* 포스터 팝업: 포스터 + 「자세히 보기」 + 아래 버튼만 */
.pop__media { display: block; }
.pop--image .pop__body { padding-top: 16px; }
.pop--image .pop__cta { margin-top: 0; }
.pop--image .pop__media img { max-height: 66vh; object-fit: contain; background: var(--paper); }
.pop [hidden] { display: none !important; }

/* 앱 소개 · 이용 안내 */
.faq--grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 12px 16px; }
.faq--grid summary { font-size: 16px; }
.help { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--paper-deep); }
.help__title { font-size: 15px; font-weight: 800; color: var(--green-deep); margin-bottom: 14px; }
.help__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help__card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.help__card:hover { border-color: var(--green); transform: translateY(-2px); }
.help__card > .icw, .help__card > svg:first-child { flex: none; }
.help__card > svg:first-child { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--green-tint); color: var(--green); }
.help__card span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.help__card b { font-weight: 800; color: var(--green-deep); }
.help__card small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help__go { width: 18px; height: 18px; color: var(--gold-ink); }
@media (max-width: 900px) { .faq--grid, .help__links { grid-template-columns: 1fr; } .help { padding: 20px; } }

/* ── 공간 둘러보기 ── */
.gal { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 220px)); }
.gal--1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gal--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 380px; }
.gal--3 { grid-template-columns: 2fr 1fr; }
.gal--4 { grid-template-columns: 2fr 1fr 1fr; }
.gal--4 .gal__item:nth-child(4) { grid-column: 2 / span 2; }
.gal__item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: var(--paper-deep); cursor: zoom-in; }
.gal__item--main { grid-row: span 2; }
.gal--1 .gal__item--main, .gal--2 .gal__item--main { grid-row: auto; }
.gal__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal__item:hover img { transform: scale(1.04); }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; text-align: left; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(13, 26, 21, .72)); }
.gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 26, 21, .55); color: #fff; font-size: 28px; font-weight: 800; }
@media (max-width: 760px) {
  .gal, .gal--1, .gal--2, .gal--3, .gal--4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal__item { flex: 0 0 82%; height: 260px; scroll-snap-align: center; }
  .gal__more { display: none; }
}

/* 사진 크게 보기 */
.lb { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 16px 24px; background: rgba(8, 16, 13, .92); animation: pop-fade .2s; }
.lb img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); border-radius: 12px; object-fit: contain; }
.lb p { color: #fff; font-weight: 600; min-height: 1.4em; text-align: center; }
.lb__count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 14px; font-variant-numeric: tabular-nums; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb .ic { width: 22px; height: 22px; }
.lb__x { top: 12px; right: 12px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb__prev, .lb__next { top: auto; bottom: 20px; transform: none; } .lb__prev { transform: scaleX(-1); } }

/* ── 매장 관리 방식 (좌: 소개 고정, 우: 번호 목록) ── */
.care__in { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.care__intro { padding-top: 4px; } /* 목록이 화면보다 조금만 길어 따라오기(sticky)는 오히려 덜컥거려서 쓰지 않는다 */
.care__intro h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; color: var(--green-deep); }
.care__intro .btn { margin-top: 28px; }
.care__list { counter-reset: none; border-top: 1px solid var(--line); }
.care__list li { display: grid; grid-template-columns: 44px 52px 1fr; gap: 18px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.care__list li:hover { background: rgba(255, 253, 248, .6); }
.care__num { font-size: 15px; font-weight: 800; color: var(--gold-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.care__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--green); }
.care__icon .ic { width: 26px; height: 26px; }
.care__list h3 { font-size: 18.5px; font-weight: 800; color: var(--green-deep); }
.care__list p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .care__in { grid-template-columns: 1fr; gap: 28px; }
  .care__intro .btn { display: none; }
  .care__list li { grid-template-columns: 30px 44px 1fr; gap: 12px; padding: 18px 0; }
  .care__icon { width: 44px; height: 44px; border-radius: 13px; }
  .care__icon .ic { width: 22px; height: 22px; }
  .care__list h3 { font-size: 16.5px; }
  .care__list p { font-size: 14.5px; }
}
