/* ===== 안전사다리 전문업체 - UNBOUND 공통 스타일 ===== */
:root{
  --navy:#141B29;
  --navy-2:#1F2A3D;
  --navy-3:#2A374D;
  --orange:#E8571A;
  --orange-dark:#C44A16;
  --yellow:#FFC93C;
  --steel:#5B6B7A;
  --bg:#F5F6F4;
  --bg-alt:#FFFFFF;
  --ink:#141B29;
  --ink-soft:#4A5560;
  --line:#E1E3DE;
  --radius:6px;
  --maxw:1180px;
}
*{box-sizing:border-box;}
.br-mobile{display:none;}
@media(max-width:880px){
  .br-mobile{display:block;}
}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Noto Sans KR', -apple-system, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  word-break:keep-all;
  overflow-wrap:break-word;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
h1,h2,h3{margin:0;line-height:1.35;font-weight:900;}
p{margin:0 0 16px;color:var(--ink-soft);}

/* ---- 헤더 ---- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:68px;
}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:900;font-size:19px;letter-spacing:-.2px;}
.brand img{width:32px;height:32px;}
.brand .brand-en{color:var(--steel);font-weight:500;font-size:12px;display:block;letter-spacing:.5px;}
.header-nav{display:flex;align-items:center;gap:22px;}
.header-nav a{color:#D7DBE0;font-size:14.5px;font-weight:500;}
.header-nav a:hover{color:var(--yellow);}
.header-call{
  background:var(--orange);color:#fff !important;
  padding:9px 18px;border-radius:4px;font-weight:700 !important;
  font-size:14px !important;
}
.header-call:hover{background:var(--orange-dark);}
.nav-toggle{display:none;background:none;border:0;color:#fff;font-size:26px;cursor:pointer;}

/* ---- 히어로 ---- */
.hero{
  background:
    linear-gradient(100deg, rgba(20,27,41,.94) 0%, rgba(20,27,41,.88) 32%, rgba(31,42,61,.55) 60%, rgba(31,42,61,.35) 100%),
    url('assets/image/images/safety-vertical-ladder-install-building-01.webp') left center / cover no-repeat,
    linear-gradient(180deg,var(--navy) 0%, var(--navy-2) 100%);
  position:relative;overflow:hidden;padding:64px 0 0;
}
.hero::after{
  content:"";position:absolute;right:-6%;top:-20%;width:60%;height:160%;
  background:repeating-linear-gradient(-45deg, var(--yellow) 0 14px, transparent 14px 30px);
  opacity:.05;pointer-events:none;
}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;position:relative;z-index:1;}
.hero-eyebrow{color:var(--yellow);font-size:14px;font-weight:700;margin-bottom:14px;}
.hero h1{color:#fff;font-size:44px;letter-spacing:-1px;margin-bottom:20px;}
.hero h1 .accent{color:var(--orange);}
.hero p.lead{color:#B9C0C9;font-size:17px;max-width:520px;margin-bottom:30px;}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:40px;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:15px 26px;border-radius:4px;font-weight:700;font-size:15.5px;
  border:2px solid transparent;cursor:pointer;transition:.15s ease;
}
.btn-primary{background:var(--orange);color:#fff;}
.btn-primary:hover{background:var(--orange-dark);}
.btn-outline{border-color:rgba(255,255,255,.35);color:#fff;}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.06);}
.hero-visual{position:relative;}
.hero-stats{display:flex;gap:0;border-top:1px solid rgba(255,255,255,.12);padding:22px 0;}
.hero-stats div{flex:1;border-left:1px solid rgba(255,255,255,.12);padding-left:18px;}
.hero-stats div:first-child{border-left:0;padding-left:0;}
.hero-stats b{display:block;color:#fff;font-size:22px;}
.hero-stats span{color:var(--steel);font-size:13px;}

/* ---- 섹션 공통 ---- */
section{padding:64px 0;}
.section-head{max-width:640px;margin:0 auto 36px;text-align:center;}
.section-head h2{font-size:30px;letter-spacing:-.5px;margin-bottom:12px;}
.section-head h2::after{content:"";display:block;width:72px;height:4px;background:var(--orange);border-radius:2px;margin:14px auto 0;}
.section-head p{margin:0;}
.section-alt{background:var(--bg-alt);}

/* ---- 소개 카드 3열 ---- */
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.info-card{
  background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;
}
.section-alt .info-card{background:var(--bg);}
.info-card .num{color:var(--orange);font-weight:900;font-size:13px;letter-spacing:1px;margin-bottom:10px;display:block;}
.info-card h3{font-size:18px;margin-bottom:10px;}
.info-card p{font-size:14.5px;margin:0;}

/* ---- 표 ---- */
.table-wrap{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--line);}
table{width:100%;border-collapse:collapse;background:var(--bg-alt);font-size:14.5px;min-width:560px;}
th,td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);}
thead th{background:var(--navy);color:#fff;font-weight:700;}
tbody tr:last-child td{border-bottom:0;}
tbody td:first-child{font-weight:700;color:var(--ink);background:#FAFAF8;}
.check-yes{color:#1F7A4D;font-weight:700;}
.check-no{color:var(--steel);}

/* ---- 프로세스 다이어그램 ---- */
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.process-step{position:relative;background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);padding:24px 18px;text-align:center;}
.process-step .step-no{
  width:34px;height:34px;border-radius:50%;background:var(--navy);color:var(--yellow);
  display:flex;align-items:center;justify-content:center;font-weight:900;margin:0 auto 14px;font-size:15px;
}
.process-step h3{font-size:15.5px;margin-bottom:8px;}
.process-step p{font-size:13px;margin:0;}
.process-step:not(:last-child)::after{
  content:"";position:absolute;right:-13px;top:36px;width:0;height:0;
  border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid var(--steel);
  display:none;
}
@media(min-width:900px){.process-step:not(:last-child)::after{display:block;}}

/* ---- 본문 텍스트 섹션 ---- */
.copy-block{max-width:760px;margin:0 auto;padding:0 24px;}
.copy-block h2{font-size:26px;margin-bottom:16px;}
.copy-block h2::after{content:"";display:block;width:72px;height:4px;background:var(--orange);border-radius:2px;margin-top:14px;}
.copy-block h3{font-size:19px;margin:28px 0 10px;color:var(--navy-2);}
.copy-block p{font-size:15.5px;}
.copy-block ul{padding-left:20px;color:var(--ink-soft);font-size:15.5px;}
.copy-block li{margin-bottom:8px;}

/* ---- FAQ ---- */
.faq-list{max-width:760px;margin:0 auto;padding:0 24px;}
#faq > .section-head{padding:0 24px;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 4px;font-weight:700;font-size:16px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:22px;color:var(--orange);font-weight:400;flex-shrink:0;}
.faq-item[open] summary::after{content:"–";}
.faq-item .faq-a{padding:0 4px 20px;font-size:14.5px;color:var(--ink-soft);}
.faq-more-wrap{text-align:center;margin-top:26px;}
.faq-hidden{display:none;}
.btn-more{
  background:none;border:1px solid var(--steel);color:var(--ink);
  padding:11px 24px;border-radius:4px;font-weight:700;font-size:14px;cursor:pointer;
}
.btn-more:hover{border-color:var(--orange);color:var(--orange);}

/* ---- 최종 CTA 배너 ---- */
.cta-banner{background:var(--navy);text-align:center;}
.cta-banner h2{color:#fff;font-size:28px;margin-bottom:14px;}
.cta-banner h2::after{content:"";display:block;width:72px;height:4px;background:var(--orange);border-radius:2px;margin:14px auto 0;}
.cta-banner p{color:var(--steel);margin-bottom:26px;}

/* ---- 푸터 ---- */
footer{background:#0F1520;color:#8A93A0;padding:44px 0 30px;font-size:13.5px;}
footer .foot-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;margin-bottom:26px;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.08);}
footer .foot-brand{color:#fff;font-weight:900;font-size:17px;margin-bottom:8px;}
footer .foot-info div{margin-bottom:4px;}
footer .foot-nav{display:flex;gap:18px;}
footer .foot-nav a:hover{color:#fff;}
footer .foot-bottom{color:#5B6472;}

/* ---- 플로팅 콜 버튼(모바일) ---- */
.float-call{
  position:fixed;bottom:18px;right:18px;z-index:200;
  background:var(--orange);color:#fff;width:56px;height:56px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:24px;
  box-shadow:0 6px 18px rgba(0,0,0,.28);
}

/* ---- 시공사례 갤러리(전체 폭) ---- */
.gallery-grid-full{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2px;width:100%;
}
.gallery-grid-full figure{margin:0;position:relative;overflow:hidden;cursor:pointer;opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform .9s ease;}
.gallery-grid-full.in-view figure{opacity:1;transform:translateY(0);}
.gallery-grid-full figure:nth-child(1){transition-delay:.15s;}
.gallery-grid-full figure:nth-child(2){transition-delay:.4s;}
.gallery-grid-full figure:nth-child(3){transition-delay:.65s;}
.gallery-grid-full figure:nth-child(4){transition-delay:.9s;}
.gallery-grid-full figure:nth-child(5){transition-delay:1.15s;}
.gallery-grid-full img{width:100%;height:340px;object-fit:cover;display:block;transition:transform .45s ease;}
.gallery-grid-full figcaption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(0deg, rgba(20,27,41,.85) 0%, transparent 100%);
  color:#fff;font-size:12.5px;font-weight:700;padding:20px 12px 10px;
  transition:background .3s ease,padding-bottom .3s ease,color .3s ease;
}
.gallery-grid-full figure:hover img,
.gallery-grid-full figure:active img{transform:scale(1.08);}
.gallery-grid-full figure:hover figcaption,
.gallery-grid-full figure:active figcaption{
  background:linear-gradient(0deg, rgba(20,27,41,.95) 0%, rgba(20,27,41,.25) 75%, transparent 100%);
  padding-bottom:16px;color:var(--yellow);
}
@media(hover:none){
  .gallery-grid-full figcaption{
    background:linear-gradient(0deg, rgba(20,27,41,.92) 0%, rgba(20,27,41,.35) 70%, transparent 100%);
    color:var(--yellow);
  }
}
@media(max-width:880px){
  .gallery-grid-full{grid-template-columns:repeat(2,1fr);}
  .gallery-grid-full img{height:260px;}
}
@media(max-width:520px){
  .gallery-grid-full{grid-template-columns:1fr;}
  .gallery-grid-full img{height:220px;}
}

/* ---- 시공사례 갤러리 ---- */
.gallery-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.gallery-grid figure{
  margin:0;background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;cursor:pointer;
  transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease,opacity .9s ease;
  opacity:0;
}
.gallery-grid.in-view figure{opacity:1;}
.gallery-grid figure:nth-child(1){transition-delay:.05s,.05s,.05s,.15s;}
.gallery-grid figure:nth-child(2){transition-delay:.05s,.05s,.05s,.35s;}
.gallery-grid figure:nth-child(3){transition-delay:.05s,.05s,.05s,.55s;}
.gallery-grid figure:nth-child(4){transition-delay:.05s,.05s,.05s,.75s;}
.gallery-grid figure:nth-child(5){transition-delay:.05s,.05s,.05s,.95s;}
.gallery-grid figure:nth-child(6){transition-delay:.05s,.05s,.05s,1.15s;}
.gallery-grid figure:nth-child(7){transition-delay:.05s,.05s,.05s,1.35s;}
.gallery-grid figure:nth-child(8){transition-delay:.05s,.05s,.05s,1.55s;}
.gallery-grid img{width:100%;height:220px;object-fit:cover;display:block;transition:transform .45s ease;}
.gallery-grid figcaption{padding:10px 12px;font-size:13px;font-weight:700;color:var(--ink-soft);text-align:center;transition:color .25s ease;}
.gallery-grid figure:hover,
.gallery-grid figure:active{box-shadow:0 10px 26px rgba(20,27,41,.16);transform:translateY(-4px);border-color:var(--orange);}
.gallery-grid figure:hover img,
.gallery-grid figure:active img{transform:scale(1.08);}
.gallery-grid figure:hover figcaption,
.gallery-grid figure:active figcaption{color:var(--orange);}
@media(hover:none){
  .gallery-grid figure{border-color:var(--orange);}
  .gallery-grid figcaption{color:var(--orange);}
}
@media(max-width:880px){
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:520px){
  .gallery-grid{grid-template-columns:1fr 1fr;gap:10px;}
  .gallery-grid img{height:160px;}
}

/* ---- 카테고리 티저(공장시설보수수리) ---- */
.category-teaser-slideshow{position:relative;width:100%;height:70vh;min-height:420px;max-height:720px;overflow:hidden;}
.category-teaser-slideshow img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 1.2s ease;
}
.category-teaser-slideshow img.active{opacity:1;}
.category-teaser-body{max-width:760px;margin:32px auto 0;text-align:center;}
.category-teaser-body h2{font-size:26px;margin-bottom:12px;}
.category-teaser-body h2::after{content:"";display:block;width:72px;height:4px;background:var(--orange);border-radius:2px;margin:14px auto 0;}
.category-teaser-body p{font-size:15.5px;margin-bottom:34px;}
@media(max-width:640px){
  .category-teaser-slideshow{height:50vh;min-height:280px;}
}

/* ---- 상담페이지 전용 ---- */
.consult-panel{
  background:var(--bg-alt);border:1px solid var(--line);border-radius:var(--radius);
  padding:32px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;text-align:center;
}
.consult-panel > div{padding:10px 14px;border-left:1px solid var(--line);}
.consult-panel > div:first-child{border-left:0;}
.consult-panel .c-label{font-size:13px;color:var(--steel);font-weight:700;margin-bottom:6px;}
.consult-panel .c-value{font-size:17px;font-weight:900;}

/* ---- 반응형 ---- */
@media(max-width:880px){
  .header-nav{
    position:fixed;top:68px;left:0;right:0;background:var(--navy-2);
    flex-direction:column;align-items:flex-start;padding:18px 24px;gap:16px;
    transform:translateY(-140%);transition:transform .25s ease;border-bottom:1px solid rgba(255,255,255,.1);
  }
  .header-nav.open{transform:translateY(0);}
  .nav-toggle{display:block;}
  .hero{
    padding:44px 0 40px;
    background:
      linear-gradient(180deg, rgba(20,27,41,.93) 0%, rgba(20,27,41,.82) 40%, rgba(20,27,41,.6) 75%, rgba(20,27,41,.45) 100%),
      url('assets/image/images/safety-vertical-ladder-install-building-01.webp') center center / cover no-repeat,
      linear-gradient(180deg,var(--navy) 0%, var(--navy-2) 100%);
  }
  .hero .wrap{grid-template-columns:1fr;}
  .hero h1{font-size:clamp(20px,6.5vw,32px);white-space:nowrap;}
  .hero-visual{display:none;}
  .hero-stats{flex-wrap:wrap;}
  .hero-stats div{flex:1 1 45%;border-left:0;padding-left:0;margin-bottom:14px;}
  .info-grid{grid-template-columns:1fr;}
  .process{grid-template-columns:1fr 1fr;}
  .consult-panel{grid-template-columns:1fr;}
  .consult-panel > div{border-left:0;border-top:1px solid var(--line);padding:16px 0;}
  .consult-panel > div:first-child{border-top:0;}
  section{padding:44px 0;}
  .section-head h2{font-size:24px;}
}
@media(max-width:520px){
  .process{grid-template-columns:1fr;}
  .cta-row{flex-direction:column;}
  .btn{width:100%;}
}
