/* ===================================================================
   커넥트 합동관세사무소 (Connect Customs) — 공통 스타일
   브랜드 컬러: 오렌지 #EE7D22 / 차콜 #58595B / 네이비 #0E2A45
   =================================================================== */
:root {
  --orange: #ee7d22;
  --orange-d: #d76b12;
  --charcoal: #58595b;
  --ink: #33353a;
  --navy: #0e2a45;
  --navy-2: #14395c;
  --muted: #6b7480;
  --line: #e7eaef;
  --bg-alt: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(14, 42, 69, 0.09);
  --shadow-sm: 0 4px 14px rgba(14, 42, 69, 0.07);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  color: var(--ink); line-height: 1.7; background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-kakao { background: #fee500; color: #191600; }
.btn-kakao:hover { background: #f5dc00; }
.btn-block { width: 100%; }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--charcoal); font-size: 16px; font-weight: 500; position: relative; padding: 6px 0; transition: color .15s; }
.nav a:hover { color: var(--orange); }
.nav a.active { color: var(--navy); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--orange); border-radius: 3px;
}
.nav .nav-cta { background: var(--orange); color: #fff; padding: 9px 20px; border-radius: 999px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--orange-d); color: #fff; }
.nav .nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 26px; cursor: pointer; }

/* ===== 페이지 상단 배너 (서브페이지) ===== */
.page-hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(135deg, rgba(14,42,69,.92), rgba(20,57,92,.86)), url("assets/hero-ship.png");
  background-size: cover; background-position: center;
}
.page-hero-inner { padding: 66px 22px; }
.page-hero .crumb { color: #ffd6a8; font-weight: 600; letter-spacing: 1px; font-size: 14px; }
.page-hero h1 { font-size: 36px; font-weight: 900; letter-spacing: -.5px; margin-top: 10px; }
.page-hero p { color: #cfdae6; margin-top: 12px; font-size: 17px; }

/* ===== 섹션 공통 ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { color: var(--orange); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.section-title { font-size: 30px; font-weight: 900; letter-spacing: -.5px; margin: 8px 0 14px; color: var(--navy); }
.section-lead { color: var(--muted); font-size: 17px; margin-bottom: 42px; max-width: 760px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ===== 홈: 히어로 ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, rgba(14,42,69,.93) 0%, rgba(20,57,92,.78) 55%, rgba(20,57,92,.55) 100%), url("assets/hero-ship.png");
  background-size: cover; background-position: center;
}
.hero-inner { padding: 104px 22px 96px; position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #ffd6a8; font-weight: 700; letter-spacing: 1px; font-size: 15px; margin-bottom: 18px; }
.hero-title { font-size: 46px; line-height: 1.25; font-weight: 900; letter-spacing: -1px; }
.hero-title .accent { color: var(--orange); }
.hero-sub { margin: 22px 0 34px; color: #d5dfea; font-size: 19px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 46px; list-style: none; }
.hero-badges li { color: #c6d3e1; font-size: 15px; font-weight: 500; }
.hero-badges b { color: #fff; }

/* ===== 강점 스트립 ===== */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strength {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.strength:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strength .ico { font-size: 30px; margin-bottom: 12px; }
.strength h3 { color: var(--navy); font-size: 18px; margin-bottom: 6px; }
.strength p { color: var(--muted); font-size: 14px; }

/* ===== 통계 카운터 ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat { text-align: center; padding: 22px; }
.stat strong { display: block; font-size: 42px; color: var(--orange); font-weight: 900; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

/* ===== 카드(서비스) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px;
  background: #fff3e8; color: var(--orange); border-radius: 14px; margin-bottom: 18px;
}
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { color: var(--charcoal); font-size: 14.5px; padding-left: 18px; position: relative; margin-bottom: 5px; }
.card ul li::before { content: "✓"; color: var(--orange); position: absolute; left: 0; font-weight: 700; }

/* ===== 블로그 최신글 카드 ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; text-align: left; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.blog-tag { align-self: flex-start; background: #fff3e8; color: var(--orange-d); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.blog-card h3 { font-size: 16.5px; color: var(--navy); line-height: 1.55; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card p { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .bdate { color: #9aa5b1; font-size: 12.5px; }
.blog-card .bmore { color: var(--orange-d); font-weight: 700; font-size: 14px; }
.blog-cta { text-align: center; margin-top: 36px; }

/* ===== CTA 배너 ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 18px;
  padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 26px; font-weight: 800; }
.cta-band p { color: #c6d3e1; margin-top: 6px; }

/* ===== 웹 통관정보시스템 강조 밴드 ===== */
.sys-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 42px; box-shadow: var(--shadow-sm); }
.sys-text h2 { font-size: 28px; color: var(--navy); font-weight: 900; margin: 8px 0 14px; }
.sys-lead { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.sys-list { list-style: none; }
.sys-list li { color: var(--charcoal); font-size: 15.5px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sys-list li:last-child { border-bottom: none; }
.sys-list b { color: var(--navy); }
.sys-mock { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.sys-mock .bar { display: flex; gap: 6px; margin-bottom: 16px; }
.sys-mock .bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.sys-row { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: rgba(255,255,255,.09); border-radius: 9px; padding: 12px 14px; margin-bottom: 10px; font-size: 14px; color: #e7eef6; }
.sys-row .st { font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.st-done { background: #1f7a4d; color: #fff; }
.st-prog { background: var(--orange); color: #fff; }
.st-wait { background: #45566a; color: #fff; }
@media (max-width: 900px) { .sys-band { grid-template-columns: 1fr; padding: 28px; } }

/* ===== 회사개요 표 ===== */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.info-table th { background: var(--navy); color: #fff; width: 150px; font-weight: 700; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.15); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ===== 조직도 ===== */
.org { text-align: center; }
.org-top { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; padding: 14px 34px; border-radius: 12px; }
.org-line { width: 2px; height: 26px; background: var(--line); margin: 0 auto; }
.org-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.org-box { background: #fff; border: 2px solid var(--orange); color: var(--navy); font-weight: 700; padding: 14px 26px; border-radius: 12px; }
.org-sub { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.org-sub span { background: var(--bg-alt); border: 1px solid var(--line); color: var(--charcoal); padding: 9px 18px; border-radius: 999px; font-size: 14px; }

/* ===== 지사(오피스) 카드 ===== */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 22px; justify-content: center; }
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.office h3 { color: var(--navy); font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.office .tag { font-size: 12px; font-weight: 700; color: #fff; background: var(--orange); padding: 3px 10px; border-radius: 999px; }
.office p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ===== 대표 관세사 약력 ===== */
.profile {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 34px;
}
.profile-head {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
  padding: 30px 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.profile-head .pname { font-size: 26px; font-weight: 900; }
.profile-head .prole { color: var(--orange); font-weight: 700; }
.phead-right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.profile-head .pedu { color: #c6d3e1; font-size: 14.5px; }
.expert-btn { display: inline-flex; align-items: center; gap: 7px; background: #03c75a; color: #fff;
  font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; white-space: nowrap; transition: background .15s, transform .15s; }
.expert-btn:hover { background: #02b350; transform: translateY(-1px); }
.expert-btn .n { display: inline-grid; place-items: center; width: 18px; height: 18px; background: #fff; color: #03c75a; border-radius: 4px; font-weight: 900; font-size: 12px; }
.profile-body { padding: 30px 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.profile-body h4 { color: var(--navy); font-size: 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); display: inline-block; }
.timeline { list-style: none; }
.timeline li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 15px; color: var(--charcoal); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.timeline li .yr { color: var(--muted); font-size: 13px; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tags span { background: #fff3e8; color: var(--orange-d); font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
.spec-list { list-style: none; }
.spec-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--charcoal); font-size: 15px; }
.spec-list li:last-child { border-bottom: none; }

/* ===== 프로세스 단계 ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-no { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--orange); font-weight: 900; margin-bottom: 14px; }
.steps h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14px; }

/* ===== 문의 폼 ===== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label span { color: var(--orange); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: inherit; background: #fbfcfe; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field-check label { font-weight: 500; color: var(--muted); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.form-note { grid-column: 1 / -1; font-size: 14px; min-height: 20px; }
.form-note.ok { color: #1a7f45; } .form-note.err { color: #d24; }
.contact-info { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; }
.contact-info h3 { color: var(--orange); font-size: 20px; margin-bottom: 20px; }
.contact-info ul { list-style: none; margin-bottom: 22px; }
.contact-info li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.contact-info li span { width: 76px; color: #9fb3c8; flex: none; }
.contact-info a { color: #eaf0f7; } .contact-info a:hover { color: var(--orange); }

/* ===== 지도 ===== */
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--radius); display: block; box-shadow: var(--shadow-sm); }
.map-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-two h3 { color: var(--navy); margin-bottom: 12px; font-size: 18px; }
.map-links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.map-links .btn { padding: 9px 16px; font-size: 13.5px; }

/* ===== 푸터 ===== */
.site-footer { background: var(--navy); color: #c4cfdd; padding: 52px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding-bottom: 32px; }
.site-footer .f-brand img { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }
.site-footer p { font-size: 14px; color: #9fb3c8; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: #c4cfdd; font-size: 14px; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px; font-size: 13px; color: #8097af; }

/* ===== 모바일 하단 바 ===== */
.mobile-bar { display: none; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .profile-body, .map-two { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 12px 22px 20px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav a.active::after { display: none; }
  .nav .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: block; }
  .strengths, .stats, .cards, .steps, .offices, .blog-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px 22px 64px; } .hero-title { font-size: 28px; } .hero-sub { font-size: 17px; }
  .section { padding: 58px 0; } .section-title { font-size: 25px; }
  .cta-band { padding: 32px; text-align: center; justify-content: center; }
  .phead-right { margin-left: 0; width: 100%; align-items: flex-start; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .mobile-bar a { flex: 1; text-align: center; padding: 13px 4px; font-size: 13px; font-weight: 700; color: var(--navy); border-right: 1px solid var(--line); }
  .mobile-bar a:last-child { border-right: none; }
  body { padding-bottom: 52px; }
}
