/* B안 홈 「햇살 시간」 — 해 시계 히어로 · 판 · U자 · 후기 · 가격 */
.hero { position: relative; height: calc(100svh - var(--top)); min-height: 680px; max-height: 960px; background: var(--sky); overflow: hidden; --disc-top: 196px; --d: max(1520px, 106vw); }
.hero__txt { position: relative; z-index: 3; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding-top: 34px; }
.hero h1 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.045em; }
.hero__lead { font-size: var(--t-body); }
.clock { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; font-size: 17px; color: var(--navy); }
.clock__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: none; box-shadow: 0 0 0 3px #fff; }
.is-night .clock__dot { background: #9fb2c2; }
.sun { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sun__disc { position: absolute; top: var(--disc-top); left: calc(50% - var(--d) / 2); width: var(--d); height: var(--d); border-radius: 50%; overflow: hidden; border: 16px solid var(--sun); background: var(--navy); }
.sun__disc img { position: absolute; top: 0; left: calc((var(--d) - 100vw) / 2); width: 100vw; max-width: none; height: calc(min(100svh, 960px) - var(--top) - var(--disc-top) + 32px); object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; will-change: transform; }
.sun__arc { position: absolute; inset: 0; }
.sun__tick, .sun__mk { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.sun__tick i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); transform: translate(-50%, -50%); }
.sun__tick b { position: absolute; transform: translate(-50%, -170%); font: 700 14px var(--body); color: var(--navy); white-space: nowrap; }
.sun__mk::before { content: ''; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); border: 5px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--navy), 0 0 0 14px rgba(246, 216, 74, .4); }
.is-night .sun__mk::before { background: #dbe4ea; box-shadow: 0 0 0 3px var(--navy); }
.sun:not(.is-live) .sun__mk { display: none; }
.hero__tiles { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: stretch; }
.tile-circles { background: #fff; border-radius: var(--r); padding: 18px 24px 14px; }
.tile-price { align-self: end; justify-self: start; display: grid; gap: 2px; background: #fff; border-radius: var(--r); padding: 14px 22px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.tile-price b { font-family: var(--head); font-weight: var(--hw); font-size: 24px; color: var(--ink); letter-spacing: -.02em; }
.tile-edu { display: flex; align-items: center; gap: 16px; background: var(--navy); color: #fff; border-radius: var(--r); padding: 14px 22px 14px 14px; text-decoration: none; transition: background-color .25s ease; }
.tile-edu img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sun); }
.tile-edu span { display: grid; }
.tile-edu small { font-size: var(--t-small); color: var(--on-navy-2); }
.tile-edu b { font-size: 18px; letter-spacing: -.01em; }
.tile-edu svg { width: 22px; height: 22px; transition: transform .25s ease; }
.tile-edu:hover { background: var(--navy-2); }
.tile-edu:hover svg { transform: translateX(4px); }

/* 서비스 판 */
.board { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 8px; }
.tl { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; display: block; }
.tl .ph { position: absolute; inset: 0; border-radius: 0; }
.tl:hover .ph img { transform: scale(1.03); }
.tl--ac { grid-column: 1 / 8; grid-row: span 2; }
.tl--wm { grid-column: 8 / 13; grid-row: span 2; }
.tl--sofa { grid-column: 1 / 5; }
.tl--mat { grid-column: 5 / 9; }
.tl--sun { grid-column: 9 / 13; background: var(--sun); padding: 26px 28px; display: grid; align-content: center; gap: 14px; }
.tl--sun p { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.tl__t { position: absolute; left: 14px; bottom: 14px; right: 14px; display: grid; gap: 2px; max-width: 420px; padding: 16px 56px 16px 20px; border-radius: 16px; background: rgba(11, 42, 68, .9); color: #dbe6ef; font-size: 15px; }
.tl__t b { font-family: var(--head); font-weight: var(--hw); font-size: 22px; color: #fff; letter-spacing: -.02em; }
.tl__t i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--sun); transition: transform .25s ease; }
.tl__t i svg { width: 22px; height: 22px; display: block; }
.tl:hover .tl__t i { transform: translate(4px, -50%); }
.tl--sofa .ph img { object-position: 50% 40%; }

/* 한 대를 이렇게 엽니다 — U자 */
.u { display: grid; grid-template-columns: 1fr 104px 1fr; gap: 0 16px; }
.u ol { display: flex; flex-direction: column; gap: 14px; }
.u__up { flex-direction: column-reverse !important; justify-content: flex-start; }
.u li { position: relative; height: 226px; border-radius: var(--r); overflow: hidden; background: var(--navy-2); }
.u li .ph { position: absolute; inset: 0; border-radius: 0; }
.u li p { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); font-size: 14px; color: var(--ink-2); display: grid; gap: 0; line-height: 1.45; }
.u li b { font-family: var(--head); font-weight: var(--hw); font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.u__mid { position: relative; display: flex; justify-content: center; }
.u__path { position: absolute; inset: 20px 0 20px; width: 100%; height: calc(100% - 40px); color: var(--water); }
.u__mid p { position: relative; writing-mode: vertical-rl; align-self: center; font-family: var(--head); font-weight: var(--hw); font-size: 20px; letter-spacing: .02em; color: var(--navy); background: var(--sky); padding: 14px 0; }

/* 후기 · 교육 */
.rv { display: grid; grid-template-columns: 6fr 6fr; gap: 16px; }
.rv__ph { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rv__ph .ph { height: 100%; min-height: 420px; }
.rv__q { display: grid; gap: 12px; }
.rv .q { align-content: space-between; }
.rv .q p { font-size: 17px; }
.rv .q { padding: 22px 24px 20px; }
.rev-all { color: var(--sun) !important; }
.eduband { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; margin-top: 72px; }
.eduband .ph { aspect-ratio: 16 / 10; }
.eduband p { margin-top: 14px; color: #d4e0ea; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px !important; }
.facts span { font-weight: 700; color: #fff; }
.eduband .btns { margin-top: 26px; }

/* 가격 */
.bp { display: grid; grid-template-columns: 6fr 6fr; gap: 16px; }
.bp__ph { position: relative; }
.bp__ph { min-height: 620px; }
.bp .head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
.bp__ph .pt__plate h3 { font-size: 22px; }
.bp__tabs { display: none; }
.bp__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcol { background: var(--mist); border-radius: var(--r); padding: 22px 22px 14px; }
.pcol__ph { display: none; }
.bp__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 1180px) {
  .hero__tiles { grid-template-columns: auto 1fr; }
  .tile-price { display: none; }
}
@media (max-width: 1023px) {
  .hero { --disc-top: 214px; --d: 860px; min-height: 640px; max-height: none; }
  .hero__txt { grid-template-columns: 1fr; gap: 6px; padding-top: 18px; }
  .hero h1 { font-size: clamp(31px, 6.4vw, 46px); }
  .hero__lead { font-size: 15px; line-height: 1.5; }
  .clock { font-size: 15px; margin-top: 6px; }
  .sun__disc img { height: calc(100svh - var(--top) - var(--disc-top) - 16px); }
  .sun__tick b { font-size: 13px; }
  .sun__mk::before { width: 30px; height: 30px; border-width: 4px; }
  .hero__tiles { grid-template-columns: 1fr; bottom: 12px; padding: 0 12px; }
  .tile-circles { padding: 12px 14px 10px; order: 2; }
  .tile-edu { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 10px); padding: 10px 16px 10px 10px; gap: 12px; }
  .tile-edu img { width: 48px; height: 48px; border-width: 3px; }
  .tile-edu small { font-size: 13px; }
  .tile-edu b { font-size: 15px; }
  .board { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; gap: 6px; }
  .tl--ac, .tl--wm { grid-column: 1 / -1; grid-row: span 1; }
  .tl--wm { grid-row: span 2; }
  .tl--sofa { grid-column: 1 / 2; }
  .tl--mat { grid-column: 2 / 3; }
  .tl--sun { grid-column: 1 / -1; padding: 20px; }
  .tl--sun p { font-size: 16px; }
  .tl__t { left: 8px; right: 8px; bottom: 8px; padding: 10px 40px 10px 12px; font-size: 13px; }
  .tl__t b { font-size: 17px; }
  .tl__t i { right: 10px; }
  .tl--sofa .tl__t span, .tl--mat .tl__t span { display: none; }
  .tl--sofa .tl__t b, .tl--mat .tl__t b { font-size: 16px; }
  .u { grid-template-columns: 1fr; gap: 12px; }
  .u__up { flex-direction: column !important; }
  .u li { height: 168px; }
  .u li p { left: 8px; bottom: 8px; padding: 10px 12px; font-size: 13px; }
  .u li b { font-size: 17px; }
  .u__mid { padding: 4px 0; }
  .u__path { display: none; }
  .u__mid p { writing-mode: horizontal-tb; font-size: 17px; background: var(--sun); border-radius: 999px; padding: 12px 20px; text-align: center; }
  .rv { grid-template-columns: 1fr; gap: 10px; }
  .rv__ph .ph { min-height: 0; aspect-ratio: 3 / 4.6; }
  .rv__q .q:nth-child(3) { display: none; }
  .eduband { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .bp { grid-template-columns: 1fr; gap: 12px; }
  .bp__ph { display: none; }
  .bp__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .bp__tabs button { flex: 1 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--mist); font-weight: 700; font-size: 15px; cursor: pointer; }
  .bp__tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
  .bp__cols { grid-template-columns: 1fr; }
  .js .bp__cols .pcol:not(.is-on) { display: none; }
  .pcol { padding: 0 0 12px; overflow: hidden; }
  .pcol__in { padding: 0 18px; }
  .pcol__ph { display: block; aspect-ratio: 16 / 9; border-radius: 0; margin-bottom: 14px; }
}

@media (max-width: 1023px) {
  .tl--sun { order: -1; }
  .bp__ph { display: block; min-height: 0; aspect-ratio: 16 / 9; }
  .bp__ph .pt__ph img + img { display: none; }
  .bp__ph .pt__plate p { display: none; }
}
@media (max-width: 1023px) { .board { gap: 8px; } }
@media (max-width: 1023px) { .bp__ph .pt__plate { display: none; } }
@media (max-width: 1023px) { .pcol__ph { aspect-ratio: 16 / 10.5; } }
@media (max-width: 1023px) { #price { padding-bottom: 36px; } .bp__foot { margin-top: 10px; } }
@media (max-width: 1023px) { .bp__ph { order: 2; } .bp__ph .pt__plate { display: block; } .bp__ph .pt__plate p { display: none; } }
@media (max-width: 1023px) { .bp__ph { aspect-ratio: 4 / 3.3 !important; } }
