@charset "utf-8";
/* ==========================================================================
   SEM — 홈 전용 오버라이드 (index.html 에서만 로드)
   style.css 뒤에 로드되며, 다른 페이지에는 영향을 주지 않습니다.
   ========================================================================== */

body.home{
  /* --- 표면색 -------------------------------------------------------------
     사진이 대부분 푸른/강철 계열이라 남색 배경과 뒤섞였습니다.
     배경은 중성 차콜로 낮추고, 파랑은 포인트(버튼·아이콘·강조)에만 남깁니다. */
  --black:#14171c;
  --section-dark:#191d23;
  --footer-dark:#111418;
  --cta-dark:#1b2027;
  --light:#f5f6f7;

  --ink:#15181d;
  --ink-soft:#343a42;
  --mute:#666d77;
  --dim:#8b929b;
  --faint:#79808a;

  --line:#e3e5e8;
  --line-soft:#ececef;

  /* --- 리듬 : 전체적으로 한 단계 크게 ----------------------------------- */
  --section-pad:clamp(52px,6.4vw,112px);
  --head-gap:clamp(34px,3.4vw,48px);
  --iso-h:460px;
}

@media (max-width:1080px){ body.home{--iso-h:360px} }
@media (max-width:600px){  body.home{--iso-h:300px} }

/* ==========================================================================
   1. 헤더 + 히어로
   ========================================================================== */
/* 헤더를 히어로 위에 띄운다 — 같은 톤의 판이 둘로 나뉘어 보이던 문제 해결.
   사진이 화면 최상단부터 이어지고, 네비게이션은 그 위에 얹힌다. */
body.home .header{
  background:transparent;
  border-bottom:0;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  transition:background .35s var(--ease),border-color .35s var(--ease),box-shadow .35s var(--ease),-webkit-backdrop-filter .35s var(--ease),backdrop-filter .35s var(--ease);
}
body.home .header.is-scrolled{
  background:#ffffff;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  border-bottom:1px solid #eef2f6;
  box-shadow:0 4px 16px rgba(0,0,0,.03);
}
body.home .header.mega-open{
  background:#ffffff !important;
  border-bottom:1px solid #e2e8f0 !important;
  box-shadow:0 8px 24px rgba(0,0,0,.06) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

body.home{
  /* 원본 사이트 히어로 효과 (sh_main.css #mainVisual) 이식 */
  --hero-ease:cubic-bezier(.165,.84,.44,1);
  --hero-fade:1.2s;
}

body.home .hero{
  /* 진입 시 화면을 가득 채운다 */
  margin-top:0;
  padding-top:var(--header-h);
  min-height:100vh;
  min-height:100svh;
  align-items:stretch;
  background:#222;
}
/* 히어로 및 헤더 풀와이드 레이아웃 (화면 전체 폭 활용) */
body.home .header .container,
body.home .hero .container,
body.home .mega__inner {
  max-width: 100%;
  padding-inline: clamp(24px, 3.5vw, 60px);
}

body.home .hero__inner{
  display:flex;flex-direction:column;
  padding-top:clamp(20px,3vh,40px);
  padding-bottom:clamp(24px,3.2vh,44px);
}
/* 헤드라인은 좌측 정렬 (sesgm.com 레이아웃 동일 적용) */
body.home .hero__lead{
  margin-top:auto;
  margin-bottom:auto;
  padding-top:clamp(6px,1.2vh,16px);
  padding-bottom:clamp(10px,1.8vh,24px);
  text-align:left;
  display:flex;flex-direction:column;align-items:flex-start;
  width:100%;
  max-width:100%;
  animation:heroFadeUp 1.2s var(--hero-ease) 0.15s both;
}

@keyframes heroFadeUp{
  0%{opacity:0;transform:translateY(32px)}
  100%{opacity:1;transform:none}
}

body.home .hero__title{
  font-size:clamp(48px,6.5vw,108px);
  font-weight:800;line-height:1.18;letter-spacing:-.025em;
  text-align:left;
  text-shadow:0 4px 24px rgba(0,0,0,.5);
}
body.home .hero__text{
  margin-top:clamp(24px,3.2vh,42px);
  font-size:clamp(18px,1.6vw,24px);
  font-weight:500;
  line-height:1.7;
  color:rgba(255,255,255,.94);
  text-align:left;
  max-width:100%;
  margin-inline:0 auto;
  text-shadow:0 2px 12px rgba(0,0,0,.7);
  animation:heroFadeUp 1.2s var(--hero-ease) 0.35s both;
}

@keyframes heroArrowSlideDown{
  0%{transform:translateY(-3px);opacity:.3}
  50%{transform:translateY(4px);opacity:1}
  100%{transform:translateY(8px);opacity:.15}
}

/* 하단 바 — 연락처(좌) + 배경 제어(우) 한 줄 */
body.home .hero__bottom{
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  padding-top:24px;border-top:1px solid rgba(255,255,255,.28);
}
body.home .hero__contact{
  margin:0;padding:0;border:0;flex:1 1 auto;
  display:flex;align-items:center;flex-wrap:wrap;gap:14px 36px;
}
body.home .hero__contact>*{
  display:inline-flex;align-items:center;gap:11px;
  font-size:14.5px;line-height:1.6;
  color:rgba(255,255,255,.88);
  text-shadow:0 1px 3px rgba(0,0,0,.85),0 1px 14px rgba(0,0,0,.7);
}
body.home .hero__contact b{color:#fff;font-weight:600}
body.home .hero__contact svg{color:#ffffff !important;flex:none;filter:drop-shadow(0 1px 4px rgba(0,0,0,.7))}
body.home .hero__contact a:hover{color:#fff}

body.home .hero__arrow{background:transparent;border:none;color:#ffffff !important}
body.home .hero__arrow svg{color:#ffffff !important;filter:drop-shadow(0 1px 4px rgba(0,0,0,.8))}

/* 슬라이드 */
/* 원본: .bg 가 120%/opacity 0 에서 101%/opacity 1 로 1.2s 이징.
   width/height 대신 transform:scale 로 같은 움직임을 GPU에서 처리한다. */
body.home .hero__slide{
  position:absolute;inset:0;
  opacity:0;pointer-events:none;
  transform:scale(1.188);
  transform-origin:50% 50%;
  transition:opacity var(--hero-fade) var(--hero-ease),
             transform var(--hero-fade) var(--hero-ease);
  will-change:opacity,transform;
}
body.home .hero__slide.is-on{opacity:1;transform:scale(1)}
body.home .hero__slide img,
body.home .hero__slide video{
  width:100%;height:100%;object-fit:cover;object-position:50% 44%;
  filter:brightness(.65) contrast(1.08) saturate(1.1);
  transition:filter .4s var(--hero-ease);
}

/* 배경 제어 UI (01 ───게이지─── 04 < | >) */
body.home .hero__ctrl{
  position:static;transform:none;flex:none;
  display:flex;align-items:center;gap:clamp(18px, 2.5vw, 36px);
}
body.home .hero__counter{
  display:flex;align-items:center;gap:12px;
}
body.home .hero__num{
  font-size:15px;font-weight:600;letter-spacing:.04em;
  font-variant-numeric:tabular-nums;
  color:#ffffff;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
  user-select:none;
}
body.home .hero__num--total{
  color:rgba(255,255,255,.55);
}
body.home .hero__progress-bar{
  position:relative;
  width:clamp(80px, 9vw, 150px);
  height:2px;
  background:rgba(255,255,255,.24);
  border-radius:2px;
  overflow:hidden;
}
body.home .hero__progress-fill{
  position:absolute;left:0;top:0;bottom:0;
  width:0%;
  background:#ffffff;
  box-shadow:0 0 8px rgba(255,255,255,.9);
  border-radius:2px;
}
body.home .hero__nav-arrows{
  display:flex;align-items:center;gap:12px;
}
body.home .hero__nav-divider{
  display:inline-block;
  width:1px;height:12px;
  background:rgba(255,255,255,.28);
}
body.home .hero__arrow{
  width:28px;height:28px;display:grid;place-items:center;flex:none;
  border:none;border-radius:0;background:transparent;
  color:rgba(255,255,255,.8);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  cursor:pointer;padding:0;
  transition:color .2s var(--ease),transform .2s var(--ease),opacity .2s var(--ease);
}
body.home .hero__arrow:hover{
  background:transparent;
  border-color:transparent;
  color:#ffffff;
  opacity:1;
  transform:scale(1.2);
}

/* 원본과 동일한 오버레이 — 방향성 없이 균일한 검정 35% 한 겹.
   가독성은 오버레이를 더 얹지 않고 글자 자체의 그림자로 확보한다. */
body.home .hero__media::after{
  background:
    /* 하단 바(연락처·컨트롤)가 놓이는 구간만 국소적으로 더 깔아준다 */
    linear-gradient(180deg,rgba(0,0,0,0) 58%,rgba(0,0,0,.24) 78%,rgba(0,0,0,.66) 100%),
    rgba(0,0,0,.35);
}

/* 히어로 -> 서비스 이음새: 위아래 공백이 겹쳐 크게 비는 것을 막는다 */
body.home #services{padding-top:clamp(52px,4.2vw,72px)}

/* ==========================================================================
   2. 공통 타이포 — 한 단계 크게
   ========================================================================== */
body.home .section-title{font-size:clamp(28px,2.75vw,40px)}
body.home .eyebrow{font-size:12.5px;margin-bottom:16px}
body.home .section-desc{margin-top:22px;font-size:15.5px}

/* ==========================================================================
   3. 서비스 — 사진을 크게
   ========================================================================== */
body.home .services{gap:28px}
body.home .svc__media{aspect-ratio:3/2}
body.home .svc__body{padding:30px 30px 24px}
body.home .svc__title{font-size:23px}
body.home .svc__text{margin-top:16px;font-size:15px}
body.home .svc__arrow{padding-top:28px}

/* ==========================================================================
   4. 국제표준 — 카드도 사진도 크게
   ========================================================================== */
body.home .standards__grid{gap:clamp(44px,5vw,76px)}
body.home .slider__track{gap:12px;grid-auto-columns:calc((100% - 48px)/5)}
body.home .iso img{filter:brightness(1) contrast(1.02)}
body.home .iso::after{
  background:linear-gradient(180deg,rgba(12,14,17,.1) 0%,rgba(12,14,17,0) 40%,rgba(12,14,17,.66) 76%,rgba(12,14,17,.92) 100%);
}
body.home .iso__cap{left:20px;right:16px;bottom:20px}
body.home .iso__code{font-size:17px}
body.home .iso__name{margin-top:6px;font-size:12.5px}

/* ==========================================================================
   5. 프로세스 — 카드를 확실히 키운다
   ========================================================================== */
/* 제목을 위로 올리고 카드 4장을 전체 폭으로 — 서비스/인사이트와 같은 구성 */
body.home .process__grid{display:block}
body.home .process__grid .steps{margin-top:var(--head-gap)}
body.home .step{
  min-height:240px;padding:34px 30px 32px;
  display:flex;flex-direction:column;
}
body.home .step__num{font-size:34px}
body.home .step__icon svg{width:30px;height:30px}
body.home .step__title{margin-top:30px;font-size:18px}
body.home .step__text{margin-top:14px;font-size:14px;line-height:1.8}
body.home .steps__item:not(:last-child)::after{
  width:44px;height:26px;margin-inline:6px;
  background:var(--brand);
  -webkit-mask-size:26px;mask-size:26px;
}

/* ==========================================================================
   6. 솔루션 배너 — 사진이 더 보이도록
   ========================================================================== */
body.home .solution{padding-block:clamp(96px,8vw,140px)}
body.home .solution__media img{filter:brightness(.92) contrast(1.04) saturate(.9)}
body.home .solution__media::after{
  background:linear-gradient(90deg,#0f1216 0%,#0f1216 20%,rgba(15,18,22,.86) 38%,rgba(15,18,22,.3) 62%,rgba(15,18,22,.04) 100%);
}

/* ==========================================================================
   7. 인사이트 — 썸네일을 제대로 된 사진 크기로
   ========================================================================== */
body.home .insights{gap:28px}
body.home .post__media{aspect-ratio:16/10}
body.home .post__tag{height:29px;padding:0 13px;font-size:12px}
body.home .post__body{padding:26px 28px 0}
body.home .post__title{font-size:18px;line-height:1.5}
body.home .post__meta{padding:20px 28px;font-size:13px}

/* ==========================================================================
   8. CTA 배너
   ========================================================================== */
body.home .cta{padding:clamp(38px,3.8vw,54px) clamp(30px,3.8vw,56px)}
body.home .cta__title{font-size:clamp(20px,1.8vw,26px)}
body.home .cta__text{margin-top:14px;font-size:14.5px}

/* ==========================================================================
   9. 반응형 보정
   ========================================================================== */
/* ==========================================================================
   9. 반응형 보정 (홈화면 모바일 전용 UI/UX 최적화)
   ========================================================================== */
@media (max-width:1080px){
  body.home .slider__track{grid-auto-columns:calc((100% - 24px)/3.2)}
  body.home .step{min-height:0;padding:28px 24px 26px}
}
@media (max-width:860px){
  body.home .hero{
    min-height:100vh;
    min-height:100dvh;
    padding-top:calc(var(--header-h) + 8px);
  }
  body.home .hero__inner{
    padding-top:clamp(12px,1.8vh,24px);
    padding-bottom:clamp(16px,2.2vh,28px);
  }
  body.home .hero__lead{
    position:absolute;
    left:0;right:0;
    top:calc(50% - 85px);transform:translateY(-50%);
    margin:0;padding:0 clamp(20px,5vw,36px);
    width:100%;
    display:flex;flex-direction:column;
    text-align:center !important;
    align-items:center !important;
    justify-content:center !important;
    animation:heroFadeUpMobile 1.2s var(--hero-ease) 0.15s both !important;
  }
  @keyframes heroFadeUpMobile{
    0%{opacity:0;transform:translateY(calc(-50% + 24px))}
    100%{opacity:1;transform:translateY(-50%)}
  }
  body.home .hero__title{
    font-size:clamp(34px,8.8vw,54px);
    word-break:keep-all;
    line-height:1.14;
    text-align:center !important;
    width:100% !important;
  }
  body.home .hero__text{
    margin-top:14px;
    margin-inline:auto;
    max-width:22em;
    font-size:clamp(15px,3.8vw,18px);
    line-height:1.6;
    word-break:keep-all;
    text-align:center !important;
    width:100% !important;
    animation:none !important;
  }
  
  body.home .hero__bottom{
    position:absolute;
    left:calc(var(--gutter) + 8px);
    right:calc(var(--gutter) + 8px);
    bottom:clamp(16px,2.4vh,26px);
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding-top:clamp(14px,2.2vh,20px);
    border-top-color:rgba(255,255,255,.24);
  }
  body.home .hero__contact{
    display:flex;flex-direction:column;
    align-items:flex-start;justify-content:flex-start;
    gap:7px;font-size:13px;width:100%;
  }
  body.home .hero__contact a[target="_blank"]{
    display:none !important;
  }
  body.home .hero__contact a[href^="mailto:"]{
    display:flex !important;
  }
  body.home .hero__contact>*{
    display:flex;align-items:flex-start;justify-content:flex-start;
    gap:10px;line-height:1.5;text-align:left;width:100%;
  }
  body.home .hero__contact svg{
    margin-top:2px;flex:none;
  }
  body.home .hero__ctrl{
    align-self:stretch;
    margin-inline:0;
    margin-top:6px;
    display:flex;align-items:center;justify-content:space-between;
    gap:18px;
  }
  body.home .svc__media{aspect-ratio:16/9}
  body.home .post__media{aspect-ratio:16/9}
  body.home .services,body.home .insights{
    grid-template-columns:1fr;
    gap:20px;
  }
}
@media (max-width:600px){
  body.home .slider__track{grid-auto-columns:calc(100% - 36px)}
  body.home .step{padding:24px 20px 20px}
  body.home .step__title{margin-top:20px;font-size:16.5px}
  body.home .cta{
    padding:28px 22px;
    flex-direction:column;
    align-items:stretch;
    gap:18px;
  }
  body.home .cta__title{font-size:20px}
  body.home .cta .btn{width:100%;justify-content:center}
}
@media (max-width:480px){
  body.home .hero__title{font-size:clamp(38px,11vw,50px);line-height:1.06;text-align:center}
  body.home .hero__text{font-size:16.5px;text-align:center}
  body.home .svc__body{padding:20px 18px 18px}
  body.home .svc__title{font-size:20px}
  body.home .post__body{padding:18px 18px 0}
  body.home .post__title{font-size:16.5px}
  body.home .post__meta{padding:14px 18px}
}
