:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666666;
  --brand: #004098;
  --brand-2: #1a73e8;
  --accent: #f57c00;
  --border: #e0e0e0;
  --radius: 10px;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* a{color:var(--brand)} */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px
}

/* HERO */
.hero p {
  font-size: 24px;
  max-width: 1024px;
  margin: 50px auto;
  color: #000
}

.point {
  color: var(--brand);
  font-weight: bold
}

/* SECTION */
section {
  margin-top: 48px
}

.section-head {
  margin-top: 24px;
  margin-bottom: 28px;
  border-left: 4px solid var(--brand);
  padding-left: 12px
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: bold;
  color: var(--brand);
  margin-bottom: 5px;
}

.section-head .desc {
  color: var(--muted)
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: .2s;
  margin-bottom: 5px !important;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand)
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

/* GOALS */
.goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px
}

.goal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fafafa
}

/* ORG CHART */
.diagram-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #fafafa
}

.node {
  fill: #e9efff;
  stroke: #004098;
  stroke-width: 1.2
}

.node-title {
  font: 700 14px "Pretendard";
  fill: #004098
}

.node-sub {
  font: 500 12px "Pretendard";
  fill: #444
}

.edge {
  stroke: #1a73e8;
  stroke-width: 1.4;
  opacity: .7
}

.circle-group {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  padding: 10px
}

/* TABLE STYLES */
.circle-table {
  margin-top: 16px
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.info-table thead tr {
  background: #e9efff;
  color: var(--brand)
}

.info-table th {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: center;
  width: 240px
}

.info-table th:nth-child(2) {
  width: auto
}

.info-table th:nth-child(3) {
  width: 400px
}

.info-table td {
  padding: 12px;
  border: 1px solid var(--border)
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--brand);
  text-align: center;
}

/* ORGANIZATION CONTACT TABLE */
.org-contact-table {
  margin-top: 16px
}

.org-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.org-table thead tr {
  background: #e9efff;
  color: var(--brand)
}

.org-table th {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 700
}

.org-table td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle
}

.org-table td:first-child {
  font-weight: 600;
  color: var(--brand)
}

.org-table td:nth-child(2) {
  text-align: left;
  padding-left: 16px
}

/* ORGANIZATION CHART */
.org-chart {
  margin: 32px 0;
  padding: 24px;
  background: #f8f9fa;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.org-level-1 {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.org-level-2 {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.org-level-3 {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.org-box {
  background: #fff;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transition: transform .2s;
  min-width: 180px;
}

.org-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.org-box.director {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: var(--brand);
}

.org-box.manager {
  background: linear-gradient(135deg, #e9efff, #f0f4ff);
  border-color: var(--brand-2);
}

.org-box.team {
  background: #fff;
  border-color: var(--border);
}

.org-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
}

.org-box p {
  margin: 4px 0;
  font-size: 14px;
  color: inherit;
}

.specialized-areas {
  margin-top: 40px;
  text-align: center;
}

.specialized-areas h3 {
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 20px;
}

/* CONTACT SECTION */
.contact-section {
  margin-top: 64px
}

.contact-highlight .contact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: #f8f9fa;
  border: none;
  padding: 20px;
  box-shadow: none !important;
}

.contact-highlight .contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.contact-highlight .contact-icon i {
  font-size: 28px;
  color: #007bff;
}

.contact-highlight .contact-content {
  flex: 1;
}

.contact-highlight .contact-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #333333;
}

.contact-highlight .contact-info {
  margin: 0;
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
}

.contact-info {
  margin-bottom: 32px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.contact-card {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 24px;
  /* box-shadow: 0 2px 8px rgba(0,0,0,.1); */
  transition: transform .2s;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-card h3 {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 8px;
}

.contact-details p {
  margin: 8px 0;
  font-size: 14px;
}

.contact-details-general {
  background: #f8f9fa;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.general-info h3 {
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item strong {
  display: block;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.contact-highlight {
  background: linear-gradient(135deg, #877eff, #3e3d8b);
  color: #fff;
  padding: 60px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.contact-highlight h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #fff
}

.contact-highlight>p {
  font-size: 16px;
  margin: 0 0 32px;
  color: #fff
}

.contact-cards-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 100px 40px 100px 40px;
  margin-top: 32px;
  box-shadow: none !important;
}

.contact-highlight .cards {
  margin-top: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-highlight .cards+.cards {
  margin-top: 30px;
}

.contact-highlight .card {
  box-shadow: none !important;
}

.contact-highlight .card:hover {
  box-shadow: none !important;
}

.contact-highlight .cards:first-of-type {
  margin-top: 0;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
  transition: .2s
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, .2)
}

/* RESEARCH ACTIVITIES STYLES */
.research-activities {
  margin-top: 48px;
}

.research-diagram {
  text-align: center;
  margin: 32px 0;
  padding: 24px;
  background: #f8f9fa;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.diagram-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: transform .2s;
}

.diagram-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

/* TECHNOLOGY TRANSFER SPECIFIC STYLES */
.concept-box {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

.concept-definition {
  margin-bottom: 32px;
}

.concept-definition h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 20px;
}

.concept-definition p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.concept-definition small {
  color: var(--muted);
  font-style: italic;
}

.transfer-targets h3 {
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 20px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.target-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.target-item h4 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 16px;
}

.target-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.tech-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.tech-type-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: .2s;
}

.tech-type-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.tech-type-card h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 18px;
}

.tech-type-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.process-container {
  margin-top: 24px;
}

.process-phase {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.phase-header {
  background: var(--brand);
  color: white;
  padding: 16px 20px;
}

.phase-header h3 {
  margin: 0;
  font-size: 18px;
}

.phase-content {
  padding: 20px;
}

.phase-content ul {
  margin: 0;
  padding-left: 20px;
}

.phase-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: .2s;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.service-card h3 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: 18px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.contact-info {
  margin-bottom: 24px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.contact-item h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.support-table {
  margin-top: 32px;
}

/* MANAGEMENT SECTION STYLES */
.management-content {
  margin-top: 24px;
}

.management-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}

.management-section h3 {
  background: var(--brand);
  color: white;
  margin: 0;
  padding: 16px 20px;
  font-size: 18px;
}

.policy-box {
  padding: 20px;
}

.policy-item {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.policy-item h4 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 16px;
}

.policy-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.transfer-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px;
}

.method-item {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.method-item h4 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 16px;
}

.method-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.marketing-info,
.pricing-info {
  padding: 20px;
}

.marketing-info ul,
.pricing-info ul {
  margin: 0;
  padding-left: 20px;
}

.marketing-info li,
.pricing-info li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.contract-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
}

.contract-item {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.contract-item h4 {
  color: var(--brand);
  margin-bottom: 8px;
  font-size: 16px;
}

.contract-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* COMPENSATION SECTION STYLES */
.compensation-table {
  margin-top: 24px;
}

.compensation-note {
  margin-top: 16px;
  padding: 12px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--radius);
}

.compensation-note p {
  margin: 0;
  color: #856404;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .research-diagram {
    padding: 16px;
  }

  .diagram-image {
    max-width: 100%;
  }

  .target-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tech-types {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
  }

  .concept-box {
    padding: 16px;
  }

  .phase-content {
    padding: 16px;
  }

  .transfer-methods {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .contract-info {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .management-section h3 {
    padding: 12px 16px;
    font-size: 16px;
  }

  .policy-box,
  .marketing-info,
  .pricing-info {
    padding: 16px;
  }

  /* 모바일 연락처 섹션 반응형 스타일 */
  .contact-section {
    margin-top: 32px;
  }

  .contact-highlight {
    padding: 32px 20px;
  }

  .contact-highlight h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .contact-highlight > p {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .contact-cards-wrapper {
    padding: 30px 20px;
    margin-top: 24px;
  }

  .contact-highlight .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-highlight .cards + .cards {
    margin-top: 12px;
  }

  .contact-highlight .contact-card {
    padding: 16px;
    gap: 16px;
  }

  .contact-highlight .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-highlight .contact-icon i {
    font-size: 24px;
  }

  .contact-highlight .contact-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .contact-highlight .contact-info {
    font-size: 14px;
  }

  /* 모바일 테이블 반응형 스타일 - 카드 형태 */
  .circle-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .info-table {
    display: block;
    width: 100%;
  }

  .info-table thead {
    display: none;
  }

  .info-table tbody {
    display: block;
    width: 100%;
  }

  .info-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .info-table td {
    display: block;
    width: 100% !important;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
  }

  .info-table td:last-child {
    border-bottom: none;
  }

  .info-table td:first-child {
    background: #e9efff;
    color: var(--brand);
    font-weight: 700;
    font-size: 16px;
    padding: 16px;
    border-bottom: 2px solid var(--brand);
    text-align: center !important;
  }

  .info-table td:nth-child(2):before,
  .info-table td:nth-child(3):before {
    content: attr(data-label) ": ";
    display: inline-block;
    font-weight: 700;
    color: var(--brand);
    margin-right: 8px;
  }
}