/* ==========================================================================
   주식회사 포워더스 — 공통 스타일
   브랜드 색상은 로고(images/img_01.jpg)에서 추출: 파랑 #1878C0 / 앰버 #F0A830
   ========================================================================== */

:root{
  --navy:#0E3358;
  --navy-deep:#0A2440;
  --blue:#1878C0;
  --blue-dark:#135F99;
  --amber:#F0A830;
  --ink:#1B2430;
  --body:#4A5563;
  --muted:#7A848F;
  --line:#E4E8ED;
  --bg-soft:#F5F7FA;
  --max:1160px;
}

*{margin:0;padding:0;box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  font-family:'Pretendard','Apple SD Gothic Neo',-apple-system,BlinkMacSystemFont,
              'Segoe UI','Malgun Gothic','Noto Sans KR',sans-serif;
  color:var(--body);
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  word-break:keep-all;      /* 한글 단어 단위 줄바꿈 */
}

img{max-width:100%;display:block}
a{color:inherit}

.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}

/* ---------- 언어 전환 ---------- */
/* 언어 전환 규칙은 파일 맨 아래에 모아 두었다.
   컴포넌트 규칙(.stat span 등)과 특이도가 같을 때 뒤에 오는 쪽이 이기므로,
   반드시 마지막에 선언해야 한/영이 겹쳐 보이지 않는다. */

/* ---------- 헤더 ---------- */
.site-header{position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid var(--line)}
/* 전화 안내가 들어가면서 폭이 늘어 메뉴가 눌리므로 헤더만 조금 더 넓게 쓴다.
   좌우 padding 은 24px 로 동일하다. */
.header-inner{max-width:1320px;margin:0 auto;padding:0 24px;height:74px;display:flex;align-items:center}

.brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
/* 로고가 정사각형이 아니므로(103:90) 높이만 지정해 비율을 지킨다 */
.brand img{height:34px;width:auto}
/* 회사명과 아랫줄 영문명 사이를 좁힌다 (body 의 line-height 1.7 을 여기서만 덮어씀) */
.brand>span{line-height:1.15;display:block}
.brand-name{font-size:18px;font-weight:700;color:var(--navy);letter-spacing:-.02em;white-space:nowrap}
.brand-sub{display:block;font-size:10px;font-weight:500;color:var(--muted);letter-spacing:.06em;line-height:1.1;margin-top:1px}

.gnb{display:flex;margin-left:auto;align-items:center}
.gnb>li{position:relative;list-style:none}
.gnb>li>a{
  display:block;padding:26px 18px;font-size:15.5px;font-weight:500;
  color:var(--ink);text-decoration:none;position:relative;white-space:nowrap;
}
.gnb>li>a:hover{color:var(--blue)}
.gnb>li>a.on{color:var(--blue);font-weight:700}
.gnb>li>a.on::after{
  content:'';position:absolute;left:18px;right:18px;bottom:-1px;height:3px;background:var(--blue);
}

/* 서비스 드롭다운 */
.submenu{
  position:absolute;top:100%;left:0;min-width:184px;background:#fff;
  border:1px solid var(--line);border-top:2px solid var(--blue);
  box-shadow:0 12px 28px rgba(14,51,88,.10);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
  padding:6px 0;list-style:none;
}
.gnb>li:hover .submenu,.gnb>li:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{display:block;padding:10px 18px;font-size:14.5px;color:var(--body);text-decoration:none}
.submenu a:hover{background:var(--bg-soft);color:var(--blue)}

/* ---------- 헤더 전화 안내 ----------
   .gnb>li>a (특이도 0,1,2) 가 padding·display 를 덮어쓰므로
   .gnb .hdr-tel (0,2,0) 로 선언해 확실히 이기게 한다. */
.gnb .hdr-tel{display:flex;align-items:center;gap:8px;margin-left:14px;padding:0 16px 0 6px;
  font-size:inherit;font-weight:400;text-decoration:none;white-space:nowrap;
  border-right:1px solid var(--line)}
.gnb .hdr-tel::after{display:none}
.hdr-tel svg{width:17px;height:17px;stroke:var(--blue);fill:none;stroke-width:1.7;flex-shrink:0}
.hdr-tel-txt{font-size:13.5px;color:var(--muted);letter-spacing:-.01em}
.hdr-tel b{font-size:16px;font-weight:700;color:var(--blue);letter-spacing:-.02em}
.hdr-tel:hover b{text-decoration:underline}
.hdr-tel:hover .hdr-tel-txt{color:var(--ink)}

.lang{display:flex;margin-left:16px;border:1px solid var(--line);border-radius:4px;overflow:hidden;flex-shrink:0}
.lang button{
  padding:7px 12px;font:inherit;font-size:12.5px;font-weight:600;letter-spacing:.04em;
  background:#fff;color:var(--muted);border:0;cursor:pointer;transition:.2s;
}
.lang button+button{border-left:1px solid var(--line)}
.lang button.on{background:var(--blue);color:#fff}
.lang button:not(.on):hover{color:var(--blue)}

/* 모바일 전용 전화 버튼 — 데스크톱에서는 숨긴다.
   .ko 클래스를 달고 있어 body .ko(0,1,1) 를 이기도록 .header-inner 를 붙여 0,2,0 으로 만든다.
   영문 모드에서는 body.lang-en .ko(0,2,1) 가 이겨서 자동으로 숨겨진다. */
.header-inner .hdr-tel-m{display:none}

.nav-toggle{display:none;margin-left:auto;width:44px;height:44px;background:none;border:0;cursor:pointer}
.nav-toggle span{display:block;height:2px;background:var(--ink);margin:5px auto;width:22px;transition:.25s}
.nav-toggle.on span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.on span:nth-child(2){opacity:0}
.nav-toggle.on span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- 서브페이지 배너 ---------- */
.banner{position:relative;height:240px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;background-size:cover;background-position:center;color:#fff}
.banner::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,36,64,.62),rgba(10,36,64,.72))}
.banner-inner{position:relative;text-align:center}
.banner h1{font-size:34px;font-weight:700;letter-spacing:-.02em;margin-bottom:12px}
.breadcrumb{font-size:13.5px;color:rgba(255,255,255,.86);display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap}
.breadcrumb a{text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb .sep{opacity:.5}

/* ---------- 섹션 공통 ---------- */
.section{padding:88px 0}
.section.soft{background:var(--bg-soft)}
.section-head{text-align:center;margin-bottom:52px}
.section-head h2{font-size:30px;font-weight:700;color:var(--ink);letter-spacing:-.03em;margin-bottom:16px}
.section-head p{color:var(--muted);font-size:16px}
/* 가는 2색 구분선 */
.rule{display:flex;justify-content:center;gap:5px;margin:0 auto 20px}
.rule i{display:block;height:3px;border-radius:2px}
.rule i:first-child{width:34px;background:var(--blue)}
.rule i:last-child{width:14px;background:var(--amber)}

/* ---------- 홈 히어로 ---------- */
.hero{position:relative;min-height:560px;display:flex;align-items:center;justify-content:center;
  text-align:center;color:#fff;background-size:cover;background-position:center}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,36,64,.52),rgba(10,36,64,.68))}
.hero-inner{position:relative;padding:80px 24px;max-width:860px}
.hero .eyebrow{font-size:14px;letter-spacing:.22em;text-transform:uppercase;color:var(--amber);font-weight:600;margin-bottom:20px}
.hero h1{font-size:46px;line-height:1.28;font-weight:700;letter-spacing:-.035em;margin-bottom:20px}
.hero p{font-size:17.5px;color:rgba(255,255,255,.9);font-weight:300}
.hero-cta{margin-top:36px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:4px;
  font-size:15.5px;font-weight:600;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:.2s}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark)}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:#fff;color:var(--navy);border-color:#fff}

/* 히어로 하단 서비스 바 */
.quicknav{background:var(--navy);color:#fff}
.quicknav ul{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);list-style:none}
.quicknav a{display:flex;flex-direction:column;align-items:center;gap:12px;padding:34px 16px;
  text-decoration:none;color:#fff;transition:background .2s;text-align:center}
.quicknav li+li a{box-shadow:-1px 0 0 rgba(255,255,255,.12)}
.quicknav a:hover{background:var(--blue-dark)}
.quicknav svg{width:38px;height:38px;stroke:var(--amber);fill:none;stroke-width:1.5}
.quicknav span{font-size:15px;font-weight:600;letter-spacing:-.01em}
.quicknav small{display:block;font-size:12px;color:rgba(255,255,255,.6);font-weight:400;margin-top:3px}

/* ---------- 카드 그리드 ---------- */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}

.card{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:.25s}
.card:hover{border-color:var(--blue);box-shadow:0 14px 34px rgba(14,51,88,.10);transform:translateY(-3px)}
.card-img{aspect-ratio:16/10;overflow:hidden;background:var(--bg-soft)}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card-img img{transform:scale(1.05)}
.card-body{padding:22px 22px 26px}
.card-body h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:8px;letter-spacing:-.02em}
.card-body p{font-size:14.5px;color:var(--muted);line-height:1.65}
.card-more{margin-top:14px;font-size:13.5px;font-weight:600;color:var(--blue)}

/* ---------- 지표 ---------- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:6px;overflow:hidden}
.stat{background:#fff;padding:36px 20px;text-align:center}
.stat b{display:block;font-size:38px;font-weight:700;color:var(--blue);letter-spacing:-.03em;line-height:1.1;margin-bottom:8px}
.stat span{font-size:14.5px;color:var(--muted);line-height:1.55}

/* ---------- 본문 ---------- */
.prose h3{font-size:21px;color:var(--navy);font-weight:700;margin:38px 0 14px;letter-spacing:-.02em}
.prose h3:first-child{margin-top:0}
.prose p{margin-bottom:16px;line-height:1.85}
.lead{font-size:18px;color:var(--ink);line-height:1.8;font-weight:500}

.figure{border-radius:6px;overflow:hidden}
.figure img{width:100%;height:100%;object-fit:cover}

.callout{background:var(--bg-soft);border-left:3px solid var(--blue);border-radius:0 6px 6px 0;padding:24px 26px;margin-top:32px}
.callout p{margin:6px 0;font-size:14.5px}
.callout strong{color:var(--navy)}

.speclist{list-style:none;margin-top:26px}
/* li 에 display 를 걸면 언어 전환 규칙(.ko/.en)보다 특이도가 높아 영문이 안 숨겨진다.
   불릿은 절대배치로 처리해 display 를 언어 규칙에 넘긴다. */
.speclist li{position:relative;padding:0 0 12px 18px;font-size:15.5px}
.speclist li::before{content:'';position:absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%;background:var(--amber)}

/* ---------- 견적문의 폼 ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-size:13.5px;font-weight:600;color:var(--ink)}
.field .req{color:#D64545;margin-left:2px}
.field input,.field textarea,.field select{
  font:inherit;font-size:15px;padding:12px 14px;border:1px solid var(--line);border-radius:4px;
  background:#fff;color:var(--ink);transition:.18s;width:100%;
}
.field textarea{min-height:230px;resize:vertical;line-height:1.75}
.field input:focus,.field textarea:focus,.field select:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,120,192,.13)}
.field .hint{font-size:12.5px;color:var(--muted)}
.form-note{margin-top:18px;font-size:13px;color:var(--muted)}

.infobox{background:var(--bg-soft);border-radius:6px;padding:30px}
.infobox h3{font-size:17px;color:var(--navy);font-weight:700;margin-bottom:20px}
.info-row{padding:14px 0;border-bottom:1px solid var(--line)}
.info-row:last-child{border-bottom:0;padding-bottom:0}
.info-row dt{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}
.info-row dd{font-size:15px;color:var(--ink);line-height:1.65}
.info-row a{color:var(--blue);text-decoration:none}
.info-row a:hover{text-decoration:underline}

/* ---------- 관련 사이트 ---------- */
.linkbar{border-top:1px solid var(--line);background:#fff;padding:26px 0}
.linkbar-inner{max-width:var(--max);margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.linkbar b{font-size:13px;color:var(--muted);letter-spacing:.04em;font-weight:700}
.linkbar ul{display:flex;gap:22px;list-style:none;flex-wrap:wrap}
.linkbar a{font-size:14px;color:var(--body);text-decoration:none}
.linkbar a:hover{color:var(--blue)}

/* ---------- 푸터 ---------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.62);padding:52px 0 44px;font-size:13.5px}
.footer-top{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap;
  padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid rgba(255,255,255,.13)}
/* 푸터의 한글 상호와 영문 상호 사이 간격도 좁힌다 */
.footer-brand{font-size:17px;font-weight:700;color:#fff;letter-spacing:-.02em;line-height:1.2}
.footer-brand small{display:block;font-size:11.5px;font-weight:400;color:rgba(255,255,255,.5);letter-spacing:.06em;line-height:1.15;margin-top:2px}
.footer-nav{display:flex;gap:22px;flex-wrap:wrap}
.footer-nav a{color:rgba(255,255,255,.8);text-decoration:none;font-size:14px}
.footer-nav a:hover{color:#fff}
.footer-addr{line-height:2}
.footer-addr .sep{opacity:.35;margin:0 8px}
.copyright{margin-top:18px;font-size:12.5px;color:rgba(255,255,255,.4);letter-spacing:.02em}

/* ==========================================================================
   반응형
   ========================================================================== */
/* 폭이 줄면 안내 문구를 접고 번호만 남겨 메뉴가 눌리지 않게 한다 */
@media (max-width:1240px) and (min-width:901px){
  .hdr-tel-txt{display:none}
  .gnb .hdr-tel{padding-right:14px}
  .gnb>li>a{padding-left:14px;padding-right:14px}
}

@media (max-width:900px){
  /* 375px 화면에 로고 + 전화번호 + 햄버거를 모두 담기 위해 각 요소를 줄인다 */
  .nav-toggle{display:block;margin-left:6px;width:40px;flex-shrink:0}
  .header-inner{padding:0 14px}
  .brand img{height:30px;width:auto}
  .brand-name{font-size:15px}
  .brand-sub{font-size:8.5px;letter-spacing:.04em}

  /* 헤더에 전화 버튼을 상시 노출하고, 햄버거 메뉴 안의 중복 항목은 감춘다 */
  .header-inner .hdr-tel-m{
    display:flex;align-items:center;gap:5px;margin-left:auto;flex-shrink:0;
    padding:6px 10px;border:1px solid var(--line);border-radius:999px;
    background:var(--bg-soft);text-decoration:none;
  }
  .hdr-tel-m svg{width:14px;height:14px;stroke:var(--blue);fill:none;stroke-width:1.9;flex-shrink:0}
  .hdr-tel-m b{font-size:13px;font-weight:700;color:var(--blue);letter-spacing:-.03em;white-space:nowrap}
  .gnb .hdr-tel{display:none}
  .gnb{
    position:fixed;top:74px;left:0;right:0;bottom:0;background:#fff;flex-direction:column;
    align-items:stretch;margin:0;padding:8px 0 40px;overflow-y:auto;
    transform:translateX(100%);transition:transform .28s ease;border-top:1px solid var(--line);
  }
  .gnb.open{transform:translateX(0)}
  .gnb>li>a{padding:16px 24px;border-bottom:1px solid var(--line);font-size:16px}
  .gnb>li>a.on::after{display:none}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;
    background:var(--bg-soft);padding:0}
  .submenu a{padding:13px 24px 13px 40px;border-bottom:1px solid var(--line)}
  .lang{margin:20px 24px 0}
  .lang button{flex:1;padding:11px}
  .hero h1{font-size:31px}
  .hero p{font-size:16px}
  .hero{min-height:460px}
  .banner{height:190px}
  .banner h1{font-size:26px}
  .section{padding:56px 0}
  .section-head{margin-bottom:36px}
  .section-head h2{font-size:24px}
  .grid-4{grid-template-columns:1fr 1fr;gap:18px}
  .grid-2{grid-template-columns:1fr;gap:32px}
  .quicknav ul{grid-template-columns:1fr 1fr}
  .quicknav li+li a{box-shadow:none}
  .quicknav li:nth-child(3) a,.quicknav li:nth-child(4) a{box-shadow:0 -1px 0 rgba(255,255,255,.12)}
  .quicknav li:nth-child(2) a,.quicknav li:nth-child(4) a{box-shadow:-1px 0 0 rgba(255,255,255,.12)}
  .form-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .footer-top{flex-direction:column;gap:22px}
}

@media (max-width:520px){
  .grid-4{grid-template-columns:1fr}
  .quicknav ul{grid-template-columns:1fr}
  .quicknav li+li a{box-shadow:0 -1px 0 rgba(255,255,255,.12)}
  .hero h1{font-size:26px}
  .brand-name{font-size:16px}
  .wrap{padding:0 18px}
}

/* ==========================================================================
   언어 전환 (반드시 파일 마지막)
   .ko / .en 은 블록 요소용, span.ko / span.en 은 인라인 요소용.
   특이도가 같은 컴포넌트 규칙(.stat span 등)을 확실히 이기도록 맨 뒤에 둔다.
   ========================================================================== */
/* 컴포넌트 규칙(.speclist li, .stat span 처럼 클래스+요소 = 특이도 0,1,1)에
   밀리지 않도록 앞에 body 를 붙여 같은 특이도로 맞추고, 파일 맨 뒤에 두어 우선하게 한다. */
body .ko{display:block}
body .en{display:none}
body span.ko{display:inline}
body span.en{display:none}

body.lang-en .ko{display:none}
body.lang-en .en{display:block}
body.lang-en span.ko{display:none}
body.lang-en span.en{display:inline}

/* 아주 좁은 화면(구형 폰)에서는 번호를 접고 전화 아이콘만 남긴다 */
@media (max-width:369px){
  .hdr-tel-m b{display:none}
  .header-inner .hdr-tel-m{padding:8px 9px}
}
