/* cert (13_cert, Figma node 11:12608) — 원본 시안 통이미지(flat). visible 노드 13 1.
   히어로(시험관 오렌지 용액 배경 + Patent / Technology Proven Value, 흰 글자) +
   3개 탭 한 페이지 탭전환(특허&상표 등록증 / 지식재산권 현황 / 글로벌 문헌 발표).
   등록증·논문은 라벨 placeholder, 표/탭/캡션은 실 HTML. 포인트 컬러 #F26521. */

.ct-page { background: #fff; color: #1a1a1a; --ct-orange: #f26521; --ct-peach: #fff1e6; }

.bg-image-placeholder {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: #ececec;
  background-image:
    linear-gradient(45deg, rgba(0,0,0,0.04) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.04) 75%),
    linear-gradient(45deg, rgba(0,0,0,0.04) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.04) 75%);
  background-size: 26px 26px; background-position: 0 0, 13px 13px; border: 1px dashed #c4c4c4;
}
.bg-image-placeholder__label {
  position: absolute; right: 16px; bottom: 14px; z-index: 1;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.9); color: #6a7682;
  font-family: var(--font-latin, "Poppins", sans-serif); font-size: 13px; font-weight: 500; text-align: center; max-width: 80%;
}

/* ===== HERO (어두운 사진 위 흰 글자 → scrim 오버레이) ===== */
.ct-hero { position: relative; display: flex; align-items: flex-end; min-height: 560px; padding: clamp(56px, 7vw, 110px) clamp(24px, 6.25vw, 120px); overflow: hidden; }
.ct-hero__bg { position: absolute; inset: 0; border: 0; }
/* 사진이 밝아도 흰 글자 가독 확보를 위한 좌하단 그라데이션 scrim */
.ct-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,18,16,0.55) 0%, rgba(20,18,16,0.18) 42%, rgba(20,18,16,0) 70%); }
.ct-hero__copy { position: relative; z-index: 2; }
.ct-eyebrow { margin: 0 0 14px; color: #fff; font-family: var(--font-latin, "Poppins", sans-serif); font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; }
.ct-hero__title { margin: 0; color: #fff; font-family: var(--font-latin, "Poppins", sans-serif); font-size: clamp(38px, 5vw, 72px); font-weight: 600; letter-spacing: -1px; line-height: 1.06; }

/* ===== TABS ===== */
/* 시안: 활성 탭에 따라 섹션 전체(탭바+패널) 배경이 달라짐 — 특허/글로벌 회색, 지식 흰색 */
.ct-tabs-section { position: relative; background: #fff; transition: background-color .25s; }
.ct-tabs-section[data-active="registrations"],
.ct-tabs-section[data-active="papers"] { background: #f3f3f3; }
.ct-tabbar { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); border-bottom: 1px solid #ececec; padding: clamp(36px, 4vw, 64px) 24px 0; }
.ct-tab { position: relative; padding: 13px 4px 16px; border: 0; background: transparent; cursor: pointer; color: #999; font-size: clamp(14px, 1.2vw, 17px); font-weight: 600; transition: color .2s; word-break: keep-all; }
.ct-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ct-orange); transform: scaleX(0); transition: transform .25s; }
.ct-tab.is-active { color: var(--ct-orange); }
.ct-tab.is-active::after { transform: scaleX(1); }

.ct-panel[hidden] { display: none; }

/* 탭1: 특허 & 상표 등록증 (등록증 그리드) — 윗줄 4(가운데) / 아랫줄 5 */
.ct-panel[data-panel="registrations"] { padding: clamp(48px, 6vw, 90px) clamp(24px, 5vw, 60px) clamp(64px, 8vw, 120px); }
.ct-certs { list-style: none; margin: 0 auto; padding: 0; max-width: 1120px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 2.4vw, 36px) clamp(16px, 1.8vw, 28px); }
/* 한 행에 5개 기준 폭 → 윗줄은 4개라 가운데, 아랫줄은 5개 꽉 참 */
.ct-certs--top { margin-bottom: clamp(20px, 2.4vw, 36px); }
.ct-cert { flex: 0 1 200px; max-width: 200px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ct-cert__img { width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; background-color: #fff; border-color: #dcdcdc; }
.ct-cert__img.bg-image-placeholder { background-image:
  linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.03) 75%),
  linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.03) 75%); }
.ct-cert__cap { margin-top: 14px; font-size: clamp(12px, 0.95vw, 13px); color: #888; word-break: keep-all; }

/* 탭2: 지식재산권 현황 (표) */
.ct-ip { padding: clamp(40px, 5vw, 76px) clamp(24px, 5vw, 60px) clamp(72px, 9vw, 140px); }
.ct-table { max-width: 1160px; margin: 0 auto; }
.ct-table__head, .ct-tr { display: grid; grid-template-columns: 180px 1fr 130px 110px; align-items: center; }
.ct-table__head { background: var(--ct-peach); border-radius: 4px; padding: 16px 28px; }
.ct-th { color: var(--ct-orange); font-family: var(--font-latin, "Poppins", sans-serif); font-size: clamp(12px, 1vw, 14px); font-weight: 600; text-align: center; }
.ct-th--patent { text-align: center; }
.ct-tr { padding: clamp(22px, 2.6vw, 34px) 28px; border-bottom: 1px solid #ededed; }
.ct-td { font-size: clamp(12px, 1.02vw, 14px); text-align: center; word-break: keep-all; }
.ct-td--date { color: #8a8a8a; font-family: var(--font-latin, "Poppins", sans-serif); letter-spacing: .3px; }
.ct-td--patent { color: #3a3a3a; font-weight: 600; line-height: 1.5; padding: 0 clamp(10px, 2vw, 36px); }
.ct-td--country { color: #8a8a8a; font-family: var(--font-latin, "Poppins", sans-serif); }
.ct-td--status { color: #8a8a8a; }

/* 탭3: 글로벌 문헌 발표 (논문 2개) — 배경은 섹션(.ct-tabs-section[data-active=papers])이 제공 */
.ct-papers { padding: clamp(56px, 7vw, 110px) clamp(24px, 5vw, 60px) clamp(72px, 9vw, 140px); }
.ct-paper-list { list-style: none; margin: 0 auto; padding: 0; max-width: 840px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 72px); justify-items: center; }
.ct-paper { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ct-paper__img { width: 100%; aspect-ratio: 3 / 4.5; border-radius: 4px; background-color: #fff; border-color: #dcdcdc; }
.ct-paper__cap { margin-top: 18px; font-family: var(--font-latin, "Poppins", sans-serif); font-size: clamp(12px, 1vw, 14px); line-height: 1.5; color: #555; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .ct-table__head, .ct-tr { grid-template-columns: 120px 1fr 70px 64px; }
  .ct-table__head, .ct-tr { padding-left: 14px; padding-right: 14px; }
  .ct-td--patent { padding: 0 10px; }
}
@media (max-width: 700px) {
  .ct-hero { min-height: 420px; }
  .ct-tabbar { gap: 16px; }
  .ct-tab { font-size: 13px; }
  /* 등록증: 2열 (flex-basis 축소) */
  .ct-cert { flex: 0 1 calc(50% - 8px); max-width: calc(50% - 8px); }

  /* 표: Date/Patent 2열 + Country/Status를 2행에 */
  .ct-table__head { display: none; }
  .ct-tr { grid-template-columns: 1fr; gap: 6px; text-align: center; padding: 20px 14px; }
  .ct-td--patent { padding: 0; font-size: 13px; }
  .ct-td--country::before { content: "Country · "; color: #b8b8b8; }
  .ct-td--status::before { content: "Status · "; color: #b8b8b8; }
}
