/* (주)지인산업개발 홈페이지 공통 스타일 */
:root {
  --navy: #013373;
  --navy-dark: #0b1f40;
  --gold: #F5B520;
  --gold-text: #8a6400;
  --ink: #1a2233;
  --body: #3a4558;
  --muted: #5a6578;
  --line: #e3e8f0;
  --soft: #f4f6fa;
  --tint: #e8eef8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: #0a4fa8; }
h1, h2, h3 { line-height: 1.3; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section-title { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); color: var(--navy); }
.section-lead { margin: 0 0 48px; color: var(--muted); font-size: 17px; }
.center { text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--gold-text); font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }

/* 헤더 */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a.active { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); padding-bottom: 4px; }
.nav a.cta { background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.cta:hover { background: #0a4fa8; color: #fff; }
.menu-toggle { display: none; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 4px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #ffc63d; color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a4fa8; color: #fff; }
.btn-line { border: 1px solid #8fa6cc; color: #fff; font-weight: 500; }
.btn-line:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* 메인 히어로 */
.hero { background: var(--navy); color: #fff; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 104px; }
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-tag { margin: 0 0 20px; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; }
.hero h1 { margin: 0 0 24px; font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.hero p.lead { margin: 0 0 40px; font-size: 19px; color: #d6e0f0; }
.hero-card { flex: 1 1 400px; min-width: 0; background: #fff; border-radius: 8px; padding: 48px 40px 36px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-card img { width: 100%; max-width: 380px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { background: var(--tint); color: var(--navy); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }

/* 하위 페이지 배너 */
.page-banner { background: var(--navy); color: #fff; }
.page-banner .wrap { padding-top: 72px; padding-bottom: 72px; }
.crumb { margin: 0 0 12px; font-size: 14px; color: #b9c8e2; }
.page-banner h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 44px); font-weight: 900; }
.page-banner p { margin: 0; font-size: 18px; color: #d6e0f0; }
.subnav { background: var(--soft); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.subnav a { text-decoration: none; color: var(--body); padding: 18px 16px; }
.subnav a:first-child { color: var(--navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--navy); }

/* 카드 그리드 */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.promise { background: #fff; border-radius: 6px; padding: 40px 32px; border-top: 4px solid var(--gold); }
.promise .num { font-size: 40px; font-weight: 900; color: var(--navy); line-height: 1; }
.promise h3 { margin: 20px 0 8px; font-size: 22px; color: var(--navy); }
.promise .sub { margin: 0 0 12px; font-weight: 700; }
.promise p { margin: 0; color: #4a5568; }
.biz-card { background: #fff; border-radius: 6px; overflow: hidden; }
.biz-icon { height: 180px; background: var(--tint); display: flex; align-items: center; justify-content: center; border-bottom: 4px solid var(--gold); }
.biz-card .body { padding: 28px; }
.biz-card h3 { margin: 0 0 10px; font-size: 21px; color: var(--navy); }
.biz-card p { margin: 0; color: #4a5568; }

/* 회사 소개 (메인) */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about-visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.about-visual img { max-width: 420px; width: 100%; }
.about-text { flex: 1 1 520px; min-width: 0; }
.about-text h2 { margin: 0 0 24px; font-size: clamp(26px, 3.2vw, 34px); color: var(--navy); line-height: 1.35; }
.about-text p { margin: 0 0 16px; color: var(--body); font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin-top: 32px; }
.fact { border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.fact .k { font-size: 14px; color: var(--muted); }
.fact .v { font-size: 24px; font-weight: 700; color: var(--navy); }

/* 문의 띠 */
.cta-band { background: var(--gold); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 60px; padding-bottom: 60px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 2.8vw, 30px); color: var(--navy-dark); }
.cta-band p { margin: 0; color: #2a2a1a; font-size: 17px; }

/* 인사말 */
.greeting { max-width: 860px; margin: 0 auto; }
.greeting h2 { margin: 0 0 28px; font-size: clamp(24px, 3vw, 32px); color: var(--navy); line-height: 1.45; }
.greeting p, .greeting li { font-size: 17px; color: var(--body); }
.greeting ol { padding-left: 22px; display: grid; gap: 6px; color: var(--ink); }
.greeting .sign { margin-top: 32px; color: var(--ink); }
.greeting .sign strong { font-size: 22px; color: var(--navy); }

/* 표 */
.table-box { background: #fff; border-radius: 6px; border-top: 3px solid var(--navy); overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 520px; }
.info-table th { text-align: left; padding: 20px 28px; width: 200px; background: #fafbfd; color: var(--navy); border-bottom: 1px solid var(--line); }
.info-table td { padding: 20px 28px; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* 연혁 */
.timeline { border-left: 3px solid var(--navy); padding-left: 32px; display: grid; gap: 36px; }
.timeline .year { font-size: 28px; font-weight: 900; color: var(--navy); }
.timeline p { margin: 4px 0 0; color: var(--body); font-size: 17px; }

/* 사업분야 상세 */
.biz-rows { display: grid; gap: 88px; }
.biz-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.biz-row.reverse { flex-direction: row-reverse; }
.biz-row .visual { flex: 1 1 440px; min-width: 0; height: 340px; background: var(--tint); border-radius: 6px; display: flex; align-items: center; justify-content: center; border-bottom: 6px solid var(--gold); }
.biz-row .text { flex: 1 1 420px; min-width: 0; }
.biz-row .num { font-size: 40px; font-weight: 900; color: var(--gold-text); line-height: 1; }
.biz-row h2 { margin: 16px 0; font-size: clamp(26px, 3vw, 32px); color: var(--navy); }
.biz-row p { margin: 0 0 24px; font-size: 17px; color: var(--body); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.steps li { background: #fff; border-radius: 6px; padding: 28px 20px; text-align: center; }
.steps li.last { background: var(--gold); }
.steps .dot { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; color: var(--navy); }
.steps li.last b { color: var(--navy-dark); }
.steps span { font-size: 14px; color: var(--muted); }
.steps li.last span { color: #2a2a1a; }

/* 견적문의 */
.contact-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-info { flex: 1 1 320px; min-width: 0; }
.contact-info h2 { margin: 0 0 16px; font-size: 30px; color: var(--navy); }
.contact-info > p { margin: 0 0 32px; color: var(--body); font-size: 17px; }
.info-card { background: #fff; border-radius: 6px; padding: 20px 24px; margin-bottom: 14px; }
.info-card .k { font-size: 14px; color: var(--muted); }
.info-card .v { font-size: 20px; font-weight: 700; color: var(--navy); text-decoration: none; }
.form { flex: 1.6 1 520px; min-width: 0; background: #fff; border-radius: 6px; border-top: 4px solid var(--gold); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea { min-height: 48px; border: 1px solid #cfd7e3; border-radius: 4px; padding: 0 14px; font-size: 16px; font-family: inherit; background: #fff; color: var(--ink); }
.form textarea { padding: 14px; min-height: 140px; resize: vertical; }
.form .agree { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--body); font-weight: 400; }
.form .agree input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.form .note { margin: 0; font-size: 14px; color: var(--muted); }
.location { display: flex; flex-wrap: wrap; gap: 40px; }
.map-box { flex: 2 1 520px; min-width: 0; min-height: 380px; border-radius: 6px; overflow: hidden; background: var(--tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.loc-info { flex: 1 1 280px; min-width: 0; display: grid; gap: 24px; align-content: start; }
.loc-info .k { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.loc-info p { margin: 0; font-size: 17px; }

/* 푸터 */
.site-footer { background: var(--navy-dark); color: #b9c4d6; font-size: 14px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .copy { margin-top: 18px; color: #8391a8; }

/* 모바일 */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.active { box-shadow: none; }
  .nav a.cta { justify-content: center; margin-top: 14px; border-bottom: 0; }
  .site-header .wrap { position: relative; }
  .brand img { height: 40px; }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .hero-card { padding: 32px 24px; }
  .biz-row, .biz-row.reverse { flex-direction: column; gap: 28px; }
  .biz-row .visual { width: 100%; height: 220px; flex: none; }
  .form { padding: 28px 20px; }
  .about-visual { display: none; }
  .info-table th { width: 110px; padding: 16px; }
  .info-table td { padding: 16px; }
  .info-table { min-width: 0; font-size: 16px; }
}
