/* 주방상부장 · CLEAN KITCHEN TECH — 화이트/실버그레이/스틸블루, 세이지 포인트 제한 사용 */
:root {
  --white: #ffffff;
  --silver-50: #f6f8f9;
  --silver-100: #edf1f3;
  --silver-200: #dbe3e8;
  --silver-300: #c1ccd3;
  --steel: #35617d;
  --steel-dark: #223f52;
  --steel-light: #6c93aa;
  --ink: #1b2730;
  --muted: #5c6b74;
  --sage: #7f9a83;
  --max-width: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Pretendard", sans-serif;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--silver-200);
  background: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 30px; height: 22px;
  border-top: 3px solid var(--steel);
  position: relative;
}
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--silver-300);
}
.logo-mark::before { top: 9px; }
.logo-mark::after { top: 18px; }
.logo-text { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 0.9rem; color: var(--muted); }
.main-nav a:hover { color: var(--steel); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; padding: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta {
  background: var(--steel); color: var(--white) !important; padding: 8px 16px; border-radius: var(--radius);
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--silver-50), var(--white));
  padding: 40px 0 0;
}
.hero-inner { text-align: left; padding-bottom: 24px; }
.hero-tag {
  display: inline-block; font-family: "JetBrains Mono", monospace, -apple-system;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel);
  border: 1px solid var(--silver-300); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 16px;
}
.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.back-btn {
  display: inline-block; background: none; border: 1px solid var(--silver-300); color: var(--muted);
  padding: 7px 14px; border-radius: var(--radius); font-size: 0.85rem; margin-bottom: 20px;
}
.btn {
  display: inline-block; padding: 13px 26px; border-radius: var(--radius); font-weight: 700; font-size: 0.98rem;
}
.btn-primary { background: var(--steel); color: var(--white); }
.btn-primary:hover { background: var(--steel-dark); }
.btn-light { background: var(--white); color: var(--steel); }
.btn-outline { border: 1px solid var(--silver-300); color: var(--ink); }

.hero-photo {
  width: 100%; max-width: 1120px; margin: 0 auto;
  aspect-ratio: 2.2/1; overflow: hidden; background: var(--silver-100);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-white { background: var(--white); }
.section-silver { background: var(--silver-50); }
.section-accent { background: var(--silver-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); font-weight: 700;
  margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 0.98rem; }
.section-head.left { text-align: left; margin: 0 0 28px; }

/* ---------- NSEO service grid (shelf line style) ---------- */
.shelf-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--ink);
}
.shelf-item {
  border-left: 1px solid var(--silver-200);
  display: flex; flex-direction: column;
}
.shelf-item:last-child { border-right: 1px solid var(--silver-200); }
.shelf-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--silver-100); }
.shelf-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shelf-item:hover .shelf-photo img { transform: scale(1.04); }
.shelf-body { padding: 16px 14px 20px; flex: 1; display: flex; flex-direction: column; }
.shelf-body h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.shelf-body p { font-size: 0.83rem; color: var(--muted); flex: 1; }
.shelf-body .shelf-go { margin-top: 12px; font-size: 0.78rem; color: var(--steel); font-weight: 700; }

/* ---------- check point / icon cards ---------- */
.icon-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--silver-200); border: 1px solid var(--silver-200); }
.icon-card { background: var(--white); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.icon-dot {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--steel); color: var(--white);
  font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.icon-card p { font-size: 0.92rem; color: var(--ink); }

/* ---------- process steps ---------- */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--silver-200); border-left: 1px solid var(--silver-200); }
.step-card { padding: 22px 18px; border-right: 1px solid var(--silver-200); border-bottom: 1px solid var(--silver-200); }
.step-num { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--steel); font-weight: 700; margin-bottom: 8px; }
.step-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.step-card p { font-size: 0.85rem; color: var(--muted); }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-box { display: flex; flex-direction: column; }
.ba-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--silver-100); }
.ba-photo img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--white);
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: 0.05em;
}
.ba-caption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .ba-grid { grid-template-columns: 1fr; } }

/* ---------- lead text ---------- */
.lead { font-size: 1rem; color: var(--ink); line-height: 1.85; }
.lead + .icon-card-grid { margin-top: 24px; }

/* ---------- compare table ---------- */
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 480px; }
.compare-table th, .compare-table td { border: 1px solid var(--silver-200); padding: 12px 14px; text-align: left; }
.compare-table th { background: var(--silver-100); font-weight: 700; }
.compare-table td:last-child { color: var(--steel); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-full { border-top: 1px solid var(--silver-200); }
.faq-item { border-bottom: 1px solid var(--silver-200); padding: 18px 4px; }
.faq-item .q { font-weight: 700; margin-bottom: 6px; font-size: 0.96rem; }
.faq-item .q::before { content: "Q. "; color: var(--steel); }
.faq-item .a { font-size: 0.9rem; color: var(--muted); }
.faq-item .a::before { content: "A. "; color: var(--sage); font-weight: 700; }

/* ---------- other projects / other services ---------- */
.card-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proj-card { border: 1px solid var(--silver-200); border-radius: var(--radius); overflow: hidden; }
.proj-photo { aspect-ratio: 4/3; overflow: hidden; background: var(--silver-100); }
.proj-photo img { width: 100%; height: 100%; object-fit: cover; }
.proj-title { padding: 12px 14px; font-size: 0.88rem; font-weight: 600; }
@media (max-width: 900px) { .card-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA ---------- */
.cta-final { background: var(--steel-dark); color: var(--white); text-align: center; }
.cta-final h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; margin-bottom: 12px; }
.cta-final p { color: #cfe0ea; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--silver-50); border-top: 1px solid var(--silver-200); padding: 36px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--muted); }
.footer-business p { font-size: 0.8rem; color: var(--muted); margin: 2px 0; }

/* ---------- floating call ---------- */
.float-call {
  position: fixed; right: 22px; bottom: 22px; background: var(--steel); color: var(--white);
  padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 20px rgba(34, 63, 82, 0.25); z-index: 40;
}
.mobile-call-bar { display: none; }

@media (max-width: 720px) {
  .float-call { display: none; }
  .mobile-call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--steel); padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  .mobile-call-bar a { color: var(--white); font-weight: 700; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
  body { padding-bottom: 62px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 20px 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .18s, opacity .18s, visibility .18s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a:not(.nav-cta) { display: block; padding: 13px 0; border-bottom: 1px solid var(--silver-200); }
  .main-nav .nav-cta { display: none; }
  .shelf-grid { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .shelf-item { border: none; border-bottom: 1px solid var(--silver-200); }
  .shelf-item:last-child { border-right: none; }
  .icon-card-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .step-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .shelf-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr 1fr; }
}
