/* =====================================================================
   style.css — CEYKO 정수처리시설 웹사이트 공통 스타일
   ---------------------------------------------------------------------
   구성: 1.리셋/베이스 → 2.타이포 → 3.레이아웃 유틸 → 4.버튼 → 5.카드
        → 6.헤더 → 7.푸터 → 8.히어로 → 9.강점카드 → 10.공정 플로우(Signature)
        → 11.신뢰배지/티저/CTA밴드 → 12.스크롤 리빌 → 13.다국어 → 14.반응형
   토큰은 tokens.css 참조. 색/폰트/간격은 변수만 사용한다.
   ===================================================================== */

/* ── 1. 리셋 / 베이스 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem); /* 고정헤더만큼 앵커 오프셋 */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-clear-blue); text-decoration: none; }
a:hover { color: var(--c-clear-blue-hover); }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* 키보드 포커스만 또렷하게 (마우스 클릭 시엔 안 보이게) */
:focus-visible {
  outline: 3px solid var(--c-clear-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 스크린리더 전용 텍스트 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 본문 링크가 헤더에 가리지 않도록 skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--c-clear-blue); color: var(--c-cloud);
  padding: .6rem 1rem; border-radius: var(--radius-btn);
  z-index: 1000; transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; color: var(--c-cloud); }

/* ── 2. 타이포그래피 ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c-deep-water);
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { max-width: 65ch; }          /* 가독성: 본문 한 줄 최대폭 */

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-living-green);
  margin-bottom: var(--sp-2);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--c-muted);
  max-width: 60ch;
}

/* ── 3. 레이아웃 유틸 ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* 섹션: 넉넉한 수직 패딩 = 고급스러움의 핵심. 좁히지 않는다. */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* 배경 교차 리듬 */
.section--mist { background: var(--c-mist); }
.section--dark {
  background: var(--c-deep-water);
  color: var(--c-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-cloud); }
.section--dark .lead { color: rgba(234, 244, 246, .8); }

/* 섹션 헤더 패턴: eyebrow → h2 → lead */
.section-head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--sp-2); }

.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── 4. 버튼 ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1;
  padding: .85em 1.6em;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary {
  background: var(--c-clear-blue);
  color: var(--c-cloud);
}
.btn--primary:hover {
  background: var(--c-clear-blue-hover);
  color: var(--c-cloud);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  border-color: var(--c-clear-blue);
  color: var(--c-clear-blue);
}
.btn--secondary:hover { background: var(--c-mist); color: var(--c-clear-blue-hover); }

/* 다크 배경 위 secondary */
.section--dark .btn--secondary {
  border-color: rgba(234,244,246,.5);
  color: var(--c-on-dark);
}
.section--dark .btn--secondary:hover {
  background: rgba(234,244,246,.1);
  border-color: var(--c-on-dark);
  color: var(--c-cloud);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* ── 5. 카드 ─────────────────────────────────────────────────────── */
.card {
  background: var(--c-cloud);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--c-mist);
  color: var(--c-clear-blue);
  margin-bottom: var(--sp-3);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: var(--sp-1); }
.card p { color: var(--c-muted); font-size: var(--fs-body); }

/* ── 6. 헤더 ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-base), box-shadow var(--t-base), height var(--t-base);
}
/* 스크롤 시 반투명 흰색 + blur + 보더 + 살짝 축소 */
.site-header.is-scrolled {
  background: rgba(251, 253, 253, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
  height: 60px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: var(--sp-3);
}

.brand {
  display: flex; align-items: center; gap: 14px; line-height: 1.05;
  font-family: var(--ff-display);
  flex: 0 0 auto;
}
.brand__name { font-weight: 700; font-size: 1.05rem; color: var(--c-deep-water); letter-spacing: -.01em; }
.brand__tag { font-size: .68rem; font-weight: 500; color: var(--c-clear-blue); letter-spacing: .12em; text-transform: uppercase; }
/* 헤더 브랜드 로고 (CEYKO 단독) */
.brand__logo { display: block; flex: 0 0 auto; height: 48px; width: auto; transition: height var(--t-base); }
.brand__div { flex: 0 0 auto; width: 1px; height: 30px; background: var(--c-line); }
.brand__logo--ceyko { height: 42px; }
.site-header.is-scrolled .brand__logo--ceyko { height: 36px; }
@media (max-width: 768px) {
  .brand { gap: 10px; }
  .brand__logo--ceyko { height: 34px; }
}
@media (max-width: 360px) { .brand__logo--ceyko { height: 28px; } }
/* PURE LIFE 가로형 로고 (아이콘+2줄 글자라 CEYKO보다 살짝 크게) */
.brand__logo--pl { height: 46px; }
.site-header.is-scrolled .brand__logo--pl { height: 38px; }
@media (max-width: 768px) { .brand__logo--pl { height: 38px; } }
@media (max-width: 360px) { .brand__logo--pl { height: 30px; } }

.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--c-ink);
  padding: .5rem .7rem;
  border-radius: 8px;
  white-space: nowrap;          /* 'Track Record' 줄바꿈 방지 */
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--c-clear-blue); background: var(--c-mist); }
.nav__link[aria-current="page"] { color: var(--c-clear-blue); font-weight: 600; }

/* 언어 토글 */
.lang-toggle { display: flex; border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden; }
.lang-toggle button {
  background: transparent; border: 0;
  padding: .45rem .7rem; font-size: .82rem; font-weight: 600;
  font-family: var(--ff-display); color: var(--c-muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-toggle button[aria-pressed="true"] { background: var(--c-clear-blue); color: var(--c-cloud); }

/* 햄버거 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--c-deep-water);
  position: relative; transition: background var(--t-fast);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: var(--c-deep-water); transition: transform var(--t-fast), top var(--t-fast);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ── 7. 푸터 ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-deep-water);
  color: var(--c-on-dark);
  padding-block: var(--sp-6) var(--sp-4);
}
.site-footer a { color: rgba(234,244,246,.85); }
.site-footer a:hover { color: var(--c-cloud); }
.footer-grid {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1.4fr 1fr 1fr;
  margin-bottom: var(--sp-5);
}
.footer-brand .brand__name { color: var(--c-cloud); }
.footer-logo { display: block; height: 54px; width: auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.footer-brand p { color: rgba(234,244,246,.7); font-size: var(--fs-small); margin-top: var(--sp-2); }
.footer-col h4 { color: var(--c-cloud); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--sp-2); }
.footer-col li { margin-bottom: .5rem; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(234,244,246,.15);
  padding-top: var(--sp-4);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2);
  font-size: var(--fs-small); color: rgba(234,244,246,.6);
}

/* ── 8. 히어로 ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  /* 맑은 물 그라데이션 배경 (사진 교체 전 베이스) */
  background:
    radial-gradient(120% 90% at 80% -10%, color-mix(in srgb, var(--c-living-green) 10%, transparent), transparent 55%),
    linear-gradient(180deg, var(--c-mist) 0%, var(--c-cloud) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-display);
  color: var(--c-deep-water);
  margin-bottom: var(--sp-3);
}
.hero__title .accent { color: var(--c-clear-blue); }
.hero__lead { font-size: var(--fs-lead); color: var(--c-muted); margin-bottom: var(--sp-4); max-width: 46ch; }
.hero .btn-row { margin-bottom: var(--sp-4); }

/* 히어로 미니 신뢰 표시 */
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); font-size: var(--fs-small); color: var(--c-muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: .4em; }
.hero__trust svg { width: 1em; height: 1em; color: var(--c-living-green); }

/* ── 이미지 placeholder (사진 교체 전 자리표시) ───────────────────── */
/* 이미지 자리표시: '깨진 자리'가 아닌 '의도된 브랜드 empty-state'로 */
.img-ph {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background:
    radial-gradient(120% 80% at 50% 122%, color-mix(in srgb, var(--c-clear-blue) 16%, transparent), transparent 62%),
    linear-gradient(160deg, #d6ebf0 0%, #eaf4f6 55%, #f6fbfc 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-clear-blue);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* 하단 잔물결 모티프 */
.img-ph::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -18%; height: 56%;
  background:
    radial-gradient(58% 16px at 28% 45%, color-mix(in srgb, var(--c-clear-blue) 12%, transparent), transparent),
    radial-gradient(58% 16px at 72% 72%, color-mix(in srgb, var(--c-living-green) 10%, transparent), transparent);
  opacity: .65; pointer-events: none;
}
.img-ph__label {
  position: relative; z-index: 1; text-align: center;
  background: rgba(251, 253, 253, .8);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small); font-weight: 600; color: var(--c-clear-blue);
}
.img-ph__label small { display: block; font-weight: 400; color: var(--c-muted); margin-top: .35rem; font-size: .78rem; }
.img-ph__label svg { width: 30px; height: 30px; margin-inline: auto; margin-bottom: .5rem; opacity: .8; }
.hero__media { aspect-ratio: 4 / 3.4; }

/* 히어로 디자인 비주얼 (원수 → 정수) */
.hero__viz {
  position: relative; overflow: hidden;
  padding: 0; border: 1px solid var(--c-line);
  border-radius: var(--radius); background: var(--c-cloud);
}
.hero__viz svg { width: 100%; height: 100%; display: block; }
/* 브랜드 틴트 오버레이 (영상 위 → 캡션 아래): 어두운 영상을 브랜드 톤으로 통일 */
.hero__viz::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--c-clear-blue) 30%, transparent),
      color-mix(in srgb, var(--c-living-green) 16%, transparent) 55%,
      transparent 100%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--c-deep-water) 18%, transparent) 0%,
      transparent 38%,
      color-mix(in srgb, var(--c-deep-water) 42%, transparent) 100%);
  mix-blend-mode: multiply;
}
/* 모션 비선호 시 영상이 숨겨지면 오버레이도 끔(정적 SVG 그대로 노출) */
@media (prefers-reduced-motion: reduce) { .hero__viz::after { display: none; } }

.hero__viz-caption {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(251, 253, 253, .9);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid var(--c-line); border-radius: 999px;
  padding: .4rem .8rem;
  font-family: var(--ff-display); font-weight: 600; font-size: var(--fs-small);
  color: var(--c-deep-water);
}
.hero__viz-caption svg { width: 1em; height: 1em; color: var(--c-clear-blue); }
/* 히어로 정지 이미지(포스터) + 영상 (SVG 위에 덮음) */
.hero__poster,
.hero__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* 모션 비선호 → 영상 숨기고 뒤의 SVG 비주얼 노출 */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ── 9. 강점 카드 그룹 ──────────────────────────────────────────── */
.strength-card .card__icon { background: var(--c-mist); }
.strength-card .badge {
  display: inline-block; margin-top: var(--sp-2);
  font-size: var(--fs-small); font-weight: 600; color: var(--c-living-green);
}

/* ── 10. 공정 플로우 (Signature) ────────────────────────────────── */
.flow-preview { margin-top: var(--sp-5); }
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-2);
  position: relative;
}
.flow__step {
  position: relative;
  background: var(--c-cloud);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.flow__step:hover, .flow__step:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-clear-blue);
}
/* 단계 사이 연결 화살표 (데스크탑: 가로) */
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute; top: 50%; right: calc(-1 * var(--sp-2) - 1px);
  width: var(--sp-2); height: 2px;
  background: var(--c-clear-blue);
  transform: translateY(-50%);
  z-index: 1;
}
.flow__step:not(:last-child)::before {
  content: "";
  position: absolute; top: 50%; right: calc(-1 * var(--sp-2) - 4px);
  width: 7px; height: 7px;
  border-top: 2px solid var(--c-clear-blue);
  border-right: 2px solid var(--c-clear-blue);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.flow__num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: .8rem; color: var(--c-living-green);
  letter-spacing: .05em;
}
.flow__icon { color: var(--c-clear-blue); margin: var(--sp-2) 0; }
.flow__icon svg { width: 30px; height: 30px; }
.flow__name { font-family: var(--ff-display); font-weight: 600; font-size: 1rem; color: var(--c-deep-water); margin-bottom: .35rem; line-height: 1.2; }
.flow__desc { font-size: .82rem; color: var(--c-muted); line-height: 1.5; }

/* ── 11. 신뢰 배지 스트립 / 티저 / CTA 밴드 ─────────────────────── */
.trust-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-2) var(--sp-4);
}
.trust-badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ff-display); font-weight: 600; font-size: .92rem;
  color: var(--c-deep-water);
  padding: .55rem 1rem;
  background: var(--c-cloud);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}
.trust-badge svg { width: 1.05em; height: 1.05em; color: var(--c-living-green); }

/* 전시장 티저 (이미지 + 텍스트 2열) */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.teaser__media { aspect-ratio: 5 / 4; }
.teaser__body h2 { margin-bottom: var(--sp-2); }
.teaser__body .lead { margin-bottom: var(--sp-4); }

/* CTA 밴드 (다크) */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--c-cloud); margin-bottom: var(--sp-2); }
.cta-band p { margin-inline: auto; margin-bottom: var(--sp-4); color: rgba(234,244,246,.8); }
.cta-band .btn-row { justify-content: center; }

/* 본문 placeholder 안내 배지 ([[확인 필요]] 항목 표시) */
.placeholder-note {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  color: var(--c-muted);
  background: var(--c-mist);
  border: 1px dashed var(--c-line);
  border-radius: 6px;
  padding: .15rem .5rem;
}

/* ── 12. 스크롤 리빌 ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* 카드 그룹 stagger: 인라인 style의 --d 변수로 지연 */
.reveal[style*="--d"] { transition-delay: var(--d); }

/* ── 13. 다국어 (싱할라 활성 시) ────────────────────────────────── */
body.lang-si,
body.lang-si .nav__link,
body.lang-si .btn,
body.lang-si h1, body.lang-si h2, body.lang-si h3, body.lang-si h4 {
  font-family: var(--ff-sinhala);
}
/* 싱할라 검수 안내 바 — 화면 하단 고정(고정 헤더와 겹치지 않도록) */
.review-banner {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #FFF7E6; border-top: 1px solid #F0E0B8;
  color: #7A5A12; font-size: var(--fs-small);
  text-align: center; padding: .5rem 1rem;
  /* iOS 홈 인디케이터 안전영역 확보 */
  padding-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 12px rgba(var(--c-shadow), .08);
}
body.lang-si .review-banner { display: block; }

/* ── 14. 반응형 ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .flow__step:nth-child(3)::after, .flow__step:nth-child(3)::before { display: none; } /* 줄바꿈 지점 화살표 제거 */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16 / 10; max-height: 320px; }
  .teaser { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* 데스크탑 내비 숨기고 햄버거 노출 */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--c-cloud);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    padding: var(--sp-3);
    gap: var(--sp-2);
    transform: translateY(-120%);
    transition: transform var(--t-base);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 10px; }
  /* 언어 토글: 모바일 메뉴에서 터치 타겟 44px 이상 확보 */
  .lang-toggle { align-self: flex-start; }
  .lang-toggle button { padding: .7rem 1.15rem; font-size: .95rem; min-height: 44px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  /* 공정 플로우: 모바일 = 세로 타임라인 */
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { padding: var(--sp-3); }
  .flow__step:not(:last-child) { margin-bottom: var(--sp-4); }
  .flow__step:not(:last-child)::after {
    top: auto; bottom: calc(-1 * var(--sp-4) - 1px); right: auto; left: 50%;
    width: 2px; height: var(--sp-4); transform: translateX(-50%);
    display: block;
  }
  .flow__step:not(:last-child)::before {
    top: auto; bottom: calc(-1 * var(--sp-4) + 2px); right: auto; left: 50%;
    transform: translateX(-50%) rotate(135deg); display: block;
  }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

@media (max-width: 400px) {
  :root { --header-h: 64px; }
}

/* ═══════════════════════════════════════════════════════════════════
   ui-ux-pro-max 업그레이드 추가분 (절제된 biophilic + 신뢰 Proof)
   · 잠금 토큰(색·폰트·간격) 유지. 검증 사실만 노출.
   ═══════════════════════════════════════════════════════════════════ */

/* ── A. 히어로 유기적 곡선 (절제) ───────────────────────────────── */
.hero { position: relative; }
.hero__blob {
  position: absolute; z-index: 0;
  top: -8%; right: -6%;
  width: clamp(280px, 38vw, 520px); aspect-ratio: 1;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--c-living-green) 18%, transparent), transparent 70%),
    radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--c-clear-blue) 16%, transparent), transparent 70%);
  filter: blur(8px);
  /* 유기적(물방울스런) 비대칭 형태 */
  border-radius: 58% 42% 47% 53% / 53% 46% 54% 47%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* ── B. 신뢰 Proof 스탯 밴드 ────────────────────────────────────── */
.proof { border-top: 1px solid var(--c-line); }
.proof__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.proof__stat { position: relative; text-align: center; padding-inline: var(--sp-2); }
/* 열 사이 얇은 구분선 (데스크탑) */
.proof__stat:not(:first-child)::before {
  content: ""; position: absolute; left: 0; top: 12%;
  width: 1px; height: 76%; background: var(--c-line);
}
.proof__num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--c-clear-blue);
}
.proof__num .unit { color: var(--c-deep-water); font-weight: 600; }
.proof__label {
  margin-top: .6rem; font-size: var(--fs-small);
  color: var(--c-muted); line-height: 1.4; max-width: 22ch; margin-inline: auto;
}
.proof__label small { display: block; color: var(--c-living-green); font-weight: 600; margin-top: .2rem; }

/* ── C. 물결 디바이더 (다크 CTA 상단, 절제된 1곳) ───────────────── */
.has-wave-top { position: relative; }
.wave-top {
  position: absolute; top: 0; left: 0; width: 100%; height: 56px;
  transform: translateY(-99%); display: block; pointer-events: none;
}
@media (max-width: 768px) { .wave-top { height: 34px; } }

/* ── D. 카드/이미지 자연스런 그림자 미세 보정 (biophilic) ────────── */
.card:hover, .flow__step:hover, .flow__step:focus-within {
  box-shadow: 0 14px 32px rgba(var(--c-shadow), .12);
}

/* Proof 반응형 */
@media (max-width: 768px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-2); }
  .proof__stat::before { display: none; }   /* 2열에선 구분선 생략 */
  .hero__blob { opacity: .8; }
}
@media (max-width: 359px) {
  .proof__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ═══════════════════════════════════════════════════════════════════
   Product 페이지 컴포넌트
   ═══════════════════════════════════════════════════════════════════ */

/* 서브페이지 공통 페이지 히어로 (Home 히어로보다 작게) */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(110% 80% at 85% -20%, color-mix(in srgb, var(--c-living-green) 9%, transparent), transparent 55%),
    linear-gradient(180deg, var(--c-mist), var(--c-cloud));
}
.page-hero .eyebrow { margin-bottom: var(--sp-2); }
.page-hero h1 { margin-bottom: var(--sp-3); }
.page-hero .lead { max-width: 62ch; }
.page-hero .btn-row { margin-top: var(--sp-4); }

/* About 전용: 헤로 배경에 국기 (좌 한국 · 우 스리랑카), 가장자리에서 은은히 페이드 */
.page-hero--flags::before,
.page-hero--flags::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 44%;
  background-size: cover; background-position: center;
  opacity: .13; z-index: 0; pointer-events: none;
}
.page-hero--flags::before {
  left: 0; background-image: url("../img/flag-kr-illus.jpg");
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%);
          mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 95%);
}
.page-hero--flags::after {
  right: 0; background-image: url("../img/flag-lk-illus.jpg");
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 35%, transparent 95%);
          mask-image: linear-gradient(270deg, #000 0%, #000 35%, transparent 95%);
}
.page-hero--flags > .container { position: relative; z-index: 1; }

/* 적용처 칩 */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ff-display); font-weight: 500; font-size: .95rem;
  color: var(--c-deep-water); background: var(--c-cloud);
  border: 1px solid var(--c-line); border-radius: 999px; padding: .5rem 1rem;
}
.chip svg { width: 1.05em; height: 1.05em; color: var(--c-clear-blue); }

/* Signature 풀버전 (.flow 기반 + 디테일·흐르는 연결선) */
.flow--full .flow__step { padding: var(--sp-4) var(--sp-3); }
.flow--full .flow__name { font-size: 1.05rem; }
.flow__detail {
  margin-top: var(--sp-2); padding-top: var(--sp-2);
  border-top: 1px solid var(--c-line);
  font-size: .82rem; color: var(--c-muted); line-height: 1.55;
  opacity: .9; transition: opacity var(--t-base);
}
.flow--full .flow__step:hover .flow__detail,
.flow--full .flow__step:focus-within .flow__detail { opacity: 1; }
/* 단계 사이 연결선: 물 흐름을 연상시키는 정적 블루→그린 그라데이션 (모션 없음) */
.flow--full .flow__step:not(:last-child)::after {
  background: linear-gradient(90deg, var(--c-clear-blue), var(--c-living-green));
}

/* 전원 콜아웃 (2열: 강조 텍스트 + 스펙 리스트) */
.power-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.power-badge {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--c-clear-blue);
  line-height: 1; margin-bottom: var(--sp-3);
}
.power-badge svg { width: 1em; height: 1em; color: var(--c-living-green); }
.spec-list {
  display: grid; gap: 0; background: var(--c-cloud);
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.spec-list__row {
  display: grid; grid-template-columns: 168px 1fr; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
}
.spec-list__row:not(:last-child) { border-bottom: 1px solid var(--c-line); }
.spec-list__k { font-family: var(--ff-display); font-weight: 600; color: var(--c-deep-water); }
.spec-list__v { color: var(--c-muted); }

/* 규모 비교 카드 */
.scale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.scale-card .tag {
  display: inline-block; font-size: var(--fs-small); font-weight: 600;
  color: var(--c-living-green); margin-bottom: var(--sp-1);
  text-transform: uppercase; letter-spacing: .08em;
}
.scale-card .big {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--c-clear-blue);
  line-height: 1.1; margin-bottom: var(--sp-2);
}
.scale-note {
  margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4);
  background: var(--c-mist); border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.scale-note h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.scale-note p { color: var(--c-muted); }

/* 데모기 실측 스펙 */
.demo-spec { margin-top: var(--sp-4); }
.demo-spec__head { margin-bottom: var(--sp-3); }
.demo-spec__head h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.demo-spec__sub { color: var(--c-muted); max-width: 60ch; }

/* 제조사 페이지: 실적 리스트 */
.proj-list {
  display: grid; gap: 0; background: var(--c-cloud);
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.proj-list__row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--sp-3);
  align-items: center; padding: var(--sp-3) var(--sp-4);
}
.proj-list__row:not(:last-child) { border-bottom: 1px solid var(--c-line); }
.proj-list__t { font-family: var(--ff-display); font-weight: 600; color: var(--c-deep-water); }
.proj-list__v { white-space: nowrap; font-size: var(--fs-small); font-weight: 700; color: var(--c-living-green); }
.proj-note { color: var(--c-muted); font-size: var(--fs-small); margin-top: var(--sp-3); }

/* 제조사 페이지: 사진 갤러리 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.photo-grid figcaption { margin-top: .5rem; font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 768px) {
  .proj-list__row { grid-template-columns: 1fr; gap: .25rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid img { height: 170px; }
}
@media (max-width: 430px) { .photo-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .power-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .spec-list__row { grid-template-columns: 1fr; gap: .25rem; }
  .scale-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   About / Track Record 페이지 컴포넌트
   ═══════════════════════════════════════════════════════════════════ */

/* 공급 관계도 — 시안4: CEYKO 그룹이 메인(맨 앞), 두 시코 동급, DS는 생산 출처 하단 */
/* 스리랑카에서 보는 사이트 → CEYKO 우선. 모바일에선 CEYKO Korea가 맨 위로 옴. */
.relation-group {
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-clear-blue);
  border-radius: var(--radius);
  background: var(--c-cloud);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  max-width: 920px; margin-inline: auto;
}
.relation-group__head { margin-bottom: var(--sp-3); }
.relation-group__head .eyebrow { display: block; }
.relation-group__sub {
  margin-top: .35rem;
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--c-deep-water);
}
.relation-group__cards {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: stretch; gap: var(--sp-3);
}

/* 시코 카드 (동급 두 축) — 호버 리프트 효과 */
.ceyko-card {
  background: var(--c-mist);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  transition: transform .28s ease, box-shadow .28s ease,
              border-color .28s ease, background-color .28s ease;
}
.ceyko-card:hover {
  transform: translateY(-5px);
  background: var(--c-cloud);
  border-color: var(--c-clear-blue);
  box-shadow: var(--shadow-lg);
}
.ceyko-card__tag {
  display: inline-block; font-size: var(--fs-small); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--c-clear-blue); margin: .4rem 0 .15rem;
}
.ceyko-card h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.ceyko-card p { color: var(--c-muted); font-size: var(--fs-small); }

.relation__peer-eq {
  align-self: center; justify-self: center;
  color: var(--c-living-green); font-size: 1.6rem; font-weight: 700;
}

/* 생산 출처 (DS) — 하단 한 줄 */
.relation-group__origin {
  display: flex; align-items: center; gap: .55rem;
  margin-top: var(--sp-3); padding-top: var(--sp-3);
  border-top: 1px dashed var(--c-line);
  font-size: var(--fs-small); color: var(--c-muted);
}
.relation-group__origin strong { color: var(--c-deep-water); font-weight: 600; }
.relation-group__origin svg { width: 18px; height: 18px; color: var(--c-clear-blue); flex: none; }

@media (max-width: 768px) {
  .relation-group__cards { grid-template-columns: 1fr; }
  .relation__peer-eq { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ceyko-card { transition: none; }
  .ceyko-card:hover { transform: none; box-shadow: var(--shadow-md); }
}

/* 포지셔닝 한 줄 강조 */
.positioning {
  margin-top: var(--sp-5); padding: var(--sp-4);
  background: var(--c-mist); border-left: 4px solid var(--c-living-green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.positioning p {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--c-deep-water);
  line-height: 1.4; max-width: 62ch;
}

/* 미션 스테이트먼트 (다크 섹션) */
.statement { text-align: center; max-width: 52ch; margin-inline: auto; }
.statement p {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.32;
  letter-spacing: -.01em; color: var(--c-cloud); max-width: none;
}

/* 인증 그리드 (아이콘 + 이름 + 설명) */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.cert-card {
  display: flex; gap: var(--sp-2); align-items: flex-start;
  padding: var(--sp-3); background: var(--c-cloud);
  border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-card__icon { flex: none; color: var(--c-living-green); margin-top: 2px; }
.cert-card__icon svg { width: 24px; height: 24px; }
.cert-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.cert-card p { font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   Showroom / Contact 페이지 컴포넌트
   ═══════════════════════════════════════════════════════════════════ */

/* 상태 알약 (오픈 준비 중 등) */
.status-pill {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ff-display); font-weight: 600; font-size: var(--fs-small);
  color: var(--c-living-green);
  background: color-mix(in srgb, var(--c-living-green) 12%, var(--c-cloud));
  border: 1px solid color-mix(in srgb, var(--c-living-green) 30%, transparent);
  border-radius: 999px; padding: .4rem .9rem; margin-bottom: var(--sp-3);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-living-green); }

/* 지도 placeholder (img-ph 재사용 + 비율) */
.map-ph { aspect-ratio: 16 / 7; width: 100%; }

/* 실제 지도 임베드 (구글맵 iframe) — placeholder와 같은 자리·같은 라운드 */
.map-embed {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--c-line);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* 전시장 주소 줄 (Showroom 방문 안내) */
.visit-addr { font-weight: 600; line-height: 1.55; margin-bottom: var(--sp-4); }
.visit-addr small { display: block; font-weight: 400; color: var(--c-muted); margin-top: .3rem; }

/* 연락처 2열 레이아웃 */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-item { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.contact-item__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-mist); color: var(--c-clear-blue);
  display: flex; align-items: center; justify-content: center;
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: .15rem; }
.contact-item a, .contact-item p { color: var(--c-muted); display: block; }
.contact-item a:hover { color: var(--c-clear-blue); }

/* 연락처 국가 라벨 (Sri Lanka / Korea) — 푸터·Contact 본문 공용 */
.contact-loc {
  display: inline-block;
  min-width: 5.4em;
  margin-right: .5rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .6;
}

/* 폼 */
.form {
  background: var(--c-cloud); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: var(--sp-4); box-shadow: var(--shadow-sm);
}
.form__row { margin-bottom: var(--sp-3); }
.form label {
  display: block; font-family: var(--ff-display); font-weight: 600;
  font-size: .9rem; color: var(--c-deep-water); margin-bottom: .4rem;
}
.form label .req { color: var(--c-clear-blue); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--c-ink); background: var(--c-cloud);
  border: 1.5px solid var(--c-line); border-radius: var(--radius-btn);
  padding: .7rem .85rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--c-clear-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-clear-blue) 18%, transparent);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: var(--sp-1); }
.form-note { margin-top: var(--sp-3); font-size: .78rem; color: var(--c-muted); }

/* 폼 상태 메시지 (성공/실패/전송중) */
.form-status {
  font-size: var(--fs-small); font-weight: 500; border-radius: var(--radius-btn);
  padding: 0; max-height: 0; overflow: hidden; transition: max-height var(--t-base), margin var(--t-base);
}
.form-status.is-pending, .form-status.is-success, .form-status.is-error {
  padding: .75rem .9rem; max-height: 240px; margin-top: var(--sp-3);
}
.form-status.is-pending { background: var(--c-mist); color: var(--c-muted); }
.form-status.is-success {
  background: color-mix(in srgb, var(--c-living-green) 13%, var(--c-cloud));
  color: var(--c-living-green);
  border: 1px solid color-mix(in srgb, var(--c-living-green) 30%, transparent);
}
.form-status.is-error {
  background: #FDECEC; color: #B42318; border: 1px solid #F3C0C0;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   스크롤 진행 바 + 섹션 점 내비게이션 (긴 페이지 탐색 보조)
   · 순수 CSS/바닐라 JS. 좋은 기법만 가져옴(프레임워크 없음)
   ═══════════════════════════════════════════════════════════════════ */

/* 상단 스크롤 진행 바 */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200; pointer-events: none;
}
.scroll-progress__bar {
  height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, var(--c-clear-blue), var(--c-living-green));
  transition: transform .1s linear;
}

/* 섹션 점 내비 (데스크탑 전용) */
.section-dots { display: none; }
@media (min-width: 1024px) {
  .section-dots {
    position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
    z-index: 40; display: flex; flex-direction: column; gap: var(--sp-3);
  }
}
.section-dots__item {
  position: relative; width: 12px; height: 12px; padding: 0;
  border-radius: 50%; border: 2px solid var(--c-line); background: transparent;
  cursor: pointer; transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.section-dots__item:hover { border-color: var(--c-clear-blue); transform: scale(1.25); }
.section-dots__item.is-active { background: var(--c-clear-blue); border-color: var(--c-clear-blue); }
.section-dots__item.is-active::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-clear-blue) 40%, transparent);
}
/* 호버/포커스 시에만 라벨 노출 */
.section-dots__label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(4px);
  white-space: nowrap;
  font-family: var(--ff-display); font-weight: 600; font-size: var(--fs-small);
  color: var(--c-deep-water);
  background: rgba(251, 253, 253, .92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid var(--c-line); border-radius: 999px; padding: .3rem .7rem;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.section-dots__item:hover .section-dots__label,
.section-dots__item:focus-visible .section-dots__label {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* ═══════════════════════════════════════════════════════════════════
   실제 사진 / 국기 / 미션 비주얼
   ═══════════════════════════════════════════════════════════════════ */

/* 실제 사진 (placeholder 대체) — 컨테이너 비율을 채움 */
.media-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}

/* Product 개요 전체폭 메인 배너 (한국 실제 정수시설 파노라마) */
.overview-banner { margin: 0 0 var(--sp-5); }
.overview-banner img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.overview-banner figcaption {
  margin-top: var(--sp-2); text-align: center;
  font-size: var(--fs-small); color: var(--c-muted);
}

/* About 관계 카드 국기 */
.relation__flag {
  width: 34px; height: 34px; border-radius: 7px; object-fit: cover;
  border: 1px solid var(--c-line); margin-bottom: var(--sp-2); display: block;
}

/* 관계 카드 상단: 국기 + CEO 이름 나란히 */
.ceyko-card__top { display: flex; align-items: center; gap: .65rem; margin-bottom: var(--sp-2); }
.ceyko-card__top .relation__flag { margin-bottom: 0; }
.ceyko-card__ceo { font-size: 1.08rem; font-weight: 700; }

/* 푸터 국기 (한-스 합작 표시) */
.footer-flags { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--sp-3); }
.footer-flags img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }
.footer-flags span {
  font-family: var(--ff-display); font-weight: 600; font-size: var(--fs-small);
  color: rgba(234, 244, 246, .8);
}

/* About 미션: 사진 + 텍스트 (다크 섹션) */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mission-grid .statement { text-align: left; max-width: none; margin: 0; }
.mission-grid__media { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════
   신규 자료 배치용 컴포넌트 (영상 임베드 / 공정 다이어그램 / PDF / 슬로건 / 이미지 밴드)
   ═══════════════════════════════════════════════════════════════════ */

/* 반응형 영상 임베드 (유튜브 16:9) */
.embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-md, var(--shadow-sm));
  background: var(--c-deep-water, #0f2f3d);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrap { max-width: 960px; margin-inline: auto; }

/* 공정 흐름도 다이어그램 (실제 FLOW SHEET) */
.diagram { margin: 0 0 var(--sp-5); }
.diagram img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); background: #fff;
}
.diagram figcaption {
  margin-top: var(--sp-2); text-align: center;
  font-size: var(--fs-small); color: var(--c-muted);
}

/* 문서(PDF) 다운로드 콜아웃 */
.doc-note {
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  justify-content: space-between; margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-mist); border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.doc-note__text { max-width: 46ch; }
.doc-note__text h3 { margin: 0 0 .25rem; }
.doc-note__text p { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }

/* 브랜드 슬로건 밴드 (Extend your life 등) */
.slogan-band { text-align: center; }
.slogan-band img { max-width: min(560px, 88%); height: auto; display: block; margin: 0 auto; }

/* 일반 이미지 피처 밴드 (텍스트 + 이미지 2열) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature--rev .feature__media { order: -1; }
.feature__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__cap { margin-top: var(--sp-2); font-size: var(--fs-small); color: var(--c-muted); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
}

/* 물결 텍스트 글자 (커서 근처에서 물처럼 밀려남) */
/* 단어 래퍼: 글자 span들이 단어 중간에서 줄바꿈되지 않도록 묶는다 */
.fx-water__word { display: inline-block; white-space: nowrap; }
.fx-water__ch {
  display: inline-block;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), filter .4s ease;
  will-change: transform, filter;
}

/* ── 모션 줄이기 선호 존중 ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   추가 컴포넌트 (2026-07-05)
   · About: PURE LIFE 브랜드 로고 쇼케이스
   · process.html: 정수처리 9단계 여정
   ═══════════════════════════════════════════════════════════════ */

/* ── About 로고 쇼케이스 ───────────────────────────────────────── */
.logo-showcase { text-align: center; }
.logo-showcase__frame {
  max-width: 540px;
  margin: var(--sp-4) auto 0;
  padding: clamp(1.75rem, 5vw, 3rem);
  background: linear-gradient(160deg, #fff, var(--c-mist));
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.logo-showcase__frame img { display: block; width: 100%; height: auto; }
.logo-showcase__cap { margin-top: var(--sp-3); font-size: .95rem; color: var(--c-muted); }

/* ── 정수처리 9단계 여정 ───────────────────────────────────────── */
.journey { max-width: 780px; margin: var(--sp-5) auto 0; display: grid; gap: var(--sp-3); }
.journey__step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-3);
  align-items: start;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.journey__step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-clear-blue); }
.journey__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(150deg, var(--c-clear-blue), var(--c-living-green));
  color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem;
}
/* 세로 연결선 */
.journey__step:not(:last-child) .journey__num::after {
  content: ""; position: absolute;
  left: calc(var(--sp-4) + 27px); top: calc(var(--sp-4) + 56px);
  width: 2px; height: calc(100% - 56px + var(--sp-3));
  background: linear-gradient(var(--c-clear-blue), transparent); opacity: .3;
}
.journey__icon { color: var(--c-clear-blue); }
.journey__icon svg { width: 22px; height: 22px; vertical-align: -4px; margin-right: .4rem; }
.journey__stage { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-living-green); }
.journey__name { font-family: var(--ff-display); font-weight: 600; font-size: 1.15rem; color: var(--c-deep-water); margin: .1rem 0 .4rem; }
.journey__desc { color: var(--c-muted); line-height: 1.6; font-size: .95rem; }
@media (max-width: 560px) {
  .journey__step { grid-template-columns: 44px 1fr; gap: var(--sp-2); padding: var(--sp-3); }
  .journey__num { width: 44px; height: 44px; font-size: 1rem; }
  .journey__step:not(:last-child) .journey__num::after { left: calc(var(--sp-3) + 21px); top: calc(var(--sp-3) + 44px); }
}

/* ═══════════════════════════════════════════════════════════════
   3D 커버플로우 갤러리 (coverflow.js)
   ═══════════════════════════════════════════════════════════════ */
.coverflow-section { overflow: hidden; }
.coverflow { position: relative; margin-top: var(--sp-5); }
.coverflow__stage {
  position: relative;
  height: clamp(280px, 40vw, 520px);
  perspective: 1600px;
  transform-style: preserve-3d;
}
.cf-card {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(260px, 44vw, 600px);
  aspect-ratio: 16 / 10;
  margin: 0;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .55s ease, box-shadow .3s ease;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  will-change: transform, opacity;
}
.cf-card.is-active { box-shadow: var(--shadow-lg); cursor: default; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem var(--sp-3) var(--sp-3);
  color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem;
  background: linear-gradient(to top, rgba(11,61,82,.82), rgba(11,61,82,0));
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.cf-card.is-active figcaption { opacity: 1; }

/* 네비 (화살표) */
.cf-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 200;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--c-deep-water);
  border: 1px solid var(--c-line); box-shadow: var(--shadow-md);
  cursor: pointer; transition: background var(--t-base), transform var(--t-base);
}
.cf-nav:hover { background: var(--c-mist); transform: translateY(-50%) scale(1.06); }
.cf-nav svg { width: 22px; height: 22px; }
.cf-prev { left: clamp(.5rem, 3vw, 3rem); }
.cf-next { right: clamp(.5rem, 3vw, 3rem); }

/* 점 */
.cf-dots { display: flex; justify-content: center; gap: 9px; margin-top: var(--sp-4); }
.cf-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: var(--c-line); border: none; cursor: pointer;
  transition: background var(--t-base), transform var(--t-base);
}
.cf-dot[aria-current="true"] { background: var(--c-clear-blue); transform: scale(1.35); }

@media (max-width: 640px) {
  .cf-card figcaption { font-size: .92rem; padding: 1.8rem var(--sp-2) var(--sp-2); }
  .cf-nav { width: 44px; height: 44px; } /* 모바일 터치 타겟 최소 44px */
  .cf-prev { left: .25rem; } .cf-next { right: .25rem; }
}
