/* ===========================================================================
   기가아이즈(CCTV) 페이지 전용 (business/cctv.html 만 싣는다) — 2026-10-06 리디자인
   - 공통 CSS(style.css · business.css · common-header.css)는 고치지 않고 여기서 덮는다.
   - 토큰·버튼·히어로·수치 바·폼·고정 상담 버튼은 하이오더·소상공인 메인·서빙로봇(highorder.css ·
     business-index.css · robot.css)과 같은 값을 **복사**했다. ⛔ 그 파일들을 불러오지 말 것 — 공통화는 docs/보류항목.md.
   - 본문은 전부 .cc 범위 안이다. 범위 밖에 쓰는 것은 아래 「페이지 전역」 블록뿐이다.
   - 빨강은 사이트 톤 #E60012. 글꼴은 이 페이지가 싣는 static 'Pretendard'.
   =========================================================================== */
.cc {
  --cc-red: #E60012;      --cc-red-hover: #C00010;   --cc-red-on-dark: #FF4D5A;
  --cc-red-tint: #FDE8E9; --cc-red-tint-2: #FFF6F6;
  --cc-ink: #111;         --cc-body: #555;           --cc-body-2: #444;
  --cc-muted: #888;       --cc-faint: #AAA;
  --cc-bg-gray: #F6F6F6;  --cc-chip: #F4F4F4;        --cc-line: #EEE;  --cc-line-2: #E8E8E8;
  --cc-dark: #111;        --cc-dark-card: #1E1E1E;   --cc-dark-line: #333;
  --cc-photo-bg: #F2F3F5;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
  color: var(--cc-ink);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
.cc [hidden] { display: none !important; }
.cc img { display: block; max-width: 100%; }
.cc h1, .cc h2 { text-wrap: balance; }
.cc p { text-wrap: pretty; }

/* ---- 공통 틀 ---- */
.cc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cc-sec { padding: 96px 0; }
.cc-sec--gray { background: var(--cc-bg-gray); }
.cc-sec--dark { background: var(--cc-dark); color: #fff; }
.cc-stack { display: flex; flex-direction: column; gap: 48px; }
.cc-head { display: flex; flex-direction: column; gap: 12px; }
.cc-head--center { align-items: center; text-align: center; }
.cc-eyebrow { font-size: 14px; font-weight: 700; color: var(--cc-red); }
.cc-sec--dark .cc-eyebrow { color: var(--cc-red-on-dark); }
.cc-h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -.03em; font-weight: 800; }
.cc-grid { display: grid; gap: 20px; }
.cc-num { font-size: 13px; font-weight: 800; color: var(--cc-red); }

/* ---- 버튼 ---- */
.cc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px; border-radius: 12px; border: 0;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3;
  cursor: pointer; text-decoration: none; transition: background-color .15s, color .15s;
}
.cc-btn--red { background: var(--cc-red); color: #fff; }
.cc-btn--red:hover { background: var(--cc-red-hover); color: #fff; }
.cc-btn--gray { background: var(--cc-chip); color: var(--cc-ink); }
.cc-btn--gray:hover { background: #E9E9E9; color: var(--cc-ink); }
.cc-btn--white { background: #fff; color: var(--cc-red); font-weight: 800; }
.cc-btn--white:hover { background: #F6F6F6; color: var(--cc-red-hover); }
.cc-btn--black { background: #111; color: #fff; }
.cc-btn--black:hover { background: #2A2A2A; color: #fff; }
.cc-btn:focus-visible { outline: 3px solid var(--cc-ink); outline-offset: 2px; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ① 히어로 + ② 수치 바 */
.cc-hero { padding: 72px 0 56px; }
.cc-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.cc-hero-text { display: flex; flex-direction: column; gap: 24px; }
.cc-chip-outline { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--cc-red); border: 1px solid var(--cc-red); padding: 6px 12px; border-radius: 999px; line-height: 1.3; }
.cc-h1 { margin: 0; font-size: clamp(34px, 6vw, 68px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
.cc-h1 em { color: var(--cc-red); font-style: normal; }
.cc-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--cc-body-2); max-width: 440px; }
.cc-hero-media { aspect-ratio: 4 / 3.4; border-radius: 28px; overflow: hidden; background: var(--cc-photo-bg); }
.cc-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.cc-stats-sec { padding: 0 0 72px; }
.cc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--cc-line-2); border: 1px solid var(--cc-line-2); border-radius: 20px; overflow: hidden; margin: 0; }
.cc-stat { background: #fff; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.cc-stat dt { font-size: 14px; color: #666; font-weight: 600; }
.cc-stat dd { margin: 0; }
.cc-stat-num { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.cc-stat-note { font-size: 14px; color: var(--cc-muted); }

/* ③ 이런 고민 있으세요? */
.cc-worry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px; align-items: center; }
.cc-checkbox { background: #fff; border-radius: 14px; padding: 24px 28px; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cc-checkbox li, .cc-plan-items li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--cc-body-2); }
.cc-checkbox li::before, .cc-plan-items li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--cc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.cc-case-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cc-case { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.cc-case-img { aspect-ratio: 16 / 10; background: #fff; }
.cc-case-img img { width: 100%; height: 100%; object-fit: contain; }
.cc-case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cc-case-tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--cc-red); background: var(--cc-red-tint); padding: 5px 10px; border-radius: 8px; }
.cc-case-body h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; }
.cc-case-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--cc-body); }

/* ④ 핵심 기능 */
.cc-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cc-head-row .cc-head { max-width: 640px; }
.cc-head-sub { margin: 0; font-size: 16px; line-height: 1.6; color: var(--cc-body); max-width: 400px; }
.cc-feat-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin: 0; padding: 0; list-style: none; }
.cc-feat { background: var(--cc-bg-gray); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.cc-feat h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.cc-feat p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--cc-body); }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cc-chips li { font-size: 15px; padding: 10px 18px; border-radius: 999px; background: var(--cc-chip); }

/* ⑤ 상품 라인업 */
.cc-plans-h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; }
.cc-plan-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cc-plan { background: var(--cc-dark-card); border: 2px solid transparent; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cc-plan--hl { border-color: var(--cc-red); }
.cc-plan-tag { font-size: 13px; font-weight: 700; color: var(--cc-red-on-dark); }
.cc-plan-name { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cc-plan-price { font-size: 15px; color: #CFCFCF; }
.cc-plan-price b { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.cc-plan-price small { display: block; margin-top: 2px; font-size: 12px; color: #9A9A9A; }
.cc-plan-items { margin: 4px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--cc-dark-line); display: flex; flex-direction: column; gap: 10px; }
.cc-plan-items li { font-size: 15px; color: #E2E2E2; }
.cc-plan .cc-btn { margin-top: auto; min-height: 48px; padding: 12px; }
.cc-plan .cc-btn--dark { background: #333; color: #fff; }
.cc-plan .cc-btn--dark:hover { background: #444; color: #fff; }
.cc-plans-note { margin: 0; font-size: 13px; color: #9A9A9A; }

/* ⑥ 카메라 대수별 요금 + 부가서비스 */
.cc-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: start; }
.cc-price-left { display: flex; flex-direction: column; gap: 24px; }
.cc-table-wrap { border: 1px solid var(--cc-line-2); border-radius: 20px; overflow: hidden; }
.cc-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cc-table th, .cc-table td { padding: 16px 20px; font-size: 16px; text-align: left; border-bottom: 0; border-top: 1px solid var(--cc-line); line-height: 1.4; white-space: nowrap; }
.cc-table thead th { border-top: 0; background: var(--cc-bg-gray); font-size: 14px; font-weight: 700; color: #666; }
.cc-table thead th.cc-ipass { background: var(--cc-red); color: #fff; font-weight: 800; }
.cc-table tbody th { font-weight: 700; background: transparent; color: var(--cc-ink); }
.cc-table tbody td { color: var(--cc-body-2); font-weight: 600; }
.cc-table tbody td.cc-ipass { background: var(--cc-red-tint-2); color: var(--cc-red); font-weight: 800; }
.cc-price-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--cc-muted); }
.cc-price-right { display: flex; flex-direction: column; gap: 16px; }
.cc-label { font-size: 14px; font-weight: 700; color: var(--cc-body-2); }
.cc-vas { background: var(--cc-bg-gray); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.cc-vas-q { font-size: 14px; color: #666; font-weight: 600; }
.cc-vas strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cc-vas-note { font-size: 14px; color: var(--cc-body); }
.cc-pkg { background: var(--cc-dark); color: #fff; border-radius: 20px; padding: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; text-decoration: none; }
.cc-pkg:hover { color: #fff; }
.cc-pkg:focus-visible { outline: 3px solid var(--cc-red); outline-offset: 2px; }
.cc-pkg span { font-size: 15px; color: #CFCFCF; }
.cc-pkg strong { font-size: 18px; font-weight: 800; }
.cc-pkg:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* ⑦ 상담 신청 — 마크업·name·전송 스크립트는 그대로, 겉모습만 */
.cc-consult { position: relative; }
.cc-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.cc-consult-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.cc-consult-inner .cc-head p { margin: 0; font-size: 16px; color: var(--cc-body); }
/* 상담 신청서 — 공통 /css/biz-form.css 로 옮김(2026-10-09 · 8개 페이지 같은 규칙이었다) */
/* 연락 카드 3개 */
.cc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.cc-contact-card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; color: var(--cc-ink); text-decoration: none; }
a.cc-contact-card:hover { color: var(--cc-ink); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.cc-contact-label { font-size: 14px; color: #666; font-weight: 600; }
.cc-contact-tel { font-size: 22px; font-weight: 800; color: var(--cc-red); }
.cc-contact-go { font-size: 20px; font-weight: 800; }
.cc-contact-addr { font-size: 15px; font-weight: 700; line-height: 1.5; }

/* ---- 고정 상담: 데스크톱 카드·접힌 버튼·플로팅 버튼 자리는 공통 css/biz-float.css(이 파일 뒤에 싣는다) · 여기는 1024px 미만 하단 바만 ---- */
.cc-mbar { display: none; }
.cc-mbar-spacer { display: none; }

/* ---- 페이지 전역 (이 파일은 이 페이지에만 실린다) ---- */
html { scroll-padding-top: 16px; }

@media (max-width: 1100px) {
  .cc-plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .cc-sec { padding: 64px 0; }
  .cc-wrap { padding: 0 20px; }
  .cc-hero { padding: 40px 0 40px; }
  .cc-hero-grid { gap: 32px; }
  .cc-lead { font-size: 17px; }
  .cc-btns .cc-btn { flex: 1 1 auto; }
  .cc-stats-sec { padding-bottom: 56px; }
  .cc-stat { padding: 22px 22px 20px; }
  .cc-stat-num { font-size: 34px; }
  .cc-plan-cards { grid-template-columns: 1fr; }
  .cc-checkbox { padding: 20px; }
  .cc-checkbox li { font-size: 15px; }
  /* 요금표는 모바일에서도 3열 — 셀 여백만 줄여 가로 스크롤 없이 */
  .cc-table th, .cc-table td { padding: 12px; font-size: 15px; }
  .cc-vas, .cc-feat, .cc-plan, .cc-case-body { padding: 24px; }
}
/* 고정 상담 버튼: 1024px 미만(폰·태블릿)은 하단 바 — 하이오더 페이지와 같은 기준(대표 승인 2026-10-06) */
@media (max-width: 1023.98px) {
  .cc-mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 890; gap: 8px;
    background: #fff; border-top: 1px solid var(--cc-line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
  .cc-mbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; text-decoration: none; line-height: 1.25; }
  .cc-mbar-tel { background: #111; color: #fff; }
  .cc-mbar-tel:hover { color: #fff; }
  .cc-mbar-tel span { font-size: 12px; opacity: .8; }
  .cc-mbar-tel strong { font-size: 16px; font-weight: 800; }
  .cc-mbar-consult { background: var(--cc-red); color: #fff; font-size: 17px; font-weight: 800; }
  .cc-mbar-consult:hover { color: #fff; }
  .cc-mbar-spacer { display: block; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-btn { transition: none; }
}
