/* 코어박스 — 전체 스타일
   구성: 1) 토큰  2) 기본 요소  3) 공용 부품  4) 섹션별 스타일  5) 반응형
   원칙: 모바일(360px) 기준으로 먼저 잡고, 넓은 화면에서 열을 늘립니다. */

/* 1) 토큰 ----------------------------------------------------------- */
:root {
  --navy: #0f1b2a;
  --navy-2: #1b3049;
  --navy-3: #2c4763;
  --paper: #f6f4ef;
  --paper-2: #ece8e0;
  --card: #ffffff;
  --ink: #172231;
  --muted: #5f6d7e;
  --amber: #c8801f;
  --amber-soft: #f4e3c8;
  --line: rgba(15, 27, 42, 0.12);
  --line-soft: rgba(15, 27, 42, 0.07);
  --shadow-s: 0 2px 8px rgba(15, 27, 42, 0.06);
  --shadow-m: 0 14px 40px rgba(15, 27, 42, 0.1);
  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1120px;
  --bar-h: 64px;
}

/* 2) 기본 요소 ------------------------------------------------------- */
* { box-sizing: border-box; }

/* JS가 el.hidden = true 로 숨기는 요소가 display 선언에 덮이지 않도록.
   (연락처 빈 줄, 문의 폼, 절약 배지 등이 이 규칙에 의존합니다) */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  /* 고정 헤더에 앵커가 가리지 않도록 */
  scroll-padding-top: calc(var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  /* 모바일 하단 고정 바에 본문이 가리지 않도록 */
  padding-bottom: env(safe-area-inset-bottom);
}

h1, h2, h3, h4 { line-height: 1.32; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
em { font-style: normal; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 3) 공용 부품 ------------------------------------------------------- */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 20px;
  scroll-margin-top: calc(var(--bar-h) + 18px);
}

.section-head { max-width: 720px; margin-bottom: 32px; }

.kicker, .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(24px, 5.4vw, 36px);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(15px, 3.6vw, 17px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: rgba(15, 27, 42, 0.05); }
.btn-block { width: 100%; }

.tick-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.tick-list strong { color: var(--ink); }

/* 헤더 --------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 16px;
  background: rgba(7, 18, 32, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 227, 200, 0.12);
  color: #fff;
}

.topbar-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.topbar-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
}
.topbar-mark img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .22)); }
.topbar-name { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-name strong { font-size: 15px; }
.topbar-name small { font-size: 11px; color: rgba(244, 227, 200, 0.72); }

.topbar-nav { display: none; gap: 22px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.topbar-nav a:hover { color: #fff; }

.topbar-cta {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #17130a;
  font-size: 14px;
  font-weight: 700;
}

/* 4) 섹션별 --------------------------------------------------------- */

/* 히어로 */
.hero {
  position: relative;
  overflow: visible;
  isolation: isolate;
  background: #071220;
  color: #fff;
  border-bottom: 1px solid rgba(244, 227, 200, 0.1);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  left: 14%;
  z-index: 0;
  background-image: url("hero-corebox-cabinet.png");
  background-repeat: no-repeat;
  background-size: auto 74%;
  background-position: right bottom;
  opacity: .5;
  transform-origin: right center;
}
.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 18, 32, .99) 0%, rgba(7, 18, 32, .96) 38%, rgba(7, 18, 32, .76) 67%, rgba(7, 18, 32, .28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .32));
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 20px 64px;
}
.hero .eyebrow { color: var(--amber-soft); }
.hero h1 {
  font-size: clamp(30px, 8.2vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero h1 em {
  background: linear-gradient(transparent 72%, rgba(200, 128, 31, 0.5) 72%);
  padding: 0 2px;
}
.hero-lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 3.8vw, 18px);
  margin-bottom: 26px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.hero-badges li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: var(--amber); color: #17130a; }
.hero .btn-primary:hover { background: #d98f28; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.hero-note {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.hero-note span { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.55); font-size: 13px; margin-top: 2px; }

.hero-visual { display: none; }

/* 왜 맡기는가 */
.why-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-s);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border: 1px solid rgba(224, 163, 65, .45);
  border-radius: 50%;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 15px; }
.why-card-business {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.why-card-business p { color: rgba(255, 255, 255, 0.72); }
.why-card-business .why-icon { background: rgba(255, 255, 255, .06); border-color: rgba(244, 227, 200, .42); color: var(--amber-soft); }

/* 사이즈 */
.size-grid { display: grid; gap: 18px; }
.size-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-s);
}
.size-card-featured { border-color: var(--amber); box-shadow: var(--shadow-m); }
.size-flag {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--amber);
  color: #17130a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.size-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.size-card-head h3 { font-size: 24px; }
.size-price { font-size: 20px; font-weight: 700; color: var(--navy); }
.size-price span { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }

.size-figure { margin: 0 0 14px; color: var(--navy); }
.size-figure svg { display: block; width: min(100%, 232px); margin: 0 auto; height: auto; }
.fig-box { fill: rgba(200, 128, 31, 0.12); stroke: var(--amber); stroke-width: 2.5; }
.fig-top { fill: rgba(244, 227, 200, .72); stroke: rgba(200, 128, 31, .72); stroke-width: 1.6; }
.fig-side { fill: rgba(15, 27, 42, .075); stroke: rgba(200, 128, 31, .54); stroke-width: 1.6; }
.fig-line { stroke: var(--amber); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: .8; }
.fig-dot { fill: var(--amber); }
.fig-depth-line { stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 4; opacity: .84; }
.fig-person { fill: rgba(15, 27, 42, 0.22); }
.fig-label { fill: var(--navy); font-size: 13px; font-weight: 700; }
.fig-depth-label { fill: #8a5a1b; font-size: 12px; }
.fig-caption { fill: var(--muted); font-size: 11px; }

.size-spec { border-top: 1px solid var(--line-soft); }
.size-spec > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.size-spec dt { color: var(--muted); flex: none; }
.size-spec dd { margin: 0; font-weight: 600; text-align: right; }
.size-fit { margin-top: 16px; color: var(--muted); font-size: 15px; }
.size-fit strong { color: var(--ink); }

/* 공간 소개 */
.section-space {
  max-width: none;
  display: grid;
  gap: 34px;
  background:
    linear-gradient(180deg, rgba(15, 27, 42, .02), rgba(15, 27, 42, 0)),
    var(--paper);
}
.space-copy, .floor-plan { width: min(calc(100% - 40px), var(--wrap)); margin-left: auto; margin-right: auto; }
.space-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.space-points li { padding: 14px 10px; border-top: 2px solid var(--amber); background: rgba(255, 255, 255, .72); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset; }
.space-points strong { display: block; color: var(--navy); font-size: 16px; }
.space-points span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.floor-plan {
  position: relative;
  overflow: hidden;
  padding: 64px 20px 24px;
  border: 1px solid rgba(15, 27, 42, .1);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(15, 27, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 42, .035) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(200, 128, 31, .045), transparent 30%),
    linear-gradient(145deg, #fff, #fbfaf7 68%, #f4efe6);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: 0 18px 50px rgba(15, 27, 42, .12);
  color: var(--navy);
}
.floor-plan::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 27, 42, .07);
  border-radius: 12px;
  pointer-events: none;
}
.floor-plan-head {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(15, 27, 42, .56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.floor-plan-head span,
.floor-plan-head b { white-space: nowrap; }
.floor-plan-head b { color: #8a5a1b; font-size: 10px; }
.floor-window {
  position: relative;
  z-index: 2;
  width: 72%;
  height: 16px;
  margin: 0 auto 14px;
  border: 1px solid rgba(15, 27, 42, .18);
  border-bottom-color: rgba(15, 27, 42, .08);
  background: repeating-linear-gradient(90deg, rgba(200, 128, 31, .12) 0 20px, transparent 20px 24px);
  color: rgba(15, 27, 42, .52);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 16px;
}
.floor-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(68px, .72fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(68px, 1fr));
  gap: 9px 14px;
  min-height: 286px;
}
.unit {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(200, 128, 31, .42);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .62), transparent 42%),
    linear-gradient(180deg, rgba(200, 128, 31, .12), rgba(200, 128, 31, .07));
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), 0 10px 22px rgba(15, 27, 42, .06);
}
.unit::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(200, 128, 31, .38), transparent);
}
.unit small {
  margin-top: 5px;
  color: rgba(15, 27, 42, .58);
  font-size: 11px;
  letter-spacing: 0;
}
.floor-aisle {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 27, 42, .12);
  border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, rgba(15, 27, 42, .04) 0 12px, transparent 12px 24px),
    rgba(255, 255, 255, .72);
  color: rgba(15, 27, 42, .62);
  font-size: 12px;
  font-weight: 800;
  writing-mode: vertical-rl;
  letter-spacing: .16em;
}
.unit-1 { grid-column: 1; grid-row: 1; }
.unit-2 { grid-column: 1; grid-row: 2; }
.unit-3 { grid-column: 1; grid-row: 3; }
.unit-4 { grid-column: 3; grid-row: 1; }
.unit-5 { grid-column: 3; grid-row: 2; }
.unit-6 { grid-column: 3; grid-row: 3; }
.floor-device {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(200, 128, 31, .36);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #765019;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  box-shadow: 0 6px 18px rgba(15, 27, 42, .08);
}
.floor-device-cctv { right: 10px; top: 10px; }
.floor-device-lock { left: calc(50% - 28px); bottom: 10px; }
.floor-entry {
  position: relative;
  z-index: 2;
  width: 96px;
  margin: 16px auto 0;
  padding-top: 9px;
  border-top: 2px solid var(--amber);
  color: rgba(15, 27, 42, .66);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.floor-legend {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-top: 18px;
  color: rgba(15, 27, 42, .54);
  font-size: 11px;
}
.floor-legend span { display: inline-flex; align-items: center; gap: 6px; }
.floor-legend i { display: inline-block; width: 18px; height: 8px; border-radius: 99px; }
.legend-unit { background: rgba(200, 128, 31, .12); border: 1px solid rgba(200, 128, 31, .42); }
.legend-path { background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 27, 42, .12); }
.legend-sec { background: rgba(200, 128, 31, .46); }
.floor-plan figcaption { position: relative; z-index: 2; margin-top: 18px; color: rgba(15, 27, 42, .48); font-size: 12px; text-align: center; }

/* 요금 */
.term-switch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--paper-2);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 22px;
  max-width: 420px;
}
.term-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, color .15s ease;
}
.term-btn.is-active { background: var(--navy); color: #fff; }

.price-grid { display: grid; gap: 14px; margin-bottom: 26px; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-s);
}
.price-card-featured { position: relative; border-color: rgba(200, 128, 31, .65); }
.price-label { position: absolute; top: -11px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--amber); color: #17130a; font-size: 11px; font-weight: 800; }
.price-card h3 { font-size: 18px; margin-bottom: 14px; }
.price-card h3 span { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-total { font-size: 15px; color: var(--muted); }
.price-total strong {
  font-size: clamp(30px, 8vw, 40px);
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-right: 2px;
}
.price-term { font-size: 14px; color: var(--muted); }
.price-monthly { margin-top: 10px; font-weight: 700; color: var(--ink); }
.price-save {
  display: inline-block;
  margin-top: 10px;
  background: var(--amber-soft);
  color: #7d4f11;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.price-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
}
.price-table th, .price-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: right;
}
.price-table thead th { background: var(--paper-2); font-size: 13px; color: var(--muted); }
.price-table th[scope="row"] { text-align: left; font-weight: 600; }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-foot { margin-top: 14px; font-size: 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
.table-scroll:focus-visible { outline: 3px solid rgba(200, 128, 31, .45); outline-offset: 3px; }

/* 이용 방법 */
.step-list { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 22px 22px 24px;
  box-shadow: var(--shadow-s);
}
.step::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -15px;
  width: 1px;
  height: 15px;
  background: var(--amber);
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* 보안 */
.section-security {
  max-width: none;
  background: var(--navy);
  color: #fff;
  padding-left: 0;
  padding-right: 0;
}
.section-security > * {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section-security .section-lead { color: rgba(255, 255, 255, 0.75); }
.section-security .kicker { color: var(--amber-soft); }

.sec-grid { display: grid; gap: 12px; }
.sec-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
}
.sec-card h3 { font-size: 17px; margin-bottom: 8px; }
.sec-card p { color: rgba(255, 255, 255, 0.75); font-size: 15px; }
.sec-card .tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--amber-soft);
}
.sec-card-plan { border-style: dashed; }
.sec-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* 결제·서류 */
.terms-grid { display: grid; gap: 14px; }
.terms-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-s);
}
.terms-card h3 { font-size: 19px; margin-bottom: 14px; }
.terms-card-wide { grid-column: 1 / -1; }
.terms-card-notice { border-left: 4px solid var(--amber); background: #fffaf2; }
.terms-card-notice p { color: var(--muted); font-size: 14px; }
.doc-split { display: grid; gap: 16px; }
.doc-split h4 { font-size: 14px; color: var(--amber); margin-bottom: 4px; }
.doc-split p { color: var(--muted); font-size: 15px; }

/* 금지 품목 */
.section-ban { background: linear-gradient(180deg, #f8f6f1 0%, #f1eee7 100%); }
.ban-grid { display: grid; gap: 14px; }
.ban-grid li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-s);
}
.ban-grid li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber), #b87723);
}
.ban-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(224, 163, 65, .42);
  border-radius: 50%;
  color: var(--amber);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.ban-grid div { display: grid; gap: 5px; }
.ban-grid small { color: #9b671d; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.ban-grid strong { color: var(--navy); font-size: 17px; }
.ban-grid em { color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.65; }
.ban-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
}
.ban-note a { color: var(--amber-soft); font-weight: 800; }

/* FAQ */
.faq-list { display: grid; gap: 8px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 30px 15px 0;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

/* 문의 */
.section-contact {
  max-width: none;
  background: var(--paper-2);
  padding-left: 0;
  padding-right: 0;
}
.contact-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 26px;
}
.contact-list { margin-top: 22px; }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-list span {
  flex: none;
  width: 72px;
  color: var(--muted);
  font-size: 13px;
}
.contact-list b { font-weight: 700; }
.contact-list a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.contact-map { font-size: 13px; }

.contact-form, .contact-fallback {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-m);
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-fallback h3 { font-size: 19px; }
.contact-fallback p { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.contact-fallback .contact-badge {
  justify-self: start;
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #7d4f11;
  font-size: 12px;
  font-weight: 800;
}

.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  font-family: inherit;
  font-size: 16px; /* iOS 자동 확대 방지 */
  color: var(--ink);
}
.contact-form textarea { min-height: 88px; resize: vertical; line-height: 1.6; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1px; }
.form-status.is-error { color: #b4472f; }
.form-status.is-ok { color: #1f7a4d; }
.form-privacy { font-size: 12px; color: var(--muted); }

/* 푸터 */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 40px 20px calc(84px + env(safe-area-inset-bottom));
}
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 18px; }
.footer strong { color: #fff; font-size: 16px; display: block; margin-bottom: 4px; }
.footer strong small { color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500; }
.footer-biz { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* 모바일 하단 고정 바 */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}
.mobile-bar-call { border: 1px solid var(--line); color: var(--navy); }
.mobile-bar-cta { background: var(--navy); color: #fff; }

/* 5) 반응형 --------------------------------------------------------- */
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .ban-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-split { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card-business { grid-column: 1 / -1; }
  .section-space { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; padding-left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); padding-right: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
  .space-copy, .floor-plan { width: 100%; margin: 0; }
}

@media (min-width: 900px) {
  .section { padding: 84px 32px; }
  .topbar { padding: 0 28px; }
  .topbar-nav { display: flex; }
  .topbar-cta { display: inline-flex; }

  .hero-inner { padding: 96px 32px 104px; max-width: calc(var(--wrap) - 240px); margin-right: auto; margin-left: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
  .hero::before {
    left: 43%;
    opacity: .9;
    background-size: auto 80%;
    background-position: right center;
  }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(7, 18, 32, 1) 0%, rgba(7, 18, 32, .96) 35%, rgba(7, 18, 32, .66) 62%, rgba(7, 18, 32, .12) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .26));
  }
  .hero-visual {
    display: none;
    position: absolute;
    right: max(24px, calc((100vw - var(--wrap)) / 2));
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 300px;
    opacity: .9;
  }
  .hero-locker {
    position: absolute;
    bottom: 0;
    border: 2px solid rgba(244, 227, 200, 0.5);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(244, 227, 200, 0.16), rgba(244, 227, 200, 0.04));
  }
  .hero-locker::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 2px;
    background: rgba(244, 227, 200, 0.35);
  }
  .hero-locker-a { left: 0; width: 74px; height: 190px; }
  .hero-locker-b { left: 86px; width: 108px; height: 240px; }
  .hero-locker-c { left: 206px; width: 54px; height: 150px; opacity: .55; }

  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step::after { left: auto; top: 50%; right: -15px; bottom: auto; width: 15px; height: 1px; }
  .step:nth-child(3)::after, .step:last-child::after { display: none; }
  .ban-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-inner { grid-template-columns: 1fr 420px; align-items: start; }
  .section-security > * { padding-left: 32px; padding-right: 32px; }
  .contact-inner { padding: 0 32px; }

  .mobile-bar { display: none; }
  .footer { padding-bottom: 40px; }
  body { padding-bottom: 0; }
}

@media (max-width: 599px) {
  .hero::before {
    left: 32%;
    background-size: auto 58%;
    background-position: right 78%;
    opacity: .38;
  }
  .size-figure svg { width: min(100%, 208px); }
  .floor-plan {
    padding: 54px 14px 20px;
    border-radius: 18px;
  }
  .floor-plan::before { inset: 12px; border-radius: 12px; }
  .floor-plan-head { left: 18px; right: 18px; top: 17px; font-size: 9px; letter-spacing: .06em; }
  .floor-plan-head b { font-size: 8px; }
  .floor-window { width: 70%; height: 14px; margin-bottom: 10px; font-size: 8px; line-height: 14px; }
  .floor-grid {
    grid-template-columns: minmax(68px, 1fr) minmax(54px, .7fr) minmax(68px, 1fr);
    grid-template-rows: repeat(3, minmax(54px, 1fr));
    gap: 7px;
    min-height: 218px;
  }
  .unit { padding: 8px; border-radius: 7px; font-size: 14px; letter-spacing: .06em; }
  .unit small { margin-top: 3px; font-size: 9px; }
  .floor-aisle { border-radius: 7px; font-size: 9px; letter-spacing: .12em; }
  .floor-device { min-width: 34px; height: 18px; padding: 0 6px; font-size: 8px; }
  .floor-device-cctv { right: 7px; top: 7px; }
  .floor-device-lock { left: calc(50% - 22px); bottom: 7px; }
  .floor-entry { width: 76px; margin-top: 11px; padding-top: 7px; font-size: 10px; }
  .floor-legend { padding: 0 8px; }
  .floor-plan figcaption { margin-top: 12px; font-size: 11px; }
}

@media (min-width: 1100px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why-card-business { grid-column: 1 / -1; display: grid; grid-template-columns: auto 220px 1fr; gap: 16px; align-items: center; }
  .why-card-business .why-icon { margin: 0; }
  .why-card-business h3 { margin: 0; }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 접근성: 애니메이션을 원치 않는 사용자 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 인쇄 */
@media print {
  .topbar, .mobile-bar, .hero-visual, .contact-form { display: none !important; }
  body { background: #fff; }
  .hero { background: #fff; color: #000; }
}
