/* =====================================================================
   style.css — 스마트바이오코리아(Smart BiO Korea) 사이트 공통 스타일
   ---------------------------------------------------------------------
   · 모든 페이지(index / about / technology / solution / cases / contact)가
     이 파일 하나를 함께 불러 씁니다.
   · 헤더·푸터의 HTML 은 js/main.js 가 페이지마다 자동으로 넣어 주며,
     그 모양은 아래 "헤더", "푸터" 묶음에서 정합니다.
   · 구성 순서: 글꼴 → 공통 변수 → 기본 초기화 → 헤더/로고 → 메인 히어로
     → 버튼 → 서브 페이지 상단 → 섹션 공통 → 각 컴포넌트 → 반응형(@media)
   ===================================================================== */

/* 글꼴: 한글 본문은 Noto Sans KR, 영문 제목·숫자는 Montserrat (Google Fonts CDN) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Montserrat:wght@500;700;800&display=swap');

/* ---------- 공통 변수 (색상·크기) ----------
   사이트 기본색은 블루 계열입니다. 예전 초록 테마에서 쓰던 변수 이름(--green-*)을
   그대로 두고 값만 블루로 바꿨기 때문에 이름에 green 이 남아 있습니다.
   900(가장 진함) → 50(가장 연함) 순서입니다. */
:root {
  --green-900: #0b2545;   /* 가장 진한 네이비: 큰 제목, 푸터 계열 */
  --green-800: #13315c;   /* 진한 블루: 강조 텍스트, 그라데이션 시작색 */
  --green-700: #1d4e89;   /* 중간 진한 블루: 태그 글자, 표 제목 */
  --green-600: #1f6fb2;   /* 주 버튼·활성 메뉴 색 */
  --green-500: #2d8fd5;   /* 포인트 블루: 밑줄, 아이콘, 라벨 */
  --green-400: #5fb0e8;   /* 밝은 블루: 점선, 테두리 */
  --green-100: #e3f0fb;   /* 아주 연한 블루: 아이콘 배경, 뱃지 배경 */
  --green-50: #f2f8fd;    /* 섹션 배경용 연한 블루 */
  --brand: #93c957;       /* 공식 로고 이미지(uploads/스마트바이오 코리아 로고.png)의 연두색 띠 색 */
  --brand-deep: #1faa4d;  /* 같은 로고의 진한 초록색 (BiO 원) — 제품 관련 그림에도 사용 */
  --leaf: #4fc3f7;        /* 하늘색 보조 포인트 */
  --sky: #38b6d8;         /* 물 표현용 청록 */
  --earth: #8d6e4c;       /* 오염물질·흙 표현용 갈색 */
  --text: #1c2633;        /* 본문 글자색 */
  --muted: #5b6878;       /* 설명문 등 흐린 글자색 */
  --line: #dbe5ef;        /* 구분선·테두리 */
  --white: #fff;
  --radius: 14px;         /* 카드 모서리 둥글기 */
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);  /* 카드 hover 그림자 */
  --max: 1200px;          /* 본문 최대 폭 */
}

/* ---------- 기본 초기화 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }          /* #앵커 이동 시 부드럽게 스크롤 */
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  word-break: keep-all;                      /* 한글 단어 중간에서 줄바꿈되지 않도록 */
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.en { font-family: 'Montserrat', sans-serif; }   /* 영문 라벨용 글꼴 */

/* ---------- 헤더 (main.js 가 삽입) : 상단 고정 메뉴 바 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }  /* 스크롤 내리면 그림자 */
.header .inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* 로고: 공식 로고 이미지(js/main.js 가 넣는 uploads/스마트바이오 코리아 로고.png) + 그 옆 한글 회사명.
   이미지 비율이 약 3.3 : 1 이라 높이 48px 이면 가로는 약 158px 을 차지합니다(헤더 높이 80px 안에 여유 있게 들어감).
   높이만 지정하고 width:auto 로 두어 원본 비율이 찌그러지지 않게 합니다. */
.logo { display: flex; align-items: center; gap: 12px; }
.logo .logo-mark { height: 48px; width: auto; flex-shrink: 0; }
.logo .logo-ko { font-weight: 900; font-size: 1.05rem; color: var(--green-800); line-height: 1.2; }
.logo .logo-ko small { display: block; font-family: 'Montserrat', sans-serif; font-size: .6rem; letter-spacing: .14em; color: var(--green-500); font-weight: 700; }

/* 데스크톱 메뉴(GNB)와 마우스를 올리면 펼쳐지는 하위 메뉴 */
.gnb { display: flex; gap: 6px; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: block; padding: 28px 20px; font-weight: 500; font-size: 1.02rem;
  position: relative; transition: color .2s;
}
.gnb > li > a::after {   /* 메뉴 아래 파란 밑줄 (hover·현재 페이지일 때 펼쳐짐) */
  content: ''; position: absolute; left: 20px; right: 20px; bottom: 20px; height: 2px;
  background: var(--green-500); transform: scaleX(0); transition: transform .3s;
}
.gnb > li > a:hover, .gnb > li > a.active { color: var(--green-600); }
.gnb > li > a:hover::after, .gnb > li > a.active::after { transform: scaleX(1); }
.gnb .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 190px; background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  padding: 10px 0; opacity: 0; visibility: hidden; transition: .25s;
  border-top: 3px solid var(--green-500);
}
.gnb > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.gnb .sub a { display: block; padding: 8px 20px; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.gnb .sub a:hover { color: var(--green-600); background: var(--green-50); }
.header-cta {
  padding: 10px 20px; border-radius: 30px; background: var(--green-600); color: #fff;
  font-size: .9rem; font-weight: 500; transition: background .2s; white-space: nowrap;
}
.header-cta:hover { background: var(--green-800); }

/* 모바일 햄버거 버튼 (860px 이하에서만 보임). .open 이 붙으면 X 모양으로 바뀜 */
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--green-800); transition: .3s; }
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 메인 히어로 (index.html 첫 화면) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(79, 195, 247, .35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(58, 166, 185, .35), transparent 50%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-500) 100%);
}
.hero .bg-leaves { position: absolute; inset: 0; pointer-events: none; opacity: .18; }  /* 기존 자연 친화적 잎사귀 장식 */
.hero .bg-leaves svg { position: absolute; }
/* 표지의 물방울 SVG는 오른쪽에 두어 슬로건과 겹치지 않게 하고, 반투명 빛으로 맑은 인상을 더합니다. */
.hero-water-art { position: absolute; z-index: 1; top: 5%; right: 2%; width: min(48vw, 650px); height: 88%; opacity: .76; pointer-events: none; mix-blend-mode: screen; }
.hero-water-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-falling-drop { transform-box: fill-box; transform-origin: center; animation: droplet-fall 5.2s ease-in-out infinite; }
.hero-ripples { transform-box: fill-box; transform-origin: center; animation: ripple-spread 5.2s ease-out infinite; }
@keyframes droplet-fall {
  0%, 12% { transform: translateY(-18px) scale(.97); opacity: .72; }
  58% { transform: translateY(18px) scale(1.02); opacity: 1; }
  72%, 100% { transform: translateY(18px) scale(1.02); opacity: .72; }
}
@keyframes ripple-spread {
  0%, 52% { transform: scale(.78); opacity: .25; }
  75% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1.24); opacity: .28; }
}
/* 움직임 줄이기 설정을 사용하는 방문자는 물방울을 정지 상태로 보게 해 애니메이션 부담을 줄입니다. */
@media (prefers-reduced-motion: reduce) {
  .hero-falling-drop, .hero-ripples { animation: none; }
}
.hero .wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }  /* 하단 물결 */
.hero-content { position: relative; z-index: 2; max-width: 780px; }
/* 히어로 맨 위의 알약 모양 슬로건 띠.
   안에 <b>S</b>olutions … 처럼 글자 일부만 강조한 문장이 들어가므로
   inline-flex 가 아니라 inline-block 을 씁니다(inline-flex 면 <b> 가 따로 떨어진 칸이 되어
   "S olutions" 처럼 사이가 벌어집니다). 좁은 화면에서는 두 줄로 자연스럽게 넘어갑니다. */
.hero .eyebrow {
  display: inline-block; padding: 7px 18px; border-radius: 30px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  font-size: .85rem; letter-spacing: .06em; line-height: 1.6; margin-bottom: 24px;
}
.hero .eyebrow b { color: #9fe3ff; font-weight: 700; }   /* S·B·K 머리글자 강조 */
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.25; font-weight: 900; margin-bottom: 24px; }
/* 메인 슬로건의 강조 색: 요청에 따라 '물과 공기를 좋게'는 코발트 블루, 환경·순환 문구는 초록색,
   브랜드 표기 -SBK는 빨간색으로 구분합니다. */
.hero h1 em { font-style: normal; color: #9fe3ff; }
.hero h1 em.cobalt-emphasis {
  /* index.html 히어로의 '물과 공기를 / 좋게' 문구(em.cobalt-emphasis)에 적용됩니다.
     색상은 진한 코발트 블루(#0047ab)로 지정하고, 슬로건 배경(짙은 네이비 그라데이션) 위에서
     글자가 묻히지 않도록 밝은 청색 계열의 은은한 발광(text-shadow)을 함께 넣습니다.
     발광은 이전 'Glowing Blue' 작업 흐름을 유지하되 지시에 따라 색상만 코발트 블루로 교체한 것입니다. */
  color: #0047ab;
  text-shadow: 0 0 8px rgba(159, 227, 255, .85), 0 0 22px rgba(56, 182, 216, .55);
}
.hero h1 em.green-emphasis { color: #68d391; }
/* '유기성 자원 순환까지' 문구(em.black-emphasis)에 적용됩니다.
   지시에 따라 검정색으로 지정하되, 슬로건 배경(짙은 네이비 그라데이션) 위에서
   글자가 묻히지 않도록 밝은 흰색 계열의 은은한 발광(text-shadow)을 함께 넣습니다. */
.hero h1 em.black-emphasis {
  color: #000;
  text-shadow: 0 0 8px rgba(255, 255, 255, .55), 0 0 18px rgba(255, 255, 255, .3);
}
.hero h1 em.red-emphasis { color: #ff5a5f; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.15rem); opacity: .9; margin-bottom: 40px; font-weight: 300; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 800; color: #9fe3ff; line-height: 1.2; }
.hero-stats div span { font-size: .9rem; opacity: .85; }
.scroll-down {   /* 오른쪽 아래 세로 "SCROLL" 안내 + 떨어지는 선 애니메이션 */
  position: absolute; bottom: 130px; right: 40px; z-index: 3; writing-mode: vertical-rl;
  font-family: 'Montserrat', sans-serif; font-size: .75rem; letter-spacing: .3em; opacity: .7;
}
.scroll-down::after { content: ''; display: block; width: 1px; height: 60px; background: #fff; margin: 12px auto 0; animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 40px;
  font-weight: 500; transition: .25s; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn-primary { background: #fff; color: var(--green-800); }            /* 어두운 배경 위 흰 버튼 */
.btn-primary:hover { background: #9fe3ff; }
.btn-outline { border-color: rgba(255, 255, 255, .6); color: #fff; margin-left: 10px; }  /* 어두운 배경 위 테두리 버튼 */
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-green { background: var(--green-600); color: #fff; }              /* 밝은 배경 위 채운 버튼 */
.btn-green:hover { background: var(--green-800); }
.btn-line { border-color: var(--green-600); color: var(--green-600); } /* 밝은 배경 위 테두리 버튼 */
.btn-line:hover { background: var(--green-600); color: #fff; }

/* ---------- 서브 페이지 상단 배너 + 페이지 내 탭 ---------- */
.sub-visual {
  position: relative; padding: 170px 0 90px; color: #fff; text-align: center; overflow: hidden;
  background:
    radial-gradient(circle at 85% 30%, rgba(159, 227, 255, .25), transparent 40%),
    linear-gradient(120deg, var(--green-900), var(--green-600));
}
.sub-visual::before {   /* 잎사귀 무늬를 반복 패턴으로 은은하게 깔아 줌 */
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10c10 10 10 25 0 35C30 35 30 20 40 10z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.sub-visual .container { position: relative; }
.sub-visual .en { font-size: .9rem; letter-spacing: .3em; color: #9fe3ff; font-weight: 700; }
.sub-visual h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin: 8px 0 14px; }
.sub-visual p { opacity: .85; font-weight: 300; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; margin-top: 26px; font-size: .85rem; opacity: .8; }
.breadcrumb span::before { content: '›'; margin-right: 10px; }
/* 탭: 스크롤해도 헤더 바로 아래에 붙어 있도록 sticky. 현재 보고 있는 구역은 main.js 가 .active 처리 */
.sub-tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 80px; z-index: 50; }
.sub-tabs ul { display: flex; justify-content: center; overflow-x: auto; }
.sub-tabs a { display: block; padding: 18px 26px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; transition: .2s; }
.sub-tabs a:hover, .sub-tabs a.active { color: var(--green-600); border-bottom-color: var(--green-500); }

/* ---------- 섹션 공통 (여백·제목) ---------- */
section { padding: 110px 0; }
.anchor { scroll-margin-top: 140px; }    /* 탭으로 이동했을 때 고정 헤더+탭에 제목이 가려지지 않도록 */
.bg-soft { background: var(--green-50); }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head .en { display: block; color: var(--green-500); font-weight: 700; letter-spacing: .25em; font-size: .85rem; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; color: var(--green-900); line-height: 1.35; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.sec-head.left { text-align: left; }

/* ---------- 좌(그림)·우(글) 2단 배치 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .visual {
  aspect-ratio: 5 / 4; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #cfe4f7 0%, #a9cdf0 45%, #3f8fd0 100%);
  box-shadow: var(--shadow);
}
.split .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 'ABOUT SMART BIO KOREA' 위 그림: 첨부 사진(폐수·하수 처리 공정)을 영역에 꽉 차게 채웁니다.
   object-fit: cover 로 비율을 유지하면서 넘치는 부분만 잘라 깔끔하게 보여 줍니다. */
.split .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 기술 02 우측 그림(첨부 이미지)의 캡션: 그림 아래에 제목을 얹어 보여 줍니다.
   <figure> 로 감싼 경우 기본 여백을 없애고, 캡션은 반투명 어두운 띠 위 흰 글씨로 가독성을 확보합니다. */
.split .visual { margin: 0; }
.split .visual .visual-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 12px 16px; text-align: center; font-size: .95rem; font-weight: 700; color: #fff;
  background: linear-gradient(0deg, rgba(11, 37, 69, .78), rgba(11, 37, 69, 0));
}
/* '첨부 그림 전체를 다 보여 줘야 하는' 경우에 쓰는 변형(.visual-fit).
   사용처: 기술 02 우측 '미생물 삼투압 효과.jpg'(figure + 생성된 캡션 포함)와
          기술 03 좌측 'Not Mask But Neutralization.jpg'(<figure> 로 감싼 형태)입니다.
   · 기본 .split .visual 은 5:4 틀에 cover 로 채워 일부가 잘리므로, 여기서는 aspect-ratio 를 풀어
     그림 원본 비율만큼 높이를 잡고 object-fit: contain 으로 잘림 없이 전체를 보여 줍니다.
   · 캡션이 있는 경우(기술 02) 그림을 가리지 않도록 이미지 아래쪽 띠로 내리고,
     글자색을 진한 남색으로 바꿔 흰 바탕에서도 읽히게 했습니다. */
.split .visual.visual-fit {
  aspect-ratio: auto;                 /* 원본 비율 유지 (고정 5:4 틀 해제) */
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 16px 0;               /* 그림 둘레 여백 */
}
.split .visual.visual-fit img {
  position: static;                   /* 기본 규칙의 absolute 배치를 해제해 흐름 안에 놓음 */
  width: 100%; height: auto; max-height: 620px;
  object-fit: contain;                /* 잘라내지 않고 전체 표시 */
  border-radius: 14px;
  margin: 0 auto;
}
.split .visual.visual-fit .visual-caption {
  position: static;                   /* 그림 위에 겹치지 않도록 아래 띠로 */
  background: none; color: var(--green-900);
  padding: 14px 4px 18px; font-size: .95rem;
}
.split .text h3 { font-size: 1.8rem; font-weight: 900; color: var(--green-900); line-height: 1.4; margin-bottom: 20px; }
.split .text p { color: var(--muted); margin-bottom: 16px; }
.check-list li { position: relative; padding-left: 32px; margin: 12px 0; font-weight: 500; }
.check-list li::before {   /* 동그라미 체크 표시 */
  content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100); color: var(--green-600); font-size: .8rem; display: grid; place-items: center; font-weight: 700;
}

/* ---------- 기술 카드 (메인·솔루션 페이지) ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech-card {
  background: #fff; border-radius: var(--radius); padding: 36px 28px; border: 1px solid var(--line);
  transition: .3s; position: relative; overflow: hidden;
}
.tech-card::before {   /* hover 시 카드 아래쪽에 그라데이션 선이 왼쪽부터 채워짐 */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: .35s;
}
.tech-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.tech-card:hover::before { transform: scaleX(1); }
.tech-card .icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; font-size: 2rem;
  background: var(--green-100); margin-bottom: 22px;
}
.tech-card .num { position: absolute; top: 22px; right: 24px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--green-100); }
.tech-card h3 { font-size: 1.2rem; color: var(--green-900); margin-bottom: 10px; font-weight: 700; }
.tech-card p { color: var(--muted); font-size: .94rem; }
.tech-card .more { display: inline-block; margin-top: 18px; color: var(--green-600); font-weight: 500; font-size: .9rem; }

/* 메인 페이지: 5개 기술 중 첫 번째(대표 기술)를 2칸 크기로 강조 */
.tech-grid.five { grid-template-columns: repeat(3, 1fr); }
.tech-card.featured {
  grid-column: span 2; background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #fff; border: 0;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
}
.tech-card.featured .icon { background: rgba(255, 255, 255, .15); width: 96px; height: 96px; font-size: 2.8rem; margin: 0; }
.tech-card.featured h3 { color: #fff; font-size: 1.35rem; }
.tech-card.featured p { color: rgba(255, 255, 255, .85); }
.tech-card.featured .num { color: rgba(255, 255, 255, .18); }
.tech-card.featured .more { color: #9fe3ff; }
.new-badge {
  display: inline-block; background: #9fe3ff; color: var(--green-900); font-size: .72rem; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; margin-bottom: 8px; letter-spacing: .05em;
}

/* ---------- 단계별 흐름도 (원형 아이콘 + 점선 연결) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.process .step { text-align: center; position: relative; }
.process .step .circle {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: #fff; border: 2px dashed var(--green-400); font-size: 2.6rem; position: relative; z-index: 2;
  transition: .3s;
}
.process .step:hover .circle { background: var(--green-600); border-style: solid; border-color: var(--green-600); transform: scale(1.05); }
.process .step:not(:last-child)::after {   /* 단계와 단계 사이 점선 */
  content: ''; position: absolute; top: 60px; left: calc(50% + 60px); width: calc(100% - 120px + 16px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-400) 0 6px, transparent 6px 12px);
}
.process .step .en { display: block; color: var(--green-500); font-weight: 700; font-size: .8rem; letter-spacing: .1em; }
.process .step h4 { font-size: 1.08rem; color: var(--green-900); margin: 4px 0 6px; }
.process .step p { font-size: .88rem; color: var(--muted); }

/* ---------- 숫자 강조 띠 ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-600)); color: #fff; padding: 80px 0;
  position: relative; overflow: hidden;
}
.stats-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; }
.stats-band strong { display: block; font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #9fe3ff; }
.stats-band span { opacity: .85; }

/* ---------- 적용사례 카드 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); transition: .3s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* 고염도 침출수 사례는 매립지 현장 중심의 대표 적용 분야를 먼저 보여 주도록 카드 목록의 앞쪽에 배치합니다. */
.case-card.priority-case { order: -1; }
.case-card .thumb { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; font-size: 3.4rem; overflow: hidden; }
.case-card .thumb .tag {
  position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .92); color: var(--green-700);
  font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
}
.case-card .thumb .no { position: absolute; right: 16px; bottom: 12px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .85rem; color: rgba(255, 255, 255, .9); }
.case-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.case-card .body .meta { font-size: .82rem; color: var(--green-500); font-weight: 500; margin-bottom: 6px; }
.case-card .body h3 { font-size: 1.12rem; color: var(--green-900); margin-bottom: 10px; line-height: 1.45; }
.case-card .body p { font-size: .92rem; color: var(--muted); flex: 1; }
.case-card .result, .case-feature .result { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.case-card .result span, .case-feature .result span { background: var(--green-100); color: var(--green-700); font-size: .8rem; padding: 4px 12px; border-radius: 20px; font-weight: 500; }
/* 카드 썸네일 배경 그라데이션 6종 (사진 대신 사용) */
.g1 { background: linear-gradient(135deg, #b3e5fc, #1f6fb2); }
.g2 { background: linear-gradient(135deg, #d6e9fb, #5b9fd6); }
.g3 { background: linear-gradient(135deg, #c5dcf5, #1d4e89); }
.g4 { background: linear-gradient(135deg, #b2ebf2, #0288d1); }
.g5 { background: linear-gradient(135deg, #e3eaf5, #4f7fbf); }
.g6 { background: linear-gradient(135deg, #bbdefb, #3949ab); }

/* 적용사례 분류 필터 버튼 (main.js 가 클릭 시 카드를 숨기거나 보여 줌) */
.filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.filter button {
  padding: 10px 22px; border-radius: 30px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: inherit; font-size: .95rem; color: var(--muted); transition: .2s;
}
.filter button.active, .filter button:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.case-card.hide { display: none; }

/* 대표 사례(그래프 포함) 박스 — cases.html 상단 */
.case-feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); margin-bottom: 70px; }
.case-feature h3 { font-size: 1.5rem; color: var(--green-900); line-height: 1.4; margin: 6px 0 14px; }
.case-feature p { color: var(--muted); margin-bottom: 10px; }
.case-feature .chart { background: var(--green-50); border-radius: 14px; padding: 16px; }
.case-feature .chart svg { width: 100%; height: auto; }
.case-feature .chart figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 6px; }

/* ---------- 보유기술 상세 (technology.html) ---------- */
.tech-detail { padding: 100px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
/* Bio Augmentation(복합제 투입)과 Bio Stimulation(공정 작용)을 각각 그림·설명 카드로 대응시킵니다. */
.bio-mechanisms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 26px 0 34px; }
.bio-mechanism { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); }
.bio-mechanism img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #f5f8fb; }
.bio-mechanism figcaption { padding: 22px 24px 25px; }
.bio-mechanism .bio-en { color: var(--green-500); font: 800 .78rem 'Montserrat', sans-serif; letter-spacing: .15em; }
.bio-mechanism h5 { margin: 5px 0 8px; color: var(--green-900); font-size: 1.15rem; }
.bio-mechanism p { color: var(--muted); font-size: .93rem; }
.tech-detail:nth-child(even) { background: var(--green-50); }              /* 짝수 기술은 배경색을 달리해 구분 */
.tech-detail:nth-child(even) .split .visual { order: 2; }                  /* 짝수 기술은 그림을 오른쪽으로 */
.tech-detail .label { display: inline-block; font-family: 'Montserrat', sans-serif; color: var(--green-500); font-weight: 800; letter-spacing: .15em; font-size: .85rem; margin-bottom: 10px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; background: var(--green-100); color: var(--green-800); font-weight: 500; }
.feature-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.feature-boxes div { background: #fff; border-radius: 12px; padding: 24px; border-left: 4px solid var(--green-500); box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.feature-boxes h5 { font-size: 1rem; color: var(--green-800); margin-bottom: 6px; }
.feature-boxes p { font-size: .9rem; color: var(--muted); }
.feature-boxes.two { grid-template-columns: repeat(2, 1fr); margin-top: 0; }   /* 2열 버전 (사업분야 '고객 가치') */

/* 쉬운 설명 상자(노란 메모 느낌) */
.easy-box {
  background: #fffbea; border: 1px solid #f1e3a6; border-radius: 12px; padding: 18px 22px; margin: 18px 0;
  font-size: .95rem; color: #5b4a12;
}
.easy-box b { color: #3d3208; }
.subhead { font-size: 1.35rem; font-weight: 900; color: var(--green-900); margin: 70px 0 8px; text-align: center; }
.subhead + .subdesc { text-align: center; color: var(--muted); margin-bottom: 30px; }

/* 일반 미생물 vs 회사 미생물 비교 카드 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .box { border-radius: 18px; padding: 30px; background: #fff; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); text-align: center; }
.compare .box.bad { border-top: 5px solid #d9a441; }
.compare .box.good { border-top: 5px solid var(--green-500); }
.compare .box svg { width: 100%; max-width: 280px; margin: 0 auto 16px; }
.compare .box h4 { font-size: 1.1rem; margin-bottom: 8px; }
.compare .box.bad h4 { color: #a8741a; }
.compare .box.good h4 { color: var(--green-700); }
.compare .box p { color: var(--muted); font-size: .93rem; }

/* 염도 눈금 막대: .mark 의 left(%) 값이 눈금 위치, .zone 은 처리 가능 범위 */
.salt-scale { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); }
.salt-scale .bar {
  position: relative; height: 18px; border-radius: 10px; margin: 70px 0 60px;
  background: linear-gradient(90deg, #d8f0ff 0%, #9fd8e8 30%, #6bb7d6 70%, #2f7fb0 100%);
}
.salt-scale .mark { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 4px; height: 34px; background: var(--green-900); border-radius: 2px; }
.salt-scale .mark span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .82rem; text-align: center; line-height: 1.35; }
.salt-scale .mark.up span { bottom: 42px; }     /* 라벨을 막대 위에 */
.salt-scale .mark.down span { top: 42px; }      /* 라벨을 막대 아래에 */
.salt-scale .mark.limit { background: #d9a441; }
.salt-scale .mark.ours { background: var(--green-500); width: 6px; }
.salt-scale .mark.ours span { color: var(--green-700); font-weight: 700; }
.salt-scale .zone { position: absolute; top: -8px; bottom: -8px; border-radius: 10px; border: 2px dashed var(--green-500); background: rgba(45, 143, 213, .08); }
.salt-scale .note { font-size: .85rem; color: var(--muted); text-align: center; }

/* 번호 단계 설명 (처리 과정): 기술 01의 수질 개선 단계에서 사용
   (기술 02에 있던 '처리 과정 한눈에 보기'의 SVG 다이어그램·단계는
    이전 지시로 삭제되어 .flow-diagram 규칙은 제거했습니다) */
/* OdorNzyme 작용 메커니즘 흐름도 (기술 03 하단).
   첨부 PDF 'OdorNzyme 악취저감 메커니즘'을 학습해 만든 4단계 흐름도입니다.
   SVG 는 가로로 긴 그림이라 모바일에서도 잘리지 않도록 가로 스크롤을 허용합니다. */
.mechanism-diagram { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); overflow-x: auto; }
.mechanism-diagram svg { width: 100%; min-width: 720px; height: auto; display: block; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.flow-steps li { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid var(--line); position: relative; }
.flow-steps li .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green-600); color: #fff; display: grid; place-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; margin-bottom: 10px;
}
.flow-steps li h5 { font-size: 1.02rem; color: var(--green-900); margin-bottom: 6px; }
.flow-steps li p { font-size: .9rem; color: var(--muted); }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.glossary div { background: var(--green-100); border-radius: 12px; padding: 18px; font-size: .9rem; color: var(--green-900); }
.glossary b { display: block; margin-bottom: 4px; }

/* 생물학적 처리 단계 막대 비교 (효소 적용 전/후).
   각 칸의 flex 값이 그 단계가 차지하는 시간 비율을 뜻합니다. */
.stage-wrap { background: #fff; border-radius: 18px; padding: 30px; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); }
.stage-row { margin-bottom: 26px; }
.stage-row:last-child { margin-bottom: 0; }
.stage-row h5 { font-size: .95rem; color: var(--green-800); margin-bottom: 8px; }
.stage-bars { display: flex; border-radius: 10px; overflow: hidden; min-height: 54px; }
.stage-bars span { display: grid; place-items: center; text-align: center; color: #fff; font-size: .82rem; font-weight: 500; padding: 6px 8px; line-height: 1.3; }
.stage-bars .hyd { background: #8a4b14; }   /* 가수분해 */
.stage-bars .amm { background: #e07b1a; }   /* 암모니아 생성 */
.stage-bars .nit { background: #6f8f2f; }   /* 질산화 */
.stage-bars .den { background: #1c9a55; }   /* 탈질 */
.stage-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* 미생물 구성표 */
.microbe-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); }
.microbe-table th { background: var(--green-700); color: #fff; padding: 12px 16px; text-align: left; font-weight: 500; }
.microbe-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.microbe-table td:first-child { color: var(--green-900); font-weight: 500; width: 34%; }
.microbe-table td i { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.table-scroll { overflow-x: auto; }

/* ---------- 미생물 이름 클릭 버튼 + 그림 팝업 ----------
   기술 01의 미생물 구성표에서 미생물 이름(td 안)을 누르면
   해당 미생물의 첨부 그림이 팝업창(모달)으로 뜨도록 합니다.
   · .microbe-link : td 안에 들어가는 버튼. 테이블 글자 스타일을 그대로 물려받아
     '선택 가능한 속성'처럼 보이게 하고, 아래 파란 밑줄 + hover 색으로 클릭 가능함을 알립니다.
   · .microbe-link .view : 버튼 오른쪽의 작은 '🔍 그림 보기' 안내 글씨
   · .microbe-modal : 화면 전체를 덮는 반투명 배경(오버레이). 기본은 숨겨져 있고
     main.js 가 .open 을 붙이면 보입니다. 닫기·배경 클릭·Esc 로 닫힙니다.
   · .microbe-modal .modal-box : 가운데 뜨는 흰 카드. 그림과 미생물 이름을 담습니다. */
.microbe-link {
  display: inline-block; max-width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; text-align: left;
  border-bottom: 1px dashed var(--green-500); transition: color .2s;
}
.microbe-link:hover { color: var(--green-600); }
.microbe-link .view {
  display: inline-block; margin-left: 8px; font-size: .74rem; font-weight: 400; color: var(--green-500);
  white-space: nowrap; vertical-align: middle;
}
.microbe-link:hover .view { color: var(--green-600); }
.microbe-modal {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(11, 37, 69, .6); padding: 24px;
}
.microbe-modal.open { display: flex; }
.microbe-modal .modal-box {
  position: relative; max-width: 640px; width: 100%; background: #fff; border-radius: 18px;
  padding: 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); text-align: center;
}
.microbe-modal .modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: var(--green-100); color: var(--green-800); font-size: 1.1rem; cursor: pointer; transition: background .2s;
}
.microbe-modal .modal-close:hover { background: var(--green-600); color: #fff; }
.microbe-modal .modal-name { font-size: 1.05rem; font-weight: 700; color: var(--green-900); margin-bottom: 16px; }
.microbe-modal .modal-img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 12px; background: #f5f8fb; }

/* 출처 표시 상자 (각 기술 맨 아래) */
.source-note {
  margin-top: 30px; padding: 16px 20px; border-radius: 10px; background: #f7f9fc; border: 1px dashed #b8c8d9;
  font-size: .85rem; color: var(--muted); line-height: 1.65;
}
.source-note strong { color: var(--green-800); margin-right: 6px; }
.source-note ul { margin-top: 6px; padding-left: 18px; list-style: disc; }
.source-note .warn { color: #a8741a; }

/* ---------- 사업분야 (solution.html) ----------
   사업 개요(원형 구성도 + 5개 바로가기 카드) 뒤에 5개 사업을 같은 틀로 하나씩 보여 줍니다.
   한 사업 = 머리(.biz-head: 번호·제목·한 줄 설명) + 본문(.biz-body: 왼쪽 설명 / 오른쪽 실적 상자). */
.biz-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.biz-nav a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: .25s;
}
.biz-nav a:hover { border-color: var(--green-500); box-shadow: var(--shadow); transform: translateY(-4px); }
.biz-nav .ic { font-size: 2rem; display: block; margin-bottom: 8px; }
.biz-nav b { display: block; color: var(--green-900); font-size: .98rem; line-height: 1.4; }
.biz-nav small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.biz-nav .new { color: #d9534f; font-weight: 700; }   /* 신규 사업 표시 */

.biz-head { display: flex; gap: 22px; align-items: center; margin-bottom: 40px; }
.biz-head .no {   /* 사업 번호 동그라미 */
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem;
}
/* 사업 02 악취 저감 구역의 번호 배경만 붉은 계열로 강조하며, 다른 사업 번호 색상은 유지합니다. */
#odor .biz-head .no { background: linear-gradient(135deg, #b83232, #e35b55); }
.biz-head .en { display: block; color: var(--green-500); font-weight: 700; letter-spacing: .2em; font-size: .8rem; }
.biz-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 900; color: var(--green-900); line-height: 1.3; }
.biz-head p { color: var(--muted); margin-top: 6px; }
.biz-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.biz-body .lead { color: var(--muted); margin-bottom: 16px; }
.biz-body .lead b { color: var(--green-800); }

/* 오른쪽 '주요 실적' 상자: 목록이 길면 2열로 나눠 보여 줌(.cols2) */
.track { background: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 4px 18px rgba(11, 37, 69, .07); border-top: 4px solid var(--green-500); }
.bg-soft .track { background: #fff; }
.track h4 { font-size: 1.02rem; color: var(--green-900); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.track h4 small { font-size: .8rem; color: var(--green-500); font-weight: 500; }
.track ol { list-style: none; counter-reset: trk; }
.track ol.cols2 { columns: 2; column-gap: 26px; }
.track li { counter-increment: trk; position: relative; padding: 5px 0 5px 30px; font-size: .88rem; color: var(--text); break-inside: avoid; }
.track li::before {   /* 실적 번호 (1, 2, 3 … 또는 alpha 클래스면 A, B, C …) */
  content: counter(trk); position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.track ol.alpha li::before { content: counter(trk, upper-alpha); }
.track ol.roman li::before { content: counter(trk, upper-roman); }
.track li em { font-style: normal; font-size: .74rem; color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-100); padding: 0 7px; border-radius: 10px; margin-left: 4px; white-space: nowrap; }
.track li em.st { color: #a8741a; background: #fffbea; border-color: #f1e3a6; }   /* 진행 중·시운전 중 표시 */
.track .note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* 왼쪽 설명 아래의 작은 정보 카드 묶음 (예: BtoB / BtoC 고객, 적용 현장 유형) */
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.mini-cards div { background: var(--green-50); border-radius: 12px; padding: 16px 18px; font-size: .88rem; color: var(--muted); }
.bg-soft .mini-cards div { background: #fff; }
.mini-cards b { display: block; color: var(--green-800); font-size: .95rem; margin-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { background: var(--green-100); color: var(--green-700); font-size: .82rem; padding: 5px 12px; border-radius: 20px; font-weight: 500; }

/* ---------- 회사소개 (about.html) ---------- */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vision .item { text-align: center; padding: 44px 30px; border-radius: 20px; background: #fff; box-shadow: 0 4px 18px rgba(11, 37, 69, .06); }
.vision .item .icon { font-size: 2.8rem; margin-bottom: 14px; }
.vision .item .letter { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3rem; color: var(--green-500); line-height: 1; margin-bottom: 10px; }
.vision .item h3 { color: var(--green-800); margin-bottom: 8px; }
.vision .item p { color: var(--muted); font-size: .94rem; }
/* 연혁 타임라인: 왼쪽 세로선 + 연도별 점 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 120px; top: 0; bottom: 0; width: 2px; background: var(--green-100); }
.timeline .row { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline .row::before { content: ''; position: absolute; left: 114px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 5px var(--green-100); }
.timeline .year { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--green-700); }
.timeline ul li { color: var(--muted); padding: 3px 0; }
.timeline ul li b { color: var(--green-800); font-weight: 500; margin-right: 8px; }
/* 협력·제휴 카드 */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 20px; text-align: center; }
.cert .badge { width: 80px; height: 80px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(180deg, var(--green-100), #fff); border: 2px solid var(--green-400); display: grid; place-items: center; font-size: 2rem; }
/* 에싸(Essa) 기업 로고 이미지: 둥근 배지 안에 원본 비율을 유지하면서 들어가도록
   max-width/max-height 로 크기를 제한하고, 로고 바탕색이 배지 색과 섞이지 않게
   흰 원형 배경 위에 올립니다(about.html 협력·제휴 카드에서 사용). */
.cert .badge img { width: auto; height: auto; max-width: 58px; max-height: 58px; object-fit: contain; border-radius: 50%; background: #fff; }
.cert h4 { font-size: .98rem; color: var(--green-900); }
.cert p { font-size: .85rem; color: var(--muted); }
/* CEO 인사말: 왼쪽 사진 자리 + 오른쪽 글 */
.ceo-msg { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.ceo-msg .photo { aspect-ratio: 3 / 4; border-radius: 20px; background: linear-gradient(170deg, var(--green-100), var(--green-400)); display: grid; place-items: center; font-size: 6rem; overflow: hidden; }
/* CEO 인사말 왼쪽 사진: 첨부 이미지(BBC Blue Planet II 장면)를 3:4 사진 틀에 꽉 차게 채웁니다.
   object-fit: cover 로 원본 비율을 유지하면서 넘치는 부분만 잘라 깔끔하게 보여 줍니다.
   지시에 따라 보여지는 부분을 왼쪽으로 이동했습니다. 기본 object-position 은 50%(중앙)인데,
   이 값을 30% 로 바꾸면 cover 로 잘라낼 때 원본의 왼쪽 영역을 더 많이 보여 주므로,
   그림 가로폭의 절반만큼 좌측 부분이 더 잘 보이게 됩니다. */
.ceo-msg .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.ceo-msg blockquote { font-size: 1.45rem; font-weight: 700; color: var(--green-800); line-height: 1.5; margin-bottom: 24px; }
.ceo-msg p { color: var(--muted); margin-bottom: 14px; }
.ceo-msg .sign { margin-top: 24px; font-weight: 500; }
.ceo-msg .sign b { font-size: 1.3rem; margin-left: 8px; color: var(--green-900); }

/* ---------- 고객문의 (contact.html) ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.info-card { background: linear-gradient(160deg, var(--green-800), var(--green-600)); color: #fff; border-radius: 20px; padding: 44px 36px; }
.info-card h3 { font-size: 1.5rem; margin-bottom: 26px; }
.info-card li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-card li .ic { font-size: 1.3rem; }
.info-card li small { display: block; opacity: .7; font-size: .8rem; }
.map-box { margin-top: 30px; height: 200px; border-radius: 14px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.map-box svg { width: 100%; height: 100%; }

/* 표준 문의 위젯(.wm-contact) 꾸미기 — 위젯 HTML 은 건드리지 않고 겉모습만 지정 */
.wm-contact { padding: 0; position: relative; }   /* 위젯이 <section> 이라 공통 섹션 여백(110px)을 없앰 */
.wm-contact-form { display: grid; gap: 18px; }
.wm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wm-contact label { display: block; font-size: .9rem; font-weight: 500; color: var(--green-900); }
.wm-contact input:not([type="checkbox"]), .wm-contact select, .wm-contact textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; background: #fff; transition: border-color .2s;
}
.wm-contact input:focus, .wm-contact select:focus, .wm-contact textarea:focus { outline: 0; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.wm-contact textarea { min-height: 160px; resize: vertical; }
.wm-contact .wm-agree { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--muted); }
.wm-contact .wm-agree input { width: auto; }
.wm-submit {
  justify-self: start; padding: 14px 34px; border-radius: 40px; border: 0; background: var(--green-600); color: #fff;
  font-family: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background .2s;
}
.wm-submit:hover { background: var(--green-800); }
.wm-submit:disabled { opacity: .6; cursor: wait; }
.wm-status { font-size: .92rem; color: var(--green-700); min-height: 1.4em; }
.wm-note { font-size: .85rem; color: var(--muted); }

/* ---------- 블로그 게시 안내 카드 ----------
   관리자 페이지에서 글을 등록하면 실제 공개 목록에 반영된다는 편집 절차를 설명합니다.
   기존 블루 계열 브랜드 색과 카드 라운드를 유지해 위젯 앞의 안내로 자연스럽게 배치합니다. */
.blog-publish-guide { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start; margin: 0 0 56px; padding: 30px 34px; border: 1px solid var(--line); border-left: 4px solid var(--green-500); border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(11, 37, 69, .06); }
.blog-publish-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px; background: var(--green-100); font-size: 1.9rem; }
.blog-publish-copy .en { color: var(--green-500); font-size: .76rem; font-weight: 700; letter-spacing: .17em; }
.blog-publish-copy h3 { margin: 4px 0 9px; color: var(--green-900); font-size: 1.2rem; }
.blog-publish-copy > p { color: var(--muted); font-size: .93rem; }
.blog-publish-copy > p b { color: var(--green-800); }
.blog-publish-copy ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 14px; padding: 0; list-style: none; counter-reset: publish-step; }
.blog-publish-copy ol li { counter-increment: publish-step; position: relative; min-height: 76px; padding: 12px 12px 12px 42px; border-radius: 10px; background: var(--green-50); color: var(--muted); font-size: .86rem; }
.blog-publish-copy ol li::before { content: counter(publish-step); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green-600); color: #fff; font: 700 .75rem 'Montserrat', sans-serif; }
.blog-publish-copy ol li b { color: var(--green-800); }
.blog-publish-copy .blog-publish-note { padding-top: 12px; border-top: 1px solid var(--line); font-size: .83rem; }

/* ---------- 블로그 페이지 표준 위젯 ----------
   블로그 위젯의 콘텐츠와 동작은 표준 모듈이 관리하고, 이 묶음은 wm- 클래스의 표현만 사이트 테마에 맞춥니다.
   목록은 카드형으로 정돈하고 검색·분류·페이지 이동은 공통 테두리와 포인트 색을 사용합니다. */
.blog-section { background: var(--green-50); }
.wm-blog { padding: 0; color: var(--text); }
.wm-blog-title { color: var(--green-900); font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; }
.wm-blog-search { display: flex; gap: 10px; max-width: 600px; margin: 0 auto 24px; }
.wm-blog-search input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.wm-blog-search input:focus { outline: 0; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.wm-blog .wm-btn { border: 0; border-radius: 10px; padding: 12px 22px; background: var(--green-600); color: #fff; font: 500 .95rem 'Noto Sans KR', sans-serif; cursor: pointer; transition: background .2s; }
.wm-blog .wm-btn:hover { background: var(--green-800); }
.wm-blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 0 30px; }
.wm-blog-cats button, .wm-blog-cats a { border: 1px solid var(--line); border-radius: 24px; padding: 8px 16px; background: #fff; color: var(--muted); cursor: pointer; font: inherit; }
.wm-blog-cats .active, .wm-blog-cats button:hover, .wm-blog-cats a:hover { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.wm-blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wm-blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 18px rgba(11, 37, 69, .06); transition: transform .25s, box-shadow .25s; }
.wm-blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.wm-blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wm-blog-card h3, .wm-blog-card h4 { color: var(--green-900); }
.wm-blog-card p { color: var(--muted); }
.wm-blog-pager { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.wm-blog-pager button, .wm-blog-pager a { min-width: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green-700); cursor: pointer; }
.wm-blog-pager .active { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.wm-blog-view { margin-top: 30px; padding: clamp(22px, 5vw, 48px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.wm-blog-view[hidden] { display: none; }
.wm-blog-view img { height: auto; margin: 18px auto; border-radius: 12px; }
.wm-blog-view p { color: var(--text); }

/* ---------- 페이지 하단 상담 유도 띠 ---------- */
.cta {
  padding: 90px 0; text-align: center; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(159, 227, 255, .25), transparent 40%),
    linear-gradient(120deg, var(--green-900), var(--green-700));
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; margin-bottom: 14px; }
.cta p { opacity: .85; margin-bottom: 32px; }

/* ---------- 푸터 (main.js 가 삽입) ---------- */
.footer { background: #081c33; color: rgba(255, 255, 255, .65); padding: 60px 0 30px; font-size: .9rem; }
.footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo { margin-bottom: 16px; }
.footer .logo .logo-ko { color: #fff; }
/* 로고 이미지의 슬로건 글씨가 짙은 남색이라 어두운 푸터 바탕에서는 묻힙니다.
   흰 받침(여백 있는 둥근 흰 카드)을 깔아 어느 바탕에서도 또렷하게 보이도록 합니다. */
.footer .logo .logo-mark { background: #fff; padding: 7px 10px; border-radius: 10px; }
.footer .links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer .links h5 { color: #fff; margin-bottom: 12px; font-size: .95rem; }
.footer .links li { margin: 6px 0; }
.footer .links a:hover { color: #9fe3ff; }
.footer .bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* 맨 위로 버튼: 500px 이상 스크롤하면 main.js 가 .show 를 붙여 나타냄 */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--green-600); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; }

/* 스크롤 등장 효과: 화면에 들어오면 main.js 가 .on 을 붙여 아래에서 위로 떠오름 */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.reveal.on { opacity: 1; transform: none; }

/* =====================================================================
   반응형
   · 1024px 이하(태블릿 가로·작은 노트북): 카드 열 수를 줄이고 헤더 버튼 숨김
   · 860px 이하(태블릿 세로): 메뉴를 햄버거 + 오른쪽 슬라이드 패널로 전환, 2단 배치를 1단으로
   · 600px 이하(스마트폰): 모든 카드를 1열로, 글자·여백 축소
   ===================================================================== */
@media (max-width: 1024px) {
  .tech-grid, .tech-grid.five { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process .step::after { display: none; }
  .gnb > li > a { padding: 28px 12px; }
  .header-cta { display: none; }
  .case-feature { grid-template-columns: 1fr; }
  .wm-blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-publish-copy ol { grid-template-columns: 1fr; }
  .blog-publish-copy ol li { min-height: 0; }
  .biz-nav { grid-template-columns: repeat(3, 1fr); }   /* 사업 바로가기 5칸 → 3칸 */
  .biz-body { grid-template-columns: 1fr; gap: 30px; }  /* 사업 설명과 실적 상자를 위아래로 */
}
@media (max-width: 860px) {
  /* 태블릿·모바일에서는 텍스트가 우선 읽히도록 물방울을 작게·옅게 하고 우측 배경으로 밀어 둡니다. */
  .hero-water-art { width: 68vw; height: 66%; top: 22%; right: -17%; opacity: .34; }
  .menu-btn { display: block; }
  .gnb {
    position: fixed; top: 80px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; gap: 0;
    padding: 20px 24px; transform: translateX(100%); transition: transform .35s; overflow-y: auto;
  }
  .gnb.open { transform: none; }
  .gnb > li > a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .gnb > li > a::after { display: none; }
  .gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 6px 0 10px 10px; }
  .gnb > li:hover .sub { transform: none; }
  .split, .contact-wrap, .ceo-msg { grid-template-columns: 1fr; gap: 40px; }
  /* 태블릿·모바일에서는 두 메커니즘 설명 카드를 한 줄씩 읽도록 세로로 쌓습니다. */
  .bio-mechanisms { grid-template-columns: 1fr; }
  .tech-detail:nth-child(even) .split .visual { order: 0; }
  .ceo-msg .photo { max-width: 280px; }
  .vision, .feature-boxes, .feature-boxes.two { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .glossary { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  section { padding: 80px 0; }
  .scroll-down { display: none; }
}
@media (max-width: 600px) {
  /* 좁은 스마트폰에서는 배경 장식의 대비를 더 낮춰 슬로건과 버튼 가독성을 확보합니다. */
  .hero-water-art { width: 90vw; height: 58%; top: 30%; right: -36%; opacity: .22; }
  .tech-grid, .case-grid, .tech-grid.five { grid-template-columns: 1fr; }
  .wm-blog-list { grid-template-columns: 1fr; }
  .blog-publish-guide { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; margin-bottom: 40px; }
  .blog-publish-icon { width: 54px; height: 54px; border-radius: 14px; font-size: 1.5rem; }
  .blog-publish-copy h3 { font-size: 1.08rem; }
  .wm-blog-search { flex-direction: column; }
  .tech-card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .salt-scale { padding: 24px 12px; }
  .salt-scale .mark span { font-size: .66rem; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process .step .circle { width: 96px; height: 96px; font-size: 2rem; }
  .wm-row { grid-template-columns: 1fr; }
  .btn-outline { margin: 12px 0 0; }
  .hero-stats { gap: 24px; }
  .timeline::before { left: 8px; }
  .timeline .row { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline .row::before { left: 2px; }
  .header .inner { height: 68px; }
  .logo .logo-mark { height: 38px; }           /* 폰에서는 한글 회사명을 숨기는 대신 로고를 조금만 줄임 */
  .logo .logo-ko { display: none; }            /* 폰에서는 로고 그림만 표시 */
  .gnb { top: 68px; }
  .sub-tabs { top: 68px; }
  .sub-tabs ul { justify-content: flex-start; }
  .sub-tabs a { padding: 14px 16px; font-size: .9rem; }
  .cert-grid { grid-template-columns: 1fr; }
  .case-feature { padding: 24px; }
  .stage-bars span { font-size: .7rem; padding: 4px; }
  .biz-nav { grid-template-columns: repeat(2, 1fr); }
  .biz-head { align-items: flex-start; gap: 14px; }
  .biz-head .no { width: 52px; height: 52px; font-size: 1.1rem; }
  .track { padding: 22px 18px; }
  .track ol.cols2 { columns: 1; }                       /* 폰에서는 실적 목록을 1열로 */
  .mini-cards { grid-template-columns: 1fr; }
  /* 미생물 그림 팝업: 좁은 화면에서는 오버레이·카드 여백을 줄여 그림을 크게 보여 줍니다. */
  .microbe-modal { padding: 12px; }
  .microbe-modal .modal-box { padding: 18px; }
}
