/* 변수 정의 */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --secondary: #19b394;
    --secondary-dark: #16a085;
    --text: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-secondary: linear-gradient(135deg, #19b394 0%, #16a085 100%);
    --font-main: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 50px 20px;
}

.section-dark {
    background: var(--bg-light);
}

/* 네비게이션 */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#main-nav.transparent {
    background: transparent;
    box-shadow: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.lang-buttons {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(0,102,204,0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* 히어로 섹션 */
.hero-section {
    background-color: #ffffff;
    background-image: url('../images/dna-doctor.png');
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.company-name {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.company-name-ko {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.company-name-en {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-dark);
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
    margin: 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 18px 50px;
    font-size: 20px;
    width: 100%;
    max-width: 300px;
}

/* 카카오톡 오픈채팅 박스 */
.kakao-chat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #FFE812 0%, #FDD835 100%);
    color: #3C1E1E;
    padding: 20px 30px;
    border-radius: 16px;
    margin: 30px auto;
    max-width: 450px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 232, 18, 0.4);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.kakao-chat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 232, 18, 0.6);
}

.kakao-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.kakao-text {
    text-align: left;
}

.kakao-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.kakao-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 102, 204, 0.1);
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary);
    transition: var(--transition);
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.badge:nth-child(1) { animation-delay: 0.3s; }
.badge:nth-child(2) { animation-delay: 0.5s; }
.badge:nth-child(3) { animation-delay: 0.7s; }

.badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 섹션 타이틀 */
.section-title {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.section-title-en {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 600;
    font-style: italic;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
}

.subsection-title {
    font-size: 28px;
    color: var(--primary);
    margin: 50px 0 30px;
    font-weight: 700;
}

/* 조직도 */
.org-chart-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.org-chart {
    max-width: 800px;
    margin: 0 auto;
}

.org-level {
    margin-bottom: 30px;
    text-align: center;
}

.org-line {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.org-box {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    margin: 5px;
}

.org-box.primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(25, 179, 148, 0.3);
}

.org-box.secondary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.org-box.tertiary {
    background: var(--bg-light);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.org-connector {
    width: 2px;
    height: 30px;
    background: #ddd;
    margin: 0 auto;
}

/* 연구분야 그리드 */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.research-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
}

.research-card .card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.research-card h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

/* 인증서 섹션 */
.certification-section {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.cert-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.cert-badge {
    text-align: center;
}

.cert-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.cert-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.cert-info h4 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.cert-number {
    font-size: 18px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 10px;
}

.cert-validity {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.cert-desc {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

.cert-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mini-badge {
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.research-card ul {
    list-style: none;
    padding: 0;
}

.research-card li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.research-card li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* 서비스 그리드 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.card-header {
    padding: 20px;
    color: var(--white);
    text-align: center;
}

.card-header.official {
    background: var(--gradient-primary);
}

.card-header.personal {
    background: var(--gradient-secondary);
}

.card-header .card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 16px;
    opacity: 0.95;
}

.card-body {
    padding: 20px;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features li {
    padding: 12px 0 12px 25px;
    border-bottom: 1px solid var(--border);
    position: relative;
    font-size: 15px;
    line-height: 1.7;
}

.features li:last-child {
    border-bottom: none;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.warning-box,
.info-box {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.warning-box {
    background: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

.info-box {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #2196f3;
}

.price-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.price-note {
    font-size: 14px;
    color: var(--text-light);
}

.warning-text {
    color: #dc3545;
    font-size: 13px;
}

.small-text {
    font-size: 13px;
    color: var(--text-light);
}

/* 검사 절차 */
.process-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
}

.process-title {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 신청 폼 */
.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 서류 다운로드 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.download-box {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.05), transparent);
    transition: left 0.5s ease;
}

.download-box:hover::before {
    left: 100%;
}

.download-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,102,204,0.2);
    border-color: var(--primary);
}

.download-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.download-box:hover .download-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.download-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.download-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.download-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.download-box:hover .download-btn {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.download-btn .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.download-box:hover .download-btn .arrow {
    transform: translateX(5px);
}

/* Q&A 게시판 */
.qna-write-section {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

#qna-write-btn {
    padding: 15px 40px;
    font-size: 16px;
}

.qna-write-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
    text-align: left;
}

.qna-write-form h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.qna-list {
    max-width: 900px;
    margin: 0 auto;
}

.qna-show-more {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.qna-show-more .btn {
    min-width: 150px;
}

.qna-item {
    background: var(--white);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.qna-item:hover {
    box-shadow: var(--shadow-md);
}

.qna-item.answered {
    border-left-color: var(--secondary);
}

.qna-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qna-status {
    display: flex;
    gap: 10px;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-badge.answered {
    background: var(--secondary);
    color: var(--white);
}

.status-badge.waiting {
    background: #f0ad4e;
    color: var(--white);
}

.qna-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.qna-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.qna-author {
    font-size: 14px;
    color: var(--text-light);
}

.qna-date {
    font-size: 14px;
    color: var(--text-light);
}

.btn-view-qna {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn-view-qna:hover {
    background: var(--primary-dark);
}

.qna-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

/* 비밀번호 프롬프트 */
.password-prompt {
    text-align: center;
    padding: 30px;
}

.password-prompt p {
    margin-bottom: 15px;
    color: var(--text);
    font-weight: 600;
}

.password-input {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    width: 120px;
    margin-right: 10px;
}

.password-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.password-message.error {
    background: #fee;
    color: #c00;
}

/* Q&A 상세 내용 */
.qna-detail {
    padding: 20px;
}

.qna-question {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.qna-question h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 12px;
}

.qna-question p {
    color: var(--text);
    line-height: 1.7;
}

.qna-answer {
    background: #e8f5f3;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.qna-answer h4 {
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 12px;
}

.qna-answer p {
    color: var(--text);
    line-height: 1.7;
}

.answer-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
    color: var(--text-light);
}

.qna-no-answer {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
}

.loading,
.no-data,
.error {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 16px;
}

/* 오시는길 섹션 */
.directions-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.directions-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-box {
    background: var(--white);
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.info-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-box h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.address-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.address-detail {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.company-name {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
}

.transport-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transport-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1.6;
}

.transport-list li:last-child {
    border-bottom: none;
}

.transport-list strong {
    color: var(--primary);
    font-weight: 600;
}

.contact-info {
    line-height: 1.8;
    color: var(--text);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* 카카오톡 채팅 박스 */
.kakao-chat-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.kakao-chat-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fee500 0%, #ffed4e 100%);
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(254, 229, 0, 0.3);
    transition: all 0.3s ease;
}

.kakao-chat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(254, 229, 0, 0.4);
}

.kakao-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.kakao-text {
    flex: 1;
}

.kakao-text strong {
    display: block;
    font-size: 24px;
    color: #3c1e1e;
    margin-bottom: 8px;
    font-weight: 700;
}

.kakao-text p {
    font-size: 16px;
    color: #5a3a3a;
    margin: 0;
}

.btn-kakao {
    background: #3c1e1e;
    color: #fee500;
    padding: 16px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid #3c1e1e;
}

.btn-kakao:hover {
    background: #2a1515;
    border-color: #2a1515;
    transform: scale(1.05);
}

/* 연락처 */
.contact-section {
    background: var(--gradient-primary);
    background-image:
        linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(0, 82, 163, 0.8) 100%),
        url('../images/dna-helix.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 0.8;
}

.business-hours {
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* 푸터 */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-info p {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 768px) {
    /* 네비게이션 */
    .nav-container {
        padding: 12px 15px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 14px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-md);
        display: none;
        gap: 10px;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    /* 히어로 섹션 */
    .hero-section {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .company-name-ko {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .company-name-en {
        font-size: 12px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    /* 섹션 */
    .section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .section-title-en {
        font-size: 13px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    /* 카카오톡 */
    .kakao-chat-box {
        max-width: 100%;
        padding: 15px 18px;
    }

    .kakao-text strong {
        font-size: 14px;
    }

    .kakao-text p {
        font-size: 12px;
    }

    /* 서비스 카드 */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card li {
        font-size: 14px;
    }

    .price {
        font-size: 26px;
    }

    /* 단계 */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        padding: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .step h4 {
        font-size: 18px;
    }

    .step p {
        font-size: 13px;
    }

    /* 다운로드 박스 */
    .download-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .download-box {
        padding: 30px 20px;
    }

    .download-icon {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .download-title {
        font-size: 18px;
    }

    .download-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .download-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    /* 폼 */
    .application-form {
        padding: 25px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

    /* Q&A */
    .qna-write-form {
        padding: 25px 18px;
    }

    .qna-item {
        padding: 18px;
    }

    .qna-title {
        font-size: 15px;
    }

    .qna-content {
        font-size: 13px;
    }

    /* 오시는길 */
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .map-container {
        height: 300px;
    }

    .info-box {
        padding: 18px;
    }

    .info-box h3 {
        font-size: 16px;
    }

    .address-main {
        font-size: 15px;
    }

    .transport-list li {
        font-size: 13px;
    }

    /* 연구 */
    .research-grid {
        grid-template-columns: 1fr;
    }

    /* 인증 */
    .cert-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cert-image {
        max-width: 100%;
    }

    .cert-info h4 {
        font-size: 20px;
    }

    /* 카카오톡 채팅 박스 */
    .kakao-chat-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        gap: 20px;
    }

    .kakao-icon {
        font-size: 48px;
    }

    .kakao-text strong {
        font-size: 20px;
    }

    .kakao-text p {
        font-size: 14px;
    }

    .btn-kakao {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* 연락처 */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* 조직도 */
    .org-line {
        flex-direction: column;
        align-items: center;
    }

    /* 푸터 */
    .footer-content {
        flex-direction: column;
        text-align: center;
        font-size: 12px;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* 네비게이션 */
    .logo-img {
        height: 28px;
    }

    .logo-text {
        font-size: 12px;
    }

    /* 히어로 */
    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .company-name-ko {
        font-size: 20px;
    }

    .company-name-en {
        font-size: 11px;
    }

    /* 버튼 */
    .btn {
        padding: 10px 24px;
        font-size: 13px;
    }

    /* 섹션 */
    .section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .section-title-en {
        font-size: 11px;
    }

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 25px;
    }

    /* 다운로드 박스 */
    .download-box {
        padding: 25px 18px;
    }

    .download-icon {
        font-size: 42px;
    }

    .download-title {
        font-size: 16px;
    }

    .download-desc {
        font-size: 12px;
    }

    .download-btn {
        padding: 9px 20px;
        font-size: 13px;
    }

    /* 서비스 카드 */
    .service-card {
        padding: 20px 15px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card li {
        font-size: 13px;
    }

    .price {
        font-size: 24px;
    }

    /* 폼 */
    .application-form,
    .qna-write-form {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
        padding: 9px 11px;
    }

    /* Q&A */
    .qna-item {
        padding: 15px;
    }

    .qna-title {
        font-size: 14px;
    }

    /* 카카오톡 채팅 박스 */
    .kakao-chat-box {
        padding: 25px 20px;
        gap: 15px;
    }

    .kakao-icon {
        font-size: 40px;
    }

    .kakao-text strong {
        font-size: 18px;
    }

    .kakao-text p {
        font-size: 13px;
    }

    .btn-kakao {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* 지도 */
    .map-container {
        height: 250px;
    }

    /* 연락처 박스 */
    .info-box {
        padding: 15px;
    }

    .info-box h3 {
        font-size: 15px;
    }

    .address-main {
        font-size: 14px;
    }

    .transport-list li {
        font-size: 12px;
    }
}
