/* 스페이스 린스타트 — 모든 화면이 같이 쓰는 바깥 틀(색·글꼴·버튼·상단 메뉴·하단).
   홈 본문은 home.css, 블로그 본문은 blog.css 가 맡는다. 클래스는 모두 ls- 로 시작한다. */

:root {
  /* 브랜드 — 흑백 로고 + 공간의 노란 소파·의자(옐로, 행동을 부르는 곳) + 가격·정보를 보여 주는 블루.
     흰 바탕 위 작은 글씨에는 대비가 충분한 -ink 색을 쓴다(옐로는 바탕·형광펜으로만 쓴다). */
  --ls-yellow: #FFC21A;
  --ls-yellow-2: #F3B300;
  --ls-yellow-ink: #7A5600;
  --ls-yellow-50: #FFFAEB;
  --ls-yellow-100: #FFF2CC;
  --ls-yellow-200: #FFE59A;
  --ls-yellow-300: #FFD45C;
  --ls-on-yellow: #1B1400;

  --ls-blue: #216CFE;
  --ls-blue-ink: #1450D2;
  --ls-blue-50: #F0F5FF;
  --ls-blue-100: #DDE8FF;
  --ls-blue-200: #B9D0FF;

  --ls-ink: #12141A;
  --ls-ink-2: #1D212B;
  --ls-text: #3A4150;
  --ls-mute: #646C7C;
  --ls-faint: #98A0AE;
  --ls-line: #E4E7EC;
  --ls-line-2: #EEF0F4;
  --ls-soft: #F5F6F8;
  --ls-warm: #FFFBF0;

  --ls-r-sm: 12px;
  --ls-r: 20px;
  --ls-r-lg: 28px;
  --ls-shadow-xs: 0 1px 2px rgba(18, 20, 26, .05);
  --ls-shadow-sm: 0 1px 2px rgba(18, 20, 26, .05), 0 8px 20px -12px rgba(18, 20, 26, .16);
  --ls-shadow: 0 2px 4px rgba(18, 20, 26, .04), 0 18px 40px -18px rgba(18, 20, 26, .22);
  --ls-shadow-lg: 0 30px 60px -28px rgba(18, 20, 26, .4);
  --ls-shadow-brand: 0 14px 28px -14px rgba(243, 179, 0, .75);

  --ls-font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --ls-wrap: 1200px;
  --ls-gutter: 24px;
  --ls-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ls-font); color: var(--ls-ink); background: #fff; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
img, video { max-width: 100%; }
a { color: inherit; }
/* '움직임 줄이기'를 켠 사람에게는 모든 화면에서 움직임을 거의 없앤다(홈·블로그·404 모두). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.ls-wrap { width: 100%; max-width: calc(var(--ls-wrap) + var(--ls-gutter) * 2); margin-inline: auto; padding-inline: var(--ls-gutter); }
.ls-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ls-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--ls-ink); color: #fff; font: 600 14px/1 var(--ls-font); text-decoration: none; transition: top .15s; }
.ls-skip:focus { top: 12px; color: #fff; }

/* 아이콘 */
.ls-ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ── 버튼 ───────────────────────────────────────────────── */
.ls-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 700 15px/1 var(--ls-font); letter-spacing: -.01em; text-decoration: none;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.ls-btn:focus-visible, .ls-textlink:focus-visible, .ls-nav a:focus-visible, .ls-footer a:focus-visible, .ls-logo:focus-visible { outline: 3px solid rgba(33, 108, 254, .55); outline-offset: 3px; }
.ls-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.ls-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16.5px; }
.ls-btn .ls-ic { width: 1.1em; height: 1.1em; }
.ls-btn--brand { background: linear-gradient(135deg, #FFD23F 0%, var(--ls-yellow-2) 100%); color: var(--ls-on-yellow); box-shadow: var(--ls-shadow-brand); }
.ls-btn--brand:hover { color: var(--ls-on-yellow); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(243, 179, 0, .9); }
.ls-btn--brand .ls-ic { transition: transform .2s; }
.ls-btn--brand:hover .ls-ic { transform: translateX(3px); }
.ls-btn--ink { background: var(--ls-ink); color: #fff; }
.ls-btn--ink:hover { background: var(--ls-ink-2); color: #fff; transform: translateY(-2px); }
.ls-btn--line { background: #fff; color: var(--ls-ink); box-shadow: inset 0 0 0 1.5px var(--ls-line); }
.ls-btn--line:hover { color: var(--ls-ink); box-shadow: inset 0 0 0 1.5px var(--ls-ink); transform: translateY(-2px); }
.ls-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.ls-btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }

.ls-textlink {
  display: inline-flex; align-items: center; gap: .3em; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 13.5px/1.2 var(--ls-font); color: var(--ls-mute); text-decoration: none; border-radius: 6px; transition: color .15s;
}
.ls-textlink:hover { color: var(--ls-blue-ink); }

/* 작은 꼬리표 */
.ls-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ls-soft); color: var(--ls-mute); font: 600 12px/1 var(--ls-font); white-space: nowrap; }
.ls-tag--blue { background: var(--ls-blue-50); color: var(--ls-blue-ink); }
.ls-tag--yellow { background: var(--ls-yellow-100); color: var(--ls-yellow-ink); }

.ls-eyebrow { margin: 0 0 14px; font: 700 13px/1 var(--ls-font); letter-spacing: .22em; text-transform: uppercase; color: var(--ls-blue-ink); }
.ls-eyebrow--light { color: var(--ls-yellow-300); }

/* ── 맨 위 띠 ───────────────────────────────────────────── */
.ls-topbar { background: var(--ls-ink); color: #AEB5C3; font: 500 12.5px/1 var(--ls-font); }
.ls-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.ls-topbar p { display: flex; align-items: center; gap: 14px; margin: 0; }
.ls-topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.ls-topbar-r a { color: #C9CFDB; font-weight: 500; }
.ls-topbar a:hover { color: var(--ls-yellow-300); }
.ls-sep { width: 1px; height: 11px; background: rgba(255, 255, 255, .18); }
.ls-live { display: inline-flex; align-items: center; gap: 7px; }
.ls-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ls-yellow); box-shadow: 0 0 0 0 rgba(255, 194, 26, .6); animation: ls-pulse 2.2s infinite; }
@keyframes ls-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 26, .55); } 70% { box-shadow: 0 0 0 7px rgba(255, 194, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } }
@media (max-width: 767px) { .ls-topbar { display: none; } }

/* ── 상단 메뉴 ──────────────────────────────────────────── */
.ls-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.ls-header.is-stuck { border-bottom-color: var(--ls-line); box-shadow: 0 10px 30px -22px rgba(18, 20, 26, .5); }
.ls-header-in { display: flex; align-items: center; gap: 28px; height: var(--ls-header-h); }
.ls-logo { display: inline-flex; flex: none; border-radius: 6px; }
.ls-logo img { display: block; width: auto; height: 28px; }
.ls-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ls-nav a { position: relative; padding: 10px 13px; border-radius: 10px; color: #3A4150; font: 600 15px/1 var(--ls-font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s; }
.ls-nav a:hover { color: var(--ls-ink); background: var(--ls-soft); }
.ls-nav a.is-active { color: var(--ls-ink); }
.ls-nav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px; margin-left: -9px; border-radius: 2px; background: var(--ls-yellow-2); }
.ls-header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.ls-header-tel { display: inline-flex; align-items: center; gap: 7px; color: var(--ls-ink); font: 700 15px/1 var(--ls-font); text-decoration: none; white-space: nowrap; }
.ls-header-tel .ls-ic { color: var(--ls-blue-ink); }
.ls-header-tel:hover { color: var(--ls-blue-ink); }
.ls-burger, .ls-mobile-close { align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--ls-line); border-radius: 12px; background: #fff; color: var(--ls-ink); cursor: pointer; }
.ls-burger { display: none; }
.ls-mobile-close { display: inline-flex; }
.ls-burger .ls-ic, .ls-mobile-close .ls-ic { width: 20px; height: 20px; }
.ls-burger:focus-visible, .ls-mobile-close:focus-visible, .ls-mobile-in > a:focus-visible { outline: 3px solid rgba(33, 108, 254, .55); outline-offset: 2px; }

/* ── 휴대폰 메뉴 — 햄버거를 누르면 오른쪽에서 밀려 나오는 서랍 ─────────────
   햄버거가 오른쪽에 있으므로 서랍도 같은 쪽에서 나온다. 휴대폰에서는 서랍 머리의 X 버튼이 햄버거가 있던 자리에 그대로 뜬다(태블릿은 맨 위 어두운 띠까지 서랍이 덮어서 X 가 그만큼 위에 뜬다).
   header 의 backdrop-filter 가 position:fixed 의 기준을 header 로 바꿔 버려서 서랍은 header 밖(layout.html)에 둔다.
   z-index 는 글 화면의 읽기 진행 바(1100)보다 위. */
.ls-scrim { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 1200; background: rgba(18, 20, 26, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.ls-scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.ls-mobile {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 1210; display: flex; flex-direction: column; width: min(86vw, 340px);
  background: #fff; border-radius: var(--ls-r) 0 0 var(--ls-r); box-shadow: -18px 0 48px -24px rgba(18, 20, 26, .5);
  transform: translateX(calc(100% + 48px)); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;   /* 그림자까지 화면 밖으로 */
}
/* 닫혀 있는 동안은 키보드·화면 낭독기도 닿지 않게 visibility 로 같이 감춘다(하단 문의 버튼과 같은 방식). */
.ls-mobile.is-open { transform: none; visibility: visible; transition-delay: 0s; }
html.ls-lock { overflow: hidden; }   /* 서랍이 열려 있는 동안 뒤 화면이 같이 스크롤되지 않게 */
.ls-mobile-head { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--ls-header-h); padding-inline: var(--ls-gutter); border-bottom: 1px solid var(--ls-line); }
.ls-mobile-in { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 6px var(--ls-gutter) 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }   /* 가로 모드처럼 낮은 화면에서도 아래 버튼까지 스크롤로 닿는다 */
.ls-mobile-in > a { padding: 17px 4px; border-bottom: 1px solid var(--ls-line-2); color: var(--ls-ink); font: 600 17px/1 var(--ls-font); text-decoration: none; }
.ls-mobile-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 24px; }   /* 서랍이 길면 버튼은 맨 아래로, 짧으면 목록 바로 밑에 */
@media (max-width: 1139px) { .ls-header-tel { display: none; } }
@media (max-width: 1023px) {
  .ls-nav { display: none; }
  .ls-header-in { justify-content: space-between; }
  .ls-burger { display: inline-flex; }
}
@media (min-width: 1024px) { .ls-mobile, .ls-scrim { display: none !important; } }
@media (max-width: 767px) {
  :root { --ls-gutter: 18px; --ls-header-h: 62px; }
  .ls-logo img { height: 24px; }
  .ls-header-cta .ls-btn { display: none; }
}

/* ── 문의 띠 ────────────────────────────────────────────── */
.ls-cta { position: relative; overflow: hidden; background: var(--ls-ink); color: #fff; }
.ls-cta::before, .ls-cta::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.ls-cta::before { width: 520px; height: 520px; right: -140px; top: -200px; background: rgba(255, 194, 26, .34); }
.ls-cta::after { width: 460px; height: 460px; left: -140px; bottom: -240px; background: rgba(33, 108, 254, .3); }
.ls-cta-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 84px; }
.ls-cta-title { margin: 0; color: #fff; font: 800 clamp(1.9rem, 3.6vw, 3rem)/1.2 var(--ls-font); letter-spacing: -.03em; }
.ls-cta .ls-cta-title em { font-style: normal; color: var(--ls-yellow-300); background: none; padding: 0; }
.ls-cta-desc { max-width: 34em; margin: 18px 0 0; color: #B9C0CE; font: 400 16.5px/1.7 var(--ls-font); }
.ls-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 899px) { .ls-cta-in { flex-direction: column; align-items: flex-start; padding-block: 64px; } }

/* ── 하단 ───────────────────────────────────────────────── */
.ls-footer { background: #0B0D12; color: #8E96A6; font: 400 14px/1.7 var(--ls-font); }
.ls-footer a { color: #C4CAD7; text-decoration: none; border-radius: 4px; }
.ls-footer a:hover { color: #fff; }
.ls-footer-top { display: grid; grid-template-columns: 1.5fr .8fr 1.3fr; gap: 48px; padding-block: 64px 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ls-footer-brand img { display: block; width: auto; height: 28px; margin-bottom: 22px; }
.ls-footer-brand p { max-width: 30em; margin: 0 0 18px; }
.ls-footer-tel { display: inline-flex; align-items: center; gap: 9px; color: #fff !important; font: 800 22px/1 var(--ls-font); letter-spacing: -.01em; }
.ls-footer-tel .ls-ic { color: var(--ls-yellow); }
.ls-footer-col h2 { margin: 0 0 16px; color: #fff; font: 700 13px/1 var(--ls-font); letter-spacing: .08em; }
.ls-footer-col ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; margin: 0; padding: 0; list-style: none; }
.ls-footer-info { display: grid; gap: 7px; margin: 0; }
.ls-footer-info div { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); gap: 10px; }
.ls-footer-info dt { color: #8B94A5; }
.ls-footer-info dd { margin: 0; color: #C4CAD7; }
.ls-footer-bottom { padding-block: 26px 34px; font-size: 12.5px; }
.ls-footer-bottom p { margin: 0; }
@media (max-width: 899px) {
  .ls-footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-block: 48px 36px; }
  .ls-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .ls-footer-bottom { padding-bottom: 96px; } }   /* 하단 문의 버튼에 가리지 않게 */
@media (max-width: 559px) { .ls-footer-top { grid-template-columns: 1fr; } .ls-footer-info div { grid-template-columns: 7.6em minmax(0, 1fr); } }

/* ── 휴대폰 하단 문의 버튼 ──────────────────────────────── */
.ls-actionbar { display: none; }
@media (max-width: 767px) {
  .ls-actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--ls-line);
    transform: translateY(110%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
  }
  /* 숨겨져 있는 동안은 키보드·화면 낭독기도 닿지 않게 visibility 로 같이 감춘다. */
  .ls-actionbar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
  .ls-actionbar .ls-btn { min-height: 48px; padding: 0 12px; }
}
/* ── 없는 주소 ──────────────────────────────────────────── */
.ls-nf { padding: 120px 0 140px; text-align: center; background: radial-gradient(900px 380px at 50% -10%, rgba(255, 194, 26, .24), transparent 70%), #fff; }
.ls-nf h1 { margin: 0; font: 800 clamp(2rem, 4.6vw, 3.4rem)/1.25 var(--ls-font); letter-spacing: -.04em; color: var(--ls-ink); }
.ls-nf em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255, 194, 26, .55) 0); padding: 0 .08em; }
.ls-nf-desc { margin: 20px 0 0; font: 400 17px/1.7 var(--ls-font); color: var(--ls-text); }
.ls-nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 767px) { .ls-nf { padding: 72px 0 96px; } }

@media print { .ls-topbar, .ls-header, .ls-mobile, .ls-scrim, .ls-actionbar, .ls-cta { display: none; } }

/* 채팅 상담(WhatsApp · 텔레그램) 버튼 줄 — 전화 버튼 옆·아래에 붙는다. brand.whatsapp_url 이 있을 때만 그려진다. */
.ls-chat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ls-mobile-cta .ls-chat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ls-mobile-cta .ls-chat-row .ls-btn { padding: 0 10px; }
.ls-cta-btns .ls-chat-row, .ls-steps-cta .ls-chat-row, .ls-pcta-btns .ls-chat-row, .ls-branch-cta-btns .ls-chat-row { flex-basis: 100%; }
.ls-steps-cta .ls-chat-row { justify-content: center; }
.ls-footer-chat { margin-top: 16px; }
