/* ================================================
   미래전자 - STORY + PARALLAX (다크 스테이지 + 화이트 시트) 스타일시트
   ================================================ */

:root {
  --dark: #14110d;
  --dark-ink: #ffffff;
  --dark-ink-dim: rgba(255,255,255,.72);

  --bg: #ffffff;
  --surface: #eef2f7;
  --ink: #1c1712;
  --ink-dim: rgba(28,23,18,.62);
  --line: rgba(28,23,18,.12);

  /* 어두운 배경(다크 스테이지·푸터)과 흰 배경 양쪽 모두에서 도드라지도록 고른
     밝은 하늘색 — 사이트 전체 포인트 컬러를 이 하나로 통일 */
  --accent: #38bdf8;
  --gradient: var(--accent);
  --cta-blue: var(--accent);

  --max: 1280px;
  --header-h: 76px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* .dark-stage__inner이 챕터별로 scale()/translateX() 되는데, 그 값이 뷰포트
     폭을 넘어서면 페이지 전체에 가로 스크롤이 생겼다 없어졌다 하고, 그 리플로우가
     04시트-impact 경계의 주황빛 번쩍임과 함께 나타났음 — 전역으로 가로 오버플로우
     자체를 막음 */
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 한글이 "솔루/션"처럼 글자 중간에서 끊기지 않게 단어(띄어쓰기) 단위로 줄바꿈.
     띄어쓰기 없는 긴 단어·URL은 박스를 넘칠 때만 끊어서 밖으로 튀어나가지 않게 함 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.s-container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.hide-mobile { display: inline; }

.s-eyebrow {
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- 스크롤 진행률 바 ---------- */
.s-progressbar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 500;
  transition: width .1s linear;
}

/* ================================================
   HEADER
   - 기본: 완전 투명, 로고 흰 실루엣, 텍스트 흰색
   - .mega-open: 헤더 배경 흰색, 로고 원래 색, 텍스트 검정 (메가메뉴 펼침과 동시에)
   - .is-hidden: 스크롤 다운 시 위로 숨김 / 스크롤 업 시 다시 표시
   - 로고~메뉴까지 하나의 그룹으로 가운데 정렬, 햄버거는 별도로 우측 고정
   ================================================ */
.s-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 200;
  background: transparent;
  display: flex;
  justify-content: center;
  /* background를 mega 패널과 같은 .7s로 맞춰서, 최상단에서 바로 메뉴에
     마우스를 올렸을 때 헤더 배경과 확장메뉴가 같은 속도로 함께 "자라나듯"
     보이게 함 */
  transition: background .7s var(--ease), transform .4s var(--ease);
}
.s-header.is-hidden { transform: translateY(-100%); }
/* 최상단(스크롤 0)에서만 완전 투명 + 흰 텍스트. 그 외에는(스크롤을 올려 다시
   나타난 경우 포함) 호버 없이도 기본적으로 흰 배경을 갖도록 함(altmive 참고) */
.s-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
/* 확장메뉴가 열려있을 때는 헤더 자신이 흰 배경을 갖지 않음 — 대신 .s-mega__panel이
   헤더 영역까지 덮으면서 내려오는 배경 하나가 헤더와 확장메뉴 전체를 함께 책임짐.
   (스크롤로 인한 반투명 흰 배경도 이 순간엔 꺼서 패널의 완전 불투명 흰색만 보이게 함) */
.s-header.mega-open { background: transparent; backdrop-filter: none; box-shadow: none; }

.s-header__inner {
  position: relative;
  z-index: 2; /* .s-mega(패널)보다 위에 있어야 로고·메뉴 글자가 흰 배경 위에서도 보임 */
  height: 100%;
  width: fit-content;
  display: flex;
  align-items: center;
  /* 로고~메뉴 간격도 메뉴 항목 간 간격(128px)과 동일하게 맞춤 */
  gap: 128px;
}

.s-logo { display: inline-flex; align-items: center; }
.s-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .2s var(--ease);
}

/* 헤더가 흰 배경일 때(메가메뉴 열림 또는 최상단이 아니어서 스크롤 배경이 있을 때)
   로고/텍스트를 원래 색 · 검정으로 전환 */
.s-header.mega-open .s-logo img,
.s-header.scrolled .s-logo img { filter: none; }

.s-nav-area { height: 100%; }
.s-nav, .s-nav ul { height: 100%; }
.s-nav ul { display: flex; gap: 128px; }
.s-nav li { height: 100%; display: flex; align-items: center; }
.s-nav a {
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--dark-ink);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  position: relative;
  transition: color .2s var(--ease);
}
.s-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.s-nav a:hover::after { transform: scaleX(1); }
.s-header.mega-open .s-nav a,
.s-header.scrolled .s-nav a { color: var(--ink); text-shadow: none; }
.s-header.mega-open .s-nav a:hover,
.s-header.scrolled .s-nav a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .s-nav-area { display: none; }
}

/* ---------- 햄버거 —  헤더/오버레이와 분리된 최상위 요소.
   오버레이(z-index 250)보다도 위에 있어야 열려 있는 동안에도 항상 보이고 눌러서 닫을 수 있음 ---------- */
.s-menu-btn {
  position: fixed;
  top: 0; right: 28px;
  height: var(--header-h);
  z-index: 260;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* 다크 스테이지 위에서는 흰색, 흰 시트 위에서는 검정으로 배경에 맞춰 실시간
   전환을 시도했으나 챕터 경계 부근에서 정확히 안 맞는 지점이 있어서 대신
   헤더와 함께 숨었다 나타나는 방식으로 단순화함 — 헤더가 보일 때만 햄버거도
   보이므로, 그 시점의 헤더 배경(투명/흰색)만 보고 판단하면 항상 정확함 */
.s-header.is-hidden ~ .s-menu-btn {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.s-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  margin: 0 auto;
  border-radius: 0;
  transition: background .2s var(--ease), transform .2s var(--ease), opacity .2s var(--ease);
}
.s-menu-btn.active span { background: var(--ink); }
/* 헤더가 흰 배경이 될 때(메가메뉴 열림 또는 스크롤 상태) — 헤더의 자식이 아니라
   형제 요소라 일반 형제 선택자로 같은 상태를 감지해서 햄버거도 함께 전환.
   햄버거가 항상 헤더와 함께만 보이므로, 헤더 자체의 배경 상태만으로 정확함 */
.s-header.mega-open ~ .s-menu-btn span,
.s-header.scrolled ~ .s-menu-btn span { background: var(--ink); }
.s-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.s-menu-btn.active span:nth-child(2) { opacity: 0; }
.s-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mega menu ----------
   .s-mega(바깥, hover 판정용 히트박스)를 헤더 맨 위(top:0)부터 시작하게 잡아서,
   그 안의 .s-mega__panel이 padding-top:header-h로 헤더 영역까지 통째로 덮게 함 —
   즉 헤더 자신은 배경이 없고(위에서 background:transparent 처리), 이 패널 하나가
   헤더~드롭다운을 한 덩어리로 책임짐. 그래서 헤더와 확장메뉴가 같은 배경 하나로
   붙어서 같이 나타나고 같이 사라짐 (두 개가 따로 노는 배경이 아님).
   바깥(.s-mega)은 위치·크기가 애니메이션 중에도 절대 안 움직이는 순수 히트박스이고,
   실제 흰 배경과 페이드 애니메이션은 안쪽 패널이 담당함 — 안쪽에서 처리해야
   마우스 hover 판정 경계가 안 움직여서 깜빡이는 버그가 안 생김 */
.s-mega {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1; /* .s-header__inner(z-index:2)보다 아래 — 로고·메뉴 글자가 항상 위에 보이게 */
  visibility: hidden;
  pointer-events: none;
  transition: visibility .7s var(--ease);
}
.s-header.mega-open .s-mega {
  visibility: visible;
  pointer-events: auto;
}
.s-mega__panel {
  padding-top: var(--header-h);
  background: #fff;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.s-header.mega-open .s-mega__panel {
  opacity: 1;
  transform: translateY(0);
}
/* 각 컬럼을 JS로 계산한 실제 위치(left)에 절대 배치해서, 위쪽 기본 메뉴(홈~문의하기)
   글자 바로 아래에 각 컬럼이 오도록 정렬함. 전체 패널 자체는 그대로 통째로 열림/닫힘 */
.s-mega__grid {
  position: relative;
  min-height: 170px;
  padding: 8px 32px 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.s-mega__col {
  position: absolute;
  top: 8px;
  white-space: nowrap;
}
.s-mega__col ul li { margin-bottom: 15px; }
.s-mega__col ul li a { font-size: 18px; color: var(--ink-dim); }
.s-mega__col ul li a:hover { color: var(--accent); }
.s-mega__col--right { text-align: right; }
.s-mega__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ink-dim);
  margin: 16px 0 12px;
}

@media (max-width: 900px) { .s-mega { display: none; } }

/* ================================================
   풀스크린 오버레이 메뉴 (햄버거 클릭 시)
   ================================================ */
.s-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--bg);
  display: flex;
  align-items: center;
  overflow-y: auto;
  padding: 100px 0 40px;
  clip-path: circle(0% at calc(100% - 52px) 38px);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.s-overlay.active {
  clip-path: circle(150% at calc(100% - 52px) 38px);
  pointer-events: auto;
}
.s-overlay__logo {
  position: absolute;
  top: 32px; left: 56px;
  z-index: 1;
}
.s-overlay__logo img {
  height: 38px;
  width: auto;
}

.s-overlay__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* 메가메뉴와 동일한 5개 항목(회사소개~문의하기) + 다른 버전 보기(개발용) 1개,
   총 6컬럼 구조를 풀스크린 버전으로 확대해서 보여줌 */
.s-overlay__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.s-overlay__title {
  display: block;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  transition: color .25s var(--ease);
}
a.s-overlay__title:hover { color: var(--accent); }
.s-overlay__title--plain { color: var(--ink-dim); font-weight: 700; }
.s-overlay__col ul li { margin-bottom: 14px; }
.s-overlay__col ul li a {
  font-size: 18px;
  color: var(--ink-dim);
  transition: color .25s var(--ease);
}
.s-overlay__col ul li a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .s-overlay__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 600px) {
  .s-overlay__grid { grid-template-columns: 1fr; gap: 34px; }
}
/* 모바일 전체 메뉴 — 메뉴가 세로로 길어지면 가운데 정렬(align-items:center) 때문에
   내용이 위로 밀려 올라가 절대 위치인 로고와 겹쳐 "로고가 떠 있는" 모습이 됐음.
   위에서부터 쌓이게 바꾸고, 로고는 닫기(X) 버튼과 같은 높이·좌우 여백으로 맞춤 */
@media (max-width: 760px) {
  .s-overlay { align-items: flex-start; padding: 96px 0 48px; }
  .s-overlay__logo { top: 22px; left: 20px; }
  .s-overlay__logo img { height: 30px; }
  .s-overlay__inner { padding: 0 24px; }
  .s-overlay__grid { gap: 28px; margin-bottom: 0; }
  .s-overlay__title { font-size: 22px; margin-bottom: 14px; }
  .s-overlay__col ul li { margin-bottom: 10px; }
  .s-overlay__col ul li a { font-size: 17px; }
}

/* ================================================
   스티키 스토리 배경 + 다크 스테이지 / 화이트 시트 반복
   ================================================ */
.scrolly {
  position: relative;
  /* 원래 200vh(다크스테이지100+시트100) — 시트를 80vh로 줄이며 180vh로 변경.
     되돌리려면 이 180vh를 200vh로, 아래 .chapter-block과 .sheet의 값도 함께 되돌릴 것.
     --chapters는 "다크스테이지100+시트80" 균일 챕터 개수만 셈 — 시트 없이
     다크스테이지 100vh만 있는 마지막 5번째 챕터(ch-services) 몫으로 100vh를
     별도로 더함 */
  height: calc(var(--chapters) * 180vh + 100vh);
}

.scrolly__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}
.scrolly__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 6s var(--ease);
}
.scrolly__slide.is-active { opacity: 1; transform: scale(1); }
/* main_story_info.jpg도 3:1 가로형 배너 사진이라 중앙 크롭 시 오른쪽 인물이 잘림 —
   intro-slide--wide와 동일하게 크롭 기준점을 오른쪽으로 옮김 */
.scrolly__slide--wide { object-position: 78% center; }

.scrolly__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20,17,13,.85) 0%, rgba(20,17,13,.45) 35%, rgba(20,17,13,.45) 65%, rgba(20,17,13,.9) 100%),
    rgba(20,17,13,.35);
}

/* ---------- 우측 챕터 도트 + 텍스트 (항상 우측 중앙에 고정, 라벨도 항상 노출, 클릭 시 이동) ---------- */
.scrolly__dots {
  position: fixed;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.scrolly__dot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.scrolly__dot-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  white-space: nowrap;
}
.scrolly__dot i {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.scrolly__dot:hover i { background: #fff; }
.scrolly__dot.is-active i { background: var(--cta-blue); transform: scale(1.4); }

/* 흰 시트가 화면을 덮은 구간에서는 도트/라벨도 어두운 색으로 전환해서 계속 보이게 함 */
.scrolly__dots.on-light .scrolly__dot-label { color: var(--ink); text-shadow: none; }
.scrolly__dots.on-light .scrolly__dot i { background: rgba(28,23,18,.3); }
.scrolly__dots.on-light .scrolly__dot:hover i { background: var(--ink); }
.scrolly__dots.on-light .scrolly__dot.is-active i { background: var(--cta-blue); }

@media (max-width: 760px) { .scrolly__dots { right: 16px; gap: 14px; } .scrolly__dot-label { display: none; } }

/* ---------- 우측 하단 스크롤 진행률 버튼 — 원형 링이 스크롤 %만큼 채워지고,
   맨 아래에 도달하면(.is-bottom) 링 안에 "맨 위로" 화살표가 나타나며 클릭 시 최상단으로 이동 ---------- */
.scroll-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20,17,13,.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.scroll-fab.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.scroll-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-fab__track {
  fill: none;
  stroke: rgba(255,255,255,.25);
  stroke-width: 3;
}
.scroll-fab__bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset .15s linear;
}
/* 화살표·퍼센트 숫자는 서로 같은 자리에 겹쳐두고 opacity로만 교차전환 */
.scroll-fab__arrow,
.scroll-fab__pct {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.scroll-fab__arrow {
  width: 18px; height: 18px;
  margin: auto;
  color: #fff;
  opacity: 0;
  transform: scale(.5);
}
.scroll-fab__pct {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
}
.scroll-fab.is-bottom .scroll-fab__arrow { opacity: 1; transform: scale(1); }
.scroll-fab.is-bottom .scroll-fab__pct { opacity: 0; }
.scroll-fab.is-bottom { background: var(--gradient); }
.scroll-fab.is-bottom .scroll-fab__track,
.scroll-fab.is-bottom .scroll-fab__bar { stroke: rgba(255,255,255,.9); }

/* 흰 시트(밝은 배경) 구간 위에서는 어두운 버전으로 전환 */
.scroll-fab.on-light { background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(28,23,18,.18); }
.scroll-fab.on-light .scroll-fab__track { stroke: var(--line); }
.scroll-fab.on-light .scroll-fab__arrow,
.scroll-fab.on-light .scroll-fab__pct { color: var(--ink); }
.scroll-fab.on-light.is-bottom { background: var(--gradient); box-shadow: none; }
.scroll-fab.on-light.is-bottom .scroll-fab__arrow { color: #fff; }

@media (max-width: 760px) { .scroll-fab { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

.scrolly__chapters { position: absolute; inset: 0; z-index: 1; }

/* 챕터 블록 하나 = 다크 스테이지(100vh) + 화이트 시트(80vh, 원래 100vh였음).
   다크 스테이지가 이 블록 내부에서만 붙박이로 고정되어, 스크롤해도 사진과 텍스트가
   함께 그대로 있다가 시트가 덮으면서 다음 블록의 다크 스테이지로 자연스럽게 넘어감.
   되돌리려면 180vh → 200vh (위 .scrolly, 아래 .sheet, js의 chapterHeight도 함께) */
.chapter-block { position: relative; height: 180vh; }
/* ch-services는 뒤에 시트 없이 다크 스테이지(100vh) 하나로 끝남 */
.chapter-block--services { height: 100vh; }

/* ---------- 인트로 전용 자체 슬라이드쇼 (3장, 3초 간격) — 공유 스티키 배경 위를 덮음.
   이미지 3장 모두 아래 .intro-text와 같은 "흐려졌다 선명해지는" 단일 규칙만 사용 —
   인덱스별 예외가 없어서 몇 번째 이미지든, 몇 바퀴를 돌든(3→1 포함) 항상 동일하게 재생됨.
   forwards로 최종 상태를 유지하는 keyframe 애니메이션(Kenburns) 대신 순수 transition을
   써서, 이전 사이클의 잔여 상태 때문에 효과가 안 먹는 문제가 생기지 않도록 함 ---------- */
.intro-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.intro-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(18px);
  transition: opacity 1.3s ease, transform 1.7s cubic-bezier(.16,.84,.44,1), filter 1.7s ease;
}
.intro-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
/* main_intro3_new.png는 가로로 아주 긴(3:1) 배너형 사진이라, 100vh를 꽉 채우는
   object-fit:cover 특성상 중앙 기준으로 자르면 오른쪽 인물·주유소가 잘려나감 —
   사람·주유소가 있는 오른쪽으로 크롭 기준점을 옮김 */
.intro-slide--wide { object-position: 78% center; }
.intro-slideshow__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20,17,13,.85) 0%, rgba(20,17,13,.45) 35%, rgba(20,17,13,.45) 65%, rgba(20,17,13,.9) 100%),
    rgba(20,17,13,.35);
}

/* 인트로 문구 3종 — 같은 자리에 겹쳐두고(grid stack) 이미지와 같은 타이밍에 전환.
   1번 챕터 등장 때 쓰는 것과 같은 "흐려졌다 선명해지는" 효과로 세 개 다 완전히
   동일하게 통일 — 인덱스별 예외 없이 하나의 규칙만 있어서 몇 번째든, 몇 바퀴를
   돌든 항상 같은 방식으로 재생됨 */
.intro-text-wrap { display: grid; }
.intro-text {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  filter: blur(18px);
  /* opacity:0이어도 요소는 여전히 클릭/호버를 가로채므로, 비활성 슬라이드는 이벤트를 꺼서
     같은 자리에 겹친 활성 슬라이드의 "자세히보기" 버튼이 눌리도록 함 */
  pointer-events: none;
  transition: opacity 1.3s ease, filter 1.7s ease;
}
.intro-text.is-active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
}

/* ---------- 다크 스테이지 (투명 — 스티키 배경이 그대로 비침, 스토리 전문이 여기 있음) ---------- */
.dark-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
  pointer-events: none;
  /* 챕터별 .dark-stage__inner transform(scale/translateX)이 뷰포트 폭을 넘어서지
     않도록 여기서 한 번 더 잘라냄 */
  overflow: hidden;
}
.dark-stage__inner {
  position: relative;
  z-index: 1; /* 인트로의 자체 슬라이드쇼(position:absolute) 위로 텍스트가 올라오게 함 */
  max-width: 1220px;
  opacity: 0;
  /* 효과가 순식간에 지나가 버리지 않도록 지속시간을 넉넉하게 늘림 */
  transition: opacity 1.3s ease, transform 1.7s cubic-bezier(.16,.84,.44,1), filter 1.7s ease;
  pointer-events: auto;
  /* 애니메이션 시작 시점에 브라우저가 뒤늦게 레이어를 승격시키면서 처음 몇
     프레임이 버벅여 "등장 후 살짝 흔들리는" 것처럼 보였음 — 미리 레이어를
     준비시켜 등장 내내 매끄럽게 처리되도록 함 */
  will-change: opacity, transform, filter;
}
.dark-stage.is-active .dark-stage__inner {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 챕터마다 서로 다른 등장 효과 — 줌인 / 좌우 슬라이드 / 줌아웃 / 솟아오르며 줌인.
   눈에 잘 띄도록 이동량 · 확대/축소 폭을 크게 잡음.
   (:not(.is-active)를 붙여서 .is-active 리셋 규칙과 명시도가 겹치지 않게 함 —
   겹치면 나중에 적힌 규칙이 항상 이겨서 활성화 후에도 리셋이 안 먹는 문제가 생김) */
.dark-stage:not(.is-active)[data-index="0"] .dark-stage__inner { filter: blur(18px); }
.dark-stage:not(.is-active)[data-index="1"] .dark-stage__inner { transform: scale(0.6); }
.dark-stage:not(.is-active)[data-index="2"] .dark-stage__inner { transform: translateX(-140px); }
.dark-stage:not(.is-active)[data-index="3"] .dark-stage__inner { transform: scale(1.45); }
.dark-stage:not(.is-active)[data-index="4"] .dark-stage__inner { transform: translateY(80px); }

.dark-stage__badge {
  display: inline-block;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--cta-blue);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  margin-bottom: 18px;
}
.dark-stage__title {
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--dark-ink);
  margin-bottom: 22px;
}
.dark-stage__desc {
  /* CTA 섹션과 같은 블루(--cta-blue)로 통일 — 사진 톤과 섞이지 않도록 그림자를 같이 줌 */
  color: var(--cta-blue);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  max-width: 1160px;
  margin: 0 auto;
}

/* 챕터 2(수소) 전용 — 인증서 이미지가 좌측에 크게, 타이틀+설명이 우측에
   오는 완전 좌우 분할 레이아웃. .dark-stage__inner의 opacity/transform
   애니메이션은 그대로 두고, 이 챕터([data-index="2"])에서만 내부를
   flex row로 바꿔 좌(이미지)/우(텍스트)로 나눔 */
.dark-stage[data-index="2"] .dark-stage__inner {
  display: flex;
  align-items: center;
  gap: 72px;
  text-align: left;
}
.dark-stage__certify-media { flex: none; }
/* 인증서 "투명 액자" 효과 — 반투명 유리(glassmorphism) 프레임이 인증서 사진과
   캡션을 함께 감싸, 사진이 배경 위에 붕 떠 있는 액자처럼 보이게 함 */
.dark-stage__certify-frame {
  width: 500px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.dark-stage__certify-frame img {
  display: block;
  width: 100%;
  border: 6px solid #fff;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
}
.dark-stage__certify-caption { margin-top: 22px; text-align: left; }
/* 인증서 확대보기 안내 — 공용 .zoom-hint는 밝은 배경 기준(색: --ink)이라
   다크 스테이지의 어두운 배경에서는 밝은 색으로 덮어씀 */
.dark-stage__certify-frame .zoom-hint {
  margin: 14px 0 0;
  color: rgba(255,255,255,.75);
}
.dark-stage__certify-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.dark-stage__certify-strong {
  margin: 0 0 8px;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 800;
  color: #fff;
}
.dark-stage__certify-desc-small {
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,.62);
}
.dark-stage__certify-text { flex: 1; text-align: left; }
.dark-stage__certify-text .dark-stage__title { text-align: left; }
.dark-stage__certify-text .dark-stage__desc {
  margin: 0;
  max-width: none;
  text-align: left;
}
@media (max-width: 900px) {
  .dark-stage[data-index="2"] .dark-stage__inner { flex-direction: column; text-align: center; }
  .dark-stage__certify-frame { width: min(340px, 80vw); }
  .dark-stage__certify-caption { text-align: center; }
  .dark-stage__certify-text { text-align: center; }
  .dark-stage__certify-text .dark-stage__title,
  .dark-stage__certify-text .dark-stage__desc { text-align: center; max-width: none; }
}

.dark-stage__list { display: inline-block; text-align: left; margin-top: 4px; }
.dark-stage__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--cta-blue);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
}
.dark-stage__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 14px; height: 2px;
  background: var(--cta-blue);
}

.dark-stage__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.dark-stage__tags span {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  color: var(--dark-ink);
}

/* 다크 스테이지용 "아이콘 + 제목 + 설명" 3열 피처 행 (예: LPG 챕터) */
.dark-stage__feature-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.dark-stage__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 300px;
  text-align: left;
}
.dark-stage__feature-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--cta-blue);
}
.dark-stage__feature-icon svg { width: 25px; height: 25px; }
.dark-stage__feature-title { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.dark-stage__feature-desc { font-size: 16px; color: rgba(255,255,255,.65); margin: 0; }
@media (max-width: 760px) {
  .dark-stage__feature-row { justify-content: flex-start; }
  .dark-stage__feature { max-width: none; }
}

/* ---------- 인트로 각 슬라이드용 "자세히보기" 버튼 — .sheet__more와 동일한
   반투명 유리(glassmorphism) 스타일, 어두운 배경 위에서도 잘 보이도록 톤만 조정 ---------- */
.dark-stage__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.6);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.dark-stage__more::after { content: "→"; transition: transform .25s var(--ease); }
.dark-stage__more:hover {
  background: rgba(255, 255, 255, .3);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-2px);
}
.dark-stage__more:hover::after { transform: translateX(4px); }

/* ---------- 인트로 전용 "스크롤을 내려보라" 안내 — 다크 스테이지 하단 중앙에 고정,
   포인트 컬러 원형 배지 안 화살표가 위아래로 바운스하며 스크롤을 유도함 ---------- */
.scrolly__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--dark-ink);
}
.scrolly__scroll-hint span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
/* 버튼처럼 보이지 않도록 원형 테두리/배경 없이, 화살표 아이콘만 위아래로 움직이게 함 */
.scrolly__scroll-hint-arrow {
  display: flex;
  color: var(--dark-ink);
  animation: scrollHintBounce 1.6s infinite ease-in-out;
}
.scrolly__scroll-hint-arrow svg { width: 22px; height: 22px; }
@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .65; }
}

/* ---------- 인트로 좌측 하단 — 슬라이드 구분(01/02/03, 클릭 시 이동) + 자동전환 일시정지/재생 토글.
   부모 .dark-stage가 pointer-events:none이라(스토리 텍스트 뒤 사진이 클릭에 막히지 않도록),
   여기서 명시적으로 auto를 다시 켜주지 않으면 버튼이 눌리지 않음 ---------- */
.intro-control {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--dark-ink);
  pointer-events: auto;
}
.intro-control__toggle {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.intro-control__toggle:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.75); }
.intro-control__icon { width: 13px; height: 13px; fill: currentColor; }
.intro-control__icon--play { display: none; }
.intro-control__toggle.is-paused .intro-control__icon--pause { display: none; }
.intro-control__toggle.is-paused .intro-control__icon--play { display: block; }

.intro-control__index {
  display: flex;
  align-items: center;
  gap: 14px;
}
.intro-control__num {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,.45);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  cursor: pointer;
  transition: color .2s var(--ease);
}
.intro-control__num:hover { color: rgba(255,255,255,.8); }
.intro-control__num.is-active { color: #fff; }

@media (max-width: 760px) { .intro-control { left: 20px; bottom: 28px; } }

@media (max-width: 760px) { .hide-mobile { display: none; } }

/* ---------- 화이트 시트 — 완전 불투명, 위쪽 모서리가 둥글게 말려 올라오는 카드 형태.
   원래 100vh였음 — 되돌리려면 80vh를 100vh로 (위 .chapter-block, .scrolly,
   js의 chapterHeight도 함께 되돌릴 것) ---------- */
.sheet {
  position: relative;
  height: 80vh;
  background: #ffffff;
  border-radius: 56px 56px 0 0;
  box-shadow: 0 -50px 90px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 01 시트 전용 — 좌측 지도 이미지 + 우측 통계/카피 2단 레이아웃.
   .sheet는 스크롤 챕터 계산이 100vh 고정을 전제로 하므로(js의 chapterHeight)
   영역 높이는 그대로 두고, 이미지·타이포를 키워 여백을 채움 ---------- */
.sheet--split { padding: 0 32px; overflow: hidden; }
/* 큰 모니터에서 남는 여백을 채우는 배경 워터마크 — 챕터별 영문 키워드
   (LPG=SELF, 수소=H2, 세차=WASH)를 아주 옅게 크게 깔아둠. 뷰포트 폭 기준
   vw로 커지므로 화면이 커질수록 자연스럽게 존재감이 커짐 */
.sheet__ghost {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: clamp(120px, 20vw, 420px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  opacity: .05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
@media (max-width: 860px) { .sheet__ghost { display: none; } }
.sheet__split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  gap: 120px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.sheet__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1072 / 941;
  box-shadow: 0 34px 80px rgba(28,23,18,.22);
}
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 01 시트 — [지도 배경 구역] + [흰 배경 협력사 마퀴 구역] 세로 2단.
   .sheet__map-zone은 flex:1로 마퀴 높이를 뺀 나머지 전체를 차지하며, 그 구역에만
   지도(01_map.jpg, 크롭·합성 없이 원본 그대로) 배경을 깔아 "바닥에 붙어있는" 느낌을 냄.
   마퀴 구역은 이미지가 아예 없어 .sheet 기본 흰 배경이 그대로 보임.
   .sheet가 이미 위쪽만 둥근 모서리(border-radius: 56px 56px 0 0)에 overflow:hidden이라
   지도도 자동으로 그 모양에 맞춰 잘려서 귀퉁이가 깔끔하게 처리됨 ---------- */
.sheet--map { flex-direction: column; align-items: stretch; padding: 0; }
.sheet__map-zone {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 0 56px 0 150px;
  /* 텍스트가 놓이는 왼쪽 구간만 흰색 그라데이션으로 덮어 지도의 도트 패턴을
     정리하고, 오른쪽 지도 그래픽 쪽은 그대로 선명하게 보이도록 함 */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .72) 32%, rgba(255, 255, 255, 0) 58%),
    url(../images/main_layer_01_map.jpg);
  /* 비율을 유지한 채(찌그러짐 없이) 빈틈없이 꽉 채움 — 구역 가로세로 비율과
     이미지 비율이 달라서 위아래가 살짝씩 잘리지만, 좌우 여백이나 찌그러짐은 없음 */
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.sheet--map .sheet__content--overlay {
  height: auto;
  max-width: 920px;
  /* 좁힌 간격(20px)만큼 위/아래 여백으로 되돌려서 전체 블록 높이는 유지 */
  padding-top: 10px;
  padding-bottom: 10px;
}
/* 02~04시트의 라벨↔제목은 일반 블록 흐름이라 margin이 서로 겹쳐(collapse)
   18px(둘 중 큰 값)로 끝나는데, 01시트는 .sheet__content가 flex라 margin이
   겹치지 않고 flex gap(20px)에 라벨의 margin-bottom(18px)이 그대로 더해져
   38px가 됨 — flex 환경에 맞게 라벨의 margin-bottom을 없애고 살짝 음수로
   줘서 총 간격을 다른 시트와 동일한 18px로 맞춤 */
.sheet--map .sheet__content--overlay .s-eyebrow { margin-bottom: -2px; }
.sheet__desc { font-size: 16px; line-height: 1.75; color: var(--ink-dim); max-width: 880px; }

.sheet--map .sheet__lead {
  font-size: clamp(29px, 2.6vw, 37px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.45;
}
.sheet--map .sheet__desc { font-size: 19px; font-weight: 500; }
.sheet--map .sheet__punch { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; }

/* 01 시트(핵심역량) 전용 — LPG/수소 통계를 한 줄에 세로 구분선으로 나란히,
   태그도 카드가 아닌 순수 텍스트 + "|" 구분선으로 표시(pptx 시안 참고).
   .sheet__content가 justify-content:space-between인 flex-column이라, 서로
   붙어있어야 하는 항목(통계+각주, 태그+짧은 선)은 각각 하나의 wrap으로
   묶어서 부모의 큰 간격 분배 대상이 되지 않고 자체 간격만 갖게 함 */
.map-stats-wrap { display: flex; flex-direction: column; gap: 6px; }
.map-tags-wrap { display: flex; flex-direction: column; gap: 16px; }

.map-stats { display: flex; gap: 32px; }
.map-stats__item { position: relative; padding-right: 32px; }
.map-stats__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; right: 0;
  width: 1px;
  background: var(--line);
}
.map-stats__label { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.map-stats__num { margin: 0; font-size: clamp(38px, 4vw, 54px); font-weight: 800; line-height: 1; color: var(--accent); }
.map-stats__num em { font-style: normal; font-size: 15px; font-weight: 600; color: var(--ink); margin-left: 6px; }
.map-stats__note { margin: 0; font-size: 13px; color: var(--ink-dim); }

.map-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.map-tags__sep { color: var(--line); font-weight: 400; }

.map-divider { display: block; width: 40px; height: 2px; background: var(--accent); border: none; }

@media (max-width: 860px) {
  .map-stats, .map-tags { justify-content: center; }
  .map-stats-wrap, .map-tags-wrap { align-items: center; }
  .map-divider { margin: 0 auto; }
}

/* ---------- 01 시트 하단 — 협력사 로고가 왼쪽으로 끊김 없이 흘러가는 마퀴(흰 배경 구역) ---------- */
.partners-marquee {
  width: 100%;
  flex: none;
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.partners-marquee__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: partnersMarquee 68s linear infinite;
  /* GPU 합성 레이어로 분리해서 버벅임 없이 부드럽게 흐르도록 함 */
  will-change: transform;
  backface-visibility: hidden;
}
.partners-marquee__track img {
  height: 30px;
  width: auto;
  flex: none;
}
@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track { animation: none; }
}
/* 지도 이미지 높이에 맞춰 컨텐츠 컬럼도 그 높이만큼 늘어나게(stretch) 하고,
   내부는 flex space-between으로 위(리드 문구)~아래(버튼)까지 고르게 분산시킴 —
   이미지와 텍스트 블록의 높이가 항상 서로 맞음 */
.sheet__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.sheet__lead {
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ---------- 02 시트 — 하드웨어·소프트웨어 4종을 카드 그리드로 보여줌.
   01처럼 1920 기준으로 넓게 쓰고(.sheet__split 대신 별도 wrap), 카드는 호버해도
   위치 이동 없이 이미지만 살짝 확대됨 ---------- */
.sheet__cards-wrap { width: 100%; max-width: 1780px; margin: 0 auto; text-align: center; }
.sheet__cards-head { text-align: center; margin-bottom: 48px; }
.sheet__cards-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 10px;
}
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 18px;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.08); }
/* 모바일 카드만 화면 중앙이 아니라 상단(핸드폰 상단부)이 보이도록 크롭 기준점을 위로 이동 */
.product-card--mobile .product-card__media img { object-position: top; }
.product-card__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0;
}
.product-card-grid .product-card__title { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 0; }
.product-card-grid .product-card__desc { font-size: 16px; line-height: 1.6; color: var(--ink-dim); }
.product-card-grid .product-card__body { gap: 8px; padding-top: 8px; padding-bottom: 16px; }
.product-card-grid .product-card__media { margin-bottom: 10px; }
/* 3번째 카드(대시보드 스크린샷)만 잘리지 않고 전체가 보이도록 — 카드/영역 크기는
   그대로 두고 이미지만 축소해서 박스 안에 다 들어오게 함 */
.product-card-grid .product-card__media--fit img { object-fit: contain; padding: 14px; }
.sheet--cards .sheet__more { margin: 44px auto 0; }
@media (max-width: 900px) {
  .product-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 03 시트 — 흰 배경 대신 톤을 넣고, 카드 3장(이미지+캡션)으로 구성.
   모바일 이미지도 잘리지 않도록 전부 object-fit: contain으로 처리함 ---------- */
.sheet--h2cards { background: linear-gradient(to bottom, var(--surface) 0%, var(--surface) 50%, #ffffff 50%, #ffffff 100%); }
.sheet--h2cards .sheet__cards-head { margin-bottom: 48px; }
.sheet--h2cards .sheet__more { margin: 44px auto 0; }
.h2-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.h2-card {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  /* 그림자만으로는 아래쪽만 도드라지고 위쪽 경계가 흐려서, 옅은 테두리를 둘러
     네 변이 고르게 구분되도록 함 */
  border: 1px solid rgba(28, 23, 18, .14);
  box-shadow: 0 22px 46px rgba(28, 23, 18, .14);
}
.h2-card__media {
  /* 3열이라 한 칸이 넓어서 세로로 긴 4:5 비율을 쓰면 카드 전체가 80vh를 넘어가
     위아래가 잘림 — 훨씬 낮은(가로형) 비율로 바꿔서 세로 높이를 줄임 */
  aspect-ratio: 5 / 4;
  /* 04시트 배경이 밝은 톤(var(--surface))으로 바뀌면서, 카드는 02시트 카드와
     같은 톤으로 통일됨 */
  background: var(--surface);
  overflow: hidden;
}
.h2-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
  transition: transform .45s var(--ease);
}
.h2-card:hover .h2-card__media img { transform: scale(1.06); }
.h2-card__caption {
  /* 글씨가 커져도(15px→22px) 캡션 영역 높이는 기존과 동일(60px)하게 고정하고
     flex로 세로 중앙 정렬 — padding+line-height로 계산하던 방식 대신 높이를
     직접 고정해 영역이 변하지 않도록 함 */
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
}
@media (max-width: 900px) {
  .h2-card-grid { grid-template-columns: 1fr; }
}

/* ---------- 04 시트 — 크림 대신 새 라이트 서피스 톤, 카드 3장은 이미지+캡션 분리형 ---------- */
.sheet--carwash-cards { overflow: hidden; background: var(--surface); }
.sheet--carwash-cards .sheet__cards-wrap { position: relative; z-index: 1; }
.sheet--carwash-cards .sheet__cards-wrap { max-width: 1600px; }
.sheet--carwash-cards .sheet__cards-head { margin-bottom: 48px; }
.sheet--carwash-cards .sheet__cards-head .sheet__cards-title {
  color: var(--ink);
}
.sheet--carwash-cards .sheet__more { margin: 44px auto 0; }

.carwash-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 카드끼리 간격 없이 서로 붙임 */
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
}
.carwash-card {
  position: relative;
  display: block;
  /* 열 폭 기준 정사각형(aspect-ratio)이면 화면 높이가 낮을 때 80vh를 넘어 잘림 —
     화면 세로 크기(vh)에 맞춰 높이가 같이 줄어들도록 함 */
  height: 44vh;
  overflow: hidden;
  background: var(--ink);
}
/* 카드 3장이 gap 없이 붙어있어 전부 --ink 하나로만 칠하면 경계가 안 보임 —
   같은 다크 톤 계열 안에서 카드별로 명도/색감을 달리해 구분되게 함 */
.carwash-card--standard { background: #1c1712; }
.carwash-card--premium { background: linear-gradient(160deg, #4a2f18, #2a1a0c); }
.carwash-card--program { background: #142a2c; }
/* 03시트(수소) 카드 3장 — 우측 점 내비게이션이 .sheet를 무조건 밝은 배경으로
   간주해 어두운 점 색을 쓰기 때문에, 카드 배경이 어두우면 그 위에서 점이 안
   보임 — 페이지 바탕색과 겹치지 않도록 또렷한 파스텔 톤으로 구분.
   글씨도 밝은 배경에 맞춰 어두운 색으로 바꾸고, 흰 글씨용이었던 검은
   그라데이션(scrim)은 꺼서 칙칙해 보이지 않게 함 */
.sheet--h2cards .carwash-card:nth-child(1) { background: #dbe9fb; }
.sheet--h2cards .carwash-card:nth-child(2) { background: #dcf3e6; }
.sheet--h2cards .carwash-card:nth-child(3) { background: #e7defa; }
.sheet--h2cards .carwash-card__scrim { display: none; }
/* 카드만 아래로 더 늘리고(52vh), 이미지는 원래 크기(44vh)로 고정해서 카드가
   커져도 같이 커지지 않게 함 — 늘어난 만큼 카드 하단에 생기는 여백에 글씨를
   배치해서 이미지와 절대 겹치지 않게 함 */
.sheet--h2cards .carwash-card { height: 47vh; }
.sheet--h2cards .carwash-card img { top: 0; bottom: auto; height: 44vh; }
.sheet--h2cards .carwash-card__title {
  left: 50%; right: auto;
  bottom: 14px;
  transform: translateX(-50%);
  color: var(--ink);
  background: none;
  font-size: 22px;
  text-shadow: none;
}
/* 글씨가 커진 만큼(19px→22px) 1번·3번 카드는 사진 자체가 이미지 박스
   하단까지 꽉 차 있어 캡션과 겹칠 여지가 있음 — 두 카드만 이미지를 살짝
   축소해 여유를 둠. 카드/이미지 박스 높이(47vh/44vh)는 그대로 유지 */
.sheet--h2cards .carwash-card:nth-child(1) img,
.sheet--h2cards .carwash-card:nth-child(3) img {
  height: 42vh;
}
.carwash-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* 카드가 낮고 넓은데 제품 사진은 세로로 길어서, cover로 채우면 위아래가 많이
     잘림 — contain으로 전체가 다 보이게 하고, 남는 여백은 카드 배경(다크 톤)이
     자연스럽게 채워줌 */
  object-fit: contain;
  padding: 20px;
  transition: transform .5s var(--ease);
}
.carwash-card:hover img { transform: scale(1.06); }
.carwash-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 48%);
  pointer-events: none;
}
.carwash-card__title {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
@media (max-width: 900px) {
  .carwash-card-grid { grid-template-columns: 1fr; }
}

/* ---------- 02·03 공통 — .sheet__features가 검정 텍스트만 있으면 허전하고
   어두워 보여서, 항목마다 번호 배지 + 제목 그라디언트 컬러로 포인트를 줌 ---------- */
.sheet__features { display: flex; flex-direction: column; gap: 26px; counter-reset: feat; }
.sheet__features li { display: flex; flex-direction: column; gap: 6px; }
.sheet__features li::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}
.sheet__features strong {
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sheet__features span {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--ink-dim);
}

.sheet__punch {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--ink);
}

/* 01~05 시트 공통 CTA — 상세페이지 연결용. 흰 배경이든 사진/이미지 배경이든 두루
   어울리도록 만든 반투명 유리(glassmorphism) 스타일 — 테두리·그림자를 어두운 톤
   (흰 배경에서도 또렷하게 보임)으로, 채움은 흰색 반투명 블러(사진 위에선 은은하게
   비쳐 보임)로 구성함 */
.sheet__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(28, 23, 18, .16);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(28, 23, 18, .1);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.sheet__more::after { content: "→"; transition: transform .25s var(--ease); }
.sheet__more:hover {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(28, 23, 18, .26);
  box-shadow: 0 12px 26px rgba(28, 23, 18, .16);
  transform: translateY(-2px);
}
.sheet__more:hover::after { transform: translateX(4px); }

@media (max-width: 860px) {
  .sheet__split { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .sheet__content { align-items: center; text-align: center; }
  .sheet__features { align-items: center; }
  .sheet__media { max-width: 340px; margin: 0 auto 24px; width: 100%; }
}

/* ================================================
   이후 일반 스크롤 영역 (라이트 톤으로 자연스럽게 이어짐)
   ================================================ */

/* ---------- Dashboard showcase ---------- */
.s-dashboard { background: var(--bg); padding: 120px 0; position: relative; z-index: 2; }
.s-dashboard__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.s-dashboard__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.45; margin: 18px 0 20px; color: var(--ink); }
.s-dashboard__desc { color: var(--ink-dim); }

.s-dashboard__frame { border-radius: 16px; overflow: hidden; background: #0d1520; box-shadow: 0 30px 60px rgba(28,23,18,.18); }
.s-dashboard__bar { display: flex; gap: 6px; padding: 12px 16px; background: #171f2b; }
.s-dashboard__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.s-dashboard__bar span:nth-child(1) { background: #ff5f57; }
.s-dashboard__bar span:nth-child(2) { background: #febc2e; }
.s-dashboard__bar span:nth-child(3) { background: #28c840; }
.s-dashboard__frame img { width: 100%; display: block; }

@media (max-width: 900px) { .s-dashboard__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Impact numbers (about.asp 등 다른 페이지와 공유하는 기본 스타일 —
   index.asp에서는 .s-services 안에서 아래쪽 규칙으로 재스킨됨) ---------- */
.s-impact { background: var(--surface); padding: 100px 0; position: relative; z-index: 2; }
.s-impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.s-impact__item { position: relative; padding: 0 20px; }
.s-impact__item:not(:last-child)::after {
  content: ""; position: absolute; top: 10%; right: 0; bottom: 10%; width: 1px; background: var(--line);
}
.s-impact__num, .s-impact__item em {
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-impact__item p { margin-top: 10px; color: var(--ink-dim); font-size: 15px; }

@media (max-width: 760px) {
  .s-impact__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .s-impact__item:nth-child(2)::after { display: none; }
}

/* ---------- Contact (about.asp 등과 공유하는 기본 스타일) ---------- */
.s-contact { background: var(--bg); padding: 140px 0; position: relative; z-index: 2; }
.s-contact__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.s-contact__title { font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.4; margin: 18px 0 20px; color: var(--ink); }
.s-contact__desc { color: var(--ink-dim); margin-bottom: 34px; }
.s-contact__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 auto 36px; width: fit-content; }
.s-contact__info li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; }
.s-contact__info strong { display: inline-block; flex: none; width: 76px; text-align: left; color: var(--cta-blue); font-weight: 700; font-size: 13px; letter-spacing: 1px; }

/* ---------- index.asp 전용: 5번째 스토리(챕터4, ch-services) — impact 숫자를
   다크 스테이지 안 서비스 카드형으로 표현. 배경 사진은 인트로 3번째 이미지를
   재사용. .s-impact__item/.s-impact__num 클래스는 카운트업 JS 호환을 위해
   그대로 재사용하므로, 공용 스타일과 충돌하는 부분은 .dark-stage 하위로 덮어씀 */
.s-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
}
.dark-stage .s-impact__item::after { content: none; } /* 공용 구분선 pseudo 제거 */
.dark-stage .s-service-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  /* 호버로 빠르게 진입·이탈하면 이동 전 위치에 얇은 선(리페인트 잔상)이 남는
     현상 방지 — 별도 컴포지팅 레이어로 항상 승격시켜 둠(대기 상태에도 transform 0
     을 명시해 hover 진입 때 레이어가 새로 생기지 않고 계속 유지되게 함) */
  will-change: transform, box-shadow;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.dark-stage .s-service-card:hover {
  transform: translateY(-8px) translateZ(0);
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.s-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .18);
  color: var(--accent);
}
.s-service-card__icon svg { width: 26px; height: 26px; }
/* 단위(+, .9%, H)를 나타내는 <em>이 공용 규칙(인라인 헤드의 +10px 오버라이드)에서
   숫자와 같이 큰 폰트로 걸려있는데, 숫자만 줄이면 단위만 상대적으로 커 보이는
   문제가 있어서 숫자·단위를 이 카드 안에서는 같은 크기로 통일함 */
.dark-stage .s-impact__num,
.dark-stage .s-impact__item em {
  font-size: clamp(44px, 4.6vw, 62px);
}
/* 공용 규칙(.s-impact__item p)이 (클래스+태그) 명시도라, 태그를 포함시켜
   같은 급 이상으로 맞춰서 !important 없이 이기게 함 */
.dark-stage p.s-service-card__label {
  margin-top: 10px;
  color: rgba(255, 255, 255, .75);
  font-size: 26px;
  font-weight: 600;
}
/* 상담 주제 카드(숫자 없이 제목+설명만 있는 카드) — .s-service-card 셸을
   그대로 재사용하고 내부만 제목/설명 구조로 교체 */
.s-service-card__title { margin: 0; color: #fff; font-weight: 800; font-size: 24px; }
.dark-stage p.s-service-card__desc {
  margin-top: 8px;
  color: rgba(255, 255, 255, .65);
  font-size: 20px;
  line-height: 1.5;
}

/* 카드 4개 밑에 깔리는 큰 문의 카드 — 그리드 전체 폭을 차지하고, 시트 없이
   다크 배경 위에 계속 남아있으므로 텍스트는 흰색 계열로.
   .dark-stage .s-service-card{text-align:center}(공용, 아이콘 카드 4개용)보다
   명시도를 높여야 이 카드의 좌측 정렬이 이김 */
.dark-stage .s-service-card.s-service-card--contact,
.s-service-card--contact {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  padding: 32px 40px;
}
.s-contact-text { width: 100%; max-width: 640px; }
.s-service-card--contact .s-contact__title { color: #fff; margin: 0; }
.s-service-card--contact .s-contact__desc { color: rgba(255, 255, 255, .68); margin: 18px 0 0; }
.s-contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.s-service-card--contact .s-contact__info {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0;
  width: auto;
}
.s-service-card--contact .s-contact__info li { color: rgba(255, 255, 255, .85); }
/* 기본 .s-contact__info strong은 여러 줄 라벨을 세로로 맞추려고 width:76px
   고정폭을 씀 — 이 카드는 한 줄(가로) 배치라 그 고정폭 때문에 "영업부"/"이메일"
   글자와 뒤 내용 사이에 불필요한 빈 공간이 생김. 폭을 내용만큼만 차지하도록
   풀어서 라벨과 값이 바짝 붙게 함 */
.s-service-card--contact .s-contact__info strong { width: auto; }
.s-service-card--contact .s-btn--primary { flex: none; }

@media (max-width: 900px) {
  .s-contact-bottom { flex-direction: column; align-items: flex-start; }
  .s-service-card--contact .s-contact__info { flex-direction: column; }
}

@media (max-width: 760px) {
  .s-services__grid { grid-template-columns: repeat(2, 1fr); }
}

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

.s-btn { display: inline-flex; padding: 15px 32px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.s-btn--primary { background: var(--gradient); color: #fff; }
.s-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,.35); }

/* ---------- Footer ---------- */
/* 다크 스테이지 톤(--dark)으로 배경을 바꾸되, 로고는 브랜드 컬러 그대로 보여야
   해서(회사 방침) 필터로 반전하지 않고 로고 뒤에 흰 배지를 깔아 원본을 그대로 노출 */
.s-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 2; padding: 56px 0 32px; }
.s-footer__inner { display: flex; flex-direction: column; gap: 28px; }

.s-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.s-footer__logo { display: inline-flex; align-items: center; }
.s-footer__logo img {
  height: 56px;
  width: auto;
  background: #fff;
  padding: 12px 20px;
  border-radius: 8px;
}
.s-footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.s-footer__nav a { font-size: 17px; color: var(--dark-ink-dim); }
.s-footer__nav a:hover { color: var(--dark-ink); }

.s-footer__info { display: flex; flex-direction: column; gap: 6px; }
.s-footer__info p { font-size: 16px; color: var(--dark-ink-dim); line-height: 1.6; }
.s-footer__company { font-size: 18px; font-weight: 700; color: var(--dark-ink); margin-bottom: 2px; }

.s-footer__copyright { font-size: 15px; color: var(--dark-ink-dim); }

/* 모바일 전용 요소는 PC에서 숨김 (PC 화면은 기존 한 줄 표기 그대로) */
.s-footer__label,
.s-footer__call { display: none; }
/* 마우스 환경(PC)에서는 전화번호가 링크처럼 동작하지 않게 */
@media (hover: hover) and (pointer: fine) { .s-footer__tel { pointer-events: none; } }

@media (max-width: 640px) {
  .s-footer { padding: 40px 0 28px; }
  .s-footer__inner { gap: 24px; }

  /* 상단 묶음을 풀어서 로고 → 회사정보 → 전화버튼 → 약관링크 → 저작권 순으로 배치 */
  .s-footer__top { display: contents; }
  .s-footer__logo { order: 1; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .s-footer__logo img { height: 44px; padding: 9px 16px; }
  .s-footer__info { order: 2; }
  .s-footer__call { order: 3; }
  .s-footer__nav { order: 4; }
  .s-footer__copyright { order: 5; }

  /* 회사정보: 항목명 | 값 2열 목록 */
  .s-footer__info { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 8px; }
  .s-footer__row { display: contents; }
  .s-footer__pc { display: none; }
  .s-footer__label { display: block; font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; white-space: nowrap; }
  .s-footer__value { font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.6; }
  .s-footer__addr2 { display: inline-block; }
  .s-footer__company { grid-column: 1 / -1; font-size: 16px; margin-bottom: 4px; }

  /* 전화 문의 버튼 */
  .s-footer__call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 16px;
    font-weight: 800;
  }
  .s-footer__call-num { font-weight: 600; opacity: .8; }
  .s-footer__call:active { opacity: .85; }

  /* 약관 링크: 한 줄 + 가운데 점 구분, 개인정보처리방침 강조 */
  .s-footer__nav { gap: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
  .s-footer__nav li + li::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.4); }
  .s-footer__nav a { font-size: 14px; }
  .s-footer__privacy { font-weight: 700; color: var(--dark-ink); }

  /* 저작권: 작게, 오른쪽 아래 "맨 위로" 버튼과 겹치지 않도록 오른쪽 여백 */
  .s-footer__copyright { margin-top: -12px; padding-right: 64px; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
}

/* ---------- 약관/정책 레이어 팝업 ---------- */
.s-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(20, 17, 13, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.s-modal.active { opacity: 1; visibility: visible; }
.s-modal__panel {
  background: #fff;
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .3);
  transform: translateY(20px);
  transition: transform .25s var(--ease);
}
.s-modal.active .s-modal__panel { transform: translateY(0); }
.s-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.s-modal__title { font-size: 20px; font-weight: 800; color: var(--ink); }
.s-modal__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-dim);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.s-modal__close:hover { background: var(--surface); color: var(--ink); }
/* overscroll-behavior:contain — 본문을 끝까지 스크롤했을 때 남은 휠 동작이
   뒤쪽 배경(본창)으로 흘러넘쳐 스크롤되는(scroll chaining) 현상을 막음 */
.s-modal__body { padding: 22px 28px 32px; overflow-y: auto; overscroll-behavior: contain; }
.s-modal__body h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; }
.s-modal__body h3:first-child { margin-top: 0; }
.s-modal__body p { font-size: 14px; line-height: 1.7; color: var(--ink-dim); margin-bottom: 10px; }
.s-modal__body ul { margin: 4px 0 14px; padding-left: 18px; }
.s-modal__body ul ul { margin: 4px 0 8px; }
.s-modal__body li { font-size: 13.5px; line-height: 1.7; color: var(--ink-dim); list-style: disc; margin-bottom: 6px; }
.s-modal__body li li { list-style: circle; font-size: 13px; }

@media (max-width: 640px) {
  .s-modal { padding: 0; }
  .s-modal__panel { max-width: none; max-height: 100vh; height: 100%; border-radius: 0; }
}

/* ================================================
   서브페이지 공용 컴포넌트 (제품 상세 / 회사소개 / 제품 목록 등
   index.asp 밖의 일반 페이지에서 재사용)
   ================================================ */

/* 고정 헤더가 겹치므로 본문 시작 지점에 여백 확보 */
.sub-main { padding-top: var(--header-h); }

/* 브레드크럼 */
/* 서브페이지 브레드크럼 — 클릭 이동 없이 현재 위치만 보여주는 텍스트 표시용.
   마지막 항목(.breadcrumb__current)만 진하게, 나머지는 흐리게 유지 */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 20px 0; font-size: 13px; color: var(--ink-dim); }
.breadcrumb .breadcrumb__current { color: var(--ink); font-weight: 600; }

/* 히어로 — 배경 사진 + 스크림 + 가운데 정렬 텍스트 (다크 스테이지와 같은 톤) */
.sub-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 32px;
}
.sub-hero--tall { min-height: 55vh; }
.sub-hero__bg { position: absolute; inset: 0; z-index: 0; }
.sub-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
/* sub_solution.jpg는 넓은 배너형 사진이라, 히어로가 이미지보다 폭이 넓을 때
   위쪽 하늘이 아니라 아래쪽 제품 라인업이 잘리지 않도록 기준점을 아래로 내림 */
.sub-hero__bg-img--low { object-position: center 70%; }
/* main_story_info.jpg는 왼쪽이 빈 벽이고 상담원이 오른쪽에 있는 3:1 배너 —
   화면이 좁아져 잘릴 때 인물이 남도록 기준점을 오른쪽으로 둠 */
.sub-hero__bg-img--support { object-position: 72% center; }
.sub-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,17,13,.88) 0%, rgba(20,17,13,.5) 45%, rgba(20,17,13,.55) 100%);
}
.sub-hero__inner { position: relative; z-index: 1; max-width: 760px; animation: subHeroSlideIn 1.6s var(--ease) both; }
@keyframes subHeroSlideIn {
  from { opacity: 0; transform: translateX(220px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sub-hero__inner { animation: none; }
}
.sub-hero__badge {
  display: inline-block;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-bottom: 20px;
}
.sub-hero__title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.3; color: #fff; margin-bottom: 18px; }
.sub-hero__desc { font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 30px; }
.sub-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.s-btn--ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.s-btn--ghost:hover { background: rgba(255,255,255,.18); }
.s-btn--outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.s-btn--outline:hover { background: var(--surface); }

/* 히어로 하단에 걸치는 서브내비 바 — 왼쪽 탭(현재 섹션의 하위 메뉴) +
   오른쪽 브레드크럼. 히어로 이미지 위에 올라오는 반투명 유리 느낌 */
.sub-hero__subnav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: rgba(20,17,13,.35);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.15);
}
.sub-hero__subnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.sub-hero__tabs { display: flex; gap: 30px; }
.sub-hero__tabs a {
  display: inline-block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.sub-hero__tabs a:hover { color: #fff; }
.sub-hero__tabs li.is-active a { color: #fff; border-color: var(--accent); }

/* 연출(AI 생성) 이미지 안내 문구(_ImageNote.cshtml) — 이미지 오른쪽 아래 구석에 작게 표시 */
.img-note {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 1;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  white-space: nowrap;
  pointer-events: none;
}
/* 솔루션 히어로는 아래쪽에 서브내비 바가 겹쳐 있어 바 안에 넣고 바 바로 위에 띄움 —
   바 높이가 PC(한 줄)/모바일(두 줄)로 달라도 자동으로 맞음 */
.sub-hero__subnav .img-note { bottom: calc(100% + 10px); }
/* 프로모션 히어로는 오른쪽에 이동 배너(_PromoNav)가 떠 있어 가려지므로 왼쪽 아래에 둠 */
.sub-hero--promo .img-note { right: auto; left: 20px; }
/* 메인 인트로 — 연출 이미지 슬라이드(data-staged)가 보일 때만 표시.
   오른쪽 아래 "맨 위로" 버튼(right 28px, 56px)을 피해 그 왼쪽에 둠 */
.intro-slideshow .img-note { right: 100px; bottom: 44px; opacity: 0; transition: opacity 1.3s ease; }
.intro-slideshow:has(.intro-slide[data-staged].is-active) .img-note { opacity: 1; }
@media (max-width: 760px) {
  .img-note { right: 16px; bottom: 10px; font-size: 11px; }
  /* 모바일 인트로는 아래쪽에 슬라이드 컨트롤·스크롤 안내가 있어 헤더 바로 아래 오른쪽에 둠 */
  .intro-slideshow .img-note { right: 16px; bottom: auto; top: calc(var(--header-h) + 10px); }
}

.breadcrumb--onhero { padding: 0; color: rgba(255,255,255,.6); font-size: 15px; }
.breadcrumb--onhero .breadcrumb__current { color: #fff; }

/* 솔루션 3페이지(lpg/h2/car) 모바일 히어로 — 페이지마다 문구 줄 수가 달라 탭으로 넘길 때
   히어로 높이가 들쭉날쭉했음. 높이를 가장 긴 문구 기준으로 통일하고, 배지·제목은 위쪽,
   버튼은 아래쪽(탭 바로 위)에 고정해서 줄 수 차이는 설명과 버튼 사이 여백이 흡수하게 함.
   min-height라서 아주 좁은 화면에서 넘치면 그만큼만 늘어남. PC는 영향 없음 */
@media (max-width: 760px) {
  /* 590px = 360px 폭 기준 설명~버튼 여백이 LPG(설명 4줄) 약 48px, 수소·세차(3줄) 약 75px —
     기업정보·고객지원 히어로의 설명~탭 바 여백(약 70px)과 비슷하게 맞춤.
     LPG가 딱 맞는 높이로 잡으면 폰트 렌더링 차이로 몇 px만 넘쳐도 높이가 다시 달라져서 여유를 둠 */
  .sub-hero--solution { min-height: 590px; align-items: stretch; }
  /* "세차 전용 POS 시스템"이 360px 폭에서 32px로는 살짝 넘쳐 3줄로 꺾여서,
     좁은 폰에서만 화면 폭에 맞춰 조금 줄임(390px 이상은 기존 32px 그대로) */
  .sub-hero--solution .sub-hero__title { font-size: min(32px, 8.2vw); }
  .sub-hero--solution .sub-hero__inner { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .sub-hero--solution .sub-hero__actions { width: 100%; margin-top: auto; flex-wrap: nowrap; }
  /* 버튼 2개(각 180px)가 좁은 폰에서 두 줄로 꺾이지 않게 반씩 나눠 한 줄 유지 */
  .sub-hero--solution .sub-hero__actions .s-btn { flex: 1 1 0; width: auto; max-width: 180px; }

  /* 프로모션 히어로는 서브내비(탭 바)가 없는데, 모바일 공용 아래 여백(136px, 탭 바 자리)이
     그대로 남아 버튼 아래가 휑했음 — 솔루션 히어로의 버튼~탭 바 간격(약 40px)과 맞춤 */
  /* 이 블록이 아래쪽 모바일 공용 .sub-hero 여백 규칙보다 앞에 있어서 덮이지 않도록 선택자를 한 단계 높임 */
  .sub-hero.sub-hero--promo { padding-bottom: 40px; }
}

@media (max-width: 760px) {
  .sub-hero__subnav-inner { flex-direction: column; align-items: flex-start; padding: 14px 20px; gap: 6px; }
  .sub-hero__tabs { gap: 18px; flex-wrap: wrap; }
  .sub-hero__tabs a { padding: 6px 0; }
  /* 서브내비(탭+브레드크럼)가 히어로 아래쪽에 겹쳐 올라오는데, 모바일에선 두 줄로
     높아지면서 히어로 버튼을 가렸음 — 그 높이만큼 아래 여백을 확보 */
  .sub-hero { padding: 96px 20px 136px; }
  /* 설명문의 <br>(hide-mobile)은 PC용이라 모바일에선 꺼지고 화면 폭대로 흐름 —
     마지막 줄에 한 단어만 덩그러니 남지 않게 줄 길이를 고르게(pretty) */
  .sub-hero__desc { text-wrap: pretty; }
  /* 탭 3개(예: LPG셀프솔루션·수소POS솔루션·세차POS솔루션)가 한 줄에 들어가도록 */
  .sub-hero__tabs { gap: 16px; flex-wrap: nowrap; }
  .sub-hero__tabs a { font-size: 15px; white-space: nowrap; }
}

/* 섹션 공통 */
.section { padding: 90px 0; position: relative; z-index: 2; }
.section--alt { background: var(--surface); }
.section--tight { padding: 40px 0 50px; }
.section--notop { padding-top: 0; }
.section__head--flush { margin-bottom: 0; }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__title { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; color: var(--ink); margin: 10px 0 14px; }
.section__desc { font-size: 16px; color: var(--ink-dim); line-height: 1.7; }

/* 특장점 카드 그리드 (제품 상세) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.feature-card__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.feature-card__desc { font-size: 18px; color: var(--ink-dim); line-height: 1.7; }

/* 스펙 테이블 */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(28,23,18,.08); }
.spec-table th, .spec-table td { padding: 18px 24px; text-align: left; font-size: 18px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 200px; color: var(--ink-dim); font-weight: 800; font-size: 21px; background: var(--surface); }
.spec-table td { color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* 갤러리 이미지 — 가운데 제품 사진 + 좌우 콜아웃 라인 */
.callout-diagram { position: relative; width: 100%; aspect-ratio: 1200 / 420; margin: 0 auto; }
.callout-diagram__media { position: absolute; left: 24.17%; top: 8.45%; width: 51.67%; height: 83.1%; }
.callout-diagram__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.zoom-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 18px auto 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.zoom-hint svg {
  width: 20px; height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 확대보기 방식 통일 — 이미지 자체와 그 아래 안내(.zoom-hint, "+ 눌러서 크게 보기") 둘 다
   누르면 열림. 이미지에는 돋보기 커서를 보여 누를 수 있다는 걸 알려줌.
   안내 하나가 이미지 여러 장을 대표할 때(예: 특허증 2장)는 .zoom-hint--static(누르는 기능 없음) */
.js-zoomable { cursor: zoom-in; }
.zoom-hint--static { cursor: default; font-weight: 600; color: var(--ink-dim); }

/* 이미지 확대보기 레이어 팝업 — 공용 .s-modal 구조 재사용, 텍스트 패널 대신
   투명 배경 위에 사진만 크게 띄우는 변형. 배경은 불투명하게, 사진은 최대한 크게.
   원본 사진 해상도(900x507)가 작아서 auto 크기로는 실제 크기 그대로만 보이므로,
   패널을 큰 고정 크기로 잡고 이미지를 그 안에 꽉 채워(object-fit:contain) 확대함 */
.s-modal--image { background: #14110d; padding: 16px; }
.s-modal--image .s-modal__panel {
  background: transparent;
  box-shadow: none;
  max-width: none;
  max-height: none;
  width: min(96vw, 1400px);
  height: min(96vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.s-modal--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 모바일용 이미지를 고르려고 감싼 <picture>는 레이아웃에 끼지 않게 투명 처리(PC 배치 그대로 유지) */
.s-modal--image picture,
.odt-layout__media picture { display: contents; }
.s-modal--image .s-modal__close {
  position: absolute;
  top: -18px; right: -18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.s-modal--image .s-modal__close:hover { background: var(--surface); }

/* 프로모션 진입 팝업 — 공용 .s-modal 재사용. 이미지 없이 텍스트만 들어가므로
   흰 패널을 좁은 폭(500px)으로 띄움. 닫기 버튼만 있고 "하루 안보기"는 없음.
   폭 500px은 PC에서 가장 긴 혜택 문구(02번, 약 356px)가 한 줄에 들어가도록 맞춘 값 */
.s-modal--promo .s-modal__panel {
  max-width: none;
  width: min(92vw, 500px);
  max-height: none;
  position: relative;
  display: block;
  padding: 40px 32px 32px;
  /* 상단 하늘색 띠 — border-top은 둥근 모서리에서 휘어 보여서 배경으로 그림 */
  background: linear-gradient(var(--accent), var(--accent)) top / 100% 6px no-repeat, #fff;
  text-align: center;
}
.s-modal--promo .s-modal__close {
  position: absolute;
  top: 14px; right: 14px;
}
.promo-pop__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.promo-pop__title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}
.promo-pop__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.promo-pop__list { display: grid; gap: 8px; margin-bottom: 24px; text-align: left; }
.promo-pop__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  transition: background .2s var(--ease);
}
.promo-pop__list a:hover { background: #e2e9f2; }
.promo-pop__num { flex: none; font-size: 14px; font-weight: 900; color: var(--accent); }
/* 두 줄의 길이를 비슷하게 나눠 한 단어만 덩그러니 남지 않게(balance) 함
   (단어 중간에서 끊기지 않는 건 body의 keep-all이 처리) */
.promo-pop__text { font-size: 16px; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.promo-pop__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: background .2s var(--ease);
}
.promo-pop__cta:hover { background: #000; }

/* 모바일 — 공용 규칙(640px 이하에서 패널을 화면 전체 높이로 늘림)은 약관 팝업용이라,
   이미지 팝업(프로모션·확대보기)에 그대로 적용되면 패널이 화면을 다 덮어 바깥을 눌러
   닫을 수 없고, 닫기 버튼(top:-18px)도 화면 밖으로 잘려서 스크롤까지 막힌 채 갇혔음.
   이미지 팝업은 위쪽에 닫기 버튼 자리를 비워 두고, 버튼을 그 자리 안에 크게 둠 */
@media (max-width: 640px) {
  .s-modal--promo { padding: 24px 16px; }
  .s-modal--promo .s-modal__panel { width: 100%; height: auto; max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 20px; padding: 36px 20px 24px; }
  .s-modal--promo .s-modal__close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 26px; }
  .promo-pop__title { font-size: 24px; }
  .s-modal--image { padding: 64px 12px 16px; }
  .s-modal--image .s-modal__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .s-modal--image .s-modal__close { top: -52px; right: 0; width: 40px; height: 40px; font-size: 26px; }
}

/* 확대보기 팝업 모바일 — 두 손가락 확대/이동, 두 번 눌러 확대(story-parallax.js).
   확대된 사진이 닫기 버튼을 덮지 않도록 버튼을 위로 올리고, 하단에 사용법 안내를 띄움 */
@media (max-width: 900px) {
  .s-modal--image img { touch-action: none; will-change: transform; }
  .s-modal--image .s-modal__close { z-index: 2; }
  .s-modal--image .s-modal__panel::after {
    content: "두 손가락으로 벌리거나 두 번 눌러 확대";
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    z-index: 2;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
  }
}

/* ---------- 프로모션 페이지(Pages/promo) 공용. 프로모션 종료 시 Pages/promo 폴더,
   Shared/_Promo*.cshtml, Index의 팝업·버튼, 아래 promo-* 규칙을 지우면 깨끗이 제거됨 ---------- */

/* 프로모션 페이지 공용 — 우측에 고정되어 스크롤을 따라오는 페이지 이동 배너.
   개별 알약 버튼 대신 하나의 카드로 묶고 칸을 나눔. .sheet__more와 같은
   반투명 유리(glassmorphism) 스타일이라 흰 배경·사진(히어로) 배경 둘 다에서
   또렷하게 보임(테두리·그림자는 어두운 톤, 채움은 흰색 반투명 블러) */
.promo-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  width: 88px;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(28, 23, 18, .18);
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(28, 23, 18, .16);
}
.promo-nav a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(28, 23, 18, .14);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.promo-nav a:last-child { border-bottom: none; }
.promo-nav a:hover { background: rgba(255, 255, 255, .92); }
.promo-nav a.is-active { background: var(--accent); color: #fff; }
@media (max-width: 900px) { .promo-nav { display: none; } }

/* 프로모션 모바일(900px 이하) 전용 — PC 우측 배너 대신 쓰는 하단 고정 탭바와
   서브페이지 끝 "이전/다음 혜택" 버튼. PC에서는 둘 다 숨김.
   탭바는 아래로 스크롤하면 숨고(.is-hidden) 위로 올리면 다시 나타남(story-parallax.js).
   탭바가 떠 있는 동안(html.promo-bar-up)은 "맨 위로" 버튼을 탭바 위로 올려 겹치지 않게 함 */
.promo-bar,
.promo-pager { display: none; }
@media (max-width: 900px) {
  .promo-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 140;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 5px;
    border-radius: 16px;
    border: 1.5px solid rgba(28, 23, 18, .18);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(28, 23, 18, .18);
    transition: transform .35s var(--ease), opacity .35s var(--ease);
  }
  .promo-bar.is-hidden { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
  .promo-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
  }
  .promo-bar a.is-active { background: var(--accent); color: #fff; }

  html.promo-bar-up .scroll-fab.is-visible { transform: translateY(-64px); }
  /* 맨 아래에서 탭바가 푸터 저작권 문구를 가리지 않도록 여백 */
  html.has-promo-bar .s-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  /* 이전/다음 혜택 버튼 — 본문 맨 아래 2칸 카드 */
  .promo-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 1400px;
    margin: 28px auto 0;
    padding: 0 20px 64px;
  }
  .promo-pager__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .promo-pager__link--next { align-items: flex-end; text-align: right; background: var(--dark); border-color: var(--dark); }
  .promo-pager__dir { font-size: 13px; font-weight: 700; color: var(--ink-dim); }
  .promo-pager__title { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.4; }
  .promo-pager__link--next .promo-pager__dir { color: var(--accent); }
  .promo-pager__link--next .promo-pager__title { color: #fff; }
  .promo-pager__link:active { opacity: .85; }
}

/* 프로모션 공용 상담문의 박스(_PromoContact) + 하단 유의사항 */
.cta-banner .promo-phone { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; color: var(--ink); letter-spacing: .02em; margin-bottom: 10px; }
.cta-banner:has(.promo-phone) .cta-banner__actions .s-btn { font-size: 17px; }
.promo-notes { max-width: 760px; margin: 28px auto 0; text-align: center; }
.promo-notes li { font-size: 15px; line-height: 1.8; color: var(--ink-dim); }
.callout-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.callout-lines line { stroke: var(--accent); stroke-width: 2; }
.callout-lines circle { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.callout-label { position: absolute; width: 20.83%; transform: translateY(-50%); }
.callout-label--l { left: 1.67%; text-align: right; }
.callout-label--r { left: 77.5%; text-align: left; }
.callout-label strong { display: block; font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.callout-label span { display: block; font-size: 18px; color: var(--ink-dim); line-height: 1.5; }

@media (max-width: 900px) {
  .callout-diagram { aspect-ratio: auto; }
  .callout-diagram__media { position: static; width: 100%; height: auto; margin-bottom: 28px; }
  .callout-lines { display: none; }
  .callout-label { position: static; width: auto; transform: none; text-align: left !important; margin-bottom: 18px; }
}

/* 아이콘 원형 배지 — 새 섹션 공통(시스템 연동/SMART ODT/프로세스/운영 포인트) */
.icon-badge {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
}
.icon-badge svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 아이콘 리스트 (세로형 — 시스템 연동 구조 우측) */
.icon-list { display: flex; flex-direction: column; gap: 20px; }
.icon-list__item { display: flex; align-items: center; gap: 16px; }
.icon-list__item .icon-badge { width: 50px; height: 50px; }
.icon-list__item .icon-badge svg { width: 25px; height: 25px; }
.icon-list__text { font-size: 21px; font-weight: 800; color: var(--ink); }
/* 4칸 가로 배치(LPG 시스템 연동 구조) — 예전엔 태그에 인라인 style로 4칸을 박아 둬서
   모바일에서도 4칸이 유지되어 글자가 한 자씩 세로로 쌓이고 가로로 넘쳤음 */
.icon-list--grid4 { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) {
  .icon-list--grid4 { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .icon-list--grid4 .icon-list__item { gap: 10px; }
  .icon-list--grid4 .icon-badge { width: 40px; height: 40px; flex-shrink: 0; }
  .icon-list--grid4 .icon-list__text { font-size: 16px; }
  .spec-table th, .spec-table td { padding: 14px 14px; font-size: 15px; }
  .spec-table th { width: 118px; font-size: 16px; }
}

/* 아이콘 기능 그리드 (SMART ODT 등 2열) */
.icon-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.icon-feature { display: flex; gap: 16px; align-items: flex-start; }
.icon-feature__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.icon-feature__desc { font-size: 18px; color: var(--ink-dim); line-height: 1.55; }

/* 시스템 연동 구조 — 플로우 카드 */
.flow-row { display: flex; align-items: center; gap: 20px; }
.flow-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 22px; text-align: center; }
.flow-card__media { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.flow-card__media img { max-height: 100%; max-width: 100%; object-fit: contain; }
.flow-card__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.flow-card__desc { font-size: 18px; color: var(--ink-dim); line-height: 1.5; }
.flow-arrow { flex: none; width: 56px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--accent); }
.flow-arrow span {
  width: 9px; height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) scale(.85);
  opacity: .2;
  animation: flow-chevron 1.4s ease-in-out infinite;
}
.flow-arrow span:nth-child(2) { animation-delay: .18s; }
.flow-arrow span:nth-child(3) { animation-delay: .36s; }
@keyframes flow-chevron {
  0%, 100% { opacity: .2; transform: rotate(45deg) scale(.85); }
  50% { opacity: 1; transform: rotate(45deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .flow-arrow span { animation: none; opacity: .8; }
}

/* SMART ODT 섹션 2단 레이아웃 */
.odt-layout { display: flex; align-items: stretch; justify-content: center; gap: 76px; max-width: 1080px; margin: 0 auto; }
.odt-layout__media { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.odt-layout__media img { height: 420px; width: auto; filter: drop-shadow(0 24px 44px rgba(28,23,18,.18)); }
.odt-layout__body { flex: 0 0 580px; display: flex; flex-direction: column; justify-content: center; }
.odt-quote { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.odt-quote span { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-dim); }

/* 안전 운영 프로세스 — 단계 흐름 */
.process-row { display: flex; align-items: flex-start; }
.process-step { flex: 1; text-align: center; padding: 0 12px; }
.process-step .icon-badge { margin: 0 auto 16px; background: var(--gradient); color: #fff; }
.process-step__num { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.process-step__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.process-step__desc { font-size: 18px; color: var(--ink-dim); line-height: 1.5; }
/* 시스템 연동 구조의 흐르는 화살표(.flow-arrow)와 동일한 쉐브런 애니메이션 재사용 */
.process-arrow { flex: none; width: 56px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--accent); margin-top: 22px; }
.process-arrow span {
  width: 9px; height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) scale(.85);
  opacity: .2;
  animation: flow-chevron 1.4s ease-in-out infinite;
}
.process-arrow span:nth-child(2) { animation-delay: .18s; }
.process-arrow span:nth-child(3) { animation-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .process-arrow span { animation: none; opacity: .8; }
}
.process-media { display: flex; gap: 96px; justify-content: center; margin-top: 48px; }
.process-media figure { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* 두 이미지(가로형 웹 화면 / 세로형 모바일 화면)의 높이가 서로 달라서, 고정 높이
   프레임 안에 가운데 정렬로 담아야 이미지끼리도, 그 아래 문구끼리도 나란히 맞음.
   box-shadow는 투명 PNG의 사각 박스 전체에 그림자가 생겨 배경처럼 보이므로
   실제 그림 형태를 따라가는 filter:drop-shadow로 대체함 */
.process-media__frame { height: 260px; width: 100%; display: flex; align-items: center; justify-content: center; }
.process-media__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 16px 30px rgba(28,23,18,.22));
}
.process-media figcaption { margin-top: 14px; font-size: 18px; color: var(--ink-dim); max-width: 260px; }

/* 운영 포인트 — 모드 비교 카드 */
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mode-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.mode-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mode-card__title { font-size: 21px; font-weight: 800; color: var(--ink); }
.mode-card__list { display: flex; flex-direction: column; gap: 12px; }
.mode-card__list li { display: flex; gap: 10px; font-size: 18px; color: var(--ink-dim); line-height: 1.6; }
.mode-card__list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }

/* 제품 카드 그리드 (제품 목록) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(28,23,18,.1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(28,23,18,.16); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--accent); }
.product-card__title { font-size: 20px; font-weight: 800; color: var(--ink); }
.product-card__desc { font-size: 14px; color: var(--ink-dim); line-height: 1.6; flex: 1; }
.product-card__more { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* 회사소개 — 핵심가치(우리의 신조) 카드 */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { text-align: center; padding: 34px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.value-card .icon-badge { margin: 0 auto 16px; }
.value-card__num { font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 12px; }
.value-card__title { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.value-card__desc { font-size: 14px; color: var(--ink-dim); line-height: 1.6; margin-top: 8px; }

/* 회사소개 — 새로운 길을 개척하다 (참조 사이트의 블루 그라데이션 적용) */
.deep-dive { background: linear-gradient(135deg, #123a6e 0%, #2f6fd1 100%); color: var(--dark-ink); }
.deep-dive .section__title { color: #fff; text-align: left; margin: 0 0 56px; }
.deep-dive .section__head { max-width: none; text-align: left; margin: 0; }
.deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.deep-card__icon { color: #fff; margin-bottom: 22px; }
.deep-card__icon svg { width: 38px; height: 38px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.deep-card__title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.deep-card__desc { font-size: 15px; line-height: 1.75; color: var(--dark-ink-dim); }

/* 회사연혁 — 연대별 타임라인 */
.history-timeline { display: flex; flex-direction: column; }
.history-decade { display: grid; grid-template-columns: 140px 1fr; gap: 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.history-decade:first-child { border-top: none; padding-top: 0; }
.history-decade__label { font-size: clamp(30px, 3vw, 38px); font-weight: 800; color: var(--ink); }
/* 연도를 2열로 나란히 배치해 세로 길이를 줄임 (왼→오, 위→아래 순으로 최신 연도부터) */
.history-year-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; align-content: start; }
.history-year { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.history-year:nth-child(-n+2) { border-top: none; padding-top: 0; }
.history-year__num { font-size: 22px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.history-year__events { display: flex; flex-direction: column; gap: 4px; }
.history-year__events li { font-size: 15px; color: var(--ink-dim); line-height: 1.55; }
@media (max-width: 1024px) {
  .history-decade { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .history-year-list { grid-template-columns: 1fr; }
  .history-year:nth-child(2) { border-top: 1px solid var(--line); padding-top: 18px; }
}

/* 오시는 길 — 텍스트가 위, 지도가 아래로 크고 넓게 오는 세로 배치 */
.location-grid { display: flex; flex-direction: column; gap: 40px; }
.location-info dl { display: flex; flex-direction: column; gap: 20px; }
.location-info dt { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 6px; }
.location-info dd { font-size: 19px; color: var(--ink); }
.location-info__action { margin-top: 24px; }
.location-map {
  aspect-ratio: 21/9;
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .location-map { aspect-ratio: 4/3; }
}

/* 오시는 길 — 대중교통 이용 안내(노선 이미지 + 단계별 설명).
   이미지를 위에 크게, 설명은 아래 2열로 배치. 이미지는 호버 시 살짝 확대됨 */
.transit-grid { display: flex; flex-direction: column; gap: 36px; }
.transit-grid__media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(28,23,18,.1); }
.transit-grid__media img { width: 100%; display: block; transition: transform .4s var(--ease); }
.transit-grid__media:hover img { transform: scale(1.06); }
.transit-steps {
  counter-reset: transit-step;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  list-style: none;
}
.transit-steps li { display: flex; gap: 16px; align-items: flex-start; }
.transit-steps li::before {
  counter-increment: transit-step;
  content: counter(transit-step);
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 18px;
}
.transit-steps li span { font-size: 16px; color: var(--ink); line-height: 1.6; padding-top: 5px; }
@media (max-width: 760px) {
  .transit-steps { grid-template-columns: 1fr; }
}

/* CTA 배너 */
.cta-banner {
  background: rgba(37,99,235,.12);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}
.cta-banner__title { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.cta-banner__desc { font-size: 18px; color: var(--ink-dim); margin-bottom: 26px; }
.cta-banner__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-grid { grid-template-columns: 1fr; }
  .spec-table th { width: 130px; }
  .odt-layout { flex-direction: column; max-width: none; }
  .odt-layout__media img { height: auto; width: 100%; max-width: 240px; }
  .odt-layout__body { flex-basis: auto; width: 100%; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  /* 세로로 쌓을 때 flex-start면 각 단계 폭이 글자 길이만큼 줄어 왼쪽에 붙어서
     단계마다 가운데 위치가 달라짐 — stretch로 모두 같은 폭(전체 폭)에서 가운데 정렬 */
  .process-row { flex-direction: column; align-items: stretch; gap: 24px; }
  .process-arrow { display: none; }
  .process-media { flex-direction: column; align-items: center; }
  .mode-grid { grid-template-columns: 1fr; }
  .icon-feature-grid { grid-template-columns: 1fr; }
}

/* ================================================
   공지사항 게시판 (support_notice 목록 / support_notice_view 글 보기 공용)
   ================================================ */
/* 분류 뱃지 — 공지(진한 색) / 안내(하늘색) / 이벤트(주황) */
.notice-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.notice-cat--notice { background: var(--ink); color: #fff; }
.notice-cat--info { background: rgba(56,189,248,.14); color: #0284c7; }
.notice-cat--event { background: rgba(245,158,11,.15); color: #b45309; }

/* 목록 */
.board { max-width: 1040px; margin: 0 auto; }
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.board__count { font-size: 17px; color: var(--ink-dim); }
.board__count strong { color: var(--ink); }
.board__count span { margin-right: 8px; }
.board__search { display: flex; align-items: center; width: 320px; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.board__search:focus-within { border-color: var(--accent); }
.board__search input { flex: 1; min-width: 0; padding: 12px 6px 12px 20px; border: none; outline: none; font: inherit; font-size: 16px; background: none; }
.board__search button { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: none; background: none; cursor: pointer; }
.board__search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.board__list { border-top: 2px solid var(--ink); }
.board__row { display: grid; grid-template-columns: 90px 110px 1fr 130px; align-items: center; gap: 12px; padding: 22px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.board__row--head { padding: 16px 12px; font-size: 15px; font-weight: 700; color: var(--ink-dim); background: #f7f9fc; }
.board__row.is-pinned { background: #f7fbff; }
.board__num { font-family: "Space Grotesk", sans-serif; font-size: 16px; color: var(--ink-dim); }
/* 상단 고정 글 — 분류 뱃지("공지")와 겹치지 않게 번호 칸에는 핀 아이콘만 표시 */
.board__pin { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(56,189,248,.14); }
.board__pin svg { width: 17px; height: 17px; fill: var(--accent); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
/* 화면에는 안 보이고 스크린리더에만 읽히는 텍스트 */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.board__title { display: flex; align-items: center; gap: 8px; text-align: left; font-size: 18px; font-weight: 600; color: var(--ink); }
a.board__title:hover { color: var(--accent); }
.board__row.is-pinned .board__title { font-weight: 800; }
.board__row--head .board__title { justify-content: center; font-size: 15px; font-weight: 700; color: var(--ink-dim); }
.board__new { flex-shrink: 0; padding: 2px 7px; border-radius: 4px; background: #ef4444; color: #fff; font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.board__date { font-family: "Space Grotesk", sans-serif; font-size: 16px; color: var(--ink-dim); }
.board__empty { padding: 80px 20px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); text-align: center; }
.board__empty p { font-size: 18px; color: var(--ink-dim); margin-bottom: 20px; }
.board__paging { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.board__paging a { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 600; color: var(--ink-dim); }
.board__paging a:hover { background: var(--surface); color: var(--ink); }
.board__paging a.is-current { background: var(--ink); color: #fff; }

/* 글 보기 */
.notice-view { max-width: 960px; margin: 0 auto; }
.notice-view__head { padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.notice-view__title { margin: 14px 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.4; color: var(--ink); }
.notice-view__meta { display: flex; gap: 16px; font-size: 16px; color: var(--ink-dim); }
.notice-view__meta span::after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: 16px; background: var(--line); vertical-align: -1px; }
.notice-view__body { padding: 44px 4px 56px; border-bottom: 1px solid var(--line); }
.notice-view__body p { font-size: 18px; line-height: 1.9; color: rgba(28,23,18,.8); white-space: pre-line; }
.notice-view__body p + p { margin-top: 18px; }
.notice-view__body .notice-view__link { margin-top: 36px; }
.notice-view__link .s-btn { font-size: 16px; }
.notice-view__nav { border-bottom: 1px solid var(--line); }
.notice-view__nav-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; padding: 18px 12px; font-size: 17px; }
.notice-view__nav-row + .notice-view__nav-row { border-top: 1px solid var(--line); }
.notice-view__nav-label { font-weight: 700; color: var(--ink); }
.notice-view__nav-row a { color: var(--ink-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-view__nav-row a:hover { color: var(--accent); }
.notice-view__nav-none { color: rgba(28,23,18,.35); }
.notice-view__actions { display: flex; justify-content: center; margin-top: 40px; }
.notice-view__actions .s-btn { min-width: 160px; justify-content: center; font-size: 16px; }

@media (max-width: 760px) {
  .board__top { flex-direction: column; align-items: stretch; }
  .board__search { width: 100%; }
  .board__row--head { display: none; }
  /* 모바일: 표 대신 카드형 한 줄 — 분류·날짜를 위에, 제목을 아래에 */
  .board__row { grid-template-columns: auto 1fr auto; grid-template-areas: "cat num date" "title title title"; gap: 8px 10px; padding: 18px 6px; text-align: left; }
  .board__num { grid-area: num; font-size: 14px; }
  .board__cat { grid-area: cat; }
  .board__title { grid-area: title; font-size: 16px; }
  .board__date { grid-area: date; font-size: 14px; }
  .notice-view__body { padding: 32px 2px 40px; }
  .notice-view__body p { font-size: 16px; }
  .notice-view__nav-row { grid-template-columns: 70px 1fr; font-size: 15px; padding: 16px 4px; }
}