/* =========================================================
   클린솔루션 음식물 처리기 A/S센터
   톤: 현장 사진 중심 · 네이비/블루 · 각진 형태 · 담백한 문구
   ========================================================= */

:root {
  --navy:     #0b2347;
  --navy-2:   #12315f;
  --blue:     #1d5bd8;
  --blue-d:   #1747ad;
  --blue-l:   #e8effc;
  --sky:      #7fb2ff;
  --ink:      #16202f;
  --ink-2:    #424d5e;
  --ink-3:    #7a8394;
  --line:     #dfe4ec;
  --gray:     #f4f6f9;
  --white:    #ffffff;

  --r:  6px;
  --r2: 10px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink); background: var(--white);
  line-height: 1.65; letter-spacing: -0.015em;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.32; letter-spacing: -0.035em; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pc-only { display: inline; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r);
  border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-d); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--lg { height: 56px; padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---------- 상단바 ---------- */
.topbar { background: var(--navy); color: #aebcd4; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r);
  background: var(--navy); color: var(--white);
  font-weight: 900; font-size: 15px; letter-spacing: -0.02em;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__text strong { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; }
.logo__text small { font-size: 12px; color: var(--ink-3); font-weight: 600; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--blue); }
.nav__cta-mobile { display: none; }
.nav__admin {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px; padding: 6px 12px !important;
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px !important; color: var(--ink-3) !important;
}
.nav__admin:hover { border-color: var(--navy); color: var(--navy) !important; }
.nav__admin svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.header__tel {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  padding-left: 22px; border-left: 1px solid var(--line);
}
.header__tel span { font-size: 12px; font-weight: 700; color: var(--blue); }
.header__tel strong { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); cursor: pointer; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 600px; display: flex; align-items: center;
  background: var(--navy); color: var(--white);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 50, .92) 0%, rgba(8, 24, 50, .78) 38%, rgba(8, 24, 50, .15) 72%, rgba(8, 24, 50, 0) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; }
.hero__kicker {
  display: inline-block; padding-left: 12px; border-left: 3px solid var(--sky);
  font-size: 15px; font-weight: 700; color: #cfe0ff;
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.24; letter-spacing: -0.045em;
}
.hero h1 span { color: var(--sky); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: 18px; color: #d3dcea; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* ---------- 약속 4가지 ---------- */
.promise { border-bottom: 1px solid var(--line); }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise__item { padding: 30px 24px; }
.promise__item + .promise__item { border-left: 1px solid var(--line); }
.promise__item strong { display: block; font-size: 18px; font-weight: 800; color: var(--navy); }
.promise__item strong::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; vertical-align: 3px;
  background: var(--blue);
}
.promise__item p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 100px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--navy); color: var(--white); }

.head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 44px; padding-bottom: 24px; border-bottom: 2px solid var(--navy);
}
.head--light { border-color: rgba(255, 255, 255, .25); }
.head__label { font-size: 14px; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.head__label--light, .head--light .head__label { color: var(--sky); }
.head h2, .why__copy h2, .area__copy h2, .faq-wrap__head h2, .contact h2 {
  font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--navy);
}
.head--light h2 { color: var(--white); }
.head__desc { font-size: 16px; color: var(--ink-2); text-align: right; }
.head--light .head__desc { color: #b9c6dc; }

/* ---------- 고장을 미루면 (불편함) ---------- */
.btn--outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.head__label--warn { color: #d9480f; }
.pain__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.pain__photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy); }
.pain__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.pain__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(5, 16, 34, .85));
  font-size: 14px; font-weight: 600; color: var(--white);
}
.pain__copy h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--navy); }
.pain__lead { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.pain__list { margin-top: 28px; border-top: 1px solid #d5dbe5; counter-reset: pain; }
.pain__list li {
  position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid #d5dbe5; counter-increment: pain;
}
.pain__list li::before {
  content: counter(pain); position: absolute; left: 0; top: 16px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #fff1ea; color: #d9480f; font-size: 14px; font-weight: 800;
}
.pain__list strong { display: block; font-size: 17px; font-weight: 800; color: var(--navy); }
.pain__list p { margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.pain__cta {
  margin-top: 28px; padding: 22px 24px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue);
}
.pain__cta p { font-size: 16px; color: var(--ink-2); }
.pain__cta b { color: var(--navy); }
.pain__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------- 수리 항목 ---------- */

.services {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service {
  position: relative; padding: 0 0 26px; overflow: hidden;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .15s;
}
.service:hover { background: #fafbfd; }
.service.is-hidden { display: none; }
.service__img {
  position: relative; margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray);
}
.service__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease, transform .35s;
}
.service__img img.is-on { opacity: 1; }
.service:hover .service__img img.is-on { transform: scale(1.04); }
/* 슬라이드 위치 표시 */
.service__dots {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  display: flex; gap: 4px; padding: 4px 6px; border-radius: 10px; background: rgba(11, 35, 71, .55);
}
.service__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .3s, width .3s; }
.service__dots i.is-on { width: 14px; border-radius: 3px; background: var(--white); }
/* 좌우 화살표 */
.service__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  opacity: 0; transition: opacity .2s, background .2s;
}
.service__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service__arrow--prev { left: 10px; }
.service__arrow--next { right: 10px; }
.service:hover .service__arrow, .service__arrow:focus-visible { opacity: 1; }
.service__arrow:hover { background: var(--white); }
.service__arrow:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* 마우스가 없는 기기(휴대폰·태블릿)에서는 항상 보이기 */
@media (hover: none) { .service__arrow { opacity: 1; } }
.service h3, .service > p, .service ul { padding: 0 22px; }
.service h3 { font-size: 18.5px; font-weight: 800; color: var(--navy); }
.service > p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); min-height: 4.9em; }
.service ul { margin-top: 14px; display: grid; gap: 4px; }
.service li { position: relative; padding-left: 14px; font-size: 14px; color: var(--ink); font-weight: 600; }
.service li::before { content: "–"; position: absolute; left: 0; color: var(--blue); }

.service--accent { background: var(--navy); }
.service--accent:hover { background: var(--navy-2); }
.service--accent h3, .service--accent li { color: var(--white); }
.service--accent > p { color: #b9c6dc; }
.service--accent li::before { color: var(--sky); }

.parts {
  display: flex; align-items: baseline; gap: 24px;
  margin-top: 28px; padding: 22px 24px; background: var(--gray); border-radius: var(--r);
}
.parts h3 { flex: none; font-size: 15.5px; font-weight: 800; color: var(--navy); }
.parts ul { display: flex; flex-wrap: wrap; gap: 4px 0; }
.parts li { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.parts li:not(:last-child)::after { content: "·"; margin: 0 10px; color: #b3bccb; }

.services__note {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 16px; padding: 20px 24px;
  border: 1px solid var(--line); border-radius: var(--r);
}
.services__note p { font-size: 16px; color: var(--ink-2); }
.services__note strong { color: var(--navy); }

/* ---------- 작업 현장 ---------- */
.field { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.field__item { position: relative; overflow: hidden; border-radius: var(--r); background: #071a36; }
.field__item--lg { grid-row: span 2; }
.field__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.field__item--lg img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 50% 42%; }
.field__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(5, 16, 34, .85));
  font-size: 14px; color: #c9d4e6;
}
.field__item figcaption b { display: block; font-size: 17px; color: var(--white); margin-bottom: 2px; }

/* ---------- 이렇게 일합니다 ---------- */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.why__photo { border-radius: var(--r); overflow: hidden; }
.why__photo { position: relative; }
.why__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.why__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(5, 16, 34, .85));
  font-size: 14px; font-weight: 600; color: var(--white);
}
.why__lead b { color: var(--navy); }
/* 점검 순서 */
.checkflow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 22px; counter-reset: cf; }
.checkflow li {
  counter-increment: cf; display: flex; align-items: center;
  font-size: 14.5px; font-weight: 700; color: var(--navy);
}
.checkflow li::before {
  content: counter(cf); display: grid; place-items: center; width: 22px; height: 22px; margin-right: 6px;
  border-radius: 50%; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 800;
}
.checkflow li:not(:last-child)::after { content: "→"; margin: 0 10px; color: #9aa6b8; font-weight: 400; }
.why__lead { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.why__list { margin: 32px 0 0; border-top: 1px solid var(--line); }
.why__list div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.why__list dt { font-size: 18px; font-weight: 800; color: var(--navy); }
.why__list dd { margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- 진행 절차 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process li { position: relative; padding: 0 28px 0 0; }
.process__no {
  display: block; font-size: 40px; font-weight: 800; line-height: 1;
  color: var(--blue); letter-spacing: -0.04em;
}
.process li::before {
  content: ""; position: absolute; top: 20px; left: 64px; right: 16px;
  height: 1px; background: #c5cfde;
}
.process li:last-child::before { display: none; }
.process h3 { margin-top: 18px; font-size: 18.5px; font-weight: 800; color: var(--navy); }
.process p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* ---------- 수리 사례 (실제 사진) ---------- */
.cases { display: grid; gap: 64px; }
.case { display: grid; gap: 22px; }
.case__head {
  display: grid; grid-template-columns: 300px 1fr; column-gap: 48px; row-gap: 10px;
  align-items: start;
}
.case__no {
  grid-column: 1; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--blue);
}
.case__head h3 { grid-column: 1; font-size: 24px; font-weight: 800; color: var(--navy); }
.case__head p { grid-column: 2; grid-row: 1 / span 2; font-size: 16px; color: var(--ink-2); }
.case__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li {
  padding: 4px 10px; border-radius: 4px; background: var(--gray);
  font-size: 13.5px; font-weight: 700; color: var(--navy-2);
}

.gallery { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 8px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--gray); cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(5, 16, 34, .82));
  font-size: 13.5px; font-weight: 600; color: var(--white); line-height: 1.4;
}

/* 사진 1장짜리 사례 : 사진 왼쪽, 글 오른쪽 */
.case--side { grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.case--side .case__head { grid-template-columns: 1fr; }
.case--side .case__head > * { grid-column: 1; grid-row: auto; }
.case--side .gallery img { aspect-ratio: 4 / 5; }

.cases__tip {
  margin-top: 56px; padding: 24px 28px;
  border-left: 4px solid var(--blue); background: var(--blue-l); border-radius: 0 var(--r) var(--r) 0;
}
.cases__tip strong { display: block; font-size: 17px; color: var(--navy); }
.cases__tip p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }

/* 사진 크게 보기 */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; background: rgba(4, 12, 26, .92);
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; color: #dfe6f2; }
.lightbox button {
  border: 0; background: rgba(255, 255, 255, .1); color: var(--white); cursor: pointer;
  font: inherit; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; }
.lightbox__nav { flex: none; width: 52px; height: 72px; border-radius: var(--r); font-size: 40px; }

/* ---------- 출장 지역 ---------- */
.area { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.area__copy > p:not(.head__label) { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.regions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 30px; }
.regions li {
  padding: 10px 0; text-align: center; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.area__biz { padding: 30px 28px; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.area__biz h3 { font-size: 18px; font-weight: 800; color: var(--navy); padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.biz li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.biz li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap__head > p:not(.head__label) { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.faq-wrap__tel { display: inline-block; margin-top: 18px; font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font-size: 17px; font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--ink-3); line-height: 1;
}
.faq details[open] summary::after { content: "–"; color: var(--blue); }
.faq details p { padding: 0 0 24px; font-size: 15.5px; color: var(--ink-2); }

/* ---------- 상담 접수 ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact h2 { color: var(--white); }
.contact__info > p:not(.head__label) { margin-top: 14px; font-size: 17px; color: #b9c6dc; }
.contact__tel { display: block; margin-top: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.contact__tel span { display: block; font-size: 14px; color: var(--sky); font-weight: 700; }
.contact__tel strong { display: block; margin-top: 2px; font-size: clamp(36px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
.contact__meta { margin: 24px 0 0; display: grid; gap: 14px; }
.contact__meta div { display: flex; gap: 16px; font-size: 15px; }
.contact__meta dt { flex: none; width: 72px; color: #8296b8; font-weight: 600; }
.contact__meta dd { margin: 0; color: #e3eaf6; }
.contact__meta a { text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: var(--white); color: var(--ink);
  border-radius: var(--r2); padding: 34px; display: grid; gap: 18px;
}
.form h3 { font-size: 21px; font-weight: 800; color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.form label b { color: var(--blue); }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink);
  background: var(--white); border: 1px solid #cfd6e1; border-radius: var(--r);
}
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 216, .12); }
.form input.is-invalid { border-color: #d93a3f; background: #fff7f7; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0; margin-bottom: 9px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.checks label { display: block; font-weight: 600; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 42px; padding: 6px; border-radius: var(--r);
  border: 1px solid #cfd6e1; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
}
.checks input:checked + span { border-color: var(--blue); background: var(--blue-l); color: var(--blue-d); font-weight: 700; }
.checks input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form .agree { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--ink-3); }
.agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.agree.is-invalid span { color: #d93a3f; }
.form__msg { font-size: 14.5px; font-weight: 600; text-align: center; min-height: 1em; }
.form__msg.is-ok { color: var(--blue); }
.form__msg.is-error { color: #d93a3f; }
.form__hint { margin-top: -8px; font-size: 14.5px; color: var(--ink-3); }
.form__hint b { color: var(--navy); }
.form legend small { font-weight: 500; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .65; cursor: wait; }

/* 사진 첨부 */
.upload__label { font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 9px; }
.upload__label small { margin-left: 4px; font-weight: 500; color: var(--ink-3); }
.upload__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.upload__item, .upload__add { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; }
.upload__item img { width: 100%; height: 100%; object-fit: cover; }
.upload__del {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(11, 35, 71, .8); color: var(--white);
  font-size: 16px; line-height: 1; cursor: pointer;
}
.upload__add {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px !important;
  border: 1.5px dashed #b9c4d6; background: var(--gray); color: var(--blue);
  font-size: 12.5px !important; font-weight: 700 !important; cursor: pointer;
}
.upload__add[hidden] { display: none !important; }
.upload__add:hover { border-color: var(--blue); background: var(--blue-l); }
.upload__add svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.upload__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__add.is-busy { pointer-events: none; opacity: .6; }
.upload__add.is-busy span::after { content: "…"; }

/* ---------- 푸터 ---------- */
.footer { background: #061630; color: #7f8faa; padding: 40px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.footer__brand strong { display: block; color: var(--white); font-size: 15.5px; margin-bottom: 10px; }
.footer__brand p { line-height: 1.85; }

.mobile-bar { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .nav a { padding: 8px 8px; font-size: 15px; }
  .header__inner { gap: 16px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery[style*="--n:5"], .gallery[style*="--n:6"] { grid-template-columns: repeat(3, 1fr); }
  .gallery[style*="--n:7"] { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-btn { display: flex; }
  .header__tel { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; padding: 4px 16px 18px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(11, 35, 71, .08);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__cta-mobile { display: block; margin-top: 12px; text-align: center; background: var(--blue); color: var(--white) !important; border-radius: var(--r); border: 0 !important; }
  .nav__admin { margin: 0; border: 0; border-bottom: 1px solid var(--line) !important; border-radius: 0; padding: 14px 4px !important; font-size: 16px !important; }

  .hero { min-height: 540px; }
  .hero::after { background: linear-gradient(90deg, rgba(8, 24, 50, .9), rgba(8, 24, 50, .6)); }

  .promise__grid { grid-template-columns: repeat(2, 1fr); }
  .promise__item:nth-child(3) { border-left: 0; }
  .promise__item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .head__desc { text-align: left; }

  .field { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .field__item--lg { grid-column: span 2; grid-row: auto; }
  .field__item--lg { aspect-ratio: 16 / 10; }

  .why, .area, .contact__inner, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .pain__inner { grid-template-columns: 1fr; gap: 32px; }
  .pain__photo img { aspect-ratio: 4 / 3; }
  .why__photo img { aspect-ratio: 16 / 10; }
  .faq-wrap__head { position: static; }
  .case__head { grid-template-columns: 1fr; }
  .case__head > * { grid-column: 1 !important; grid-row: auto !important; }
  .case--side { grid-template-columns: 1fr; gap: 20px; }
  .case--side .gallery { max-width: 360px; }

  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .process li:nth-child(2)::before { display: none; }

  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .pc-only { display: none; }
  .topbar__hours { display: none; }
  .topbar p { font-size: 12.5px; }
  .logo__text strong { font-size: 17px; }
  .logo__mark { width: 36px; height: 36px; font-size: 14px; }

  .hero { min-height: 0; }
  .hero__bg { object-position: 72% center; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { width: 100%; }

  .promise__item { padding: 22px 16px; }
  .promise__item strong { font-size: 16px; }
  .promise__item p { font-size: 14px; }

  .section { padding: 64px 0; }
  .head { margin-bottom: 28px; padding-bottom: 18px; }

  .services { grid-template-columns: 1fr; }
  .service {
    display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-content: start;
    padding: 16px;
  }
  .service__img { grid-row: 1 / span 3; margin: 0; aspect-ratio: 1 / 1; border-radius: 4px; }
  .service h3, .service > p, .service ul { padding: 0; }
  .service h3 { font-size: 17px; }
  .service > p { margin-top: 4px; font-size: 14px; }
  .service ul { margin-top: 8px; }
  .service li { font-size: 13.5px; }
  .service__dots { right: 6px; bottom: 6px; padding: 3px 4px; }
  .service__dots i { width: 5px; height: 5px; }
  .service__dots i.is-on { width: 10px; }
  .service__arrow { width: 26px; height: 26px; }
  .service__arrow svg { width: 14px; height: 14px; }
  .service__arrow--prev { left: 4px; }
  .service__arrow--next { right: 4px; }
  .service > p { min-height: 0; }
  .parts { flex-direction: column; gap: 10px; padding: 20px 18px; }
  .services__note { flex-direction: column; align-items: stretch; text-align: center; }

  .field { grid-template-columns: 1fr; }
  .field__item--lg { grid-column: auto; aspect-ratio: 4 / 5; }

  .process { grid-template-columns: 1fr; gap: 28px; }
  .process li { padding: 0 0 0 64px; }
  .process__no { position: absolute; left: 0; top: 2px; font-size: 32px; }
  .process h3 { margin-top: 0; }
  .process li::before { display: none; }

  .cases { gap: 48px; }
  .pain__photo img { aspect-ratio: 4 / 5; }
  .pain__list li { padding-left: 40px; }
  .pain__btns .btn { width: 100%; }
  .pain__cta { padding: 18px; }
  .case__head h3 { font-size: 21px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery figcaption { font-size: 12.5px; padding: 24px 8px 8px; }
  .case--side .gallery { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .lightbox__nav { position: absolute; bottom: 20px; width: 56px; height: 48px; font-size: 32px; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { left: calc(50% + 8px); }
  .lightbox img { max-height: calc(100vh - 160px); }
  .regions { grid-template-columns: repeat(4, 1fr); }
  .area__biz { padding: 24px 20px; }

  .faq summary { font-size: 16px; padding: 18px 40px 18px 0; }

  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .upload__grid { grid-template-columns: repeat(3, 1fr); }

  .footer { padding-bottom: 100px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: var(--r); font-weight: 800; font-size: 16px; color: var(--white);
  }
  .mobile-bar__call { background: var(--blue); }
  .mobile-bar__form { background: var(--navy); }
}
