/* =========================================================
   CIALM GMP 기반 미생물 산업화 지원시설 공통 CSS
   - 공통 클래스 prefix: .gmp-
   - 2026 responsive / accessibility / compatibility
   ========================================================= */

:root {
  --gmp-primary: #0b6b57;
  --gmp-primary-dark: #06493d;
  --gmp-secondary: #1a7cba;
  --gmp-accent: #84bd00;
  --gmp-ink: #17211f;
  --gmp-muted: #4d4f4f;
  --gmp-line: #dbe7e3;
  --gmp-bg: #f6faf8;
  --gmp-white: #fff;
  --gmp-radius-lg: 28px;
  --gmp-radius-md: 18px;
  --gmp-radius-sm: 12px;
  --gmp-shadow: 0 18px 45px rgba(8, 55, 47, .11);
  --gmp-max: 1180px;
}

.gmp-wrap,
.gmp-wrap * {
  box-sizing: border-box;
}

.gmp-wrap {
  color: var(--gmp-ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  background: var(--gmp-white);

}

.gmp-wrap a {
  color: inherit;
  text-decoration: none;
}

.gmp-wrap a:focus-visible,
.gmp-wrap button:focus-visible,
.gmp-wrap input:focus-visible,
.gmp-wrap select:focus-visible,
.gmp-wrap textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.gmp-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  border-radius: 8px;
}

.gmp-skip:focus {
  top: 16px;
}

.gmp-container {
  width: min(100% - 40px, var(--gmp-max));
  margin: 0 auto;
}

.gmp-hero {
  position: relative;
  padding: 42px 0 16px;
  margin-bottom:12px; 
  overflow: hidden;
  /*
  background:
    radial-gradient(circle at 80% 18%, rgba(132, 189, 0, .26), transparent 32%),
    linear-gradient(135deg, #eff9f5 0%, #edf7ff 48%, #ffffff 100%);*/
  border-radius: 0 0 42px 42px;
}
/*
.gmp-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  border: 76px solid rgba(11, 107, 87, .07);
}*/

.gmp-title {
  max-width: 840px;
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 2.4rem);
  line-height: 1.16;
  letter-spacing: -.065em;
}

.gmp-lead {
  margin: 12px 0 0;
  color: var(--gmp-muted);
  font-size: clamp(1.04rem, 1vw, 1.2rem);
}

.gmp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.gmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gmp-btn:hover {
  transform: translateY(-2px);
}

.gmp-btn-primary {
  color: #fff;
  background: var(--gmp-primary);
  box-shadow: 0 12px 24px rgba(11,107,87,.22);
}

.gmp-btn-outline {
  color: var(--gmp-primary-dark);
  background: rgba(255,255,255,.72);
  border-color: rgba(11,107,87,.24);
}

.gmp-page-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--gmp-line);
  backdrop-filter: blur(12px);
}

.gmp-page-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
}

.gmp-page-nav a {
  display: block;
  min-width: max-content;
  padding: 10px 16px;
  color: var(--gmp-muted);
  font-size: .96rem;
  font-weight: 800;
  border-radius: 999px;
}

.gmp-page-nav a[aria-current="page"],
.gmp-page-nav a:hover {
  color: #fff;
  background: var(--gmp-primary);
}


/*
.gmp-section-soft {
  background: var(--gmp-bg);
}
*/

.gmp-section-head {
  max-width: 780px;
  margin-bottom: 20px;
}

.gmp-kicker {
  margin: 0 0 8px;
  color: var(--gmp-primary);
  font-size: .94rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.gmp-h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -.045em;
}

.gmp-desc { color: var(--gmp-muted);}

.gmp-grid {
  display: grid;
  gap: 20px;
  margin-bottom:80px; 
  padding:20px 20px 0 20px;
}

.gmp-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gmp-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gmp-card {
  position: relative;
  padding: 28px;
  background: var(--gmp-white);
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-lg);
  box-shadow: 0 10px 26px rgba(9, 46, 40, .06);
}

.gmp-card-strong {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,107,87,.96), rgba(16,109,159,.92)),
    var(--gmp-primary);
  border: 0;
  box-shadow: var(--gmp-shadow);
}

.gmp-card-strong .gmp-card-text,
.gmp-card-strong .gmp-card-meta {
  color: rgba(255,255,255,.84);
}

.gmp-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 900;
  background: var(--gmp-primary);
  border-radius: 14px;
}

.gmp-card-strong .gmp-card-num {
  color: var(--gmp-primary-dark);
  background: #fff;
}

.gmp-card-title {
  margin: 0 0 9px;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.gmp-card-text {
  margin: 0;
  color: var(--gmp-muted);
}

.gmp-card-meta {
  display: block;
  margin-top: 14px;
  color: var(--gmp-muted);
  font-size: .94rem;
  font-weight: 700;
}

.gmp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.gmp-stat {
  padding: 22px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-md);
}

.gmp-stat strong {
  display: block;
  color: var(--gmp-primary-dark);
  font-size: clamp(1.2rem, 1.2vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.gmp-stat span {
  display: block;
  margin-top: 6px;
  color: var(--gmp-muted);
  font-size: .94rem;
  font-weight: 700;
}

.gmp-process {
  counter-reset: gmp-step;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gmp-process li {
  counter-increment: gmp-step;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-lg);
}

.gmp-process li::before {
  content: "STEP " counter(gmp-step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  background: var(--gmp-primary);
  border-radius: 18px;
}

.gmp-process h3 {
  margin: 0 0 6px;
  font-size: 1.22rem;
  letter-spacing: -.025em;
}

.gmp-process p {
  margin: 0;
  color: var(--gmp-muted);
}

.gmp-feature-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.gmp-feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--gmp-muted);
}

.gmp-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gmp-primary);
  font-weight: 900;
}

.gmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-lg);
  background: #fff;
}

.gmp-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.gmp-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.gmp-table th,
.gmp-table td {
  padding: 18px 20px;
  text-align: left;
  font-size:16px; 
  border-bottom: 1px solid var(--gmp-line);
}

.gmp-table th {
  color: var(--gmp-primary-dark);
  font-weight: 900;
  background: #eff8f4;
}

.gmp-table tr:last-child th,
.gmp-table tr:last-child td {
  border-bottom: 0;
}

.gmp-callout {
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(132,189,0,.35), transparent 30%),
    linear-gradient(135deg, var(--gmp-primary-dark), var(--gmp-secondary));
  border-radius: var(--gmp-radius-lg);
  box-shadow: var(--gmp-shadow);
}

.gmp-callout h2,
.gmp-callout p {
  margin: 0;
}

.gmp-callout p {
  margin-top: 10px;
  color: rgba(255,255,255,.84);
}

.gmp-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-lg);
  box-shadow: 0 10px 26px rgba(9,46,40,.06);
}

.gmp-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.gmp-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.gmp-required {
  color: #c0392b;
}

.gmp-field input,
.gmp-field select,
.gmp-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--gmp-ink);
  font: inherit;
  background: #fff;
  border: 1px solid #cfdcd8;
  border-radius: var(--gmp-radius-sm);
}

.gmp-field textarea {
  min-height: 150px;
  resize: vertical;
}

.gmp-help {
  margin: 6px 0 0;
  color: var(--gmp-muted);
  font-size: .92rem;
}

.gmp-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: var(--gmp-bg);
  border-radius: var(--gmp-radius-sm);
}

.gmp-check input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
}

.gmp-footer-info {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  background: var(--gmp-bg);
  border: 1px solid var(--gmp-line);
  border-radius: var(--gmp-radius-md);
}

@media (max-width: 960px) {
  .gmp-grid-3,
  .gmp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gmp-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gmp-wrap {
    font-size: 16px;
  }

  .gmp-container {
    width: min(100% - 28px, var(--gmp-max));
  }

  .gmp-hero {
    padding: 54px 0 42px;
    border-radius: 0 0 28px 28px;
  }

  .gmp-section {
    padding: 52px 0;
  }

  .gmp-grid-3,
  .gmp-stats,
  .gmp-form-row {
    grid-template-columns: 1fr;
  }

  .gmp-card,
  .gmp-form,
  .gmp-callout {
    padding: 22px;
    border-radius: 22px;
  }

  .gmp-process li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gmp-btn {
    transition: none;
  }

  .gmp-btn:hover {
    transform: none;
  }
}


/*   인증서 */
.GMP-sang_container{display:flex}
.GMP-sang_container img{width:33.3%; }



/*   공간 소개 */
.gmp-photo {display:flex;flex-wrap: wrap;}
.gmp-photo li{width:31%; margin:1%; margin-bottom:20px; }
.gmp-photo li img{width:100%; border-radius:8px 8px 0 0; }
.gmp-photo li span{display:block; text-align:center;}




/* ########################################
##########    일러스트 상단 영역 #############
#############################################*/
.GMP-AI,
.GMP-AI *,
.GMP-AI *::before,
.GMP-AI *::after {
  box-sizing: border-box;
}

.GMP-AI {
  --bmg-green-50:  #f0f9f4;
  --bmg-green-100: #d8f0e1;
  --bmg-green-300: #6ec896;
  --bmg-green-500: #2e9d63;
  --bmg-green-700: #1f6e44;
  --bmg-green-900: #0f3d24;

  --bmg-navy-500:  #1e3a5f;
  --bmg-navy-700:  #142845;
  --bmg-navy-900:  #0a1626;

  --bmg-accent:    #c9f266;
  --bmg-accent-2:  #ffd56b;

  --bmg-bg:        #fafdf9;
  --bmg-text:      #1a2332;
  --bmg-text-sub:  #5a6b7e;
  --bmg-line:      rgba(46, 157, 99, 0.15);

  --bmg-shadow-sm: 0 2px 8px rgba(15, 61, 36, 0.06);
  --bmg-shadow-md: 0 8px 24px rgba(15, 61, 36, 0.08);
  --bmg-shadow-lg: 0 16px 40px rgba(15, 61, 36, 0.12);

  --bmg-radius-sm: 12px;
  --bmg-radius-md: 18px;
  --bmg-radius-lg: 24px;
/*
  --bmg-font-display: 'Gowun Batang', 'Nanum Myeongjo', serif;
  --bmg-font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
*/
  font-family: var(--bmg-font-body);
  color: var(--bmg-text);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: -0.01em;
  overflow: hidden;
  border-radius: var(--bmg-radius-md);
}

.GMP-AI h1, .GMP-AI h2, .GMP-AI h3, .GMP-AI h4,
.GMP-AI p, .GMP-AI ul, .GMP-AI li, .GMP-AI span,
.GMP-AI div, .GMP-AI section {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.GMP-AI img,
.GMP-AI svg {
  max-width: 100%;
  display: block;
}

.GMP-AI ul, .GMP-AI ol { list-style: none; }

.bmg-inner {
  padding: 0 32px;
}

/* ============================================================
   1. HERO 섹션
   ============================================================ */
.bmg-hero {
  position: relative;
  padding: 60px 32px 70px;
  margin-bottom:80px !important; 
  background:
    radial-gradient(ellipse at 90% 10%, rgba(110, 200, 150, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 90%, rgba(201, 242, 102, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #f0f9f4 0%, #fafdf9 100%);
  overflow: hidden;
  border-radius:0 0 2em 2em; 
}

.bmg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(46, 157, 99, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.bmg-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  padding:40px !important;
  
}

.bmg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 24px;
  background: rgba(46, 157, 99, 0.1);
  border: 1px solid var(--bmg-green-300);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bmg-green-700);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.bmg-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--bmg-green-500);
  border-radius: 50%;
  animation: bmg-pulse 2s ease-in-out infinite;
}

@keyframes bmg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.bmg-hero-title {
  font-family: var(--bmg-font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bmg-navy-900);
  margin-bottom: 18px;
}

.bmg-hero-title em {
  font-style: normal;
  color: var(--bmg-green-500);
  position: relative;
  display: inline-block;
}

.bmg-hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--bmg-accent);
  z-index: -1;
  opacity: 0.65;
  border-radius: 3px;
}

.bmg-hero-desc {
  font-size: 0.95rem;
  color: var(--bmg-text-sub);
  line-height: 1.75;
  margin-bottom: 26px;
}

.bmg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bmg-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 26px !important;
  background: white;
  border-radius: 999px;
  box-shadow: var(--bmg-shadow-sm);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--bmg-navy-700);
  border: 1px solid var(--bmg-line);
}

.bmg-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bmg-green-500);
  flex-shrink: 0;
}

.bmg-chip-dot.is-blue { background: var(--bmg-navy-500); }

.bmg-hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmg-blob {
  position: relative;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9f4 100%);
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%;
  box-shadow: var(--bmg-shadow-lg), inset 0 0 60px rgba(46, 157, 99, 0.05);
  animation: bmg-blob 15s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bmg-blob {
  0%, 100% { border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%; }
  33% { border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%; }
  66% { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
}

.bmg-cell {
  position: absolute;
  border-radius: 50%;
  animation: bmg-float 6s ease-in-out infinite;
}

.bmg-cell-1 {
  width: 46px; height: 46px;
  background: radial-gradient(circle at 30% 30%, #c9f266, #6ec896);
  top: 5%; right: -8%;
  box-shadow: 0 8px 20px rgba(46, 157, 99, 0.3);
}

.bmg-cell-2 {
  width: 28px; height: 28px;
  background: radial-gradient(circle at 30% 30%, #ffd56b, #f4a847);
  bottom: 10%; left: -6%;
  box-shadow: 0 8px 20px rgba(244, 168, 71, 0.3);
  animation-delay: -2s;
}

.bmg-cell-3 {
  width: 24px; height: 24px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #d8f0e1);
  top: 50%; right: 0%;
  box-shadow: 0 6px 16px rgba(46, 157, 99, 0.2);
  animation-delay: -4s;
}

@keyframes bmg-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(10deg); }
}

/* ============================================================
   섹션 공통
   ============================================================ */
.bmg-section {
  padding: 70px 0;
  position: relative;
}

.bmg-section-head {
  margin-bottom: 44px;
}

.bmg-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bmg-green-500);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(46, 157, 99, 0.08);
  border-radius: 999px;
}

.bmg-section-title {
  font-family: var(--bmg-font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.8rem);
  font-weight: 700;
  color: var(--bmg-navy-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.bmg-section-title strong {
  color: var(--bmg-green-700);
  font-weight: 700;
}

.bmg-section-desc {
  font-size: 17px;
  color: var(--bmg-text-sub);
  line-height: 1.7;
  padding-bottom:20px !important; 
}

/* ============================================================
   2. 인증 및 시설 구분
   ============================================================ */
.bmg-facility {
}

.bmg-facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
 margin-bottom:80px !important;
}

.bmg-facility-card {
  position: relative;
  background: white;
  border-radius: var(--bmg-radius-lg);
  padding: 32px 26px !important;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border:1px solid var(--bmg-green-500);
}

.bmg-facility-card.is-blue {
  border-top-color: var(--bmg-navy-500);
}

.bmg-facility-card:hover {
  transform: translateY(-6px);
}



.bmg-facility-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bmg-green-50);
  color: var(--bmg-green-700);
  border-radius: 12px;
  font-family: var(--bmg-font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}

.bmg-facility-card.is-blue .bmg-facility-num {
  background: rgba(30, 58, 95, 0.08);
  color: var(--bmg-navy-700);
}

.bmg-facility-cert {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bmg-green-500);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.bmg-facility-card.is-blue .bmg-facility-cert {
  color: var(--bmg-navy-500);
}

.bmg-facility-title {
  font-family: var(--bmg-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bmg-navy-900);
  margin-bottom: 14px;
  line-height: 1.4;
}

.bmg-facility-desc {
  color: var(--bmg-text-sub);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.bmg-facility-desc strong {
  color: var(--bmg-navy-900);
  font-weight: 700;
}

.bmg-facility-icon-bg {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  opacity: 0.1;
}

/* ============================================================
   3. 생산공정 — v2 스타일 (좌→우 흐름, 자동 2줄 줄바꿈)
   ============================================================ */
.bmg-process {
}

/* ★ flex-wrap으로 자동 2줄 처리 — 각 카드는 고정폭으로 설정 */
.bmg-process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  position: relative;
  margin-bottom:80px !important;
}

.bmg-process-card {
  /* 한 줄에 3개씩, 넘치면 다음 줄로 (3-2 배치) */
  flex: 0 1 calc((100% - 36px) / 3);
  min-width: 240px;
  background: white;
  border-radius: var(--bmg-radius-md);
  overflow: hidden;
  box-shadow: var(--bmg-shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  border:1px solid var(--bmg-green-300);
}

.bmg-process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bmg-shadow-lg);
}

/* 공정 이미지 영역 */
.bmg-process-img {
  aspect-ratio: 4/2;
  background: linear-gradient(135deg, #f0f9f4 0%, #d8f0e1 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bmg-process-img::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px;
  height: 80px;
  background: rgba(201, 242, 102, 0.4);
  border-radius: 50%;
  filter: blur(18px);
}

.bmg-process-img svg {
  position: relative;
  width: 56%;
  height: 56%;
  top:20px;
  z-index: 1;

}

.bmg-process-step-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bmg-green-500);
  color: white;
  padding: 5px 12px !important;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(46, 157, 99, 0.3);
}

.bmg-process-body {
  padding: 20px 18px 22px !important;
  flex: 1;
}

.bmg-process-name {
  font-family: var(--bmg-font-display);
  font-size: 20px;
  font-weight: 700 !important;
  color: var(--bmg-navy-900);
  margin-bottom: 12px !important;
  line-height: 1.4;
}

.bmg-process-text {
  line-height: 1.4;
}

/* ============================================================
   4. 핵심 역량 및 특징 — v2 스타일 (세로 카드, 자동 줄바꿈)
   ============================================================ */
.bmg-features {
  position: relative;
  margin-bottom:80px !important; 
}

.bmg-feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.bmg-feature-card {
  /* 한 줄에 4개씩, 영역 줄어들면 2개씩 자동 줄바꿈 */
  flex: 0 1 calc((100% - 54px) / 4);
  min-width: 195px;
  background: white;
  border-radius: var(--bmg-radius-md);
  padding: 30px 24px !important;
  margin-bottom:80px; !important 
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--bmg-green-300);
}

.bmg-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--bmg-green-500), var(--bmg-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.bmg-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--bmg-green-100);
}

.bmg-feature-card:hover::before {
  transform: scaleX(1);
}

.bmg-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bmg-green-100) 0%, var(--bmg-green-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.bmg-feature-card:hover .bmg-feature-icon {
  transform: rotate(-8deg) scale(1.08);
  background: linear-gradient(135deg, var(--bmg-green-300) 0%, var(--bmg-green-500) 100%);
}

.bmg-feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--bmg-green-700);
  fill: none;
  stroke-width: 1.8;
  transition: stroke 0.4s ease;
}

.bmg-feature-card:hover .bmg-feature-icon svg {
  stroke: white;
}

.bmg-feature-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--bmg-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bmg-green-500);
  line-height: 1;
}

.bmg-feature-title {
  font-family: var(--bmg-font-display);
  font-size: 20px;
  font-weight: 600 !important;
  color: var(--bmg-navy-900);
  margin: 10px 0 !important;
  line-height: 1.4;
}

.bmg-feature-desc {
  line-height: 1.6;
}

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 768px) {
  .GMP-AI { font-size: 14px; }

  .bmg-section { padding: 50px 0; }
  .bmg-inner { padding: 0 20px; }
  .bmg-hero { padding: 44px 20px 50px; }

  .bmg-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .bmg-chips { justify-content: center; }

  .bmg-section-head { margin-bottom: 32px; }

  .bmg-facility-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /******************************
 ************  생산 공정 흐름 ************
  ***************************************/
  .bmg-process-card {
    flex: 0 1 calc((100% - 18px) / 2);
    min-width: 0;
  }

  /* 핵심 역량: 한 줄에 2개씩 */
  .bmg-feature-card {
    flex: 0 1 calc((100% - 18px) / 2);
    min-width: 0;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .bmg-hero-visual { max-width: 220px; }

  .bmg-process-card,
  .bmg-feature-card {
    flex: 0 1 100%;
  }
}

@keyframes bmg-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.bmg-fade-in {
  animation: bmg-fadeUp 0.8s ease-out backwards;
}



/*todtkds생산공정*/
<style>
/* ============================================================
   생산공정 흐름 (Production Flow)
   네임스페이스: pflow-  (기존 .gmp-, .bmg-, .GMP-AI 와 충돌 없음)
   ============================================================ */

.pflow-wrap,
.pflow-wrap *,
.pflow-wrap *::before,
.pflow-wrap *::after {
  box-sizing: border-box;
}

.pflow-wrap {
  --pflow-green-50:  #f0f9f4;
  --pflow-green-100: #d8f0e1;
  --pflow-green-300: #6ec896;
  --pflow-green-500: #2e9d63;
  --pflow-green-700: #1f6e44;
  --pflow-green-900: #0f3d24;

  --pflow-blue-300:  #7ec0e8;
  --pflow-blue-500:  #2980b9;
  --pflow-blue-700:  #1a5d8a;

  --pflow-accent:    #c9f266;
  --pflow-bg:        #ffffff;
  --pflow-text:      #1a2332;
  --pflow-text-sub:  #5a6b7e;
  --pflow-line:      rgba(46, 157, 99, 0.18);

  --pflow-shadow-sm: 0 2px 8px rgba(15, 61, 36, 0.06);
  --pflow-shadow-md: 0 8px 24px rgba(15, 61, 36, 0.08);
  --pflow-shadow-lg: 0 16px 40px rgba(15, 61, 36, 0.12);

  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--pflow-text);
  line-height: 1.6;
  margin: 40px 0;
}

.pflow-wrap h2, .pflow-wrap h3, .pflow-wrap h4, .pflow-wrap p {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.pflow-wrap svg { display: block; max-width: 100%; }

/* ============================================================
   섹션 헤더
   ============================================================ */
.pflow-head {
  margin-bottom: 36px;
}

.pflow-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pflow-green-500);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: rgba(46, 157, 99, 0.08);
  border-radius: 999px;
}

.pflow-title {
  font-size: clamp(1.5rem, 3.2vw, 1.9rem);
  font-weight: 700;
  color: var(--pflow-green-900);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.pflow-desc {
  font-size: 16px;
  color: var(--pflow-text-sub);
  line-height: 1.7;
}

/* ============================================================
   8단계 카드 그리드 (4 x 2)
   ============================================================ */
.pflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}

.pflow-card {
  position: relative;
  background: white;
  border: 1px solid var(--pflow-line);
  border-radius: 16px;
  padding: 22px 16px 20px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
  z-index: 1;
}

/* 상단 그라데이션 라인 */
.pflow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--pflow-green-500), var(--pflow-accent));
  border-radius: 0 0 4px 4px;
  transition: width 0.35s ease;
}

.pflow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pflow-shadow-md);
  border-color: var(--pflow-green-300);
}

.pflow-card:hover::before {
  width: 80%;
}

/* STEP 뱃지 */
.pflow-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--pflow-green-700);
  background: var(--pflow-green-50);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.pflow-step-num {
  font-weight: 800;
}

/* 아이콘 영역 */
.pflow-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--pflow-green-50) 0%, #ffffff 100%);
  border: 1.5px solid var(--pflow-green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.35s ease;
}

.pflow-card:hover .pflow-icon {
  background: linear-gradient(135deg, var(--pflow-green-300) 0%, var(--pflow-green-500) 100%);
  border-color: var(--pflow-green-500);
  transform: scale(1.05);
}

.pflow-icon svg {
  width: 40px;
  height: 40px;
  transition: all 0.35s ease;
}

.pflow-card:hover .pflow-icon svg {
  filter: brightness(0) invert(1);
}

/* 카드 텍스트 */
.pflow-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pflow-green-900);
  line-height: 1.35;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

/* ============================================================
   화살표 (카드 사이 가로 연결)
   ============================================================ */
/* 가로 화살표: 1,2,3번째 카드 우측에 표시 (한 줄 4개 기준) */
.pflow-card:not(:nth-child(4n))::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9d63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 2;
}

/* 마지막 줄 마지막 카드 아래 체크 마크는 표시하지 않음 */

/* ============================================================
   반응형
   ============================================================ */
/* 태블릿: 4열 유지하되 폰트/패딩 축소 */
@media (max-width: 720px) {
  .pflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 화살표 재정의: 1,3,5,7번째 카드 우측에 표시 (한 줄 2개 기준) */
  .pflow-card:not(:nth-child(4n))::after {
    display: none;
  }
  .pflow-card:nth-child(odd)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9d63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .pflow-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* 모바일: 세로 흐름 화살표 */
  .pflow-card::after { display: none !important; }
  .pflow-card:not(:last-child) {
    margin-bottom: 14px;
  }
  .pflow-card:not(:last-child)::before {
    content: '';
    width: 36px !important;
    top: auto !important;
    bottom: -20px;
    background: none !important;
    /* 세로 화살표 SVG */
  }
  /* 단순화: 모바일에서는 카드만 세로로 나열 */
}

