/* ===== 기본 설정 ===== */
:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== 헤더 & 네비게이션 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-suffix {
    font-size: 0.875rem;
    font-weight: 400;
}

.nav-toggle {
    display: none;
}

.nav-toggle-button {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
    border: 0;
    background: transparent;
}

.nav-toggle-button span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-toggle-button:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    width: 100%;
}

/* ===== Hero 섹션 ===== */
.hero {
    position: relative;
    min-height: max(600px, 100vh);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #0891b2 100%);
    overflow: hidden;
    padding: 4rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('회사소개서/슬라이드1.JPG') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(8, 145, 178, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-suffix {
    font-size: 2.5rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s both;
}

@supports (height: 100svh) {
    .hero {
        min-height: max(600px, 100svh);
    }
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 공통 섹션 스타일 ===== */
.section {
    padding: 5rem 0;
}

main .section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== 회사소개 섹션 ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.about-card-content {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-info-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.about-info-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-info-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== 연혁 섹션 ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== 조직도 섹션 ===== */
.org-chart {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

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

.org-box {
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.org-ceo {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 1.25rem;
}

.org-director {
    background: linear-gradient(135deg, var(--secondary-color), #06b6d4);
    color: white;
    font-size: 1.125rem;
}

.org-connector {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
}

.org-connector-multi {
    height: 30px;
    position: relative;
    margin-bottom: 1rem;
}

.org-connector-multi::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-light));
    transform: translateX(-50%);
}

.org-connector-multi::after {
    content: '';
    position: absolute;
    left: 25%;
    right: 25%;
    top: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color), var(--primary-light));
}

.org-level-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.org-dept {
    padding: 1.5rem;
}

.org-dept-1 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary-dark);
}

.org-dept-2 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.org-dept-3 {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #334155;
}

.org-dept-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid currentColor;
}

.org-dept-list div {
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 0.9375rem;
}

/* ===== 사업분야 섹션 ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.business-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.business-icon svg {
    width: 40px;
    height: 40px;
}

.business-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.business-description {
    color: var(--text-light);
    line-height: 1.8;
}

.business-services {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem;
    border-radius: 16px;
}

.services-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

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

.service-item {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ===== 제품소개 섹션 ===== */
.product-feature {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.product-main-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-description {
    line-height: 1.9;
    font-size: 1.0625rem;
    text-align: justify;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* 메인 제품 정보 */
.product-main {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.product-model {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-reg {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.product-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-specs-group {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.product-specs-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-specs-group h5 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.spec-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* 구성 부품 */
.product-modules {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.modules-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.module-card {
    background: linear-gradient(135deg, #fefefe 0%, #f9fafb 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.module-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.module-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module-id {
    color: var(--text-light);
    font-size: 0.875rem;
}

.module-specs .specs-list li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-color);
}

.module-specs .specs-list li:last-child {
    border-bottom: none;
}

/* 주요 기능 */
.product-features {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.features-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h5 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-dark);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ===== 등록 및 인증 섹션 ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cert-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.cert-category h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.cert-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.cert-name {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* ===== 시공실적 섹션 ===== */
.portfolio-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    overflow-x: auto;
}

.portfolio-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.portfolio-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.portfolio-table th,
.portfolio-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.portfolio-table th {
    font-weight: 700;
}

.portfolio-table tbody tr:hover {
    background-color: #f0f9ff;
}

.portfolio-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== 연락처 섹션 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-map {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.map-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.map-placeholder p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.map-note {
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ===== 푸터 ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-suffix {
    font-size: 1.125rem;
    font-weight: 400;
}

.footer-brand p {
    font-size: 0.9375rem;
    opacity: 0.9;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-suffix {
        font-size: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-end !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
    }

    .org-level-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 0;
    }

    .nav .container {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-brand {
        flex: 1;
        order: 1;
        font-size: 1.25rem;
    }

    .nav-toggle-button {
        display: flex;
        order: 2;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        order: 3;
        width: 100%;
        z-index: 999;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-toggle:checked ~ .nav-menu {
        max-height: 600px;
    }

    .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-suffix {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-row {
        grid-template-columns: 1fr;
    }

    .portfolio-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        background-color: rgba(30, 58, 138, 0.05);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .business-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .org-dept-list div {
        font-size: 0.875rem;
    }
}

/* ===== 스크롤 애니메이션 ===== */
@media (prefers-reduced-motion: no-preference) {
    .about-card,
    .business-card,
    .cert-category,
    .contact-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .about-card:nth-child(1) { animation-delay: 0.1s; }
    .about-card:nth-child(2) { animation-delay: 0.2s; }
    .about-card:nth-child(3) { animation-delay: 0.3s; }
    .about-card:nth-child(4) { animation-delay: 0.4s; }
    .about-card:nth-child(5) { animation-delay: 0.5s; }
    .about-card:nth-child(6) { animation-delay: 0.6s; }
    .about-card:nth-child(7) { animation-delay: 0.7s; }
    .about-card:nth-child(8) { animation-delay: 0.8s; }
}

/* ===== 프린트 스타일 ===== */
@media print {
    .header,
    .nav,
    .hero-button,
    .footer {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        page-break-inside: avoid;
    }
}
