/* ==========================================================================
   아이엠도어 — 사이트 스타일 (라이트 단일 테마 · 모바일 우선)
   레이아웃 체계는 온결 레퍼런스 사이트 양식을 따름
   ========================================================================== */

:root {
  color-scheme: light only;
  /* 아이엠도어 로고 톤: 아이보리 · 토프 · 샌드골드 · 다크브라운 */
  --sand-50: #faf7f3;
  --sand-100: #f4eee6;
  --sand-150: #ede4d8;
  --sand-200: #e3d6c4;
  --sand-300: #d0bea5;
  --sand: #a8927a;
  --sand-600: #927c64;
  --sand-700: #7a6450;
  --sand-800: #5e4b3c;
  --sand-light: #e0cdaf;
  --ink-950: #17130f;
  --ink-900: #211b17;
  --ink-800: #2d2621;
  --ink: #45392f;
  --ink-600: #5a4f47;
  --ink-500: #6f655d;
  --ink-400: #928880;
  --line: #e9e1d6;
  --line-soft: #f2ece4;
  --bg: #ffffff;
  --bg-soft: #f9f6f1;
  --kakao: #fee500;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(45, 35, 25, 0.06), 0 2px 8px rgba(45, 35, 25, 0.05);
  --shadow: 0 8px 24px rgba(45, 35, 25, 0.08), 0 2px 6px rgba(45, 35, 25, 0.05);
  --shadow-lg: 0 24px 60px rgba(35, 25, 15, 0.18);
  --header-h: 64px;
  --announce-h: 0px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 80px;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
em {
  font-style: normal;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: 880px;
}
.center {
  text-align: center;
}
.ico {
  flex: none;
}
.i3 {
  flex: none;
  overflow: visible;
}

/* ---------- Buttons ---------- */
.cta {
  --cta-bg: var(--sand);
  --cta-fg: var(--ink-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s;
  box-shadow: 0 6px 18px rgba(120, 96, 70, 0.25);
}
.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 10px 24px rgba(120, 96, 70, 0.32);
}
.cta:active {
  transform: translateY(0);
}
.cta-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
}
.cta-ico {
  display: inline-flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-kakao {
  background: var(--kakao);
  color: #191600;
}
.btn-call {
  background: var(--ink);
  color: #fff;
}
.btn-call.dark,
.dark .btn-call {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-800);
}
.dark .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn-line {
  background: #fff;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-sand {
  background: var(--sand);
  color: var(--ink-950);
}
.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.round-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-btns .btn {
  flex: 1 1 auto;
}
@media (min-width: 640px) {
  .contact-btns .btn {
    flex: 0 0 auto;
  }
}

/* ---------- Announce bar ---------- */
.announce {
  background: var(--ink-900);
  color: #efe6da;
  font-size: 13px;
}
.announce-in {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 12px;
  position: relative;
}
.announce-txt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.announce-hours {
  display: none;
}
@media (min-width: 768px) {
  .announce-hours {
    display: inline;
  }
}
.announce-txt em {
  color: var(--sand-light);
  font-weight: 700;
}
.announce-close {
  display: none;
  align-items: center;
  gap: 6px;
  position: absolute;
  right: 20px;
  font-size: 12px;
  color: #aea395;
}
@media (min-width: 768px) {
  .announce-close {
    display: inline-flex;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(30, 25, 15, 0.07);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-txt strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.brand-txt small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sand-700);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.brand-light .brand-txt strong {
  color: #fff;
}
.brand-light .brand-txt small {
  color: var(--sand-light);
}

.gnb {
  display: none;
}
.gnb > ul {
  display: flex;
  gap: 4px;
}
.gnb-item > a {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 18px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-800);
  position: relative;
}
.gnb-item > a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--sand);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.gnb-item:hover > a::after,
.gnb-item.is-open > a::after,
.gnb-item.is-active > a::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.cta-header {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14.5px;
  border-radius: 10px;
  box-shadow: none;
}
.cta-header .cta-ico {
  display: none;
}
.menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: -8px;
}
@media (max-width: 400px) {
  .cta-header {
    padding: 0 12px;
    font-size: 13.5px;
  }
  .brand-txt small {
    display: none;
  }
}
@media (min-width: 1024px) {
  .gnb {
    display: block;
  }
  .menu-btn {
    display: none;
  }
  .cta-header .cta-ico {
    display: inline-flex;
  }
  .cta-header {
    min-height: 46px;
    padding: 0 20px;
  }
}
@media (min-width: 1200px) {
  .header-phone {
    display: inline-flex;
  }
}

/* Mega menu */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px rgba(30, 25, 15, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.gnb-item.is-open .mega,
.gnb-item.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega-in {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-top: 28px;
  padding-bottom: 32px;
}
.mega-promo {
  background: linear-gradient(145deg, var(--ink-800), var(--ink-950));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.mega-promo::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 26px solid rgba(168, 146, 122, 0.22);
}
.mega-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-950);
  background: var(--sand);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.mega-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}
.mega-title em {
  color: var(--sand-light);
}
.mega-all {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--sand-light);
}
.mega-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  align-content: start;
}
.mega-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s;
}
.mega-list a:hover {
  background: var(--sand-50);
}
.mega-list strong {
  display: block;
  font-size: 16px;
  color: var(--ink-900);
}
.mega-list small {
  display: block;
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.45;
}

/* Drawer (mobile) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background: rgba(20, 19, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.is-open .drawer-panel {
  transform: none;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer-menu {
  padding: 8px 12px;
}
.drawer-menu > li > a,
.drawer-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  list-style: none;
}
.drawer-menu summary::-webkit-details-marker {
  display: none;
}
.drawer-menu details[open] summary .ico {
  transform: rotate(180deg);
}
.drawer-menu details ul {
  padding: 6px 0 12px;
  background: var(--sand-50);
  border-radius: 12px;
  margin: 8px 0;
}
.drawer-menu details a {
  display: block;
  padding: 11px 18px;
  font-size: 16px;
  color: var(--ink-600);
}
.drawer-contact {
  margin-top: auto;
  padding: 20px;
  display: grid;
  gap: 10px;
  background: var(--sand-50);
}
.drawer-hours {
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}

/* ---------- Section commons ---------- */
.sec {
  padding: 80px 0;
  position: relative;
}
.sec.tight {
  padding: 56px 0;
}
@media (min-width: 1024px) {
  .sec {
    padding: 128px 0;
  }
  .sec.tight {
    padding: 80px 0;
  }
}
.sec-head {
  margin-bottom: 40px;
}
.sec-head.center {
  text-align: center;
}
@media (min-width: 1024px) {
  .sec-head {
    margin-bottom: 56px;
  }
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand-700);
  margin-bottom: 14px;
}
.eyebrow.light,
.dark .eyebrow {
  color: var(--sand-light);
}
.sec-title {
  font-size: clamp(28px, 6.4vw, 46px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.sec-title em {
  color: var(--sand-700);
}
.dark .sec-title {
  color: #fff;
}
.dark .sec-title em {
  color: var(--sand-light);
}
.sec-sub {
  margin-top: 16px;
  font-size: clamp(15.5px, 2.2vw, 18px);
  color: var(--ink-500);
  line-height: 1.7;
}
.dark .sec-sub {
  color: rgba(255, 255, 255, 0.7);
}
.sec-more {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-400);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.img-ph {
  background: linear-gradient(135deg, var(--sand-100), var(--sand-200));
  width: 100%;
  height: 100%;
}
.sample-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-600);
  z-index: 2;
}

/* Reveal animation (JS가 있을 때만) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.stat dt {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat strong {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1.1;
}
.stat dt span {
  font-size: 15px;
  font-weight: 700;
  color: var(--sand-700);
}
.stat dd {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-top: 4px;
}
.stats.dark strong {
  color: var(--sand-light);
}
.stats.dark dt span {
  color: var(--sand-light);
}
.stats.dark dd {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  height: calc(100svh - var(--header-h) - var(--announce-h));
  min-height: 600px;
  max-height: 940px;
  color: #fff;
  overflow: hidden;
  background: var(--ink-950);
}
@supports not (height: 100svh) {
  .hero {
    height: calc(100vh - var(--header-h));
  }
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.is-active .hero-bg img {
  transform: scale(1);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.25) 0%, rgba(20, 18, 14, 0.15) 30%, rgba(20, 18, 14, 0.75) 100%),
    linear-gradient(90deg, rgba(20, 18, 14, 0.7) 0%, rgba(20, 18, 14, 0.3) 60%, rgba(20, 18, 14, 0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 120px;
}
.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(34px, 8.6vw, 64px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.hero-title em {
  color: var(--sand-light);
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(15.5px, 2.4vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
}
.hero .stats {
  margin-top: 30px;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cta-hero {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.hero-kakao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-kakao .ico {
  color: var(--kakao);
}
.hero-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.hero-tabs {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-tabs::-webkit-scrollbar {
  display: none;
}
.hero-tabs li {
  flex: 1 0 64px;
  max-width: 140px;
}
.hero-tabs button {
  display: block;
  width: 100%;
  text-align: left;
  padding-bottom: 8px;
}
.hero-tabs span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}
.hero-tabs i {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.hero-tabs i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sand-light);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-tabs .is-done i::after {
  transform: scaleX(1);
}
.hero-tabs .is-active span {
  color: #fff;
}
.hero-tabs .is-active i::after {
  animation: heroProgress var(--hero-dur, 6500ms) linear forwards;
}
.hero.is-paused .hero-tabs .is-active i::after {
  animation-play-state: paused;
}
@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.hero-ctrl {
  display: none;
  align-items: center;
  gap: 8px;
}
.hero-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
.hero-count b {
  color: #fff;
  font-size: 20px;
}
.hero-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.hero-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.hero-btn .i-play,
.hero.is-paused .hero-btn .i-pause {
  display: none;
}
.hero.is-paused .hero-btn .i-play {
  display: inline;
}
@media (min-width: 1024px) {
  .hero-ctrl {
    display: flex;
  }
  .hero-content {
    padding-bottom: 80px;
  }
  .hero-ui {
    bottom: 40px;
  }
}
@media (max-width: 1023px) {
  /* 모바일 하단 고정 바(70px)만큼 제외 */
  .hero {
    height: calc(100svh - var(--header-h) - 70px - env(safe-area-inset-bottom));
  }
}
@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }
  .hero-content {
    justify-content: flex-end;
    padding-bottom: 104px;
  }
  .hero .stats {
    gap: 14px 22px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .cta-hero,
  .hero-kakao {
    min-height: 52px;
    flex: 1 1 auto;
  }
}

/* ---------- Service hubs ---------- */
.sec-hubs {
  background: var(--bg);
}
.hub-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.hub-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.hub-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-100);
}
.hub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hub-card:hover .hub-cover img {
  transform: scale(1.05);
}
.hub-body {
  padding: 0 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hub-ico {
  margin-top: -40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 14px rgba(60, 50, 30, 0.22));
}
.hub-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.hub-sum {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: 15.5px;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sand-50);
  border: 1px solid var(--sand-150);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-600);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.hub-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--sand-700);
}

/* ---------- Gallery ---------- */
.sec-gallery {
  background: var(--bg-soft);
}
.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -20px 28px;
  padding: 2px 20px;
  -webkit-overflow-scrolling: touch;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 36px;
    padding: 2px;
  }
}
.filter-tabs button,
.filter-tabs a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-600);
  transition: all 0.2s;
}
.filter-tabs .cnt {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
}
.filter-tabs .is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter-tabs .is-active .cnt {
  color: var(--sand-light);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
.photo.is-filtered {
  display: none;
}
.photo-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sand-100);
  cursor: zoom-in;
}
.photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.photo-btn:hover img {
  transform: scale(1.06);
}
.photo-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(20, 18, 14, 0.72));
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 1;
  transition: opacity 0.3s;
}
.photo-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sand-light);
}
.photo-cap {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (hover: hover) and (min-width: 1024px) {
  .photo-meta {
    opacity: 0;
  }
  .photo-btn:hover .photo-meta,
  .photo-btn:focus-visible .photo-meta {
    opacity: 1;
  }
}

/* ---------- Pain points ---------- */
.sec-pain {
  background: var(--bg);
}
.pain-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 20px;
  }
  .pain-card.big {
    grid-row: span 2;
  }
}
.pain-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  background: var(--ink-900);
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.pain-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.pain-card:hover img {
  transform: scale(1.04);
  opacity: 0.45;
}
.pain-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 14, 12, 0.85));
}
.pain-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}
.pain-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--sand-light);
}
.pain-body h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  margin-top: 6px;
}
.pain-body h3 em {
  color: var(--sand-light);
}
.pain-body p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* ---------- Solutions (coverflow) ---------- */
.sec-solution {
  background: var(--bg-soft);
  overflow: hidden;
}
.flow-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 20px calc(50vw - min(39vw, 170px)) 36px;
  -webkit-overflow-scrolling: touch;
}
.flow-track::-webkit-scrollbar {
  display: none;
}
.flow-card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-900);
  color: #fff;
  display: flex;
  align-items: flex-end;
  opacity: 0.5;
  transform: scale(0.92);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), box-shadow 0.45s;
}
.flow-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-lg);
}
.flow-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 12, 0.05) 25%, rgba(15, 14, 12, 0.88) 85%);
}
.flow-body {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
}
.flow-tag {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sand-light);
}
.flow-body h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
  margin: 6px 0 8px;
}
.flow-body h3 em {
  color: var(--sand-light);
}
.flow-body p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.flow-method {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-950);
  font-weight: 800;
  font-size: 14px;
}
.flow-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.flow-count {
  font-size: 14px;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}
.flow-count b {
  font-size: 20px;
  color: var(--ink-900);
}
.flow-dots {
  display: none;
  gap: 6px;
}
.flow-dots i {
  width: 7px;
  height: 7px;
  border-radius: 7px;
  background: var(--sand-200);
  transition: width 0.3s, background 0.3s;
}
.flow-dots i.on {
  width: 28px;
  background: var(--ink);
}
@media (min-width: 640px) {
  .flow-dots {
    display: flex;
  }
}

/* ---------- Process ---------- */
.sec-process {
  background: var(--ink-950);
  color: #fff;
  overflow: hidden;
}
.process-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}
.process-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
}
.process-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 146, 122, 0.25), transparent 60%), linear-gradient(180deg, rgba(20, 19, 17, 0.4), var(--ink-950));
}
.sec-process .container {
  position: relative;
}
.process-list {
  display: grid;
  gap: 10px;
}
.process-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s, border-color 0.3s;
}
.process-item.is-open {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 205, 175, 0.45);
}
.process-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
}
.process-step {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  flex: none;
  width: 64px;
}
.is-open .process-step {
  color: var(--sand-light);
}
.process-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
}
.process-chev {
  transition: transform 0.3s;
  opacity: 0.6;
}
.is-open .process-chev {
  transform: rotate(180deg);
}
.process-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.process-body > div {
  overflow: hidden;
  padding: 0 22px 0 104px;
}
.is-open .process-body {
  grid-template-rows: 1fr;
}
.is-open .process-body > div {
  padding-bottom: 24px;
}
.process-headline {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  line-height: 1.4;
}
.process-headline em {
  color: var(--sand-light);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag-list li {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 640px) {
  .process-head {
    gap: 12px;
    padding: 18px 16px;
  }
  .process-step {
    width: auto;
  }
  .process-body > div {
    padding: 0 16px;
  }
}

/* ---------- Cases ---------- */
.sec-cases {
  background: #fff;
  overflow: hidden;
}
.sec-cases .glow {
  position: absolute;
  width: 720px;
  height: 720px;
  left: 50%;
  top: -120px;
  transform: translateX(-60%);
  background: radial-gradient(circle, rgba(224, 205, 175, 0.55), transparent 62%);
  pointer-events: none;
}
.sec-cases .container {
  position: relative;
}
.case-bento {
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) {
  .case-bento {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
  }
  .case-bento .case-card:nth-child(1) {
    grid-row: span 2;
  }
  .case-bento .case-card:nth-child(4) {
    grid-column: span 2;
  }
}
.case-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.case-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-800);
  color: #fff;
  isolation: isolate;
}
.case-grid .case-card {
  aspect-ratio: 4 / 3;
  min-height: 0;
}
.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.case-card:hover img {
  transform: scale(1.05);
}
.case-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 14, 12, 0.82));
}
.case-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-950);
  margin-bottom: 6px;
}
.case-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}
.case-card.big .case-title {
  font-size: 23px;
}
.case-sum {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Brand story ---------- */
.sec-brand {
  background: var(--sand-50);
}
.brand-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.brand-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: 100%;
}
.brand-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.brand-seal {
  position: absolute;
  right: -12px;
  bottom: -24px;
  background: #fff;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 1023px) {
  .brand-visual {
    aspect-ratio: 16 / 11;
  }
  .brand-seal {
    right: 16px;
  }
}
.brand-points {
  display: grid;
  gap: 18px;
}
.brand-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.brand-letter {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--sand-light), var(--sand-600));
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 8px 16px rgba(120, 96, 70, 0.25);
  text-shadow: 0 1px 2px rgba(60, 50, 30, 0.35);
}
.brand-points h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
}
.brand-points h3 em {
  color: var(--sand-700);
}
.brand-points p {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 15.5px;
}

/* ---------- Strengths ---------- */
.sec-strengths {
  background: #fff;
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 639px) {
  .strength {
    padding: 22px 16px;
  }
  .strength .i3 {
    width: 56px;
    height: 56px;
  }
  .strength h3 {
    font-size: 16.5px;
  }
  .strength p {
    font-size: 14px;
  }
  .strength-grid.three {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 640px) {
  .strength-grid {
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .strength-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .strength-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.strength {
  background: linear-gradient(180deg, #fff, var(--sand-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.strength:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.strength-ico {
  display: inline-block;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 14px rgba(60, 50, 30, 0.18));
}
.strength h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.4;
}
.strength h3 em {
  color: var(--sand-700);
}
.strength p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-500);
}

/* ---------- FAQ ---------- */
.sec-faq {
  background: var(--bg-soft);
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-q {
  flex: 1;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
}
.faq-q::before {
  content: 'Q';
  display: inline-block;
  color: var(--sand-700);
  font-weight: 800;
  margin-right: 10px;
}
.faq-icon {
  transition: transform 0.25s;
  color: var(--ink-400);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq-a {
  padding: 0 22px 22px 46px;
  color: var(--ink-600);
  font-size: 15.5px;
  line-height: 1.75;
}
.faq-group + .faq-group {
  margin-top: 48px;
}
.faq-group-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink-900);
}

/* ---------- Posts ---------- */
.post-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card img,
.post-card .img-ph {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}
.post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.post-cat {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sand-700);
}
.post-body strong {
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-900);
}
.post-ex {
  font-size: 14.5px;
  color: var(--ink-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-body time {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--ink-400);
}

/* ---------- Final CTA ---------- */
.sec-final {
  background: radial-gradient(ellipse at 50% -10%, rgba(168, 146, 122, 0.35), transparent 55%), linear-gradient(180deg, var(--ink-800), var(--ink-950));
  color: #fff;
  overflow: hidden;
}
.final-deco {
  position: absolute;
  left: 50%;
  bottom: -340px;
  width: 760px;
  height: 760px;
  margin-left: -380px;
  border-radius: 50%;
  border: 90px solid rgba(168, 146, 122, 0.08);
  pointer-events: none;
}
.sec-final .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
  margin-bottom: 28px;
}
.final-badge .i3 {
  width: 40px;
  height: 40px;
}
.final-title {
  font-size: clamp(30px, 6vw, 50px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.final-title em {
  color: var(--sand-light);
}
.final-sub {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}
.sec-final .stats {
  justify-content: center;
  margin-top: 36px;
  gap: 20px 40px;
}
.sec-final .stat {
  text-align: center;
}
.sec-final .stat dt {
  justify-content: center;
}
.final-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cta-final {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.final-actions .btn {
  min-height: 56px;
}

/* ---------- Page hero (service) ---------- */
.page-hero,
.case-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink-950);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .page-hero,
  .case-hero {
    min-height: 540px;
  }
}
.page-hero-bg,
.case-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img,
.case-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-bg::after,
.case-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.35), rgba(20, 18, 14, 0.82)), linear-gradient(90deg, rgba(20, 18, 14, 0.55), transparent 70%);
}
.page-hero-in,
.case-hero-in {
  position: relative;
  padding-top: 64px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .page-hero-in,
  .case-hero-in {
    padding-bottom: 72px;
  }
}
.page-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-950);
  margin: 18px 0 14px;
}
.page-title {
  font-size: clamp(32px, 7vw, 56px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.04em;
}
.page-title em {
  color: var(--sand-light);
}
.page-sub {
  margin-top: 14px;
  font-size: clamp(15.5px, 2.2vw, 18.5px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}
.page-hero .contact-btns {
  margin-top: 28px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
}
.crumbs li + li::before {
  content: '›';
  margin-right: 6px;
  opacity: 0.6;
}
.page-hero .crumbs,
.case-hero .crumbs {
  color: rgba(255, 255, 255, 0.7);
}
.simple-hero .crumbs {
  color: var(--ink-400);
}
.crumbs a:hover {
  text-decoration: underline;
}

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.subnav ul {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.subnav ul::-webkit-scrollbar {
  display: none;
}
.subnav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-500);
  white-space: nowrap;
}
.subnav a.is-active {
  background: var(--ink);
  color: #fff;
}
.subnav a:not(.is-active):hover {
  background: var(--sand-50);
  color: var(--ink);
}

.stat-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stat-strip .stats {
  justify-content: space-around;
  padding: 28px 0;
  text-align: center;
}
.stat-strip .stat dt {
  justify-content: center;
}

/* AEO 즉답 박스 */
.answer {
  padding: 48px 0 0;
}
.answer-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--sand-50);
  border: 1px solid var(--sand-150);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.answer-box.inline {
  margin: 8px 0 32px;
}
.answer-ico {
  flex: none;
}
.answer-q {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.45;
}
.answer-q span {
  color: var(--sand-700);
}
.answer-a {
  margin-top: 10px;
  font-size: 16.5px;
  color: var(--ink-700, #4a4946);
  line-height: 1.75;
}
.answer-a strong {
  color: var(--sand-700);
  margin-right: 4px;
}
.answer-intro {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--ink-500);
}
@media (max-width: 640px) {
  .answer-box {
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }
}

.sec-children,
.sec-related {
  background: #fff;
}
.sec-reasons {
  background: var(--sand-50);
}
.child-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .child-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .child-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}
.child-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--sand-50));
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.child-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sand-200);
}
.child-ico {
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 12px rgba(60, 50, 30, 0.18));
}
.child-card strong {
  font-size: 19px;
  color: var(--ink-900);
}
.child-card > span:not(.child-ico) {
  font-size: 14.5px;
  color: var(--ink-500);
}
.child-card em {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sand-700);
}
.about-svcs {
  margin: 32px 0 48px;
}
@media (min-width: 1024px) {
  .about-svcs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sec-situations {
  background: #fff;
}
.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 1024px) {
  .situation-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
.situation-grid li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.situation-grid img,
.situation-grid .img-ph {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}
.situation-grid p {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.sec-table {
  background: var(--bg-soft);
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}
.table-wrap th,
.table-wrap td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.table-wrap thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.table-wrap tbody th {
  background: var(--sand-50);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.table-wrap tr:last-child th,
.table-wrap tr:last-child td {
  border-bottom: 0;
}

.sec-steps {
  background: #fff;
}
.step-list {
  display: grid;
  gap: 12px;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step-num {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--sand-light);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body {
  flex: 1;
}
.step-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
}
.step-body p {
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 15px;
}
.step-img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}
@media (max-width: 640px) {
  .step-list li {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
  .step-num {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .step-img {
    display: none;
  }
}

/* CTA band */
.cta-band {
  padding: 72px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 146, 122, 0.35), transparent 60%), var(--ink-900);
  color: #fff;
}
@media (min-width: 1024px) {
  .cta-band {
    padding: 96px 0;
  }
}
.cta-band-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.cta-band-title em {
  color: var(--sand-light);
}
.cta-band-sub {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.cta-band .contact-btns,
.cta-band-actions {
  margin-top: 32px;
  justify-content: center;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cta-band-actions .contact-btns {
  margin-top: 0;
}

/* ---------- Simple hero / prose ---------- */
.simple-hero {
  background: linear-gradient(180deg, var(--sand-50), #fff);
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 1024px) {
  .simple-hero {
    padding: 64px 0 56px;
  }
}
.simple-hero .eyebrow {
  margin-top: 22px;
}
.simple-title {
  font-size: clamp(30px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
  color: var(--ink-900);
  margin-top: 8px;
}
.simple-title em {
  color: var(--sand-700);
}
.simple-sub {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 17px;
}

.prose {
  font-size: 17px;
  line-height: 1.85;
  color: #33322f;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink-900);
  margin-top: 2.2em;
  letter-spacing: -0.03em;
}
.prose h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  margin-top: 1.8em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose a {
  color: var(--sand-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  border-radius: var(--radius);
  margin: 1.6em auto;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--sand);
  background: var(--sand-50);
  border-radius: 0 12px 12px 0;
  color: var(--ink-600);
}
.prose strong {
  color: var(--ink-900);
}
.prose .table-wrap {
  margin: 1.6em 0;
}
.policy h2 {
  font-size: 20px;
}
.policy {
  font-size: 15.5px;
}
.notice {
  margin-top: 16px;
  font-size: 14px;
  color: #a2592b;
  background: #fff5ec;
  padding: 10px 14px;
  border-radius: 10px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
  background: #fff;
}
@media (min-width: 768px) {
  .fact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.fact-grid > div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
.fact-grid dt {
  font-size: 13px;
  color: var(--ink-400);
  font-weight: 600;
}
.fact-grid dd {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 2px;
}

/* ---------- Blog post ---------- */
.post-head {
  padding: 40px 0 24px;
}
.post-head .eyebrow {
  margin-top: 22px;
}
.post-title {
  font-size: clamp(28px, 5.4vw, 42px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-400);
}
.post-cover {
  margin-bottom: 32px;
}
.post-cover img {
  border-radius: var(--radius-lg);
  width: 100%;
}
.post-faq {
  margin-top: 56px;
}
.post-faq h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}
.post-hub {
  margin-top: 32px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--sand-50);
  font-size: 15px;
}
.post-hub a {
  font-weight: 700;
  color: var(--sand-800);
  text-decoration: underline;
}
.post-cta {
  margin: 48px 0 72px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-900);
  color: #fff;
}
.post-cta-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}
.post-cta-title em {
  color: var(--sand-light);
}
.post-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- Contact form ---------- */
.contact-sec {
  background: var(--bg-soft);
}
.contact-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }
  .contact-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.lead-form {
  display: grid;
  gap: 16px;
}
.f-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px 20px;
  margin: 0;
  min-width: 0;
}
@media (min-width: 768px) {
  .f-step {
    padding: 32px;
  }
}
.f-step legend {
  float: left;
  width: 100%;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.f-step legend + * {
  clear: both;
}
.f-step legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--sand-light);
  font-size: 13px;
}
.svc-pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .svc-pick {
    grid-template-columns: repeat(4, 1fr);
  }
}
.svc-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.svc-opt > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}
.svc-opt strong {
  font-size: 15.5px;
}
.svc-opt input:checked + span {
  border-color: var(--ink);
  background: var(--sand-50);
  box-shadow: 0 0 0 3px rgba(168, 146, 122, 0.35);
}
.svc-opt input:focus-visible + span {
  outline: 3px solid var(--sand);
}
.detail-pick {
  margin-top: 18px;
}
.f-hint {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 10px;
}
.chip-check {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-check label {
  position: relative;
}
.chip-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-check span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.chip-check input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip-check input:focus-visible + span {
  outline: 3px solid var(--sand);
}
.f-row {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .f-row {
    grid-template-columns: 1fr 1fr;
  }
}
.f-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.f-row .f-field {
  margin-bottom: 0;
}
.f-row + .f-row,
.f-row + .f-field {
  margin-top: 16px;
}
.f-label {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-700, #4a4946);
}
.f-label b {
  color: #c2410c;
}
.f-field input[type='text'],
.f-field input[type='tel'],
.f-field select,
.f-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px; /* iOS 확대 방지 */
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.f-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b6a67' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}
.f-field textarea {
  resize: vertical;
  min-height: 110px;
}
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(168, 146, 122, 0.3);
}
.f-field .is-invalid,
.is-invalid {
  border-color: #c2410c !important;
}
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1.5px dashed var(--sand-300);
  border-radius: 12px;
  background: var(--sand-50);
  color: var(--ink-500);
  font-size: 14.5px;
  cursor: pointer;
}
.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-previews {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.file-previews img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}
.consent {
  display: grid;
  gap: 12px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}
.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex: none;
}
.check b {
  color: #c2410c;
}
.check b.opt {
  color: var(--ink-400);
}
.consent-detail {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-left: 32px;
}
.consent-detail summary {
  cursor: pointer;
  text-decoration: underline;
}
.consent-detail table {
  margin: 10px 0;
  border-collapse: collapse;
  width: 100%;
}
.consent-detail th,
.consent-detail td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.consent-detail th {
  background: var(--sand-50);
  white-space: nowrap;
}
.consent-detail a {
  text-decoration: underline;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.f-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff1ea;
  color: #b43d0b;
  font-weight: 600;
  font-size: 15px;
}
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(40, 34, 20, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.submit-btn:hover {
  background: var(--ink-900);
  transform: translateY(-1px);
}
.submit-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.side-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}
.side-card .contact-btns .btn {
  flex: 1 1 100%;
}
.side-info {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-500);
}
.side-info li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.side-info .ico {
  margin-top: 3px;
}
.side-steps {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.side-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.side-steps strong {
  display: block;
  font-size: 15.5px;
}
.side-steps small {
  display: block;
  font-size: 13px;
  color: var(--ink-500);
}

.thanks {
  padding: 96px 0 120px;
}
.thanks .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.thanks h1 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.thanks p {
  color: var(--ink-500);
}
.thanks .contact-btns {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1512;
  color: #ada398;
  font-size: 14.5px;
  padding: 64px 0 calc(40px + env(safe-area-inset-bottom));
}
.footer-top {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 360px 1fr;
    gap: 64px;
  }
}
.footer-about {
  margin-top: 18px;
  line-height: 1.75;
}
.footer-hours {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3b332c;
  font-size: 13px;
}
.footer-social a:hover {
  color: #fff;
  border-color: var(--sand);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
}
@media (min-width: 768px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-col-title {
  color: #fff;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--sand);
}
.footer-col ul {
  display: grid;
  gap: 9px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2f2822;
  display: grid;
  gap: 14px;
  font-size: 13px;
}
.biz-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.biz-info span {
  color: #83796e;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.footer-legal strong {
  color: #ece3d6;
}
.footer-legal span {
  color: #72685e;
}

/* ---------- Floating CTA bar (desktop) ---------- */
.float-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  transform: translate(-50%, 140%);
  transition: transform 0.45s var(--ease);
  width: min(760px, calc(100% - 40px));
  display: none;
}
@media (min-width: 1024px) {
  .float-bar {
    display: block;
  }
}
.float-bar.is-shown {
  transform: translate(-50%, 0);
}
.float-in {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px 14px 28px;
  border-radius: 20px;
  background: rgba(28, 27, 25, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.float-txt {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.float-txt strong {
  font-size: 17px;
}
.float-txt span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.cta-float {
  min-height: 48px;
}
.float-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}
.float-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(30, 25, 15, 0.08);
}
.cta-mbar {
  min-height: 50px;
  padding: 0 8px;
  font-size: 15px;
  border-radius: 12px;
  box-shadow: none;
  gap: 6px;
}
body {
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) {
  .mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 13, 11, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 12px calc(12px + env(safe-area-inset-bottom));
  color: #fff;
}
.lb-fig {
  max-width: min(1200px, 100%);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lb-fig img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  min-height: 0;
}
.lb-fig figcaption {
  margin-top: 10px;
  text-align: center;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.lb-tag {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-950);
}
.lb-tag:empty {
  display: none;
}
.lb-cap {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.lb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.lb-nav {
  position: absolute;
  top: 45%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.lb-prev {
  left: 12px;
}
.lb-next {
  right: 12px;
}
.lb-cta {
  width: 100%;
  max-width: 720px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.lb-cta p {
  font-weight: 700;
  font-size: 16px;
}
.lb-cta em {
  color: var(--sand-light);
}
.lb-btns {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lb-btns .btn {
  padding: 0 8px;
  font-size: 14.5px;
}
.lb-btns .btn-call {
  background: #fff;
  color: var(--ink-900);
}
@media (max-width: 640px) {
  .lb-nav {
    top: auto;
    bottom: 190px;
    width: 44px;
    height: 44px;
  }
  .lb-btns {
    grid-template-columns: 1fr 1fr;
  }
  .lb-btns .btn-sand {
    grid-column: span 2;
  }
}
html.lb-open,
html.drawer-open {
  overflow: hidden;
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .announce,
  .mobile-bar,
  .float-bar,
  .site-footer,
  .lightbox {
    display: none !important;
  }
}

/* ==========================================================================
   아이엠도어 추가 요소
   ========================================================================== */
.logo-mark {
  width: auto;
  height: 40px;
}
.drawer-top .logo-mark {
  height: 32px;
}
.brand-light .logo-mark {
  filter: brightness(0) invert(1) sepia(0.4) saturate(0.6) brightness(0.95);
}
img.i3 {
  object-fit: contain;
}
.preview-bar {
  background: #b0413e;
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 6px 12px;
}

/* 히어로·페이지 상단의 반투명 버튼 */
.page-hero .btn-ghost,
.case-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-actions .cta-hero .cta-ico:last-child {
  margin-left: 2px;
}

/* 허브 카드 3D 아이콘 */
.hub-ico img {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(45, 35, 25, 0.14);
}
.mega-ico img {
  width: 44px;
  height: 44px;
}
.mega-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sand-50);
  display: grid;
  place-items: center;
}

/* 상황 체크 (이미지 없는 버전) */
.situation-list {
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .situation-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (min-width: 1024px) {
  .situation-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.situation-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.situation-check {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--sand-light);
  display: grid;
  place-items: center;
}
.situation-list p {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  line-height: 1.5;
  padding-top: 4px;
}

/* 사례 개수에 맞춘 벤토 */
@media (min-width: 768px) {
  .case-bento.n1 {
    grid-template-columns: 1fr;
    grid-template-rows: 420px;
  }
  .case-bento.n2 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 420px;
  }
  .case-bento.n2 .case-card:nth-child(1) {
    grid-row: auto;
  }
  .case-bento.n3 {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 280px 280px;
  }
  .case-bento.n3 .case-card:nth-child(1) {
    grid-row: span 2;
  }
}

/* 지역 칩 */
.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.region-chips li {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink-600);
}

/* 브랜드 */
.brand-seal img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}
.final-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* 글 */
.post-hub ol {
  margin-top: 8px;
  padding-left: 1.2em;
  list-style: decimal;
  display: grid;
  gap: 4px;
}
.post-hub a {
  text-decoration: none;
  font-weight: 600;
}
.post-hub strong {
  font-size: 15px;
}
.post-cta-title img {
  flex: none;
}
.post-cta-btns .cta {
  min-height: 48px;
  font-size: 15px;
}
.post .crumbs {
  color: var(--ink-400);
  margin-bottom: 4px;
}

/* 상담 폼 */
.svc-pick {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .svc-pick {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .svc-pick {
    grid-template-columns: repeat(5, 1fr);
  }
}
.svc-opt {
  position: relative;
}
.svc-opt > span {
  padding: 14px 8px;
  height: 100%;
}
.svc-opt strong {
  font-size: 14px;
  line-height: 1.35;
  word-break: keep-all;
}
.f-step.consent {
  display: grid;
  gap: 12px;
}
.chip-field {
  margin-top: 16px;
  margin-bottom: 0;
}
body.contact .mobile-bar {
  display: none;
}
body.contact {
  padding-bottom: env(safe-area-inset-bottom);
}

/* 서비스 가이드 본문 */
.sec-guide {
  background: #fff;
}
.cta-band-actions .cta {
  min-height: 52px;
}

/* 모바일 하단 바 흰 버튼 테두리 */
.cta-mbar[style*='#FFFFFF;--cta-fg'] {
  border: 1px solid var(--line);
}

/* 공지 띠가 보일 때 히어로 높이에서 제외 (모바일에서 하단 탭이 고정바에 가려지지 않도록) */
body:has(.announce:not([hidden])) {
  --announce-h: 38px;
}
@media (max-width: 640px) {
  .hero {
    min-height: 470px;
  }
  .hero-content {
    padding-bottom: 84px;
  }
  .hero-title {
    font-size: clamp(30px, 8.2vw, 40px);
  }
  .hero .stats {
    margin-top: 16px;
  }
  .hero-sub {
    margin-top: 12px;
    font-size: 15px;
  }
}
@media (max-width: 1023px) {
  .hero {
    height: calc(100svh - var(--header-h) - var(--announce-h) - 70px - env(safe-area-inset-bottom));
  }
}

/* 시공사례 페이지 나눔 */
.pager {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.pager-num {
  font-weight: 700;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.filter-tabs a .cnt {
  font-size: 12px;
  color: var(--ink-400);
}
.filter-tabs a.is-active .cnt {
  color: var(--sand-light);
}

/* ---------- 로고 (원본 로고 배치 재현) ---------- */
.brand {
  gap: 12px;
}
.logo-mark {
  height: 44px;
  width: auto;
}
.brand-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand-word strong {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 0.2em;
  margin-right: -0.2em; /* 마지막 글자 뒤 자간 보정 */
  color: #4a3b31;
}
.brand-word small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  color: #6b5a4d;
  white-space: nowrap;
}
.brand-word small::before,
.brand-word small::after {
  content: '';
  width: 14px;
  height: 1px;
  background: #c9b7a3;
}
.brand-word small::after {
  margin-left: -0.42em;
}
.drawer-top .logo-mark {
  height: 36px;
}
.drawer-top .brand-word strong {
  font-size: 21px;
}
.brand-light .brand-word strong {
  color: #f1e8dc;
}
.brand-light .brand-word small {
  color: #c9b7a3;
}
.brand-light .brand-word small::before,
.brand-light .brand-word small::after {
  background: #6f6156;
}
@media (min-width: 1024px) {
  .logo-mark {
    height: 48px;
  }
  .brand-word strong {
    font-size: 28px;
  }
  .brand-word small {
    font-size: 11px;
  }
}
@media (max-width: 400px) {
  .brand-word strong {
    font-size: 22px;
  }
  .logo-mark {
    height: 40px;
  }
}
