/* SKB pop 상품 안내 — style.css (디자인 파트) */
:root {
  --navy: #0B1C4D;
  --navy-2: #13296A;
  --blue: #1E40AF;
  --blue-soft: #E6ECFA;
  --yellow: #FFC400;
  --text: #15223F;
  --sub: #5B6B8F;
  --line: #DCE3F0;
  --tint: #F4F7FD;
  --white: #FFFFFF;
  --danger: #B42318;
  --ok: #0F7A3D;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 6px rgba(11, 28, 77, .06), 0 8px 24px rgba(11, 28, 77, .06);
  --shadow-hover: 0 4px 10px rgba(11, 28, 77, .08), 0 14px 32px rgba(11, 28, 77, .10);
  --nav-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.section :focus-visible, .site-footer :focus-visible { outline-color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-call { background: var(--yellow); color: var(--navy); }
.btn-call:hover { background: #FFD23F; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.nav-inner { display: flex; align-items: center; gap: 16px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; line-height: 1.2; text-decoration: none; min-width: 0; }
.brand-logo { height: 28px; width: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-company:empty { display: none; }
@media (max-width: 380px) { .brand-logo { height: 24px; } }
.brand-name { font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }
.brand-company { font-size: 12px; color: var(--sub); }
.nav-menu { flex: 1; min-width: 0; }
.nav-menu ul { display: flex; justify-content: center; gap: 4px; }
.nav-menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); white-space: nowrap;
}
.nav-menu a:hover { background: var(--tint); color: var(--blue); }
.nav-call { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 15px; }

@media (max-width: 900px) {
  .nav-inner { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .nav-menu { order: 3; flex-basis: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 4px -16px 0; padding: 0 16px 6px; }
  .nav-menu::-webkit-scrollbar { display: none; }
  .nav-menu ul { justify-content: flex-start; }
  .nav-menu a { padding: 6px 10px; font-size: 14px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 15px; }
  .nav-call { padding: 0 12px; font-size: 14px; }
  .nav-call .call-num { display: none; }
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 40px); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 64, 175, .55), rgba(30, 64, 175, 0));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.hero-eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #C9D6FF; margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.hero-sub { margin-top: 16px; font-size: clamp(16px, 2.2vw, 19px); color: #D5DDF5; max-width: 640px; }
.hero-price { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hero-price-label { font-size: 15px; color: #C9D6FF; width: 100%; }
.hero-price-line { font-size: clamp(22px, 3.6vw, 30px); font-weight: 700; }
.hero-price-line strong { color: var(--yellow); font-size: clamp(34px, 6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; color: var(--white);
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- sections ---------- */
.section { padding: 72px 0; background: var(--white); }
.section.tint { background: var(--tint); }
@media (max-width: 600px) { .section { padding: 52px 0; } .hero-inner { padding-top: 44px; padding-bottom: 52px; } }
.sec-head { margin-bottom: 32px; }
.eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(24px, 4vw, 34px); line-height: 1.3; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.sec-desc { margin-top: 10px; color: var(--sub); font-size: 16px; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(220, 227, 240, .7); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-form { padding: 24px; display: grid; gap: 22px; }
.calc-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-form legend { padding: 0; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.calc-form .field-hint { font-size: 13px; color: var(--sub); margin-top: 6px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-item { position: relative; flex: 1 1 0; min-width: 60px; }
.seg-item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.seg-item label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px 10px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1.3;
  transition: border-color .15s, background-color .15s, color .15s;
}
.seg-item label small { font-weight: 500; font-size: 12px; color: var(--sub); margin-top: 2px; }
.seg-item label:hover { border-color: #9DB0DE; }
.seg-item input:checked + label { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.seg-item input:checked + label small { color: var(--blue); }
.seg-item input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.seg-item input:disabled + label { cursor: not-allowed; background: #F1F3F7; color: #8A94A8; border-style: dashed; }
.seg-item input:disabled + label small { color: #8A94A8; }

.calc-result { padding: 24px; position: sticky; top: calc(var(--nav-h) + 52px); background: var(--navy); color: var(--white); border: 0; }
@media (max-width: 860px) { .calc-result { position: static; } }
.res-label { font-size: 14px; color: #C9D6FF; font-weight: 600; }
.res-total { margin-top: 4px; font-size: clamp(34px, 6vw, 44px); font-weight: 800; letter-spacing: -.02em; color: var(--yellow); line-height: 1.2; }
.res-total small { font-size: 18px; color: var(--white); font-weight: 700; margin-left: 2px; }
.res-rows { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 12px; display: grid; gap: 8px; }
.res-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.res-row dt { color: #D5DDF5; }
.res-row dd { margin: 0; font-weight: 700; white-space: nowrap; }
.res-row.minus dd { color: #9FE3B8; }
.res-box { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); font-size: 15px; }
.res-box strong { color: var(--yellow); }
.res-notes { margin-top: 16px; display: grid; gap: 6px; font-size: 13px; color: #C9D6FF; }
.res-notes li { padding-left: 14px; position: relative; }
.res-notes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: #8FA6E8; }
.res-error { padding: 14px; border-radius: var(--radius-sm); background: #FFF1F0; color: var(--danger); font-weight: 600; }
.res-cta { margin-top: 18px; width: 100%; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
.product-card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%;
  padding: 24px; cursor: pointer; transition: box-shadow .15s, transform .15s, border-color .15s;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-card[aria-expanded="true"] { border: 2px solid var(--blue); padding: 23px; }
.p-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 700; }
.p-name { margin-top: 12px; font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.p-summary { margin-top: 6px; color: var(--sub); font-size: 15px; min-height: 3.2em; }
.p-price { margin-top: 16px; font-size: 15px; color: var(--sub); }
.p-price strong { font-size: 26px; color: var(--text); font-weight: 800; margin: 0 2px; }
.p-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 15px; }
.p-more svg { width: 16px; height: 16px; transition: transform .2s; }
.product-card[aria-expanded="true"] .p-more svg { transform: rotate(180deg); }

.product-detail { margin-top: 20px; padding: 24px; }
.product-detail h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.detail-block + .detail-block { margin-top: 24px; }
.detail-block h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.detail-empty { padding: 14px; border-radius: var(--radius-sm); background: var(--tint); color: var(--sub); font-size: 15px; }

/* ---------- tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 15px; }
th, td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--tint); color: var(--navy); font-weight: 700; font-size: 14px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; }
td.em { font-weight: 800; color: var(--blue); }
td.muted { color: var(--sub); font-weight: 500; }
.table-note { margin-top: 8px; font-size: 13px; color: var(--sub); }

/* ---------- other ---------- */
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .other-grid { grid-template-columns: minmax(0, 1fr); } }
.other-card { padding: 24px; min-width: 0; }
.other-card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }

/* ---------- area ---------- */
.area-search { padding: 20px; margin-bottom: 24px; }
.area-search label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.search-row { position: relative; }
.search-row svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--sub); pointer-events: none; }
.search-row input {
  width: 100%; min-height: 52px; padding: 0 16px 0 44px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--white); font-size: 16px;
}
.search-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 64, 175, .18); }
.area-result { margin-top: 12px; font-size: 15px; }
.area-result:empty { display: none; }
.area-ok { padding: 12px 14px; border-radius: var(--radius-sm); background: #E9F7EF; color: var(--ok); }
.area-ok strong { font-weight: 800; }
.area-ok ul { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.area-ok li { background: var(--white); border: 1px solid #BFE5CD; color: var(--text); padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.area-no { padding: 12px 14px; border-radius: var(--radius-sm); background: #FFF6DB; color: #7A5300; font-weight: 600; }
.area-no a { color: var(--blue); font-weight: 700; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
@media (max-width: 480px) { .area-grid { grid-template-columns: minmax(0, 1fr); } }
.area-card { padding: 20px; }
.area-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.area-card h3 svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.area-card ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.area-card li { padding: 2px 10px; border-radius: 999px; background: var(--tint); font-size: 14px; color: var(--text); }
.area-card li.hit { background: var(--blue); color: var(--white); font-weight: 700; }

/* ---------- steps ---------- */
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .step-list { grid-template-columns: minmax(0, 1fr); } }
.step { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 16px;
}
.step h3 { font-size: 17px; font-weight: 800; color: var(--navy); }
.step p { margin-top: 4px; font-size: 14px; color: var(--sub); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 16px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; color: var(--blue); font-weight: 800; margin-right: 10px; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
.faq-answer { padding: 0 20px 18px 44px; color: var(--sub); font-size: 15px; white-space: pre-line; }

/* ---------- cta ---------- */
.cta { background: var(--navy); color: var(--white); padding: 64px 0; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.cta-desc { margin-top: 10px; color: #D5DDF5; }
.cta .btn { margin-top: 24px; }
.cta-hours { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: #C9D6FF; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: #081538; color: #AEBBDC; padding: 32px 0 40px; font-size: 14px; }
.site-footer .f-company { color: var(--white); font-weight: 700; margin-bottom: 8px; }
.site-footer .f-lines { display: grid; gap: 2px; }
.site-footer .f-notice { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #95A3C8; white-space: pre-line; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
