@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  /* 색만 바꾼 팔레트: 원본 오렌지(#FF5600) → 칠판 녹색 */
  --accent: #1f6b4f;
  --accent-strong: #17553f;
  --accent-soft: #e7f1ec;
  --accent-grad-from: #7fb79c;
  --accent-grad-to: #1f6b4f;
  --ink: #111312;
  --ink-2: #333836;
  --muted: #6f7672;
  --muted-2: #a3aaa6;
  --line: #e4e7e5;
  --bg: #ffffff;
  --bg-soft: #f7f8f7;
  --bg-sand: #e6e9e4;
  --dark: #121a17;
  --dark-2: #1b2421;
  --container: 1328px; /* 모든 섹션의 기준 폭 (좌우 --gutter 포함) */
  --gutter: 20px;
  --pad-panel: 80px; /* 좌우로 나뉜 블록(특징·강의장 타입) 글 영역 안쪽 여백 — 양쪽 같은 값 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* 사진 자리표시자 */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(135deg, #eef2ef 0 14px, #e6ebe7 14px 28px);
  color: #4b5550; font-size: 15px; line-height: 1.55;
  border: 1.5px dashed #b9c4be;
}
.ph b { display: block; font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.ph span { max-width: 460px; }

/* 상단 띠 */
.topbar { background: var(--dark); color: #fff; text-align: center; font-size: 15px; height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.topbar strong { font-weight: 700; }
.topbar .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9fb3aa; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #cfdad5; }

/* 헤더 */
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header .inner { height: 90px; display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.logo { font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: var(--accent); }
.gnb { display: flex; gap: 90px; font-size: 16px; font-weight: 600; }
.gnb a:hover { color: var(--accent); }
.header .actions { display: flex; gap: 8px; }
.pill { height: 44px; padding: 0 18px; border-radius: 100px; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pill.light { background: #f3f5f4; }
.pill.solid { background: var(--accent); color: #fff; }
.pill.solid:hover { background: var(--accent-strong); }

.breadcrumb { max-width: var(--container); margin: 0 auto; padding: 18px var(--gutter); font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.breadcrumb b { color: var(--ink); }

/* 히어로 슬라이더 */
.hero { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hero-frame { position: relative; height: 503px; border-radius: 20px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide .ph { position: absolute; inset: 0; border: 0; background: repeating-linear-gradient(135deg, #2b3a34 0 18px, #26332e 18px 36px); color: #c9d6d0; align-items: flex-end; justify-content: flex-end; padding: 32px 40px; text-align: right; }
.hero-slide .ph b { color: #9fd1b8; }
.hero-copy { position: absolute; left: 200px; right: 120px; /* 다음 화살표(right 50 + 48) 안 덮게 */ top: 50%; transform: translateY(-50%); color: #fff; }
.hero-copy h1 { font-size: 46px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
.hero-copy p { margin-top: 14px; font-size: 18px; font-weight: 600; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; color: #fff; font-size: 36px; line-height: 1; z-index: 2; }
.hero-arrow.prev { left: 50px; } .hero-arrow.next { right: 50px; }

/* 인트로 문장 */
.intro { padding-block: 200px 160px; text-align: center; }
.intro p { font-size: 42px; font-weight: 700; line-height: 52px; color: #c4c9c6; transition: color .6s; }
.intro p.on { color: var(--ink); }
.intro p + p { margin-top: 60px; }

/* 공통 섹션 제목 */
.sec-title { text-align: center; font-size: 42px; font-weight: 700; line-height: 52px; letter-spacing: -.02em; }
.sec-sub { text-align: center; margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--muted); }
.sec-title.left, .sec-sub.left { text-align: left; }

/* 특징 4칸 (좌우 교차) */
/* 컨테이너 안쪽 선에 맞춘 카드 (강의장 타입 목록과 같은 틀) */
.features { width: min(calc(100% - 2 * var(--gutter)), calc(var(--container) - 2 * var(--gutter))); margin: 70px auto 0; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 422px; }
.feature-row .text { background: var(--bg-soft); display: flex; flex-direction: column; justify-content: center; padding: 60px var(--pad-panel); }
.feature-row.flip .text { order: 2; background: #fff; }
.feature-row .text h3 { font-size: 28px; line-height: 38px; font-weight: 700; }
.feature-row .text ul { margin-top: 22px; }
.feature-row .text li { position: relative; padding-left: 16px; font-size: 16px; line-height: 28px; color: var(--ink-2); }
.feature-row .text li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.feature-row .note { margin-top: 18px; align-self: flex-start; display: inline-block; background: var(--bg-sand); font-size: 13px; padding: 2px 6px; color: var(--ink-2); }
.feature-row .ph { border: 0; }

/* 탭 + 캐러셀 섹션 */
.tab-section { padding-block: 200px 120px; }
.tab-section .link-more { display: block; text-align: center; margin-top: 30px; color: var(--accent); font-size: 16px; font-weight: 600; }
.tabs { display: flex; margin-top: 70px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; padding-bottom: 18px; font-size: 22px; font-weight: 700; line-height: 32px; color: #bdc3c0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.chips { display: flex; gap: 8px; margin-top: 40px; }
.chips button { height: 42px; padding: 0 18px; border-radius: 6px; font-size: 16px; font-weight: 600; }
.chips button.on { background: var(--accent); color: #fff; }
.carousel { margin-top: 40px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; height: 573px; border-radius: 20px; overflow: hidden; scroll-snap-align: start; position: relative; }
.carousel .slide .ph { height: 100%; border-radius: 20px; }
.carousel .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 50px; color: #fff; font-size: 20px; font-weight: 700; background: linear-gradient(transparent, rgba(10, 20, 16, .55)); }
.carousel-ctrl { display: flex; align-items: center; gap: 30px; margin-top: 46px; }
.progress { flex: 1; height: 2px; background: var(--line); position: relative; }
.progress i { position: absolute; left: 0; top: 0; height: 2px; background: var(--ink); width: 10%; transition: width .3s, left .3s; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ink); font-size: 20px; }
.arrows button:disabled { border-color: var(--line); color: var(--line); cursor: default; }
.tabpanel[hidden] { display: none; }

/* 빌딩시설 */
.building { padding-block: 120px 200px; }
.building .grid { margin-top: 60px; display: grid; grid-template-columns: 560px 1fr; gap: 0; align-items: stretch; }
.b-list { border-left: 2px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0; }
.b-list button { text-align: left; padding: 10px 30px; margin-left: -2px; border-left: 2px solid transparent; }
.b-list h3 { font-size: 22px; font-weight: 700; line-height: 33px; color: var(--muted-2); }
.b-list p { display: none; margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.b-list button.on { border-color: var(--accent); }
.b-list button.on h3 { color: var(--ink); }
.b-list button.on p { display: block; }
.b-media { height: 437px; border-radius: 16px; overflow: hidden; }
.b-media .ph { height: 100%; border-radius: 16px; }

/* 제공 서비스 */
.services { padding-block: 0 200px; }
.svc-grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; }
.svc { padding: 0 0 60px; border-bottom: 1px solid var(--line); margin-bottom: 52px; }
.svc:nth-last-child(-n+2) { border-bottom: 0; margin-bottom: 0; }
.svc h3 { font-size: 22px; font-weight: 500; line-height: 32px; }
.svc li { display: flex; gap: 22px; align-items: flex-start; margin-top: 24px; font-size: 16px; line-height: 24px; }
.svc li .ic { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.svc li small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* 그라데이션 배너 */
.banner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.banner .box { border-radius: 30px; padding: 140px 20px; text-align: center; color: #fff; background: linear-gradient(90deg, var(--accent-grad-from), var(--accent-grad-to)); }
.banner h2 { font-size: 42px; font-weight: 700; line-height: 52px; }
.banner p { margin-top: 18px; font-size: 17px; font-weight: 600; }
.banner .tags { margin: 50px auto 0; max-width: 720px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.banner .tags span { background: #fff; color: var(--accent-strong); border-radius: 100px; padding: 14px 26px; font-size: 17px; font-weight: 700; }

/* 프로모션 */
.promo { padding-block: 220px 0; }
.promo .sec-title { font-size: 45px; line-height: 55px; }
.promo-list { margin-top: 70px; display: flex; gap: 16px; }
.promo-card { width: 320px; height: 180px; border-radius: 10px; padding: 24px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.promo-card small { font-size: 13px; opacity: .8; }
.promo-card strong { margin-top: 10px; font-size: 26px; line-height: 34px; font-weight: 800; }
.promo-card strong em { font-style: normal; color: #b7e4cd; }
.promo-card.c1 { background: #23493b; }
.promo-card.c2 { background: #1b1f1d; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 26px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: #d6dbd8; }
.dots i.on { background: var(--ink); width: 8px; }
.cta-center { display: flex; justify-content: center; margin-top: 36px; }
.cta-big { height: 78px; padding: 0 60px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; }
.cta-big:hover { background: var(--accent-strong); }

/* 위치 및 교통 */
.location { padding-block: 220px 160px; }
.location .sec-title { font-size: 45px; line-height: 55px; }
.loc-name { margin-top: 70px; display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; }
.loc-name .pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); }
.map { margin-top: 40px; height: 575px; border-radius: 12px; overflow: hidden; }
.map .ph { height: 100%; border-radius: 12px; }
.loc-info { margin-top: 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.loc-info h3 { font-size: 20px; font-weight: 700; line-height: 28px; margin-bottom: 18px; }
.loc-info .block + .block { margin-top: 44px; }
.addr { font-size: 16px; line-height: 30px; display: flex; align-items: center; gap: 10px; }
.copy { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; }
.maplink { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--accent); }
.kv { display: flex; gap: 14px; font-size: 16px; line-height: 30px; }
.kv + .kv { margin-top: 6px; }
.kv .k { flex: 0 0 auto; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; font-size: 14px; font-weight: 600; height: 28px; line-height: 26px; }
.hl { background: var(--accent-soft); font-weight: 600; }

/* 강의장 타입 */
.types { background: var(--bg-soft); padding-block: 160px 200px; }
.types .sec-title { font-size: 45px; line-height: 55px; }
.type-list { margin-top: 70px; background: #fff; border-radius: 16px; overflow: hidden; }
.type-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 565px; }
.type-row.flip .t-text { order: 2; }
.type-row .ph { border: 0; }
.t-text { padding: 90px var(--pad-panel); display: flex; flex-direction: column; justify-content: center; }
.t-tag { align-self: flex-start; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.t-text h3 { margin-top: 14px; font-size: 28px; line-height: 40px; font-weight: 700; }
.t-text dl { margin-top: 30px; display: grid; grid-template-columns: 78px 1fr; row-gap: 16px; font-size: 15px; line-height: 25px; }
.t-text dt { font-weight: 600; color: var(--ink); }
.t-text dd { color: var(--ink-2); }
.t-btns { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.t-btns a { width: 200px; height: 50px; border: 1px solid #d4d9d6; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.t-btns a:hover { border-color: var(--accent); color: var(--accent); }
.types .cta-center { margin-top: 60px; }

/* 푸터 */
.footer { background: var(--dark); color: #fff; padding: 40px 0 80px; }
.footer .top { display: flex; gap: 22px; font-size: 15px; font-weight: 700; padding-bottom: 28px; border-bottom: 1px solid #2d3833; }
.footer .cols { display: flex; gap: 90px; margin-top: 40px; font-size: 14px; }
.footer .cols h4 { font-size: 15px; margin-bottom: 18px; }
.footer .cols li { color: #a9b5b0; margin-bottom: 12px; }
.footer a:hover { color: #fff; }
.footer .copy-right { margin-top: 50px; color: #6f7c76; font-size: 13px; line-height: 1.7; }

/* 떠 있는 상담 버튼 */
.float-chat { position: fixed; right: 26px; bottom: 120px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(17, 40, 30, .28); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 모바일 */
@media (max-width: 1100px) {
  .gnb { gap: 36px; }
  :root { --pad-panel: 48px; }
  .feature-row .text, .t-text { padding-block: 60px; }
  .building .grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .gnb, .member { display: none; }
  .header .inner { height: 64px; }
  .hero-frame { height: 360px; }
  .hero-copy { left: 28px; right: 28px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-arrow { display: none; }
  :root { --pad-panel: 24px; }
  .intro { padding-block: 110px 90px; }
  .intro p, .sec-title, .banner h2 { font-size: 28px; line-height: 38px; }
  .promo .sec-title, .location .sec-title, .types .sec-title { font-size: 30px; line-height: 40px; }
  .feature-row, .type-row, .svc-grid, .loc-info { grid-template-columns: 1fr; }
  .feature-row .ph, .type-row .ph { min-height: 260px; }
  .feature-row.flip .text, .type-row.flip .t-text { order: 0; }
  .tab-section { padding-block: 110px 80px; }
  .tabs button { font-size: 17px; }
  .chips { flex-wrap: wrap; }
  .carousel .slide { height: 360px; }
  .banner .box { padding: 80px 20px; }
  .promo, .location { padding-top: 120px; }
  .promo-list { flex-direction: column; }
  .promo-card { width: auto; }
  .map { height: 360px; }
  .loc-info .col + .col { margin-top: 44px; }
  .footer .cols { flex-wrap: wrap; gap: 30px 50px; }
}

/* ===== 공통 껍데기 (헤더 패널·모바일 메뉴·토스트·로딩·404) ===== */
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pill, .cta-big { transition: background-color .2s, color .2s, transform .1s; }
.pill:active, .cta-big:active { transform: translateY(1px); }
.pill.light:hover, .member.open .member-btn { background: #e7ebe9; }
.header .actions { align-items: center; }

/* 멤버 로그인 패널 (헤더 기준 전체 폭) */
.me-name { display: inline-block; max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.member-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(17, 40, 30, .3); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.member.open .member-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.mp-inner { max-width: var(--container); min-height: 340px; margin: 0 auto; padding: 40px var(--gutter); display: grid; grid-template-columns: 320px 1fr 400px; gap: 60px; }
.mp-promo { border-radius: 16px; background: #23493b; color: #fff; padding: 30px 32px; display: flex; flex-direction: column; transition: background-color .2s; }
.mp-promo:hover { background: #1d3f33; }
.mp-promo small { font-size: 13px; opacity: .8; }
.mp-promo strong { margin-top: 12px; font-size: 30px; line-height: 38px; font-weight: 800; letter-spacing: -.02em; }
.mp-promo em { font-style: normal; color: #b7e4cd; }
.mp-code { margin-top: auto; font-size: 14px; font-weight: 600; color: #cfe2d8; }
.mp-menu { padding-top: 6px; }
.mp-menu h3 { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.mp-menu a { display: inline-block; margin-top: 16px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; transition: color .2s; }
.mp-menu a:hover { color: var(--accent); }
.mp-card { background: #f3f5f4; border-radius: 16px; padding: 32px; display: flex; }
.mp-card > div { flex: 1; display: flex; flex-direction: column; }
.mp-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.mp-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.mp-btn { margin-top: auto; height: 52px; border-radius: 100px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background-color .2s, transform .1s; }
.mp-btn:hover { background: var(--accent-strong); }
.mp-btn:active { transform: translateY(1px); }
.mp-out { margin-top: 14px; align-self: center; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mp-out:hover { color: var(--ink); }

/* 햄버거 + 모바일 전체 화면 메뉴 */
.hamburger { display: none; width: 44px; height: 44px; margin-right: -12px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
.m-menu { position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto; display: flex; flex-direction: column; padding: 0 var(--gutter) 48px; animation: m-in .2s ease; }
@keyframes m-in { from { opacity: 0; transform: translateY(-8px); } }
.m-top { height: 64px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; }
.m-close { position: relative; width: 44px; height: 44px; margin-right: -12px; border-radius: 12px; }
.m-close::before, .m-close::after { content: ""; position: absolute; left: 9px; right: 9px; /* 26px 선을 45° 돌리면 보이는 폭 ≈20px = 햄버거 폭 */ top: 21px; height: 2px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.m-close::after { transform: rotate(-45deg); }
.m-box { margin-top: 8px; background: #f3f5f4; border-radius: 16px; padding: 22px 20px; }
.m-box p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.m-links { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 17px; font-weight: 700; }
.m-links a { text-decoration: none; }
.m-gnb { margin-top: 20px; display: flex; flex-direction: column; }
.m-gnb a { padding: 18px 2px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.m-gnb a:active { color: var(--accent); }

/* 토스트·로딩: popover 로 띄워 모달 <dialog> 위에도 보이게 */
.toast { position: fixed; inset: auto auto 40px 50%; transform: translateX(-50%); margin: 0; border: 0; max-width: calc(100% - 40px); width: max-content; padding: 14px 22px; border-radius: 12px; background: rgba(17, 19, 18, .92); color: #fff; font-size: 15px; line-height: 1.5; text-align: center; pointer-events: none; animation: toast-in .2s ease; }
.toast:not(.on) { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.loading { position: fixed; inset: 0; margin: 0; border: 0; padding: 0; width: auto; height: auto; max-width: none; max-height: none; background: rgba(255, 255, 255, .72); color: var(--ink-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 15px; font-weight: 600; }
.loading:not(.on) { display: none; }
.loading::before { content: ""; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* popover 미지원 브라우저용 */
.toast:not([popover]) { z-index: 1100; }
.loading:not([popover]) { z-index: 1000; }

/* 404 */
.nf { padding-block: 140px 200px; }
.nf .nf-code { margin-left: -.04em; /* 숫자 글리프 왼쪽 여백 보정 */ font-size: 132px; line-height: 1; font-weight: 900; letter-spacing: -.05em; color: var(--accent); }
.nf h1 { margin-top: 28px; font-size: 36px; line-height: 46px; font-weight: 700; letter-spacing: -.02em; }
.nf p { margin-top: 14px; max-width: 30em; font-size: 17px; line-height: 1.65; color: var(--muted); }
.nf-btns { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.nf-btns .pill { height: 52px; padding: 0 26px; font-size: 16px; }

/* 761~960px: 헤더 한 줄에 맞추기 */
@media (max-width: 960px) {
  .gnb { gap: 22px; font-size: 15px; }
  .header .pill { padding: 0 14px; font-size: 14px; }
  .mp-inner { grid-template-columns: 1fr 360px; gap: 40px; }
  .mp-promo { display: none; }
}
@media (min-width: 761px) {
  .m-menu { display: none; }
}
@media (max-width: 760px) {
  html.no-scroll { overflow: hidden; }
  html.no-scroll .header { z-index: 200; } /* 메뉴가 떠 있는 상담 버튼·하단 고정 바 위로 */
  .hamburger { display: inline-flex; }
  .header .pill.solid { height: 38px; }
  .toast { bottom: 100px; }
  .nf { padding-block: 90px 140px; }
  .nf .nf-code { font-size: 96px; }
  .nf h1 { font-size: 28px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-panel, .m-menu, .toast { transition: none; animation: none; }
}

/* 실제 공간 사진: 전체 구도를 유지하고 원본 비율로 표시한다. */
.location-map { margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.location-map .root_daum_roughmap { width: 100% !important; border: 0; }
.location-map .root_daum_roughmap > .cont { display: none; }
.space-photo { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; background: #edf0ed; }
.hero-frame { height: auto; aspect-ratio: 16 / 7; background: var(--dark); }
.hero-slide { display: grid; grid-template-columns: 36% 64%; grid-template-rows: minmax(0, 1fr); align-items: center; }
.hero-slide .space-photo { min-height: 0; }
.hero-slide .space-photo { grid-column: 2; background: var(--dark); }
.hero-copy { left: 6%; right: 66%; top: 50%; }
.hero-copy h1 { font-size: clamp(24px, 3vw, 42px); }
.hero-copy p { font-size: 16px; line-height: 1.7; }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.feature-row > .space-photo, .type-row > .space-photo { align-self: center; height: auto; }
.feature-row > .space-photo { aspect-ratio: 4 / 3; object-fit: contain; }
.carousel .slide { height: auto; aspect-ratio: 4 / 3; }
.b-media { background: #edf0ed; }
.room-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
@media (max-width: 760px) {
  .hero-frame { aspect-ratio: auto; height: 440px; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .hero-slide .space-photo { grid-column: 1; height: 280px; }
  .hero-copy { position: static; transform: none; padding: 16px 24px 24px; }
  .hero-copy h1 { font-size: 26px; }
  .hero-copy p { margin-top: 8px; font-size: 14px; }
  .chips { flex-wrap: wrap; }
  .carousel .caption { padding: 20px; font-size: 16px; }
}

@media (max-width: 760px) {
}
