/* =========================================================
   포커번호판 · 골드번호판 — 디자인 시스템 (블랙 & 화이트)

   설계 원칙 4가지
   1. 색은 검정·흰색·회색 세 가지만 쓴다. 예외는 두 가지뿐이다.
      · 카카오 노랑 — 문의 버튼. 이 사이트의 목적이라 눈에 띄어야 한다.
      · 연두·파랑 — 법인/전기차 번호판. 실제 번호판 색이라 바꿀 수 없다.
      강조가 여러 개면 강조가 없는 것과 같다.
   2. 주인공은 "번호판"이다. 번호판은 이미지가 아니라 CSS 로 그린다.
      - 글자라서 어느 화면에서도 또렷하다 (이미지는 확대하면 뭉갠다)
      - 번호를 바꾸려면 HTML 의 숫자만 고치면 된다
   3. 이 사이트의 목적은 딱 하나, "문의"다. 화면 어디에 있든
      문의로 가는 길이 한 번의 클릭 안에 있어야 한다.
   4. 여백을 아끼지 않는다. 여백이 곧 "고급"이라는 신호다.

   색·간격·글꼴 기준값은 아래 :root 에 전부 모아뒀습니다.
   여기 숫자만 바꾸면 사이트 전체가 한 번에 바뀝니다.
   ========================================================= */

/* ---------------------------------------------------------
   0. 리셋 — 브라우저마다 다른 기본값을 먼저 없앱니다
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img, picture, svg { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

/* OS 에서 "동작 줄이기"를 켠 사람에게는 애니메이션을 끕니다.
   (헤드리스 브라우저로 화면을 검증할 때도 이 규칙이 쓰입니다) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------
   1. 기준값 — 여기만 바꾸면 전체가 바뀝니다
   --------------------------------------------------------- */
:root {
  /* ---- 검정 계열 ---- */
  --ink:      #0b0b0c;   /* 가장 진한 검정 — 헤더, 검은 섹션, 버튼 */
  --ink-2:    #17181b;   /* 검은 섹션 위의 카드 */
  --ink-3:    #24262a;   /* 검은 배경 위의 선 */

  /* ---- 흰색 계열 ---- */
  --paper:    #ffffff;   /* 기본 배경 */
  --paper-2:  #f5f5f6;   /* 번갈아 쓰는 섹션 배경 */
  --paper-3:  #ebebed;   /* 표 머리글 등 */

  /* ---- 선 ---- */
  --line:      #e2e2e5;
  --line-soft: #efeff1;

  /* ---- 글자 ---- */
  --text:    #0b0b0c;   /* 본문 (밝은 배경 위) */
  --text-2:  #5f6167;   /* 보조 설명 */
  --text-3:  #8a8d94;   /* 더 흐린 글자, 캡션 */
  --on-ink:   #f4f4f5;  /* 검은 배경 위의 본문 */
  --on-ink-2: #a7a9af;  /* 검은 배경 위의 보조 설명 */

  /* ---- 카카오톡 노랑 — 문의 버튼 전용 ----
     카카오가 정한 값입니다. 임의로 바꾸지 마세요. */
  --kakao:      #fee500;
  --kakao-dark: #f2d900;
  --kakao-text: #191600;

  /* ---- 실제 번호판 색 ----
     사용자가 준 실물 사진(법인번호판.jpg / 전기차 번호판.jpg)에서
     직접 뽑아낸 값입니다. 추측한 색이 아니니 임의로 바꾸지 마세요.
       연두 = 법인 승용차 (검은 글씨, 왼쪽 파란 띠 있음)
       하늘 = 전기차     (검은 글씨, 파란 띠 없음 · EV 마크) */
  --plate-green: #cfef85;
  --plate-ev:    #8cc5d8;

  /* ---- 신호색 ---- */
  --ok:  #1f7a45;   /* 가능 */
  --no:  #b0342c;   /* 불가 */

  /* ---- 글꼴 ---- */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  /* 번호판 숫자 전용 — 폭이 일정한 글꼴이라야 번호판처럼 보입니다 */
  --font-plate: "Pretendard Variable", Pretendard, "Helvetica Neue", Arial, sans-serif;

  /* ---- 폭 ---- */
  --wrap:   1180px;   /* 화면 전체 최대 폭 */
  --max-rd: 62ch;     /* 본문 한 줄 최대 길이 — 너무 길면 읽다가 줄을 놓칩니다 */

  /* ---- 간격 ---- */
  --pad:      24px;   /* 좌우 여백 (모바일) */
  --sec:      96px;   /* 섹션 위아래 여백 */
  --header-h: 68px;   /* 상단 고정 헤더 높이 */

  /* ---- 첫 화면 배경 사진 ----
     지금은 사진 없이 그라데이션만 나옵니다. 사진을 넣으려면
       1) 파일을 assets/hero.webp 라는 이름으로 넣고
       2) 아래 none 을  url("/assets/hero.webp")  으로 바꾸세요. */
  --hero-img: none;
}

@media (max-width: 720px) {
  :root { --sec: 64px; --pad: 20px; --header-h: 60px; }
}

/* ---------------------------------------------------------
   2. 바탕
   --------------------------------------------------------- */
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: -0.011em;   /* 한글은 살짝 좁혀야 덩어리로 읽힙니다 */
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* 화면에는 안 보이지만 스크린리더는 읽는 글 (접근성) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 키보드 Tab 으로 이동할 때 지금 어디인지 보이게 합니다 */
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 고정 헤더에 제목이 가리지 않도록, 앵커로 이동할 때 그만큼 띄웁니다 */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------------------------------------------------------
   3. 헤더 — 위에 붙어서 따라옵니다
   --------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
/* 스크롤을 내리면 아래쪽 경계선이 생깁니다 (script.js 가 붙여줍니다) */
.header.is-scrolled { border-bottom-color: var(--ink-3); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo__mark {
  font-size: 17px; font-weight: 800; letter-spacing: 0.02em;
  color: #fff;
}
.logo__sub {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-ink-2); font-weight: 500; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--on-ink-2);
  transition: color .18s ease;
}
.nav a:hover { color: #fff; }

.header__cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 18px;
  background: var(--kakao); color: var(--kakao-text);
  border-radius: 999px;
  font-size: 14px; font-weight: 700;
  transition: background-color .18s ease;
}
.header__cta:hover { background: var(--kakao-dark); }
.header__cta svg { width: 17px; height: 17px; flex: none; }

/* 모바일 메뉴 여닫이 버튼 — 넓은 화면에서는 숨깁니다 */
.burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  padding: 0; position: relative;
}
.burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px;
  background: #fff; transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19.5px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }

  /* 열렸을 때만 보이는 모바일 메뉴.
     ⚠ [hidden] 이 display:flex 에 지지 않도록 아래 규칙을 반드시 둡니다.
        (예전에 이것 때문에 메뉴가 열린 채로 나온 적이 있습니다) */
  .m-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-3);
    padding: 12px var(--pad) 24px;
    display: flex; flex-direction: column; gap: 2px;
    z-index: 99;
  }
  .m-nav[hidden] { display: none !important; }
  .m-nav a {
    padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--on-ink);
    border-bottom: 1px solid var(--ink-3);
  }
  .m-nav a:last-child {
    border-bottom: 0; margin-top: 12px;
    background: #fff; color: var(--ink);
    text-align: center; border-radius: 999px; padding: 15px;
  }
}
@media (min-width: 901px) { .m-nav { display: none !important; } }

/* ---------------------------------------------------------
   4. 히어로 — 첫 화면
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 88px;
  overflow: hidden;
}

/* 배경 사진 자리 — 실제 주소는 위 :root 의 --hero-img 한 줄에서 정합니다.
   없는 파일을 여기 미리 적어두면 방문자마다 헛걸음 요청이 한 번씩 가기 때문에
   기본값을 none 으로 두고 필요할 때만 켜도록 나눴습니다. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center right;
  opacity: .5;
  filter: grayscale(1) contrast(1.05);
}
/* 사진 위에 글씨가 얹혀도 읽히도록 왼쪽을 어둡게 덮습니다 */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--ink) 0%, rgba(11,11,12,.92) 38%, rgba(11,11,12,.35) 72%, rgba(11,11,12,.6) 100%),
    radial-gradient(120% 90% at 78% 40%, rgba(255,255,255,.08), transparent 60%);
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--on-ink-2); text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--on-ink-2);
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}
.hero h1 em { font-style: normal; display: block; }

.hero__lead {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--on-ink-2);
  max-width: 34em;
  line-height: 1.85;
}
.hero__lead strong { color: #fff; font-weight: 600; }

.hero__actions {
  margin-top: 38px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

.hero__note {
  margin-top: 26px;
  font-size: 13px; color: var(--on-ink-2);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--on-ink-2);
}

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
  .hero::before { background-position: center; opacity: .35; }
}

/* ---------------------------------------------------------
   5. 번호판 — CSS 로 그립니다 (이미지가 아닙니다)

   실제 한국 번호판(유럽형, 520 x 110mm)의 비율과 구성을 따랐습니다.
   왼쪽 파란 띠 + KOR + 태극 자리, 오른쪽에 "12가 7777".
   크기는 --plate-w 하나로 조절합니다.
   --------------------------------------------------------- */
/* ⚠ 크기 계산에 대하여 — 여기 손댈 때 반드시 읽으세요.

   번호판 안의 글자는 판 너비에 비례해야 합니다. 그런데 font-size 에서 % 는
   "부모 글자 크기"를 뜻하지 "부모 너비"가 아닙니다.
   처음에 calc(너비 * 0.225) 로 짰다가, 카드 안에서는 글자가 3px 로 줄고
   첫 화면에서는 "12가" 가 판 밖으로 넘쳐 잘렸습니다.

   그래서 cqw(컨테이너 너비의 1%)를 씁니다. 번호판을 감싼 상자에
   container-type: inline-size 를 주면, 1cqw = 그 상자 너비의 1% 가 됩니다.
   px 값을 먼저 적고 cqw 를 덧쓴 이유는, cqw 를 모르는 옛 브라우저에서도
   글자가 사라지지 않게 하기 위해서입니다. */
.plate-box,
.hero__plate,
.kind__plate {
  container-type: inline-size;
}

.plate {
  display: flex;
  align-items: stretch;
  width: 100%;
  aspect-ratio: 520 / 110;
  background: #fff;
  border-radius: 8px;
  border-radius: 2.6cqw;
  border: 1px solid #d8d8dc;
  border-width: max(1px, 0.5cqw);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 10px 30px rgba(0,0,0,.28);
  overflow: hidden;
  user-select: none;
}

/* 왼쪽 파란 띠 */
.plate__band {
  flex: none;
  width: 13%;
  background: linear-gradient(180deg, #1c3f8f, #17357a);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 6%;
  gap: 8%;
}
.plate__band i {           /* 태극 자리 — 원 하나로 단순하게 */
  display: block;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(160deg, #d8443c 50%, #2b52b5 50%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.3);   /* 파란 띠 위에서 윤곽이 살아나게 */
}
.plate__band b {
  font-size: 11px;
  font-size: 4.4cqw;
  font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* 오른쪽 번호 영역 */
.plate__num {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  gap: 3cqw;
  font-family: var(--font-plate);
  color: #101114;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  padding-inline: 2.5cqw;
}
/* ⚠ 앞뒤 글자 크기는 똑같아야 합니다.
   실물 번호판은 "123가 7777" 여덟 글자가 전부 같은 높이입니다.
   (사용자 요청이자, 실물 사진에서도 확인한 사실입니다)

   ⚠ 아래 값을 올리면 좁은 카드에서 번호가 판 밖으로 넘칩니다.
   앞자리가 세 자리라 여덟 글자가 한 줄에 들어가야 합니다.
   고칠 때는 반드시 실제 화면에서 넘침 여부를 확인하세요. */
.plate__pre,
.plate__main {
  font-size: 33px;
  font-size: 13.6cqw;
  letter-spacing: -0.01em;
}
.plate__pre  { font-weight: 700; letter-spacing: -0.03em; }
.plate__main { font-weight: 700; }

/* ---- 번호판 색 변형 ----

   법인(연두)은 흰 번호판과 생김새가 같습니다. 바탕색만 다릅니다. */
.plate--green { background: var(--plate-green); border-color: #b9d972; }
.plate--green .plate__num { color: #14170c; }

/* 전기차(하늘색)는 생김새 자체가 다릅니다. 실물 사진 기준으로:
     · 왼쪽 파란 띠가 없다 (그래서 markup 에 plate__band 를 넣지 않았습니다)
     · 대신 왼쪽에 충전 플러그 마크 + 작은 KOR 도장
     · 오른쪽 끝에 EV 글자
     · 글씨는 흰색이 아니라 검은색 */
.plate--ev {
  background: var(--plate-ev);
  border-color: #6ba7bc;
  color: #10222a;
}
.plate--ev .plate__num { color: #10222a; }

.plate__ev-mark {
  flex: none;
  width: 11%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6%;
  padding-left: 1.5%;
  color: #1e5b78;
}
.plate__ev-mark svg { width: 62%; height: auto; }
.plate__seal {
  font-size: 5px;
  font-size: 2.4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 0.4em;
  line-height: 1.5;
}
.plate__ev {                     /* 오른쪽 끝 EV 글자 */
  flex: none;
  align-self: center;
  padding-right: 2.5%;
  font-size: 12px;
  font-size: 5cqw;
  font-weight: 800;
  font-style: italic;
  color: #1e5b78;
  letter-spacing: -0.02em;
}

/* 히어로 안의 큰 번호판.
   ⚠ 기울이지 않습니다. 예전에 perspective 로 살짝 눕혀 놨었는데
      사용자가 "반듯한 숫자"를 원해서 걷어냈습니다. 다시 넣지 마세요. */
.hero__plate {
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}
.hero__plate .plate { box-shadow: 0 26px 60px rgba(0,0,0,.55); }

/* 번호판 아래 작은 설명 — 실제 보유 번호로 오해하지 않도록 */
.hero__cap {
  margin-top: 18px;
  text-align: right;
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--on-ink-2);
}

@media (max-width: 940px) {
  .hero__plate { max-width: 380px; margin-left: 0; transform: none; }
  .hero__cap { text-align: left; }
}

/* ---------------------------------------------------------
   6. 버튼
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px;
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent; border-radius: 4px;
  cursor: pointer;
  transition: transform .16s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: #fff; color: var(--ink); }
.btn--primary:hover { background: var(--paper-3); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #24262a; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }

/* 카카오톡 버튼 — 이 사이트에서 가장 중요한 버튼입니다.
   검은 배경 위에서도 흰 배경 위에서도 그대로 씁니다. */
.btn--kakao { background: var(--kakao); color: var(--kakao-text); }
.btn--kakao:hover { background: var(--kakao-dark); }
.btn--kakao svg { width: 19px; height: 19px; }

.btn--block { width: 100%; }

.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------------------------------------------------------
   7. 섹션 공통
   --------------------------------------------------------- */
.section { padding-block: var(--sec); }
.section--alt  { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-ink); }
.section--dark .sec-head p { color: var(--on-ink-2); }
.section--dark .sec-head h2 { color: #fff; }
.section--dark .sec-head__line { background: rgba(255,255,255,.35); }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head__line { width: 34px; height: 2px; background: var(--ink); margin: 0 auto 24px; }
.sec-head h2 {
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 800; letter-spacing: -0.032em; line-height: 1.3;
}
.sec-head p {
  margin: 18px auto 0;
  max-width: var(--max-rd);
  color: var(--text-2);
  font-size: 15.5px; line-height: 1.85;
}

/* 아래에서 살짝 올라오며 나타나는 효과 (script.js 가 켜줍니다) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   8. 강점 4가지 — 아이콘 줄
   --------------------------------------------------------- */
.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.points li {
  text-align: center;
  padding: 40px 22px 8px;
  border-right: 1px solid var(--line);
}
.points li:last-child { border-right: 0; }
.points__icon {
  width: 40px; height: 40px; margin: 0 auto 20px;
  color: var(--ink);
}
.points h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.points p { font-size: 14px; color: var(--text-2); line-height: 1.75; }

@media (max-width: 860px) {
  .points { grid-template-columns: repeat(2, 1fr); }
  .points li:nth-child(2n) { border-right: 0; }
  .points li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .points { grid-template-columns: 1fr; }
  .points li { border-right: 0; padding: 30px 12px 6px; }
  .points li + li { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------
   9. 번호 종류 카드 (검은 섹션)
   --------------------------------------------------------- */
.kinds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 20px;
}

/* 법인 · 전기차 두 장짜리 줄 — 한 줄을 꽉 채우게 두 칸으로 둡니다.
   칸이 넓어지는 만큼 번호판도 커져서 색이 잘 보입니다. */
.kinds--pair { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.kinds-sub {
  margin: 52px 0 22px;
  text-align: center;
  font-size: 15px; font-weight: 600;
  color: var(--on-ink-2);
  letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.kinds-sub::before, .kinds-sub::after {
  content: ""; height: 1px; width: 40px; background: rgba(255,255,255,.25);
}
.kind {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  padding: 30px 26px 28px;
  display: flex; flex-direction: column;
}
.kind__tag {
  display: inline-flex; align-self: flex-start; align-items: center;
  height: 24px; padding: 0 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--on-ink-2); text-transform: uppercase;
  margin-bottom: 18px;
}
/* 법인(연두) · 전기차(파랑) 카드는 테두리와 꼬리표 색으로만 구분합니다.
   카드 배경까지 물들이면 검은 섹션의 통일감이 깨집니다. */
.kind--green { border-color: rgba(203,227,110,.45); }
.kind--green .kind__tag { border-color: rgba(203,227,110,.7); color: var(--plate-green); }

.kind--blue { border-color: rgba(140,197,216,.5); }
.kind--blue .kind__tag { border-color: rgba(140,197,216,.75); color: #b3dcea; }

.kind h3 { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.kind__desc { margin-top: 10px; font-size: 14.5px; color: var(--on-ink-2); line-height: 1.8; }

.kind__plate { margin: 24px 0 20px; }

.kind__list {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.kind__list li {
  font-family: var(--font-plate);
  font-size: 13px; font-weight: 600;
  color: var(--on-ink);
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 5px 10px;
  letter-spacing: 0.02em;
}
.kind--green .kind__list li { background: rgba(207,239,133,.15); color: #e2f2b8; }
.kind--blue  .kind__list li { background: rgba(140,197,216,.16); color: #cbe6ef; }

.kinds-note {
  margin-top: 40px; text-align: center;
  font-size: 15px; color: var(--on-ink-2);
}
.kinds-note strong { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------
   10. 가능 / 불가 조건 두 칸
   --------------------------------------------------------- */
.cond {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 820px) { .cond { grid-template-columns: 1fr; } }

.cond__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 30px;
}
.cond__box h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em;
  padding-bottom: 20px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.cond__badge {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex: none;
}
.cond--ok .cond__badge { background: var(--ok); }
.cond--no .cond__badge { background: var(--no); }

.cond__box li {
  padding: 15px 0 15px 28px;
  position: relative;
  font-size: 15px; line-height: 1.7;
  border-bottom: 1px solid var(--line-soft);
}
.cond__box li:last-child { border-bottom: 0; padding-bottom: 0; }
.cond__box li::before {
  position: absolute; left: 2px; top: 15px;
  font-weight: 800; font-size: 14px;
}
.cond--ok li::before { content: "✓"; color: var(--ok); }
.cond--no li::before { content: "✕"; color: var(--no); }
.cond__box li span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-2); }

.cond-note {
  margin-top: 26px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 4px;
  font-size: 14px; color: var(--text-2); line-height: 1.8;
}

/* ---------------------------------------------------------
   11. 진행 절차 4단계
   --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.steps li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 26px 32px;
  background: #fff;
}
.steps__no {
  font-family: var(--font-plate);
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.steps p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   12. 자주 묻는 질문 — <details> 를 그대로 씁니다
        (JS 없이도 열리고 닫히고, 검색엔진도 내용을 다 읽습니다)
   --------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 32px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--text-2);
  border-bottom: 1.5px solid var(--text-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__a {
  padding: 0 20px 26px 0;
  color: var(--text-2);
  font-size: 15px; line-height: 1.9;
  max-width: var(--max-rd);
}
.faq__a p + p { margin-top: 12px; }

/* ---------------------------------------------------------
   12-2. 작업 사진 띠 (자주 묻는 질문 ↔ 문의 사이)

   왼쪽으로 천천히 흘러가기만 합니다. 누를 수 없습니다.

   ⚠ 어떻게 끊기지 않고 도는가 —
     똑같은 줄(.works__track)을 두 벌 나란히 놓고, 둘 다 자기 너비만큼
     왼쪽으로 밉니다(translateX(-100%)). 첫 벌이 화면 밖으로 나가는 순간
     둘째 벌이 정확히 첫 벌의 시작 위치에 와 있어서 이음매가 안 보입니다.
     → 사진을 추가하면 HTML 의 두 벌 모두에 똑같이 넣어야 합니다.
        한쪽만 넣으면 두 벌의 너비가 달라져서 툭툭 끊깁니다.
   --------------------------------------------------------- */
.works-band {
  background: var(--ink);
  padding: 40px 0 44px;
  overflow: hidden;
}

/* ⚠ 한글에는 자간을 넓게 주면 안 됩니다.
   0.2em 을 줬더니 "작 업  사 진" 처럼 낱글자로 흩어져 보였습니다. */
.works-band__title {
  text-align: center;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-ink-2);
  margin-bottom: 26px;
}

.works {
  display: flex;
  width: 100%;
  overflow: hidden;   /* 줄이 화면 밖으로 나가 가로 스크롤이 생기지 않게 */
  /* 누르거나 끌 수 없게 막습니다 — 사용자가 "눌러도 아무 효과 없이"를 원했습니다 */
  pointer-events: none;
  user-select: none;
  /* 양 끝을 배경색으로 자연스럽게 흐리게 */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.works__track {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
  animation: works-scroll 90s linear infinite;
}

.works__track img {
  width: 190px; height: 190px;
  flex: none;
  object-fit: cover;
  border-radius: 6px;
  background: var(--ink-2);   /* 사진이 뜨기 전 빈 칸이 하얗게 번쩍이지 않게 */
}

@keyframes works-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* "동작 줄이기"를 켠 사람에게는 아예 멈춥니다.
   (위쪽 전역 규칙은 duration 만 줄여서, 그것만으로는 끝 위치로 튀어버립니다) */
@media (prefers-reduced-motion: reduce) {
  .works__track { animation: none; }
}

@media (max-width: 720px) {
  .works-band { padding: 32px 0 34px; }
  .works-band__title { margin-bottom: 20px; }
  .works__track img { width: 140px; height: 140px; }
}

/* ---------------------------------------------------------
   13. 문의 — 왼쪽 안내 / 오른쪽 폼
   --------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 44px; } }

.contact__intro h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800; letter-spacing: -0.032em; line-height: 1.3;
}
.contact__intro > p {
  margin-top: 20px; color: var(--text-2);
  font-size: 15.5px; line-height: 1.85; max-width: var(--max-rd);
}

.contact__list { margin-top: 36px; }
.contact__list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact__list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--text-2); }
.contact__list b { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; }
.contact__list span { font-size: 16px; font-weight: 600; }
.contact__list a:hover span { text-decoration: underline; }

/* --- 폼 --- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 32px 32px;
}

/* ⚠ 휴대폰에서는 폼 전체가 한 화면에 들어와야 합니다.
   방문자가 이 화면을 통째로 캡처해서 카톡으로 보내기 때문입니다.
   처음에 890px 로 만들었더니 아이폰 SE(쓸 수 있는 높이 598px)에서
   아래가 잘렸습니다. 그래서 아래처럼 촘촘하게 줄였습니다.
   여백을 다시 늘리려면 반드시 높이를 재보고 하세요. */
@media (max-width: 520px) {
  .form { padding: 14px 14px 14px; }
  .form__lead { margin-bottom: 10px; font-size: 12px; }
  .form__lead b { width: 16px; height: 16px; font-size: 10px; margin-right: 5px; }
  .form__row { margin-bottom: 10px; }
  .form__row--2 { grid-template-columns: 1fr 1fr; gap: 10px; }   /* 좁아도 두 칸을 유지 */
  .field label { font-size: 12px; margin-bottom: 5px; }
  .field input { padding: 10px 11px; font-size: 14.5px; }
  .chips__label { font-size: 12px; margin-bottom: 6px; }
  .chips { gap: 6px; }
  .chip span { min-height: 34px; padding: 0 11px; font-size: 13.5px; }
  .btn--capture { height: 50px; font-size: 15px; margin-top: 12px; }
  .form__hint { margin-top: 8px; font-size: 11.5px; }
}

/* 3단계 안내 줄 — 카드 위에 따로 놓입니다 (카드 안이 아닙니다) */
.form__lead {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 2px;
  margin-bottom: 14px;
  font-size: 13.5px; color: var(--text-2); line-height: 1.6;
}
.form__lead b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-right: 6px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700;
  flex: none;
}

.form__row { margin-bottom: 16px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--text);
  transition: border-color .16s ease, background-color .16s ease;
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a9acb2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
}

/* ---- 눌러서 고르는 체크 항목 ----
   목록(select)에서 바꿨습니다. 손가락으로 한 번만 누르면 되고,
   무엇보다 고른 것이 까맣게 칠해져서 캡처했을 때 한눈에 보입니다.

   ⚠ 진짜 체크박스를 안 보이게 숨겨두고 옆의 <span> 을 꾸미는 방식입니다.
      display:none 으로 숨기면 키보드로 이동이 안 되므로,
      화면에서만 안 보이게(투명 + 크기 0) 처리했습니다. */
.chips__label {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  margin-bottom: 9px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip { display: inline-flex; }
.chip input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  margin: 0;
}
.chip span {
  display: inline-flex; align-items: center;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 14.5px; font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip span:hover { border-color: #c3c4c8; }

/* 고른 것 — 까맣게 칠합니다 */
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-weight: 600;
}
/* 고른 것 앞에 체크 표시를 하나 더 붙입니다.
   캡처가 흑백으로 인쇄되거나 색이 죽어도 구분이 됩니다. */
.chip input:checked + span::before {
  content: "✓";
  margin-right: 7px;
  font-size: 12px;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* 캡처해서 보내라고 안내하는 노란 버튼 — 이 페이지의 목적지입니다.
   평범한 버튼보다 크게 잡았습니다. */
.btn--capture { height: 60px; font-size: 16.5px; margin-top: 22px; }

.form__hint { margin-top: 14px; font-size: 12.5px; color: var(--text-3); line-height: 1.7; text-align: center; }

/* ---------------------------------------------------------
   14. 하단 띠 CTA + 푸터
   --------------------------------------------------------- */
.strip {
  background: var(--ink); color: #fff;
  padding-block: 56px;
  text-align: center;
}
.strip h2 { font-size: clamp(21px, 2.8vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.strip p { margin-top: 12px; color: var(--on-ink-2); font-size: 15px; }
.strip__actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.footer {
  background: #08080a; color: var(--on-ink-2);
  padding-block: 44px 40px;
  border-top: 1px solid var(--ink-3);
  font-size: 13px;
}
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  padding-bottom: 26px; margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-3);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a:hover { color: #fff; }
.footer dl { display: flex; flex-wrap: wrap; gap: 6px 22px; line-height: 1.9; }
.footer dl div { display: flex; gap: 8px; }
.footer dt { color: #6d7076; }
.footer__legal { margin-top: 20px; line-height: 1.85; color: #6d7076; font-size: 12.5px; }
.footer__copy { margin-top: 18px; color: #55585e; font-size: 12.5px; }

/* ---------------------------------------------------------
   15. 모바일 하단 고정 문의 바
        휴대폰에서는 화면 아래에 전화·문의 버튼이 항상 붙어 있습니다.
   --------------------------------------------------------- */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none;
  gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,11,12,.96);
  border-top: 1px solid var(--ink-3);
  transition: transform .25s ease;
}

/* ⚠ 문의 폼이 화면에 들어오면 이 바를 내려서 감춥니다 (script.js 가 붙입니다).
   이유가 두 가지입니다.
     1. 폼 맨 아래 노란 버튼을 이 바가 가립니다.
     2. 노란 카톡 버튼이 두 개 보여서 어느 것을 눌러야 할지 헷갈립니다.
   폼이 보일 때는 폼 안의 버튼만 남는 게 맞습니다. */
.dock.is-away { transform: translateY(120%); }
.dock a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 48px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
}
.dock__ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.dock__kakao { background: var(--kakao); color: var(--kakao-text); }
.dock svg { width: 17px; height: 17px; }

@media (max-width: 720px) {
  .dock { display: flex; }
  body { padding-bottom: 70px; }   /* 고정 바에 마지막 내용이 가리지 않게 */
}
