
/* ==================== 비교 통계 섹션 (막대그래프 카드) ==================== */
.compare-section {
  background: var(--white);
}

.compare-section .sec-title {
  margin-bottom: 40px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  
}


.compare-section .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 30px 26px;
  color: var(--ink);
}

.compare-section .stat-card:last-child {
  border-right: none;
  padding: 0;
}

.compare-section .stat-card h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.compare-section .stat-card .src {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 20px;
}
.compare-section .stat-card img {
  width: 100%;
}
.compare-section .stat-foot {
  margin-top: 16px;
  background: var(--pink);
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
}

.compare-section .stat-foot b {
  font-size: 15px;
}

/* 3번째 카드: 아이콘 + 텍스트 블록 2개 */
.icon-block-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.icon-block {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  padding: 30px 0 0 26px;
  height: 100%;
}
.icon-block:last-child {
  border-top: 1px solid var(--line);
}

.icon-block .icon-circle {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-block .icon-circle img {
  width: 60px;
}
.icon-block>div:last-child {
  width: 100%;
}
.icon-block h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.icon-block p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
}

/* ==================== UTM 제품 선택 섹션 ==================== */
.utm-select {
  background: #fff;
}

/* .utm-tabs {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  justify-content: center;
  margin: 60px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 2px 2px 15px 1px rgba(0, 0, 0, 0.1);
} */
.utm-tab {
  flex: 1;
  font-size: 24px;
  padding: 24px;
  border: none;
  background: #fff;
  color: #333;
  font-weight: 600;
  cursor: pointer;

  transition: background .2s, color .2s;
}
.utm-tab.active {
  background: var(--accent, #d0021b);
  color: #fff;
  border-color: var(--accent, #d0021b);
}


.utm-brand {
  display: flex;
  align-items: center;
  gap: 30px;
 
  border-radius: 8px;

  margin-bottom: 24px;
}
.utm-brand > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.utm-brand-logo { width: 340px; flex-shrink: 0; border: 1px solid var(--line);   padding: 38px 32px;}
.utm-brand-name {font-size: 24px; font-weight: 700;}
.utm-brand-desc { font-size: 16px; color: #666; line-height: 1.6; }

.utm-product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
}
.utm-product-visual img { max-width: 940px; width: 100%; }
.utm-product-name { display: none; font-weight: 700; margin-top: 12px; }

.utm-product-info {
  display: flex;
  border: 1px solid var(--red);
  overflow: hidden;
  margin-bottom: 32px;
}
.utm-info-item {
  flex: 1;
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--red);
}
.utm-info-item:first-child {
  display: flex;
  flex-direction: column;
  flex: 3;;
  align-items: flex-start;
}
.utm-info-item:last-child { border-right: none; }
.utm-info-label { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.utm-info-value { font-size: 20px; font-weight: 700; color: var(--red); }
.utm-info-value.accent { color: var(--red); }

.utm-table-wrap { overflow-x: auto; }
.utm-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
}
.utm-spec-table th {
  background: #191919;
  color: #fff;
  font-size: 16px;
  padding: 8px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.utm-spec-table td:first-child {
  border-left: 1px solid var(--line);
  font-weight: 700;
}
.utm-spec-table td {
    font-size: 16px;
    padding: 10px 26px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
}
/* .utm-spec-table tbody tr:nth-child(odd) { background: #fafafa; } */
/* ==============================
   UTM 제품 선택 탭
   CCTV v2-pricing 스타일 적용
============================== */

.utm-tabs {
  display: flex;
  gap: 12px;
  margin-top: 60px;
}

 .utm-tab {
  flex: 1;
  font-family: inherit;

  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;

  padding: 22px 12px;
   border: 2px solid var(--red);
   border-bottom: 0;
   border-radius: 16px 16px 0 0;
   font-size: 24px;
   font-weight: 700 !important;
   color: #454545;

}


/* 활성 탭 */
.utm-tab.active,
.tel-page #tel-main .utm-select .utm-tab[aria-selected="true"] {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}


/* hover */
.utm-tab:hover {
  border-color: var(--red);
}


/* 제품 패널 */
.utm-panel {
  background: #fff;
  color: #333;

  padding: 32px 24px;

  border: 2px solid var(--red);
}
/* ==================== 구성도 & 구축 사례 섹션 ==================== */
.case-section {
  background: #292929;
  color: #fff;
}


.case-tabs {
  display: flex;
  justify-content: center;

  margin: 32px 0 40px;
}
.case-tab {
  width: 200px;
  padding: 10px 26px;
  font-size: 24px;
  border: 1px solid var(--red);
  background: transparent;
  color: #ccc;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.case-tab.active {
  background: var(--accent, #d0021b);
  color: #fff;
  border-color: var(--accent, #d0021b);
}

.case-panel { display: none; }
.case-panel.active { display: block; }

.case-diagram {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
}

/* ---------- 반응형 1240px ---------- */
@media (max-width: 1240px) {
  .case-diagram { max-width: 100%; }
  .utm-tab {
    font-size: 20px;
  }
}

/* ---------- 반응형 767px ---------- */
@media (max-width: 767px) {
  .case-tab { padding: 8px 18px; font-size: 13px; }
  .case-diagram { border-radius: 8px; }
}





/* ==================== TABLET ==================== */
@media (max-width: 1240px) {
  .compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.compare-grid .stat-card {
  border-top: none;
}
.compare-grid .stat-card:nth-child(2) {
  border-right: none;
}
  .compare-grid .stat-card:last-child,
  .compare-grid .stat-card:last-child .icon-block-list {
    display: contents;
  }

  .compare-grid .stat-card:last-child .icon-block {
    /* 각각 grid item이 됨 */
  } 
  .icon-block {
    padding: 30px 26px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .icon-block:last-child {
    border-right: none;
  }

  .utm-product-info { flex-wrap: wrap; }
  
  .utm-info-item { flex: 1 1 50%; border-bottom: 1px solid #eee; }
.utm-info-item:first-child {
  flex: 1 1 50%;
  align-items: center;
}
.utm-info-item:nth-child(2){
  border-right: none;
}
  .audience-section .wrap {display: block;}
  .audience-section .sec-title {width: 100%;}
  .audience-card h4 {font-size: 20px;}
}

/* ==================== MOBILE ==================== */
@media (max-width: 767px) {

  .compare-section .stat-card {padding: 30px 0;}
  .compare-section .stat-card h4{font-size: 20px;}
  .compare-section .icon-block {padding: 30px 0 0 0; align-items: flex-end;}
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid .stat-card:first-child {
    border-right: none;
  }
  .compare-grid .stat-card:nth-child(2) {
    border-top: 1px solid var(--line);
  }
 .icon-block:first-child {
  border-right: none;
 }


  .utm-tabs {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 5px;
  }
  .utm-tab { flex-shrink: 0; padding: 10px 18px; font-size: 13px;
        padding: 15px 5px;
      font-size: 14px;
      border-radius: 10px 10px 0 0; }
      .utm-panel {
    padding: 24px 14px;
  }

  .utm-brand { flex-direction: column; text-align: center; }
  .utm-brand-logo { width: 150px; padding: 10px 20px; }

  /* .utm-product-info { flex-direction: column; } */
  .utm-info-item { border-right: none; border-bottom: 1px solid #eee; }
  .utm-info-item:last-child { border-bottom: none; }


  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { padding: 24px 20px; }
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer-inner {
  padding: 18px 18px 18px 36px;
  text-indent: -18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

  .faq-a {
  font-size: 16px;
  font-weight: 800;
  margin-right: 5px; 
}

}
