/* 하위 쪽 공통 — 에어컨 · 세탁기 · 매트리스·소파 · 창업교육 · 후기 · 가격 · 예약 · 오시는 길 */

/* 쪽 머리 — 왼쪽 글 / 오른쪽 사진 */
.sh { background: var(--sky); padding: 48px 0 104px; }
.sh--plain { padding-bottom: 56px; }
.sh__in { display: grid; grid-template-columns: 4.6fr 7.4fr; gap: 48px; align-items: center; }
.sh__txt p { margin-top: 18px; max-width: 30em; }
.sh__txt .btns { margin-top: 28px; }
.sh__txt .btns .hs-btn--line { color: var(--navy); }
.sh__vis { position: relative; }
.sh__vis > .ph { aspect-ratio: 16 / 10.5; }
.sh__vis--tall > .ph { aspect-ratio: 16 / 12; }
.sh__sm { position: absolute; left: -40px; bottom: -40px; width: 30%; aspect-ratio: 3 / 4; border: 6px solid var(--sky); box-shadow: var(--float); }
.sh__note { position: absolute; right: 16px; bottom: 16px; max-width: 360px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .95); font-size: 15px; font-weight: 600; line-height: 1.5; box-shadow: var(--float); }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; transform: translate(-14px, -50%); box-shadow: 0 4px 14px rgba(11, 42, 68, .16); white-space: nowrap; }
.tag i { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--navy); }
.tag--r { transform: translate(calc(-100% + 14px), -50%); flex-direction: row-reverse; padding: 9px 12px 9px 16px; }
.kwrap { margin-top: -64px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 2px var(--navy); }

/* 현장 사진 줄 */
.field { display: grid; grid-template-columns: 1fr 1.6fr 1fr 1fr; gap: 8px; }
.field .ph { height: 440px; }

/* 관리법 — 사진 + 큰 문장 */
.tips { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.tips .ph { aspect-ratio: 4 / 3; }
.tips ol { display: grid; gap: 22px; margin-top: 28px; }
.tips li { display: grid; grid-template-columns: 180px 1fr; gap: 18px; font-size: 20px; font-weight: 600; align-items: baseline; }
.tips li b { font-family: var(--head); font-weight: var(--hw); font-size: 28px; color: var(--action); letter-spacing: -.02em; }

/* 공정 줄 — 화살표로 잇는 낱말 */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin-top: 22px; }
.flow li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.flow li span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--navy-2); color: #fff; }
.flow li:not(:last-child)::after { content: ''; width: 18px; height: 2px; background: var(--sun); }
.flow li.is-key span { background: var(--sun); color: var(--navy); }

/* 교육 연결 판 */
.edulink { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; min-height: 260px; }
.edulink .ph { position: absolute; inset: 0; border-radius: 0; }
.edulink__t { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 16px 52px 16px 20px; border-radius: 16px; background: rgba(11, 42, 68, .9); font-size: 14px; color: #cfdbe6; }
.edulink__t b { font-size: 19px; color: #fff; }
.edulink__t svg { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--sun); }

/* 가격 두 표 (매트리스 · 소파) */
.ptwo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pbox { display: grid; grid-template-columns: 48% 1fr; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--float); }
.pbox .ph { border-radius: 0; height: 100%; }
.pbox__in { padding: 22px 24px 14px; }

/* 후기 쪽 */
.rhero__n { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; font-weight: 700; color: var(--ink-2); }
.rhero__n b { font-family: var(--head); font-weight: var(--hw); font-size: 76px; line-height: 1; letter-spacing: -.04em; color: var(--action); }
.rhero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rhero__pair .ph { aspect-ratio: 3 / 4; }
.rf { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rf button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: 15px; cursor: pointer; }
.rf button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.rwrap { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: start; }
.rlist { columns: 2; column-gap: 16px; }
.rlist > * { break-inside: avoid; margin-bottom: 16px; }
.rlist .q { display: block; }
.rlist .rl-mo { display: none; }
.rside { position: sticky; top: calc(var(--top) + 16px); display: grid; grid-template-rows: 1.3fr 1fr; gap: 12px; height: calc(100svh - var(--top) - 32px); max-height: 820px; }
.rside .ph:nth-child(3) { display: none; }
.rside .ph { height: 100%; }
.rlist .q cite { display: block; margin-top: 16px; }

.rlist [hidden] { display: none; }
.rplace { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 0; padding: 28px 32px; border-radius: var(--r); background: var(--sky); }
.rplace p { font-weight: 600; }

/* 가격 쪽 — 사진 + 표 줄 */
.prow { display: grid; grid-template-columns: 5fr 7fr; gap: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--float); margin-bottom: 16px; }
.prow .ph { border-radius: 0; height: 100%; min-height: 300px; }
.prow__in { padding: 28px 36px 18px; }
.prow:nth-child(even) { grid-template-columns: 7fr 5fr; }
.prow:nth-child(even) .ph { order: 2; }
.pnote { display: grid; grid-template-columns: 4fr 8fr; gap: 16px; margin-top: 8px; }
.pnote > div { padding: 26px 28px; border-radius: var(--r); background: var(--sun); color: var(--navy); font-weight: 700; font-size: 18px; }
.pnote > a { position: relative; }
.nofee { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 22px; border-radius: 999px; background: var(--sun); color: var(--navy); font-weight: 800; font-size: 18px; }

/* 예약 쪽 */
.rsv { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.rsv__form { background: #fff; border-radius: var(--r); padding: 32px 32px 28px; box-shadow: var(--float); }
.pick { border: 0; padding: 0; margin: 0 0 18px; }
.pick legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.pick__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pick label { position: relative; display: block; cursor: pointer; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4.4; }
.pick input { position: absolute; opacity: 0; }
.pick img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pick label:hover img { transform: scale(1.04); }
.pick span { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .94); font-weight: 700; font-size: 15px; }
.pick span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--navy); flex: none; }
.pick input:checked + img + span { background: var(--navy); color: #fff; }
.pick input:checked + img + span::before { background: var(--sun); box-shadow: inset 0 0 0 3px #fff; }
.pick input:focus-visible + img + span { outline: 3px solid var(--sun); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.field-i { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field-i input { min-height: 50px; border: 0; border-radius: 12px; background: var(--mist); padding: 0 14px; font: 500 16px var(--body); color: var(--ink); width: 100%; }
.rsv__form .hs-btn { width: 100%; margin-top: 20px; }
.rsv__out pre { white-space: pre-wrap; background: var(--mist); border-radius: 12px; padding: 16px; font: 500 15px/1.6 var(--body); margin: 0 0 14px; }
.rsv__out .btns .hs-btn { width: auto; margin: 0; }
.rsv__side { display: grid; gap: 12px; }
.rsv__side .ph { aspect-ratio: 4 / 5.6; }
.rsv__alt { background: var(--navy); color: #fff; border-radius: var(--r); padding: 24px 24px 20px; }
.rsv__alt h2 { font-size: 22px; color: #fff; letter-spacing: -.02em; margin-bottom: 16px; }
.rsv__alt .circles { justify-content: space-between; gap: 8px; }

/* 오시는 길 */
.vroute { background: var(--navy); border-radius: var(--r); padding: 28px 28px 22px; color: #fff; }
.vroute svg { width: 100%; height: auto; display: block; }
.vaddr { font-family: var(--head); font-weight: var(--hw); font-size: 30px; line-height: 1.3; letter-spacing: -.02em; margin-top: 18px; }
.vinfo { display: grid; gap: 6px; margin-top: 14px; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.vgrid .ph { aspect-ratio: 4 / 3; }
.varea { display: grid; grid-template-columns: 7fr 5fr; gap: 0; border-radius: var(--r); overflow: hidden; background: var(--sun); }
.varea .ph { border-radius: 0; min-height: 380px; }
.varea__t { padding: 40px; display: grid; align-content: center; gap: 14px; color: var(--navy); }
.varea__t p { font-weight: 600; }

/* 창업교육 */
.eh { background: var(--sky); padding: 48px 0 0; }
.eh__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eh__txt p { margin-top: 18px; max-width: 30em; }
.eh__txt .btns { margin-top: 28px; }
.eh__txt .hs-btn--line { color: var(--navy); }
.eh__ph { aspect-ratio: 4 / 3.3; }
.eh__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; transform: translateY(50%); position: relative; z-index: 2; }
.eh__facts li { background: #fff; border-radius: var(--r); padding: 22px 24px; display: grid; gap: 2px; font-size: 15px; color: var(--ink-2); box-shadow: var(--float); }
.eh__facts b { font-family: var(--head); font-weight: var(--hw); font-size: 32px; color: var(--ink); letter-spacing: -.03em; }
.eh__facts li:first-child { background: var(--sun); color: var(--navy); }
.who { padding-top: calc(var(--sec) + 24px); }
.who__in { display: grid; grid-template-columns: 6fr 6fr; gap: 16px; }
.who__phs { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.who__phs .ph { height: 100%; min-height: 220px; }
.who__list { display: grid; gap: 12px; }
.wq { margin: 0; display: grid; grid-template-columns: 1fr 200px; gap: 10px 32px; padding: 28px 30px; background: var(--navy-2); border-radius: var(--r); }
.wq blockquote { margin: 0; }
.wq blockquote p { font-family: var(--head); font-weight: var(--hw); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.42; letter-spacing: -.02em; color: #fff; }
.wq figcaption { display: grid; align-content: end; justify-items: start; gap: 8px; font-size: var(--t-small); color: var(--on-navy-2); }
.wq figcaption b { color: var(--sun); font-size: 16px; }
.wq button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; cursor: pointer; }
.wq button[aria-expanded="true"] { background: var(--sun); color: var(--navy); }
.wq__full { grid-column: 1 / -1; color: #d4e0ea; max-width: 52em; font-size: 16px; }
.who__mo { display: none; }
.st { position: relative; margin-bottom: 56px; }
.st .ph { aspect-ratio: 16 / 6.2; }
.st .ph img { object-position: 50% 55%; }
.st__card { position: absolute; left: 28px; bottom: -32px; background: #fff; border-radius: var(--r); padding: 20px 26px; display: flex; align-items: center; gap: 32px; box-shadow: var(--float); }
.st__card h3 { font-size: 24px; white-space: nowrap; }
.st__card ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.st__card li { font-weight: 700; font-size: 17px; }
.st:nth-of-type(even) .st__card { left: auto; right: 28px; }
.teach__in { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.teach .ph { aspect-ratio: 4 / 3; }
.teach__txt p { margin-top: 16px; }
.teach__n { display: flex; align-items: baseline; gap: 14px; font-weight: 700; color: var(--ink-2); }
.teach__n b { font-family: var(--head); font-weight: var(--hw); font-size: 72px; color: var(--action); letter-spacing: -.04em; line-height: 1; }
.fee__in { display: grid; grid-template-columns: 3.4fr 4.6fr 4fr; gap: 16px; align-items: stretch; }
.fee__txt { align-self: center; padding-right: 24px; }
.fee__in > .ph { min-height: 360px; }
.fee__txt p { margin-top: 16px; }
.fee__txt .btns { margin-top: 26px; }
.fee__txt .hs-btn--line { color: var(--navy); }
.map h3 { color: #fff; margin-bottom: 8px; }
.map p { color: var(--on-navy-2); margin-top: 6px; }

@media (max-width: 1180px) {
  .pick__grid { grid-template-columns: repeat(3, 1fr); }
  .pbox { grid-template-columns: 140px 1fr; }
}
@media (max-width: 1023px) {
  .sh { padding: 22px 0 84px; }
  .sh--plain { padding-bottom: 40px; }
  .sh__in { grid-template-columns: 1fr; gap: 18px; }
  .sh__vis { margin: 0 calc(var(--gut) * -1); }
  .sh__vis > .ph, .sh__vis--tall > .ph { border-radius: 0; aspect-ratio: 4 / 3; }
  .sh__sm { display: none; }
  .sh__note { left: 12px; right: 12px; bottom: 12px; max-width: none; font-size: 14px; padding: 12px 14px; }
  .sh__txt p { margin-top: 10px; }
  .sh__txt .btns { margin-top: 18px; }
  .sh__txt .btns { flex-wrap: nowrap; gap: 8px; }
  .sh__txt .btns .hs-btn { flex: 1 1 0; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .sh__txt .btns .hs-btn--line svg { display: none; }
  .tag { font-size: 13px; padding: 7px 12px 7px 10px; gap: 8px; }
  .tag i { width: 11px; height: 11px; }
  .kwrap { margin-top: -56px; }
  .field { grid-template-columns: 1fr 1fr; gap: 6px; }
  .field .ph { height: 240px; }
  .tips { grid-template-columns: 1fr; gap: 24px; }
  .tips ol { margin-top: 18px; gap: 16px; }
  .tips li { grid-template-columns: 1fr; gap: 0; font-size: 17px; }
  .tips li b { font-size: 22px; }
  .flow li { font-size: 14px; }
  .flow li span { min-height: 36px; padding: 0 12px; }
  .ptwo { grid-template-columns: 1fr; }
  .pbox { grid-template-columns: 1fr; }
  .pbox .ph { aspect-ratio: 16 / 8; height: auto; }
  .pbox__in { padding: 18px 18px 10px; }
  .rhero__pair { grid-template-columns: 1fr 1fr; gap: 0; }
  .rhero__pair .ph { border-radius: 0; aspect-ratio: 3 / 3.4; }
  .rhero__n b { font-size: 56px; }
  .rwrap { grid-template-columns: 1fr; }
  .rside { display: none; }
  .rlist { columns: 1; }
  .rlist > * { margin-bottom: 10px; }
  .rlist .rl-mo { display: block; aspect-ratio: 4 / 3.5; }
  .rplace { grid-template-columns: 1fr; padding: 22px 18px; gap: 14px; }
  .prow, .prow:nth-child(even) { grid-template-columns: 1fr; }
  .prow .ph, .prow:nth-child(even) .ph { order: 0; min-height: 0; aspect-ratio: 16 / 8.5; height: auto; }
  .prow__in { padding: 18px 18px 8px; }
  .pnote { grid-template-columns: 1fr; }
  .pnote > div { padding: 20px; font-size: 16px; }
  .nofee { font-size: 15px; border-radius: 16px; padding: 12px 16px; }
  .rsv { grid-template-columns: 1fr; }
  .rsv__side { position: static; }
  .rsv__side .ph { aspect-ratio: 16 / 10; }
  .rsv__form { padding: 22px 16px 20px; margin: 0 calc(var(--gut) * -1 + 8px); }
  .pick__grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .pick span { font-size: 14px; min-height: 34px; left: 4px; right: 4px; bottom: 4px; }
  .pick span::before { display: none; }
  .fgrid { grid-template-columns: 1fr; gap: 12px; }
  .rsv__alt .circles { gap: 4px; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .vgrid .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .varea { grid-template-columns: 1fr; }
  .varea .ph { min-height: 0; aspect-ratio: 16 / 10; }
  .varea__t { padding: 24px 20px; }
  .vaddr { font-size: 23px; }
  .vroute { padding: 18px 14px 16px; }
  .eh { padding-top: 0; }
  .eh__in { grid-template-columns: 1fr; gap: 20px; }
  .eh__ph { order: -1; margin: 0 calc(var(--gut) * -1); border-radius: 0; aspect-ratio: 4 / 3; }
  .eh__txt p { margin-top: 10px; }
  .eh__txt .btns { flex-direction: column; gap: 8px; margin-top: 18px; }
  .eh__facts { grid-template-columns: 1fr 1fr; transform: none; margin-top: 16px; padding-bottom: 28px; }
  .eh__facts li { padding: 14px 16px; }
  .eh__facts b { font-size: 24px; }
  .who { padding-top: var(--sec); }
  .who__in { grid-template-columns: 1fr; gap: 10px; }
  .who__phs { grid-template-rows: auto; }
  .who__phs .ph { min-height: 0; aspect-ratio: 16 / 10; }
  .who__phs .ph + .ph { display: none; }
  .who__mo { display: block; aspect-ratio: 16 / 10; }
  .wq { grid-template-columns: 1fr; padding: 20px 18px; gap: 10px; }
  .wq blockquote p { font-size: 19px; }
  .st { margin-bottom: 18px; }
  .st .ph { aspect-ratio: 4 / 3; }
  .st__card, .st:nth-of-type(even) .st__card { position: relative; left: auto; right: auto; bottom: auto; margin: -40px 12px 0; flex-direction: column; align-items: start; gap: 8px; padding: 16px 18px; }
  .st__card h3 { font-size: 20px; }
  .teach__in, .fee__in { grid-template-columns: 1fr; gap: 24px; }
  .teach__n b { font-size: 56px; }
}

/* 쪽 머리 들어올 때 — 첫 화면은 0.5초 안에 완성 */
@keyframes hs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hs-settle { from { transform: scale(1.06); } to { transform: none; } }
.sh__txt > *, .eh__txt > *, .head--hero > * { animation: hs-rise .42s ease-out both; }
.sh__txt > :nth-child(2), .eh__txt > :nth-child(2), .head--hero > :nth-child(2) { animation-delay: .07s; }
.sh__txt > :nth-child(3), .eh__txt > :nth-child(3) { animation-delay: .14s; }
.sh__txt > :nth-child(n+4), .eh__txt > :nth-child(n+4) { animation-delay: .21s; }
.sh__vis img, .eh__ph img { animation: hs-settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }

@media (max-width: 1023px) {
  .fee__in > .ph { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .prow .ph, .prow:nth-child(even) .ph { aspect-ratio: 16 / 11 !important; }
  .tips > .ph { order: 2; }
  .rsv__side .ph { order: -1; }
  .board { gap: 8px; }
  .pick__grid { gap: 8px !important; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field-i input { padding: 0 10px; font-size: 15px; }
  .prow .ph, .prow:nth-child(even) .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 1023px) {
  .rlist .q.is-long:not(.is-open) p { -webkit-line-clamp: 4; }
  .rlist .rl-mo { aspect-ratio: 4 / 3.8 !important; }
}

@media (max-width: 1023px) {
  .rlist .rl-mo { aspect-ratio: 16 / 12 !important; }
  .pbox .ph { aspect-ratio: 16 / 10; }
  .prow .ph, .prow:nth-child(even) .ph { aspect-ratio: 16 / 12 !important; }
  .qsplit > .edulink { aspect-ratio: 16 / 12; }
}

@media (max-width: 1023px) {
  .pnote .edulink { min-height: 0; aspect-ratio: 16 / 12; }
  .ptable th, .ptable td { padding: 9px 0; }
}
@media (max-width: 1023px) {
  .pbox .ph { aspect-ratio: 16 / 11.5; }
  .fee__in > .ph { aspect-ratio: 16 / 11.5; }
}
.tips--r { grid-template-columns: 5fr 7fr; }
@media (max-width: 1023px) { .tips--r { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { .tips ol { gap: 10px; margin-top: 14px; } }
