@charset "utf-8";
/* ===================================================
   EXPERNET 2026 - Products / Solutions Page Styles
   =================================================== */

/* ─── 제품 소개 Hero ──────────────────────────────── */
.product-hero {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #005fa3 100%);
  color: var(--color-white); position: relative; overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
/* 브랜드 글로우 오브 */
.product-hero-glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -80px; top: -80px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .6;
  pointer-events: none;
  z-index: 0;
}
/* 네트워크 캔버스 배경 (scripts/hero-bg.js) — screen 합성으로 브랜드 그라디언트 위에 빛 입자만 표시 */
.product-hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .85;
}

.product-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: var(--space-10);
}
.product-hero-breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: rgba(255,255,255,.6);
  margin-bottom: 30px;
}
.product-hero-breadcrumb a:hover { color: var(--color-white); }
.product-hero-breadcrumb .sep { color: rgba(255,255,255,.35); }
/* 로고 + 파트너십 뱃지 가로 배치 컨테이너 */
.product-hero-logo-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: var(--space-5);
}
.product-hero-logo {
  height: 112px; max-width: 320px; width: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
/* 어두운 로고를 밝은 배경으로 받쳐주는 래퍼 (logo_on_dark 제품용) */
.product-hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.product-hero-logo-wrap .product-hero-logo {
  height: 80px;
}
/* 이미지 없을 때 텍스트 라운드 디폴트 */
.product-hero-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 1.5rem;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-size: 1.25rem; font-weight: 800;
  color: var(--color-white);
  letter-spacing: .04em;
  white-space: nowrap;
}
.product-hero h1 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800; line-height: 1.3; margin-top: 2rem;margin-bottom: var(--space-4);
}
.product-hero h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 800;  margin-bottom: var(--space-4);
}
.product-hero .subtitle {
  font-size: var(--text-lg); color: rgba(255,255,255,.75);
  max-width: 560px;  margin-bottom: var(--space-8);
  font-weight: 300;
}
.product-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0, 153, 230,.1); border: 1px solid rgba(0, 153, 230, 0.2);
  border-radius: var(--radius-full); padding: 0.2rem 0.9rem ;
  font-size: var(--text-xs); font-weight: 700; color: #0099e6;
}
.product-hero-badge img {
  width: 20px; height: 20px; object-fit: contain;
  flex-shrink: 0;
}
.product-hero-badge-text {padding-left: 0.25rem;}

.product-hero-solutions {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: var(--space-8);
}
.product-hero-sol-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-full);
  padding: .4rem .9rem;
  font-size: var(--text-sm); font-weight: 600;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  transition: background .2s ease, border-color .2s ease;
}
.product-hero-sol-chip:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
}
.product-hero-sol-chip strong {
  font-weight: 800; color: var(--color-teal);
  letter-spacing: .02em;
}
.product-hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
/* hero 버튼 그림자 제거 (제품·솔루션 페이지 공통) */
.product-hero-actions .btn,
.product-hero-actions .btn:hover { box-shadow: none; }
.product-hero-cert {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  width: 360px; box-sizing: border-box;
}
.product-hero-cert-label {
  font-size: var(--text-xs); color: rgba(255,255,255,.5); margin-bottom: var(--space-3);
}
.product-hero-cert-value {
  font-size: var(--text-xl); font-weight: 800; color: var(--color-teal);
}
/* 관련 파트너 벤더 칩 (solution-resources.php 필터 디자인 차용, 다크 hero용) */
.cert-vendors {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start;
}
.cert-vendor-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem .3rem .4rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .8125rem; font-weight: 500;
  color: var(--color-white);
  white-space: nowrap;
}
.cert-vendor-chip img {
  width: 22px; height: 22px; object-fit: contain;
  border-radius: 50%; background: rgba(255,255,255,.5); padding: 2px;
}

/* ─── 제품 상세 레이아웃 ─────────────────────────── */
.product-body { padding: var(--space-20) 0; }
.product-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: var(--space-10); align-items: start;
}
.product-main {}
.product-sidebar {}

/* 섹션 구분 */
.product-section { margin-bottom: var(--space-16); }
.product-section-title {
  font-size: var(--text-2xl); font-weight: 800;
  color: var(--color-primary); margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-primary-light);
}

/* 특징 그리드 */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6);
}
.feature-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: all var(--transition-base);
}
.feature-card:hover { border-color: var(--color-accent); }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4); font-size: 1.25rem;
}
.feature-title { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.feature-desc  { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* 아키텍처/다이어그램 박스 */
.arch-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.arch-title { display:flex; align-items:center; gap:.5rem; font-size: var(--text-lg); font-weight: 700;  margin-bottom: var(--space-9); color: var(--color-primary);padding: 0rem 0rem 1.25rem 0rem; }
.arch-title img { background: var(--color-primary-light);border-radius: var(--radius-md);}
.arch-layers { display: flex; flex-direction: column; gap: var(--space-1); }
.arch-layer {

  /* div의 크기 (이미지가 보이려면 최소 높이나 너비가 필요함) */
  width: 800px;
  height: 92px; 
  display: flex; align-items: center; gap: var(--space-4);
  border: none;
  
  padding: var(--space-4) var(--space-5);
}
/* 레이어별 배경 이미지 순환 (products_architecture_01 → 02 → 03) */
.arch-layer:nth-child(3n+1) {
  background-image: url('/images/products/products_architecture_01.png');
}
.arch-layer:nth-child(3n+2) {
  background-image: url('/images/products/products_architecture_02.png');
}
.arch-layer:nth-child(3n+3) {
  background-image: url('/images/products/products_architecture_03.png');
}
.arch-layer.highlight {
  
  box-shadow: inset 0 0 0 0px rgba(0,65,125,.25);
}
.arch-layer-label {
  padding-top: 15px;

  font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted);
  width: 150px; flex-shrink: 0;
  padding: 1.25rem 1.25rem;
}
.arch-layer-content {
  padding-top: 15px;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-text);
}
.arch-layer-sub { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ─── FAQ 스타일 (개선) ─────────────────────────── */
.faq-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-6);
}
.faq-count {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700;
  color: var(--color-accent);
  background: rgba(0,153,230,.08);
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  letter-spacing: .06em;
}

.faq-list { display: flex; flex-direction: column; gap: var(--space-4); }

.faq-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  background: var(--color-white);
}
.faq-item:hover {
  border-color: var(--color-primary);
}
.faq-item.open {
  border-color: var(--color-primary);
}

/* 질문 버튼 */
.faq-question {
  width: 100%; text-align: left;
  height: 40px;
  display: flex; align-items: center; gap: var(--space-4);
    /* 위 오른쪽 아래 왼쪽 */
  padding-left: 10px;    
  background: var(--color-white);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--color-gray-100); box-shadow: none; }
.faq-item.open .faq-question {
  background: linear-gradient(135deg, var(--color-primary) 0%, #005fa3 100%);
}

/* Q 번호 배지 */
/* Q 번호 배지 */
.faq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 크기 */
  width: 30px;
  height: 30px;
  min-width: 30px;

  /* 원형 */
  border-radius: 50%;

  /* 배경색 */
  background: #daeeff;
  color: #00417d;

  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .04em;

  flex-shrink: 0;

  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}
.faq-item.open .faq-num {
  background: rgba(255,255,255,.2);
  color: var(--color-white);
}

/* 질문 텍스트 */
.faq-q-text {
  flex: 1;
  font-size: var(--text-base); font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  transition: color var(--transition-fast);
}
.faq-item.open .faq-q-text { color: var(--color-white); }

/* 화살표 아이콘 래퍼 */
.faq-chevron-wrap {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-base);
}
.faq-item:hover .faq-chevron-wrap {  box-shadow: none; }
.faq-item.open .faq-chevron-wrap {
 
  transform: rotate(180deg);
}
.faq-chevron {
  width: 16px; height: 16px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.faq-item:hover .faq-chevron { color: var(--color-primary); box-shadow: none; }
.faq-item.open .faq-chevron { color: var(--color-white); }

/* 답변 영역 */
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.25s ease;
  padding: 0 var(--space-6);
  background: var(--color-white);
}
.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 var(--space-6) var(--space-6);
}

.faq-answer-inner {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

/* A 마크 */
.faq-a-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(0,153,230,.1);
  color: var(--color-accent);
  font-size: var(--text-xs); font-weight: 800;
  flex-shrink: 0; margin-top: 1px;
}

/* 답변 텍스트 */
.faq-a-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.85;
  flex: 1;
}

/* 사이드바 */
.sidebar-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-6);
  margin-bottom: var(--space-6);
}
.sidebar-card.cta {
  background: var(--color-primary);
  color: var(--color-white); border: none;
}
.sidebar-card-title {
  font-size: var(--text-base); font-weight: 700;
  margin-bottom: var(--space-4);
}
.sidebar-card.cta .sidebar-card-title { color: var(--color-white); }
.sidebar-card.cta p { font-size: var(--text-sm); opacity: .8; margin-bottom: var(--space-4); line-height: 1.6; }
.sidebar-card .btn { width: 100%; justify-content: center; }

/* ── CTA 외 사이드바 카드 = company/esg.php 의 esg-card 구조 (배경 이미지 제외) ── */
.product-sidebar .esg-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
}
/* 카드 헤더 (배경 이미지 없음) */
.product-sidebar .esg-card-header {
  background: var(--color-primary);
  padding: 0.8rem 1rem 0.8rem;
  position: relative;
}
.product-sidebar .esg-header-text { position: relative; z-index: 2; }
.product-sidebar .esg-header-text .cat-name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.product-sidebar .esg-header-text .cat-name img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
/* 카드 바디 */
.product-sidebar .esg-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.product-sidebar .esg-card-desc {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--color-border);
}
.product-sidebar .esg-desc {
  font-size: .875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}
.product-sidebar .esg-card-links {
  padding: 1.25rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.product-sidebar .esg-card-links { gap: 0; }
.product-sidebar .esg-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
.product-sidebar .esg-card-links .esg-doc-link:last-child { border-bottom: none; }
.product-sidebar .esg-doc-link:hover span { color: var(--color-accent); }
.product-sidebar .esg-doc-link span {
  font-size: .9375rem;
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.4;
}
.product-sidebar .esg-doc-link .dl-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.125rem;
  line-height: 1;
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sidebar-tags .tag {
  font-size: var(--text-xs); font-weight: 600;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-gray-700);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* ─── 솔루션 Bootstrap 아이콘 ──────────────────── */
.sol-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  background: var(--color-primary-light);
  transition: all var(--transition-base);
}
.sol-icon.lg {
  width: 80px; height: 80px;
  font-size: 2.25rem;
  border-radius: var(--radius-xl);
}

/* ─── 도입효과 Bento Grid ──────────────────────── */
.sol-bento {
  padding: var(--space-16) 0;
  background: linear-gradient(160deg, #020c1b 0%, #0a1628 30%, #0d2240 60%, #091a35 100%);
  position: relative; overflow: hidden;
  color: var(--color-white);
}
.sol-bento::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.sol-bento::after {
  content: '';
  position: absolute; width: 500px; height: 500px;
  right: -120px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,230,.2), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.sol-bento .section-label { background: rgba(0,203,172,.15); color: var(--color-teal); }
.sol-bento .section-title { color: var(--color-white); }
.sol-bento .section-desc { color: rgba(255,255,255,.6); }

.bento-effects {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.bento-fx {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .35s ease;
}
.bento-fx:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.bento-fx::after {
  content: '';
  position: absolute; inset: auto -15% -35% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 60%);
  opacity: .35; pointer-events: none;
}
.bento-fx.span-8  { grid-column: span 8; }
.bento-fx.span-6  { grid-column: span 6; }
.bento-fx.span-4  { grid-column: span 4; }
.bento-fx.span-3  { grid-column: span 3; }
.bento-fx.span-12 { grid-column: span 12; }

.bento-fx.glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.bento-fx.glass-accent {
  background: linear-gradient(135deg, rgba(0,153,230,.15), rgba(0,153,230,.05));
  border: 1px solid rgba(0,153,230,.25);
  backdrop-filter: blur(16px);
}
.bento-fx.glass-teal {
  background: linear-gradient(135deg, rgba(0,203,172,.15), rgba(0,203,172,.05));
  border: 1px solid rgba(0,203,172,.25);
  backdrop-filter: blur(16px);
}
.bento-fx.glass-purple {
  background: linear-gradient(135deg, rgba(108,99,255,.15), rgba(108,99,255,.05));
  border: 1px solid rgba(108,99,255,.25);
  backdrop-filter: blur(16px);
}
.bento-fx-num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  margin-bottom: var(--space-2);
}
.bento-fx-num.accent { color: var(--color-accent); }
.bento-fx-num.teal   { color: var(--color-teal); }
.bento-fx-num.purple { color: var(--color-purple); }
.bento-fx-num.white  { color: var(--color-white); }
.bento-fx-label {
  font-size: var(--text-sm); font-weight: 600;
  color: rgba(255,255,255,.6);
}
.bento-fx-title {
  font-size: var(--text-xl); font-weight: 800;
  color: var(--color-white); line-height: 1.3;
  margin-bottom: var(--space-2);
}
.bento-fx-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.bento-fx-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,.25);
  position: absolute; right: 1.5rem; bottom: 1.5rem;
}

/* ─── 솔루션 FAQ (모던) ────────────────────────── */
.sol-faq-section {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}
.sol-faq-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: var(--space-10); align-items: start;
}
.sol-faq-aside {
  position: sticky; top: calc(var(--header-height) + 2rem);
}
.sol-faq-aside h2 {
  font-size: var(--text-3xl); font-weight: 900;
  color: var(--color-primary); line-height: 1.25;
  margin-bottom: var(--space-4);
}
.sol-faq-aside p {
  font-size: var(--text-sm); color: var(--color-text-muted);
  line-height: 1.7; margin-bottom: var(--space-6);
}
.sol-faq-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700;
  color: var(--color-accent);
  background: rgba(0,153,230,.08);
  padding: .35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: .06em;
  margin-bottom: var(--space-8);
}

.sol-faq-list { display: flex; flex-direction: column; gap: var(--space-3); }

.sol-faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}
.sol-faq-item:hover {
  border-color: rgba(0,65,125,.2);
  box-shadow: 0 4px 24px rgba(0,65,125,.06);
}
.sol-faq-item.open {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(0,65,125,.1);
}

.sol-faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none; outline: none;
  font-family: inherit;
}
.sol-faq-q:hover { background: var(--color-gray-50, #f8fafc); }
.sol-faq-item.open .sol-faq-q { background: var(--color-primary); }

.sol-faq-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--text-xs); font-weight: 800;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.sol-faq-item.open .sol-faq-num {
  background: rgba(255,255,255,.2);
  color: var(--color-white);
}

.sol-faq-q-text {
  flex: 1;
  font-size: var(--text-base); font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  transition: color var(--transition-fast);
}
.sol-faq-item.open .sol-faq-q-text { color: var(--color-white); }

.sol-faq-toggle {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-base);
}
.sol-faq-item:hover .sol-faq-toggle { background: var(--color-primary-light); }
.sol-faq-item.open .sol-faq-toggle {
  background: rgba(255,255,255,.2);
  transform: rotate(45deg);
}
.sol-faq-toggle i {
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.sol-faq-item:hover .sol-faq-toggle i { color: var(--color-primary); }
.sol-faq-item.open .sol-faq-toggle i { color: var(--color-white); }

.sol-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .25s ease;
  padding: 0 var(--space-6);
  background: var(--color-white);
}
.sol-faq-item.open .sol-faq-a {
  max-height: 600px;
  padding: 0 var(--space-6) var(--space-6);
}
.sol-faq-a-inner {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}
.sol-faq-a-mark {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,203,172,.12), rgba(0,153,230,.08));
  color: var(--color-teal);
  font-size: var(--text-xs); font-weight: 800;
  flex-shrink: 0;
}
.sol-faq-a-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.9;
  flex: 1;
}

/* ─── 제품 목록 그리드 (products/index.php) ─────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: var(--space-10);
}

/* ── 카드 컨테이너 ── */
.product-card {
  --pc-accent: var(--color-accent);
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl, 1.25rem);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.product-card:hover {
  border-color: color-mix(in srgb, var(--pc-accent) 50%, var(--color-border));
  background: color-mix(in srgb, var(--pc-accent) 3%, white);
}

/* ── 배너 영역 ── */
.pc-banner {
  position: relative;
  height: 130px;
  background: var(--color-white);
  border-top: 20px solid var(--pc-accent);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

/* 로고 pill 컨테이너 */
.pc-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pc-accent) 10%, white);
  border: 1.5px solid color-mix(in srgb, var(--pc-accent) 25%, transparent);
  border-radius: 999px;
  padding: 0px 0px;
  position: relative; z-index: 1;
  transition: background .3s ease, border-color .3s ease;
}
.product-card:hover .pc-logo-pill {
  background: color-mix(in srgb, var(--pc-accent) 20%, white);
  border-color: color-mix(in srgb, var(--pc-accent) 40%, transparent);
}

/* 배너 로고 */
.pc-banner-logo {
  max-height: 70px;
  object-fit: contain;
}
.pc-banner-logo--rect { max-width: 150px; }
.pc-banner-logo--sq  { max-width: 35px; }

/* 배너 폴백 텍스트 */
.pc-banner-fallback {
  font-size: 1.1rem; font-weight: 900;
  color: var(--pc-accent);
  letter-spacing: .03em;
}


/* ── 카드 콘텐츠 바디 ── */
.pc-body {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem 1rem;
  gap: 0;
}

/* 제품명 */
.pc-name {
  font-size: var(--text-2xl); font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}

/* 카테고리 */
.pc-cat {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--pc-accent);
  margin: 0 0 var(--space-4);
  line-height: 1.4;
}

/* 설명 */
.pc-desc {
  font-size: var(--text-sm); color: var(--color-text-muted);
  line-height: 1.8; flex: 1;
  margin: 0 0 var(--space-5);
}

/* 태그 */
.pc-tags {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}
.pc-tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700;
  color: var(--color-gray-700);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  transition: background .2s, border-color .2s, color .2s;
}
.product-card:hover .pc-tag {
  background: color-mix(in srgb, var(--pc-accent) 8%, var(--color-bg));
  border-color: color-mix(in srgb, var(--pc-accent) 30%, var(--color-border));
  color: var(--pc-accent);
}

/* ── 카드 콘텐츠 바디 — flex:1 로 공간 차지 ── */
.pc-body { flex: 1; }

/* 자세히 보기 버튼 래퍼 */
.pc-link {
  padding: 0 2px 2px;
  background: var(--color-white);
}

/* 자세히 보기 버튼 */
.pc-link-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3);
  padding: 0.65rem 0.75rem;
  background: color-mix(in srgb, var(--pc-accent) 10%, white);
  border: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: var(--text-sm); font-weight: 700;
  color: var(--pc-accent);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.pc-link-btn:hover,
.product-card:hover .pc-link-btn {
  background: var(--pc-accent);
  color: #fff;
}

/* 버튼 우측 아이콘 */
.pc-link-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pc-accent) 15%, white);
  border: 1px solid color-mix(in srgb, var(--pc-accent) 25%, transparent);
  color: var(--pc-accent);
  transition: background .25s, border-color .25s, color .25s;
}
.pc-link-btn:hover .pc-link-icon,
.product-card:hover .pc-link-icon {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

/* ─── 반응형 ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { order: -1; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .product-hero-cert { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .bento-effects { grid-template-columns: 1fr; }
  .bento-fx[class*="span-"] { grid-column: span 1; }
  .sol-faq-grid { grid-template-columns: 1fr; }
  .sol-faq-aside { position: static; }
  /* 제품 목록: 1100px 이하에서 2열 */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  .product-hero h1 { font-size: var(--text-3xl); }
  .product-hero    { padding-top: calc(var(--header-height) + var(--space-8)); padding-bottom: var(--space-8); }
  .feature-grid { grid-template-columns: 1fr; }
  .sol-icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .sol-icon.lg { width: 64px; height: 64px; font-size: 1.75rem; }
  /* 제품 목록: 768px 이하에서 1열 */
  .products-grid { grid-template-columns: 1fr; gap: 10px; }
  .pc-banner { height: 120px; }
  .pc-name { font-size: var(--text-xl); }
  .pc-body { padding: 1rem 1.25rem; }
  /* FAQ 질문 패딩 */
  .faq-question { padding: var(--space-4) var(--space-4)  }
  .faq-answer   { padding: 0 var(--space-4); }
  .faq-item.open .faq-answer { padding: 0 var(--space-4) var(--space-4); }
  /* Bento 패딩 */
  .bento-fx { padding: 1.5rem; }
  /* 사이드바 sticky 해제 */
  .product-sidebar { position: static !important; top: auto !important; }

  /* 히어로 액션 버튼 flex-wrap */
  .product-hero-actions { flex-wrap: wrap; gap: .75rem; }
  .product-hero-actions .btn { flex: 1 1 auto; min-width: 0; text-align: center; justify-content: center; }

  /* 히어로 타이틀 줄바꿈 */
  .product-hero h1 br { display: none; }

  /* 제품 본문 레이아웃 */
  .product-body { padding: var(--space-8) 0; }
}
@media (max-width: 480px) {
  .product-hero h1 { font-size: var(--text-2xl); }
  .pc-body { padding: .875rem 1rem; }
  .pc-name { font-size: var(--text-lg); }
  .faq-q-text { font-size: var(--text-sm); }
  .feature-item { padding: var(--space-4); }
  .bento-fx { padding: 1.25rem 1rem; }
}

/* ================================================================
   MOBILE INLINE-STYLE OVERRIDE
   solutions/* / products/* 의 인라인 grid-template-columns 강제 1열
   (CSS !important는 inline style= 속성보다 우선 적용됨)
   ================================================================ */

/* ── 반응형 유틸리티 클래스 (PHP 교체 대상) ─────────── */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.sol-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border);
}
.sol-icon-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── 768px 이하: 인라인 그리드 → 세로 단일 컬럼 ─────── */
@media (max-width: 768px) {
  /* 3열 고정 그리드 → 1열 */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 4열 고정 그리드 → 2열 */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }

  /* 3열 명시 (1fr 1fr 1fr) → 1열 */
  [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* 2열 솔루션 상세 행 (gap:3rem) → 1열 */
  [style*="grid-template-columns:1fr 1fr;gap:3rem"],
  [style*="grid-template-columns:1fr 1fr;gap: 3rem"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* 2열 일반 (gap이 다른 경우) → 1열 */
  [style*="grid-template-columns:1fr 1fr;align-items:center;margin-bottom:4rem"],
  [style*="grid-template-columns:1fr 1fr;gap:3rem;align-items:center"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* 2열 (gap:1fr 1fr + start 등 다른 정렬) */
  [style*="grid-template-columns:1fr 1fr;gap:3rem;align-items:start"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* auto + 1fr (아이콘 + 콘텐츠 패턴) → 1열 */
  [style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* solutions/index.php CTA 박스 */
  [style*="padding:3rem"][style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    padding: 1.75rem !important;
    gap: 1.5rem !important;
  }

  /* 유틸리티 클래스 → 1열 */
  .uc-grid      { grid-template-columns: 1fr; }
  .sol-detail-row { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; }
  .sol-icon-row { grid-template-columns: 1fr; gap: 1.25rem; }

  /* feature-card: 중앙 정렬 해제 (카드형) */
  .feature-card { text-align: left !important;
  margin-left: 0 !important; margin-right: 0 !important; }
  .feature-card .sol-icon { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ── 480px 이하: 추가 축소 ────────────────────────── */
@media (max-width: 480px) {
  .product-hero-logo {  height: 56px; max-width: 180px; width: auto;   }

  /* 4열 → 1열 */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 2열 repeat 그리드 → 1열 */
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* 솔루션 상세 패딩 축소 */
  [style*="padding:2.5rem"][style*="border-radius"] {
    padding: 1.25rem !important;
  }
  [style*="margin-bottom:4rem"] {
    margin-bottom: 1.5rem !important;
  }
  [style*="padding-bottom:4rem"] {
    padding-bottom: 1.5rem !important;
  }

  .uc-grid { gap: 1rem; }
  .sol-bento,
  .section.sol-bento { padding: var(--space-12) 0 !important; }

  /* 아키텍처 박스 — 좁은 화면에서 가로 스크롤 허용 */
  .arch-box         { padding: var(--space-4); overflow-x: auto; }
  .arch-layer       { gap: var(--space-2); min-width: 240px; }
  .arch-layer-label { width: 60px; font-size: .65rem; }

  /* 제품 본문 padding 축소 */
  .product-section   { padding: var(--space-8) 0; }
  .product-body      { padding: var(--space-6) 0; }
  .product-section-title { font-size: var(--text-xl); }

  /* 히어로 액션 버튼 → 세로 쌓기 */
  .product-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: .625rem;
  }
  .product-hero-actions .btn { width: 100%; justify-content: center; max-width: 320px; }
}

/* ── CTA 섹션 (expertise.php 동일 디자인) ── */
.em-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003060 60%, #0a3a6b 100%);
  color: white;
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.em-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(0,153,230,.12);
  pointer-events: none;
}
.em-cta::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.em-cta h2 {
  font-size: 2.125rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.em-cta p {
  color: rgba(255,255,255,.78);
  margin-bottom: 2.25rem;
  font-size: 1.0625rem;
  position: relative; z-index: 1;
}
.em-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
/* 외곽선 버튼: 흰색 테두리가 또렷하게 보이도록 ("자료 다운로드" · "다른 제품 보기") */
.product-hero-actions .btn-outline-white,
.em-cta-btns .btn-outline-white {
  border: 1px solid #ffffff;
}
/* CTA 채움 버튼("무료 기술 상담 신청") 그림자만 제거 */
.em-cta-btns .btn-accent,
.em-cta-btns .btn-accent:hover { box-shadow: none; }

/* ─── 적용 사례 카드 ───────────────────────────────── */
.use-case-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
}
.use-case-card-header {
  background: #daeeff;
  padding: var(--space-4) var(--space-8);
}
.use-case-card-body {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-bg);
}
/* 문제·해결: 박스/테두리 없이 body 배경(color-bg) 그대로 사용 */
.use-case-col {
  min-width: 0;
}
.use-case-col p {
  font-size: .875rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}
/* 결과: 흰 박스 + 음수 마진으로 좌·우·하단을 카드 가장자리까지 확장.
   가로 패딩(space-4) = 음수 마진(space-4)이라 박스 내용이 문제·해결 텍스트와 좌측 정렬됨 */
.use-case-col--result {
  margin: 0 calc(-1 * var(--space-4)) calc(-1 * var(--space-4));
  background: #fff;
  border: 1px solid rgba(0, 203, 172, .2);
  border-radius: var(--radius-lg);
  padding: .75rem var(--space-4);
}
.use-case-industry {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-accent);
  margin-bottom: .15rem;
}
.use-case-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.use-case-col-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.use-case-col-label--problem { color: #7d0000; }
.use-case-col-label--solution { color: #00417d; }
.use-case-col-label--result { color: #00767d; }

/* 적용사례 카드는 모바일에서도 데스크톱과 동일하게 표시 (별도 반응형 오버라이드 없음) */
