/* ============================================================
   드론공장 v2 시안 — 다크 · 풀블리드 이미지 (xtagric 무드)
   기존 사이트와 완전 분리: .v2 루트 아래에서만 동작
   ============================================================ */
.v2 {
  --bg: #0a0b0c;
  --bg2: #121316;
  --panel: #17181c;
  --line: #26282e;
  --text: #f4f5f4;
  --muted: #9aa39e;
  --accent: #19c37d;
  --accent-d: #0f9d58;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  min-height: 100vh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all; overflow-wrap: break-word; /* 한글 단어 단위 줄바꿈 */
}
.v2 * { box-sizing: border-box; }
.v2 [hidden] { display: none !important; }
.v2 a { color: inherit; text-decoration: none; }
.v2 img { max-width: 100%; display: block; }
.v2 .wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- 헤더: 모델 탭 ---------- */
.v2 .hd { position: sticky; top: 0; z-index: 40; background: rgba(10,11,12,.86);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.v2 .hd__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.v2 .hd__brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.v2 .hd__logo { height: 46px; width: auto; filter: brightness(0) invert(1); }  /* 검정 로고 → 흰색 */
.v2 .hd__brandtx { display: flex; flex-direction: column; line-height: 1.15; }
.v2 .hd__brandtx b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.v2 .hd__brandtx small { color: var(--accent); font-size: .64rem; font-weight: 700; letter-spacing: .18em; }
.v2 .hd__nav { display: flex; gap: 2px; margin-left: 8px; overflow-x: auto; scrollbar-width: none; }
.v2 .hd__nav::-webkit-scrollbar { display: none; }
.v2 .hd__nav a { padding: 9px 14px; border-radius: 9px; font-size: .94rem; font-weight: 700;
  color: var(--muted); white-space: nowrap; transition: color .15s, background .15s; }
.v2 .hd__nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.v2 .hd__nav a.on { color: var(--accent); background: rgba(25,195,125,.1); }
.v2 .hd__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.v2 .hd__tel { font-weight: 800; font-size: .95rem; color: var(--text); }
.v2 .hd__btn { background: var(--accent); color: #062018; font-weight: 800; font-size: .9rem;
  padding: 9px 18px; border-radius: 999px; transition: transform .15s, background .15s; }
.v2 .hd__btn:hover { background: #27d68c; transform: translateY(-1px); }

/* ---------- 히어로 ---------- */
.v2 .hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; }
.v2 .hero--model { min-height: 74vh; }
.v2 .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.v2 .hero__shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,12,.34) 0%, rgba(10,11,12,.12) 40%, rgba(10,11,12,.92) 92%); }
.v2 .hero__in { position: relative; padding: 0 0 74px; width: 100%; }
.v2 .hero__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
  font-weight: 800; font-size: .86rem; letter-spacing: .14em; margin-bottom: 18px; }
.v2 .hero__tag::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.v2 h1.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -.025em; margin: 0 0 18px; }
.v2 .hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #cfd6d1; max-width: 640px; line-height: 1.7; }
.v2 .hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.v2 .btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; border: 0; cursor: pointer; transition: transform .16s, background .16s, border-color .16s; }
.v2 .btn--fill { background: var(--accent); color: #062018; }
.v2 .btn--fill:hover { background: #27d68c; transform: translateY(-2px); }
.v2 .btn--line { border: 1.5px solid rgba(255,255,255,.32); color: var(--text); background: transparent; }
.v2 .btn--line:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- 섹션 공통 ---------- */
.v2 .sec { padding: 96px 0; }
.v2 .sec--tight { padding: 72px 0; }
.v2 .sec__kicker { color: var(--accent); font-weight: 800; font-size: .84rem; letter-spacing: .16em; margin-bottom: 14px; }
.v2 h2.sec__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.v2 h1, .v2 h2, .v2 h3 { text-wrap: balance; } /* 한글 제목 줄바꿈 균형 */
.v2 .sec__sub { color: var(--muted); font-size: 1.05rem; line-height: 1.75; max-width: 620px; }

/* ---------- 홈: 모델 쇼케이스(풀블리드 교차) ---------- */
.v2 .show { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.v2 .show__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.v2 .show:hover .show__bg { transform: scale(1.03); }
.v2 .show__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,12,.88) 0%, rgba(10,11,12,.42) 52%, rgba(10,11,12,.06) 100%); }
.v2 .show--r .show__shade { background: linear-gradient(270deg, rgba(10,11,12,.88) 0%, rgba(10,11,12,.42) 52%, rgba(10,11,12,.06) 100%); }
.v2 .show__in { position: relative; width: 100%; }
.v2 .show__box { max-width: 520px; padding: 80px 0; }
.v2 .show--r .show__box { margin-left: auto; text-align: right; }
.v2 .show__cat { color: var(--accent); font-weight: 800; font-size: .82rem; letter-spacing: .18em; margin-bottom: 12px; }
.v2 .show__name { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; margin: 0 0 14px; }
.v2 .show__desc { color: #c7cfc9; font-size: 1.04rem; line-height: 1.75; margin-bottom: 26px; }
.v2 .show__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text);
  border-bottom: 2px solid var(--accent); padding-bottom: 5px; transition: color .15s, gap .2s; }
.v2 .show__link:hover { color: var(--accent); gap: 16px; }

/* ---------- 스탯 밴드 ---------- */
.v2 .stats2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.v2 .stats2 > div { background: var(--bg); text-align: center; padding: 44px 16px; }
.v2 .stats2 b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.v2 .stats2 span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- 모델 상세 ---------- */
.v2 .mh { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; }
.v2 .hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.v2 .hl > div { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; }
.v2 .hl b { display: block; font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.v2 .hl p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .94rem; }
.v2 table.spec { width: 100%; border-collapse: collapse; }
.v2 table.spec th, .v2 table.spec td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.v2 table.spec th { color: var(--muted); font-weight: 700; width: 220px; white-space: nowrap; }
.v2 table.spec td { color: var(--text); font-weight: 600; }
.v2 .gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.v2 .gal img { border-radius: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); background: #101114; }
.v2 .buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.v2 .buy__price { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-right: 8px; }

/* ---------- 연혁 타임라인 ---------- */
.v2 .tl { position: relative; margin-top: 40px; padding-left: 30px; }
.v2 .tl::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.v2 .tl__item { position: relative; padding: 0 0 44px; }
.v2 .tl__item::before { content: ""; position: absolute; left: -28px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.v2 .tl__year { font-size: 1.3rem; font-weight: 800; color: var(--accent); letter-spacing: -.01em; }
.v2 .tl__body { margin-top: 8px; }
.v2 .tl__body b { display: block; font-size: 1.08rem; font-weight: 800; margin-bottom: 5px; }
.v2 .tl__body p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .97rem; }

/* ---------- 문의(전화·이메일 + 지도) ---------- */
.v2 .ct { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: stretch; }
.v2 .ct__item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.v2 .ct__item:first-child { padding-top: 4px; }
.v2 .ct__k { color: var(--muted); font-weight: 700; font-size: .86rem; letter-spacing: .1em; margin-bottom: 10px; }
.v2 .ct__v { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
.v2 .ct__v a:hover { color: var(--accent); }
.v2 .ct__note { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.v2 .ct__map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: #101114; }
.v2 .ct__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.15) contrast(1.02); }

/* ---------- CTA 밴드 / 푸터 ---------- */
.v2 .band { position: relative; overflow: hidden; text-align: center; padding: 110px 0; }
.v2 .band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v2 .band__shade { position: absolute; inset: 0; background: rgba(8,9,10,.78); }
.v2 .band__in { position: relative; }
.v2 .ft { border-top: 1px solid var(--line); padding: 50px 0 60px; margin-top: auto; }
.v2 .ft__in { display: flex; flex-wrap: wrap; gap: 22px 46px; justify-content: space-between; align-items: flex-start; }
.v2 .ft p { margin: 4px 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.v2 .ft b { color: var(--text); font-size: 1.05rem; }
.v2 .ft__nav { display: flex; gap: 18px; flex-wrap: wrap; }
.v2 .ft__nav a { color: var(--muted); font-size: .9rem; font-weight: 600; }
.v2 .ft__nav a:hover { color: var(--accent); }
.v2 .ft__badge { display: inline-block; margin-top: 10px; font-size: .78rem; color: #6f7a74;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* ---------- 블로그 카드 ---------- */
.v2 .bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.v2 .bcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; transition: transform .18s, border-color .18s; }
.v2 .bcard:hover { transform: translateY(-4px); border-color: var(--accent); }
.v2 .bcard__thumb { aspect-ratio: 16/9; overflow: hidden; background: #101114; }
.v2 .bcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2 .bcard__cat { color: var(--accent); font-weight: 800; font-size: .78rem; letter-spacing: .1em; margin: 18px 20px 6px; }
.v2 .bcard__title { font-size: 1.08rem; font-weight: 800; line-height: 1.45; margin: 0 20px 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .bcard__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.65; margin: 0 20px 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .bcard__meta { color: #6f7a74; font-size: .82rem; font-weight: 600; margin: auto 20px 18px; }

/* ---------- 영상 카드 ---------- */
.v2 .vgrid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.v2 .vcard2 { display: flex; flex-direction: column; gap: 10px; }
.v2 .vcard2__thumb { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  background: #101114; border: 1px solid var(--line); }
.v2 .vcard2__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.v2 .vcard2:hover .vcard2__thumb img { transform: scale(1.05); }
.v2 .vcard2__play { position: absolute; inset: 0; margin: auto; width: 50px; height: 50px; border-radius: 999px;
  background: rgba(10,11,12,.7); transition: background .18s; }
.v2 .vcard2__play::before { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translateX(3px); }
.v2 .vcard2:hover .vcard2__play { background: var(--accent); }
.v2 .vcard2__title { font-size: .96rem; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .vcard2__meta { color: var(--muted); font-size: .84rem; font-weight: 600; }

/* ---------- 모델 간 이동 ---------- */
.v2 .mnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.v2 .mnav a { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  font-weight: 800; transition: border-color .15s, transform .15s; }
.v2 .mnav a:hover { border-color: var(--accent); transform: translateY(-3px); }
.v2 .mnav small { display: block; color: var(--muted); font-weight: 600; margin-top: 5px; font-size: .82rem; }

/* ---------- 반응형 ---------- */
@media (max-width: 1120px) {
  /* 헤더 2단: 윗줄 로고+상담버튼 / 아랫줄 모델 탭(가로 스크롤) */
  .v2 .hd__in { flex-wrap: wrap; height: auto; padding-top: 10px; column-gap: 14px; }
  .v2 .hd__brand { order: 1; }
  .v2 .hd__cta { order: 2; margin-left: auto; }
  .v2 .hd__tel { display: none; }
  .v2 .hd__nav { order: 3; width: 100%; margin: 4px 0 0 -14px; padding: 0 0 8px 14px; }
  .v2 .hd__logo { height: 38px; }
}
@media (max-width: 900px) {
  .v2 .hd__btn { padding: 8px 15px; font-size: .85rem; }
  .v2 .ct { grid-template-columns: 1fr; }
  .v2 .stats2 { grid-template-columns: repeat(2, 1fr); }
  .v2 .show { min-height: 66vh; }
  .v2 .show__shade, .v2 .show--r .show__shade { background: linear-gradient(180deg, rgba(10,11,12,.25) 0%, rgba(10,11,12,.9) 78%); }
  .v2 .show__box, .v2 .show--r .show__box { max-width: none; text-align: left; margin: 0; padding: 56px 0; align-self: flex-end; }
  .v2 .show { align-items: flex-end; }
}
@media (max-width: 600px) {
  .v2 .wrap { padding: 0 18px; }
  .v2 .sec { padding: 64px 0; }
  .v2 .hero { min-height: 72vh; }
  .v2 table.spec th { width: 128px; }
}
