/* ============================================================
   (주)재경 — 서브페이지 공용 스타일
   2026-08-23 신규. style.css 를 먼저 불러온 뒤 이 파일을 덧붙인다.
   (헤더·푸터·버튼·폼은 style.css 것을 그대로 쓴다)
   ============================================================ */

/* ---------- 서브 히어로 ---------- */
.sub-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--dark);
}
.sub-hero img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,24,19,0.45) 0%, rgba(14,24,19,0.78) 100%);
}
.sub-hero .inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.sub-hero .crumb {
  font-size: 0.83rem; color: #D9C295; margin-bottom: 14px; letter-spacing: 0.02em;
}
.sub-hero h1 {
  font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.4;
}
.sub-hero p {
  margin-top: 16px; font-size: 1rem;
  color: rgba(255,255,255,0.85); line-height: 1.9;
}

/* ---------- 공용 블록 ---------- */
.sub-block { padding: 110px 0; }
.sub-block.tint { background: var(--bg-alt); }

.wide-photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1217 / 515;          /* 원본 실측 비율 */
  background: var(--bg-alt);
}
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 인사말 2단 */
.greet { display: grid; grid-template-columns: 1.35fr 1fr; gap: 66px; align-items: start; }
.greet .eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600;
  color: var(--green); padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 2px solid var(--gold);
}
.greet h2 {
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.45; margin-bottom: 30px;
}
.greet p { color: var(--text-muted); font-size: 1rem; line-height: 2.05; margin-bottom: 22px; }
.greet .sign {
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 1.02rem; font-weight: 700; color: var(--text);
}
.greet-photo {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 342 / 513;           /* 원본 실측 비율 */
  background: var(--bg-alt);
}
.greet-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 회사 개요 표 */
.info-table {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--green);
  font-size: 0.97rem;
}
.info-table th, .info-table td {
  padding: 20px 22px; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  width: 190px; font-weight: 600; color: var(--text);
  background: var(--bg-alt);
}
.info-table td { color: var(--text-muted); }

/* ---------- 안내 카드 (신고방법) ---------- */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.doc-card.wide { grid-column: 1 / -1; }
.doc-card h3 {
  font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.doc-card h3 .step {
  display: inline-block; margin-right: 12px;
  color: var(--gold); font-weight: 800;
}
.doc-card li {
  display: flex; gap: 12px;
  color: var(--text-muted); line-height: 1.85;
  padding: 11px 0;
  font-size: 0.97rem;
}
.doc-card li::before {
  content: ""; flex: none;
  width: 3px; height: 16px; border-radius: 2px; margin-top: 7px;
  background: var(--gold);
}
.doc-card .foot {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 0.88rem; color: var(--text-faint); line-height: 1.8;
}

/* 절차 흐름 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow .step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.flow .step .no {
  font-size: 0.78rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.flow .step .t { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; }
.flow .step .d { font-size: 0.86rem; color: var(--text-muted); margin-top: 9px; line-height: 1.75; }

/* 작업 안내 2단 */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- 연락처 (오시는 길) ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.contact-card .bar { width: 26px; height: 3px; background: var(--gold); margin-bottom: 20px; }
.contact-card .k { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.contact-card .v {
  margin-top: 10px; font-size: 1.35rem; font-weight: 800;
  color: var(--green); letter-spacing: -0.03em; line-height: 1.45;
}
.contact-card .v.small { font-size: 1.05rem; font-weight: 700; }
.contact-card .n { margin-top: 12px; font-size: 0.88rem; color: var(--text-faint); line-height: 1.75; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.photo-pair figure {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 584 / 389;           /* 원본 실측 비율 */
  background: var(--bg-alt);
}
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 하단 상담 띠 ---------- */
.cta-band {
  background: var(--dark);
  color: #F4F2EC;
  padding: 84px 0;
  text-align: center;
}
.cta-band h2 { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.45; }
.cta-band p { margin-top: 16px; color: rgba(244,242,236,0.72); line-height: 1.9; }
.cta-band .tel {
  margin-top: 26px; font-size: 2.1rem; font-weight: 800;
  color: #D9C295; letter-spacing: -0.03em;
}
.cta-band .btn-cta {
  margin-top: 26px; display: inline-block;
  background: var(--gold); color: #fff; padding: 14px 34px; font-size: 0.95rem;
}
.cta-band .btn-cta:hover { background: var(--gold-dark); }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sub-hero { height: 280px; }
  .sub-hero h1 { font-size: 1.7rem; }
  .sub-block { padding: 70px 0; }
  .greet { grid-template-columns: 1fr; gap: 40px; }
  .greet h2 { font-size: 1.55rem; }
  .doc-grid, .work-grid, .photo-pair { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .info-table th { width: 120px; padding: 16px 14px; }
  .info-table td { padding: 16px 14px; }
  .cta-band { padding: 62px 0; }
  .cta-band h2 { font-size: 1.45rem; }
  .cta-band .tel { font-size: 1.7rem; }
}
