/* ==========================================
   글로벌 스타일 및 컬러 시스템
   ========================================== */
:root {
    --eco-emerald: #10b981;
    --tech-blue: #0284c7;
    --solar-amber: #f59e0b;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 글래스모피즘 카드 리포맷 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* ==========================================
   헤더 & 네비게이션
   ========================================== */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.logo .green { color: var(--eco-emerald); }
.logo .blue { color: var(--tech-blue); }

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover { color: var(--tech-blue); }

/* 버튼 스타일 */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, background-color 0.3s;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--tech-blue); color: #fff; }
.btn-amber { background: var(--solar-amber); color: #fff; }
.btn-outline { border: 2px solid var(--tech-blue); color: var(--tech-blue); }
.btn-block { width: 100%; text-align: center; }

/* 라이브 지표 리본 */
.live-ribbon {
    background: #0f172a;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.ribbon-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.badge-live {
    background: #ef4444;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

/* ==========================================
   히어로 섹션
   ========================================== */
.hero-section {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3)), url('../hero-bg.png') center/cover no-repeat;
    padding: 100px 0;
}

.hero-title {
    font-size: 40px;
    margin: 16px 0;
    line-height: 1.3;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.9);
}

.hero-title .highlight {
    color: #0369a1 !important;
    text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.9), 0px 0px 3px rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

.cert-badges .badge {
    background: rgba(255, 255, 255, 0.95);
    color: #0369a1;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    font-weight: 800;
    border: 1px solid #bae6fd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero-btns {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.hero-btns .btn-outline {
    background-color: rgba(255, 255, 255, 0.9);
    color: #0284c7;
    border: 2px solid #0284c7;
    font-weight: 700;
}

/* ==========================================
   공통 섹션
   ========================================== */
.section { padding: 80px 0; }
.bg-light { background-color: #f1f5f9; }
.text-center { text-align: center; }
.sub-title { font-size: 14px; color: var(--tech-blue); display: block; }
.section-header h2 { font-size: 32px; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); margin-bottom: 40px; }

/* 탭 UI */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--tech-blue);
    color: #fff;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ==========================================
   CEO 인사말 & 인터뷰 영상 레이아웃
   ========================================== */
.ceo-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    padding: 10px 0;
}

.ceo-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.ceo-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* CEO 서명 및 성함 중앙 정렬 */
.ceo-signature {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ceo-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.ceo-signature .company-name {
    font-size: 13.5px;
    color: #64748b;
    display: block;
    font-weight: 500;
}

.ceo-signature .ceo-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 4px;
    margin-right: -4px;
}

.ceo-sign-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}

.ceo-sign-img {
    height: 95px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 480px) {
    .ceo-sign-img { height: 75px; }
}

.ceo-video-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.video-header {
    font-size: 14px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   연혁 타임라인 스타일
   ========================================== */
.history-header { margin-bottom: 25px; }

.history-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.history-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.timeline-wrapper {
    position: relative;
    padding-left: 110px;
    margin-top: 15px;
}

.timeline-line {
    position: absolute;
    left: 95px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-year-group {
    position: relative;
    margin-bottom: 30px;
}

.year-badge {
    position: absolute;
    left: -110px;
    top: 0;
    width: 85px;
    text-align: right;
    font-size: 19px;
    font-weight: 800;
    color: #0284c7;
}

.year-badge::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 7px;
    width: 10px;
    height: 10px;
    background-color: #0284c7;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #0284c7;
    z-index: 2;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.event-item.highlight { background-color: #f0f9ff; border-color: #bae6fd; }
.event-item.main-event { background-color: #fff1f2; border-color: #fecdd3; }

.event-item .date {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    width: 85px;
    flex-shrink: 0;
}

.event-item .desc {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.tag.gov { background: #e0e7ff; color: #3730a3; }
.tag.cert { background: #e0f2fe; color: #0369a1; }
.tag.patent { background: #dcfce7; color: #15803d; }
.tag.red { background: #ffe4e6; color: #be123c; }

/* ==========================================
   인증 및 특허 그리드 스타일
   ========================================== */
.cert-img-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.cert-img-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #0284c7;
}

.cert-img-box {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    background: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.cert-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-img-info { width: 100%; }

.cert-img-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    word-break: keep-all;
    line-height: 1.3;
}

.cert-img-date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
}

/* ==========================================
   오시는 길 (Location Tab) 스타일
   ========================================== */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
    align-items: stretch;
}

.location-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.3);
}

.cert-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cert-icon-box.blue { background: #e0f2fe; color: #0284c7; }
.cert-icon-box.green { background: #d1fae5; color: #059669; }
.cert-icon-box.orange { background: #ffedd5; color: #ea580c; }

.cert-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 6px 0 4px 0;
    font-weight: 700;
}

.cert-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.cert-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.cert-badge.blue { background: #e0f2fe; color: #0369a1; }
.cert-badge.green { background: #d1fae5; color: #047857; }
.cert-badge.orange { background: #ffedd5; color: #c2410c; }

.location-btn-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.map-link-btn.kakao { background-color: #fee500; color: #191919; }
.map-link-btn.naver { background-color: #03c75a; color: #ffffff; }

.map-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.location-map-box {
    width: 100%;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.location-map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================
   사업분야 5개 카드 반응형 그리드 & 스타일
   ========================================== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.biz-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 24px;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.biz-card .biz-icon {
    font-size: 38px;
    color: var(--eco-emerald);
    margin-bottom: 14px;
}

.biz-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.biz-catchphrase {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    background: #f0f9ff;
    border-left: 3px solid #0284c7;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
    line-height: 1.5;
    word-break: keep-all;
}

.biz-card ul {
    list-style: none;
    margin-top: 0;
    margin-bottom: auto;
    padding-left: 0;
}

.biz-card li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

.biz-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--tech-blue);
    font-weight: bold;
}

.biz-card li strong { color: var(--text-dark); }

.biz-more-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--tech-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed rgba(2, 132, 199, 0.2);
    transition: gap 0.2s ease, color 0.2s ease;
}

.biz-card:hover .biz-more-btn {
    gap: 10px;
    color: #0369a1;
}

@media (min-width: 993px) {
    .business-grid > div:nth-child(4) { grid-column: 1 / 2; }
    .business-grid > div:nth-child(5) { grid-column: 2 / 3; }
}

@media (max-width: 992px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   사업분야 상세 팝업(모달) & 닫기 버튼
   ========================================== */
.biz-modal-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
}

.biz-modal-content {
    position: relative !important;
    cursor: default;
    max-width: 820px !important;
    width: 90% !important;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px 30px 24px 30px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
}

.biz-close-btn {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    color: #475569 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
    transition: all 0.2s ease !important;
}

.biz-close-btn:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: rotate(90deg) scale(1.05) !important;
}

.biz-modal-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.biz-modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.biz-modal-header p {
    font-size: 14px;
    color: var(--tech-blue);
    font-weight: 600;
    margin-top: 6px;
}

.biz-modal-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

.biz-modal-gallery.single-img {
    grid-template-columns: 1fr !important;
    max-width: 650px;
    margin: 0 auto 24px auto;
}

.biz-modal-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.biz-modal-gallery.single-img .biz-modal-img-wrap {
    height: 300px !important;
}

.biz-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biz-modal-img-wrap img[src*="structure"] {
    object-fit: contain;
}

.biz-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    text-align: center;
}

.biz-modal-desc {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.75;
}

.biz-modal-desc h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 18px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.biz-modal-desc h4::before {
    content: "";
    width: 4px;
    height: 15px;
    background: var(--tech-blue);
    border-radius: 2px;
    display: inline-block;
}

.biz-modal-desc p { margin-bottom: 10px; }

.biz-modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
    .biz-modal-gallery { grid-template-columns: 1fr; }
    .biz-modal-gallery.single-img .biz-modal-img-wrap { height: 200px !important; }
}

/* ==========================================
   수익 시뮬레이터
   ========================================== */
.simulator-box { max-width: 800px; margin: 0 auto; }
.sim-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.sim-select, input[type="range"] { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #cbd5e1; }
.sim-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.res-card { background: #fff; padding: 16px; border-radius: 12px; text-align: center; }
.res-card span { font-size: 13px; color: var(--text-muted); }
.res-card h3 { font-size: 20px; color: var(--text-dark); margin-top: 4px; }
.highlight-card { background: rgba(245, 158, 11, 0.1); border: 1px solid var(--solar-amber); }
.highlight-card h3 { color: var(--solar-amber); }
.mt-20 { margin-top: 20px; }

/* ==========================================
   고객지원 & FAQ 2분할 레이아웃 & 카드 스타일
   ========================================== */
#support .contact-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* 컬럼 분할 비율 */
#support .faq-column {
    flex: 1.15 !important;
    display: flex !important;
    flex-direction: column !important;
}

#support .contact-form-column {
    flex: 0.85 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 상단 중앙 정렬 타이틀 */
.col-header {
    text-align: center !important;
    margin-bottom: 20px !important;
}

.col-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.col-desc {
    font-size: 14.5px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* FAQ 목록 */
.faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
}

.faq-item {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    transition: all 0.25s ease !important;
}

.faq-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07) !important;
}

.faq-q {
    padding: 16px 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    user-select: none !important;
}

.faq-q-text {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}

.faq-q-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}

.faq-arrow {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

/* 활성화 상태 (toggleFaqItem 함수 호환) */
.faq-item.active .faq-q {
    color: #0284c7 !important;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg) !important;
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

.faq-a {
    display: none;
    padding: 0 16px 16px 16px !important;
    background: #ffffff !important;
}

.faq-item.active .faq-a {
    display: block !important;
}

.faq-a-inner {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 4px solid #0284c7 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    text-align: left !important;
}

.faq-a-inner strong { color: #0369a1 !important; font-weight: 700 !important; }
.faq-a-inner ul { margin: 6px 0 !important; padding-left: 18px !important; }
.faq-a-inner li { margin-bottom: 3px !important; color: #475569 !important; }
.faq-notice { margin-top: 6px !important; font-size: 12.5px !important; color: #0284c7 !important; font-weight: 500 !important; }

/* 우측 견적 문의 카드 */
#support .contact-form-box {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 24px !important;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03) !important;
}

.contact-form-box .input-group { margin-bottom: 12px; }
.contact-form-box input, 
.contact-form-box textarea {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* ==========================================
   푸터 & 일반 모달
   ========================================== */
footer { background: #0f172a; color: #94a3b8; padding: 40px 0; text-align: center; font-size: 14px; }
.copyright { margin-top: 12px; color: #64748b; }

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 400px;
    width: 90%;
    position: relative;
    background: #fff;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================
   직관적인 앨범형 시공실적 갤러리
   ========================================== */
.simple-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    margin-top: 25px;
}

.simple-port-card {
    background: transparent;
    display: flex;
    flex-direction: column;
}

.simple-port-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.simple-port-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.simple-port-info {
    text-align: center;
    padding-top: 12px;
}

.simple-port-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    word-break: keep-all;
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-num-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-num-btn:hover {
    border-color: var(--tech-blue);
    color: var(--tech-blue);
    background: #f0f9ff;
}

.page-num-btn.active {
    background: var(--tech-blue);
    color: #ffffff;
    border-color: var(--tech-blue);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* ==========================================
   반응형 모바일 미디어 쿼리
   ========================================== */
@media (max-width: 900px) {
    #support .contact-grid {
        flex-direction: column !important;
        gap: 32px !important;
    }
    #support .contact-form-column,
    #support .faq-column {
        width: 100% !important;
    }
    .simple-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; height: auto; padding: 10px 0; }
    .nav-menu ul { margin: 10px 0; gap: 12px; font-size: 14px; }
    .hero-title { font-size: 28px; }
    .sim-inputs, .sim-results { grid-template-columns: 1fr; }
    .ceo-container { grid-template-columns: 1fr; gap: 24px; }
    .location-container { grid-template-columns: 1fr; }
    .location-map-box { height: 260px; min-height: auto; }
    .timeline-wrapper { padding-left: 20px; }
    .timeline-line { left: 6px; }
    .year-badge {
        position: relative;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
        font-size: 18px;
    }
    .year-badge::after { display: none; }
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .cert-img-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .simple-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}