@charset "utf-8";

@property --border-angle { syntax: "<angle>"; inherits: true; initial-value: 0turn; }

@theme {
  --font-sans: "WantedSans", sans-serif;
}

:root { --brand-primary: #0F2142; --brand-accent: #0258CE; --surface-light: #f9faf9; --surface-pure: #ffffff; --font-default: #222222; }
:root { --font-sans: "WantedSans", sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: "WantedSans", sans-serif; }
body { background-color: var(--surface-pure); color: var(--font-default); font-size: 20px; line-height: 1.6; }
.container { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 20px; }

/* 원페이지 원 파트 스코프 공통 패딩 */
.scroll-section { padding: 120px 0; }

/* 공통 타이틀 헤드 블록 스타일 일원화 */
.section-headline { text-align: center; margin-bottom: 60px; }
.section-headline h2, .section-headline h3 { font-size: 44px; font-weight: 800; color: var(--brand-primary); line-height: 1.3; margin-bottom: 20px; }
.section-headline h2 strong, .section-headline h3 strong { color: var(--brand-primary); font-weight: 800; }
.section-headline p { font-size: 20px; color: var(--font-default); opacity: 0.8; }
.section-headline p strong { color: var(--brand-primary); }
.section-headline .sec-label { display: inline-block; font-size: 20px; font-weight: 600; color: var(--brand-accent); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }

/* 상단 고정 헤더 영역 */
#navigation-bar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: rgba(255,255,255,0.95); border-bottom: 1px solid #eee; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
#navigation-bar .container { display: flex; justify-content: space-between; align-items: center; }
.header-action-zone { display: flex; align-items: center; gap: 12px; min-width: 360px; justify-content: flex-end; }
.call-btn { display: flex; justify-content: flex-start; align-items: center; width: 44px; height: 44px; border-radius: 3rem; background-color: #fff; position: relative; overflow: hidden; transition: width 0.45s ease, background 0.3s ease; padding: 0 11px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border: 1.5px solid #dde3f0; text-decoration: none; flex-shrink: 0; }
.call-btn .call-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; }
.call-btn .call-icon img { width: 22px; height: 22px; }
.call-btn .icon-white { display: none; }
.call-btn:hover .icon-dark { display: none; }
.call-btn:hover .icon-white { display: block; }
.call-btn .call-number { white-space: nowrap; margin-left: 9px; opacity: 0; transition: opacity 0.3s ease; color: #fff; font-weight: 700; font-size: 15px; }
.call-btn:hover { width: 152px; background: var(--brand-primary); border-color: var(--brand-primary); }
.call-btn:hover .call-number { opacity: 1; }
.call-btn .tel { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#logo { cursor: pointer; display: flex; align-items: center; }
#logo img { height: 40px; display: block; }

.main-menu-list { display: flex; list-style: none; gap: 40px; }
.menu-item a { font-size: 20px; font-weight: 600; color: var(--font-default); text-decoration: none; transition: .3s; }
.menu-item.active a, .menu-item a:hover { color: var(--brand-primary); }

/* 헤더 상담 신청 버튼 — 회전 그라데이션 테두리 */
.header-action-zone .btn-node { font-size: 16px; padding: 10px 24px; --border-angle: 0turn; --main-bg: conic-gradient(from var(--border-angle), #ffffff, #f4f8ff 5%, #f4f8ff 60%, #ffffff 95%); --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, #3db7b3, #193265 99%, transparent); border: 2px solid transparent; border-radius: 30px; background: var(--main-bg) padding-box, var(--gradient-border) border-box, var(--main-bg) border-box; background-position: center center; color: var(--brand-primary); font-weight: 700; animation: border-spin 3s linear infinite; transition: color 0.3s; }
.header-action-zone .btn-node:hover { animation-play-state: paused; color: var(--brand-accent); }
@keyframes border-spin { to { --border-angle: 1turn; } }

/* 인터랙티브 버튼 컴포넌트 */
.btn-wrap { display: flex; justify-content: center; gap: 15px; margin-top: 40px; }
.btn-node { display: inline-block; padding: 12px 30px; border-radius: 30px; font-size: 20px; font-weight: 600; text-decoration: none; transition: .4s; border: none; cursor: pointer; }
.btn-primary { border: 1px solid var(--brand-primary); color: var(--brand-primary); background: transparent; }
.btn-primary:hover { background-color: var(--brand-primary); color: #fff; }
.btn-secondary { background-color: var(--brand-primary); color: #fff; box-shadow: 0px 5px 15px rgba(25,50,101,0.2); }
.btn-secondary:hover { background-color: #0f2144; }

/* 01. HERO 메인 비주얼 섹션 */
.component-hero { background-color: var(--surface-pure); padding-top: 180px; overflow: hidden; }
.portfolio-slider-wrap { margin-top: 60px; overflow: hidden; padding-bottom: 30px; }
.portfolio-carousel .slick-list { overflow: visible; }
.pf-slide { position: relative; border-radius: 12px; overflow: hidden; margin: 0 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.09); height: 600px; }
.pf-slide span { display: block; height: 100%; overflow: hidden; position: relative; }
.pf-slide span > img { width: 100%; display: block; transition: transform 3s ease-in-out; transform: translateY(0); }
.pf-slide:hover span > img { transform: translateY(calc(-100% + 600px)); }

/* 02. 고민 제기 유닛 밴드 */
.concern-band { background: #eef3ff; padding: 100px 0; }
.concern-band .section-headline h3 { color: var(--brand-primary); }
.concern-list { list-style: none; display: flex; flex-direction: column; gap: 56px; max-width: 1200px; margin: 0 auto; padding: 10px 60px; }
.concern-list li { position: relative; overflow: visible; background: var(--brand-primary); border-radius: 24px; padding: 40px 60px; width: 92%; border: none; box-shadow: 0 8px 30px rgba(15,33,66,0.18); text-align: left; opacity: 0; transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s; }
.concern-list li:nth-child(odd) { align-self: flex-start; border-bottom-left-radius: 5px; transform: translateX(-60px); }
.concern-list li:nth-child(even) { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--brand-accent); transform: translateX(60px); }
.concern-list li.concern-visible { opacity: 1; transform: translateX(0); }
.concern-list li.concern-visible:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(15,33,66,0.28); }
.concern-list li::after { content: attr(data-icon); position: absolute; font-size: 120px; line-height: 1; opacity: 1; pointer-events: none; bottom: -28px; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12)); }
.concern-list li:nth-child(odd)::after  { right: -40px; }
.concern-list li:nth-child(even)::after { left:  -90px; }
.concern-list li h4 { font-size: 27px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.45; word-break: keep-all; }
.concern-list li p  { font-size: 22px; color: rgba(255,255,255,0.78); line-height: 1.7; word-break: keep-all; }

/* 02-1. 메인 비주얼 영상 섹션 */
.component-visual-video { background: #000; line-height: 0; }
.component-visual-video video { display: block; width: 100%; max-height: 80vh; object-fit: cover; }

/* 03. 홈페이지 구조 설계 섹션 */
.component-structure .sec-label { color: var(--brand-primary); }
.structure-sub-note { font-size: 18px; font-weight: 500; line-height: 1.85; word-break: keep-all; margin-top: 8px; }
.structure-sub-note mark { background: none; font-weight: 700; position: relative; display: inline; background-image: linear-gradient(to bottom, transparent 60%, #ffd84d 60%); background-repeat: no-repeat; background-size: 100% 100%; padding-bottom: 2px; color: #b90000; }
.structure-gnb-wrap { position: relative; }
.gnb-cursor-hand { position: absolute; top: 50%; transform: translate(-50%, -50%); font-size: 30px; opacity: 0; pointer-events: none; z-index: 20; }
/* GNB 헤더 모형 — 브라우저 크롬 + 사이트 헤더 */
.gnb-mockup-frame { border: 2px solid var(--brand-primary); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 64px rgba(15,33,66,0.18); }
.gnb-chrome { background: #edf0f4; border-bottom: 1px solid #d5dce8; padding: 10px 18px; display: flex; align-items: center; gap: 14px; }
.gnb-chrome-dots { display: flex; gap: 7px; }
.gnb-chrome-dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.gnb-chrome-dots span:nth-child(1) { background: #ff5f56; }
.gnb-chrome-dots span:nth-child(2) { background: #ffbd2e; }
.gnb-chrome-dots span:nth-child(3) { background: #27c93f; }
.gnb-chrome-url { flex: 1; background: #fff; border: 1px solid #d5dce8; border-radius: 20px; padding: 5px 16px; font-size: 13px; color: #888; }
.gnb-topbar { background: var(--brand-primary); padding: 14px 28px; display: flex; align-items: center; gap: 32px; }
.gnb-topbar-logo img { height: 30px; filter: brightness(0) invert(1); display: block; }
.gnb-topbar-nav { display: flex; flex: 1; gap: 28px; justify-content: center; }
.gnb-topbar-nav span { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.7); white-space: nowrap; }
.gnb-topbar-nav span.gnb-nav-active { color: #fff; border-bottom: 2px solid #fff; padding-bottom: 3px; }
.gnb-topbar-cta { background: #fff; color: var(--brand-primary); border: none; border-radius: 20px; padding: 7px 18px; font-size: 13px; font-weight: 700; white-space: nowrap; font-family: inherit; cursor: pointer; }
.structure-gnb { display: flex; }
.gnb-col { flex: 1; display: flex; flex-direction: column; border-right: 1px solid rgba(15,33,66,0.1); position: relative; cursor: grab; }
.gnb-col:last-child { border-right: none; }
.gnb-head { background: #f4f7fc; border-bottom: 1px solid rgba(15,33,66,0.1); padding: 14px 10px; text-align: center; font-size: 14px; font-weight: 700; color: var(--brand-primary); letter-spacing: 0.3px; line-height: 1.35; word-break: keep-all; }
.gnb-body { flex: 1; background: #fff; padding: 20px 10px; }
.gnb-body ul { list-style: none; text-align: center; }
.gnb-body ul li { font-size: 17px; color: #444; line-height: 2.2; opacity: 0.8; }

/* 04. CMS 관리자 시스템 섹션 */
.component-cms { background: var(--surface-light); }
.cms-card-grid { display: flex; gap: 50px; }
.cms-card { flex: 1; }
.cms-img { border-radius: 15px; overflow: hidden; background: #e0e5ee; aspect-ratio: 16 / 10; }
.cms-img img, .cms-img video { width: 100%; height: 100%; display: block; object-fit: cover; }
.cms-txt h4 { font-size: 20px; color: var(--brand-accent); font-weight: 600; margin-top: 26px; }
.cms-txt h3 { font-size: 24px; font-weight: 700; margin-top: 10px; line-height: 1.55; word-break: keep-all; }
.cms-txt p { font-size: 20px; opacity: 0.8; margin-top: 12px; word-break: keep-all; }

/* 05. 체계적 서비스 솔루션 그리드 섹션 */
.component-solution { background: var(--surface-pure); }
.sol-grid { list-style: none; display: flex; flex-wrap: wrap; margin-top: 56px; border-top: 1px solid #dde3f0; border-bottom: 1px solid #dde3f0; }
.sol-grid li { width: calc(100% / 3); padding: 40px 36px; border-right: 1px solid #dde3f0; }
.sol-grid li:nth-child(3n+1) { border-left: 1px solid #dde3f0; }
.sol-grid li:nth-child(n+4) { border-top: 1px solid #dde3f0; }
.sol-icon { width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(145deg, #1a6fe0 0%, #2a9f9b 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; box-shadow: 0 8px 20px rgba(2,88,206,0.45), 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.12); transition: transform 0.25s, box-shadow 0.25s; }
.sol-icon:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 32px rgba(2,88,206,0.5), 0 4px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.12); }
.sol-icon img { width: 40px; height: 40px; object-fit: contain; display: block; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }
.sol-grid li h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.5px; }
.sol-grid li p { font-size: 20px; opacity: 0.8; word-break: keep-all; }

/* 06. CMS 직접 관리 기능 소개 섹션 */
.component-gallery { background-color: var(--surface-light); }
.mgmt-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 56px; }
.mgmt-list li { display: flex; align-items: flex-start; gap: 48px; padding: 52px 0; border-bottom: 1px solid #dde3f0; }
.mgmt-list li:first-child { border-top: 1px solid #dde3f0; }
.mgmt-num { flex-shrink: 0; font-size: 72px; font-weight: 800; color: var(--brand-primary); opacity: 0.08; line-height: 1; width: 90px; text-align: right; margin-top: -8px; }
.mgmt-body { flex: 1; }
.mgmt-body h3 { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 14px; line-height: 1.4; }
.mgmt-body p { font-size: 20px; color: #666; line-height: 1.75; word-break: keep-all; }
.mgmt-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-accent); background: rgba(61,183,179,0.1); padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 0.5px; }
/* 07. 견적 제작 구성 스펙 테이블 섹션 */
.component-spec { background: var(--surface-pure); }
.tb-spec { width: 100%; border-collapse: collapse; margin-top: 40px; }
.tb-spec th { padding: 0; text-align: center; border: 1px solid #dde3f0; }
.tb-spec thead th.th-label { background: #eef2fa; font-size: 18px; font-weight: 600; padding: 16px 20px; }
.th-tier-inner { background: #eef2fa; color: var(--brand-primary); padding: 24px 20px 18px; }
.th-tier-inner .tier-name { display: block; font-size: 20px; font-weight: 700; letter-spacing: 2px; margin-bottom: 6px; }
.th-tier-inner .tier-price { display: block; font-size: 28px; font-weight: 800; }
.th-tier-inner .tier-price span { font-size: 16px; font-weight: 400; opacity: 0.6; }
.th-tier-inner.accent { background: var(--brand-accent); color: #fff; }
.th-tier-inner.accent .tier-name { opacity: 0.7; }
.th-tier-inner.accent .tier-price span { opacity: 0.8; }
.tb-spec .sec-row td { background: #efefef; padding: 12px 20px; font-size: 16px; font-weight: 700; color: var(--brand-primary); border: 1px solid #dde3f0; text-align: center; }
.tb-spec tbody td { background: #fff; padding: 14px 20px; border: 1px solid #e8edf5; font-size: 20px; text-align: center; word-break: keep-all; }
.tb-spec tbody td.td-label { text-align: center; background: #fafbfd; font-size: 18px; }
.tb-spec tbody td .chk { color: var(--brand-accent); font-weight: 700; }
.tb-spec tbody td .dash { color: #ccc; }
.tb-spec tbody td b { color: var(--brand-accent); }
.tb-spec .common-row td { background: #f0f4ff; font-size: 18px; color: var(--font-default); border: 1px solid #dde3f0; }

/* 08. 제작 공정 HOW 프로세스 섹션 */
.component-how { background: var(--surface-light); }
.step-list { display: flex; list-style: none; margin-top: 50px; }
.step-list > li { flex: 1; position: relative; background: #fff; border: 1px solid #dde3f0; border-radius: 16px; padding: 40px 28px; margin-right: 44px; transition: 0.3s; }
.step-list > li:last-child { margin-right: 0; }
.step-list > li + li::after { content: "›"; position: absolute; top: 50%; left: -30px; transform: translateY(-50%); font-size: 32px; color: #8aa0c0; }
.step-list > li.on { border-color: var(--brand-primary); box-shadow: 0 0 0 2px var(--brand-primary); }
.step-icon { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin-bottom: 0; }
.step-icon img { width: 100%; height: 100%; object-fit: contain; }
.step-list > li.on .step-icon { background: var(--brand-accent); }
.step-badge { display: inline-block; font-size: 14px; font-weight: 700; color: var(--brand-accent); background: rgba(61,183,179,0.1); padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.step-list li h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-list li ul { list-style: none; }
.step-list li ul li { font-size: 18px; opacity: 0.8; padding-left: 14px; position: relative; line-height: 1.7; }
.step-list li ul li::before { content: ""; position: absolute; top: 11px; left: 0; width: 4px; height: 4px; background: #8aa0c0; border-radius: 50%; }

/* 09. FAQ 아코디언 질의응답 섹션 */
.component-faq { background: var(--surface-pure); }
.faq-inner { display: flex; justify-content: space-between; gap: 80px; align-items: flex-start; }
.faq-left { flex: 0 0 34%; }
.faq-sticky { position: sticky; top: 110px; }
.faq-sticky h2 { font-size: 42px; font-weight: 800; color: var(--brand-primary); line-height: 1.25; margin-bottom: 22px; }
.faq-right { flex: 1; width: 100%; }
.faq-list dl { position: relative; padding: 30px 28px 30px 110px; border-bottom: 1px solid #e4e8f2; transition: 0.3s; }
.faq-list dl:first-child { border-top: 1px solid #e4e8f2; }
.faq-list dl::before { content: attr(data-num); position: absolute; left: 18px; top: 22px; font-size: 52px; font-weight: 800; opacity: 0.05; line-height: 1; transition: 0.3s; }
.faq-list dl:hover { background: var(--surface-light); }
.faq-list dl:hover::before { opacity: 0.18; color: var(--brand-primary); }
.faq-list dl:hover dt { color: var(--brand-primary); }
.faq-list dt { font-size: 22px; font-weight: 700; margin-bottom: 10px; transition: 0.3s; }
.faq-list dd { font-size: 20px; opacity: 0.8; word-break: keep-all; }

/* 고정 하단 영역 */
#global-footer { background-color: #222; color: #aaa; padding: 50px 0; font-size: 18px; }
.footer-corporate-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.footer-corporate-meta span { display: inline-flex; align-items: center; gap: 6px;}
.footer-corporate-meta span em { font-style: normal; font-size: 13px; font-weight: 700; color: #888; background: #333; padding: 2px 8px; border-radius: 3px; letter-spacing: 0.3px; }
.footer-dot { margin: 0 14px; color: #555; font-size: 20px; line-height: 1; }
.footer-corporate-meta p { width: 100%; }

/* 상담 문의 폼 공통 스타일 */
.cf-write { padding: 36px 50px; display: flex; gap: 24px; flex-direction: column; }
.cf-req-note { font-size: 15px; color: #999; }
.cf-req-note em { color: var(--brand-accent); font-style: normal; }
.cf-row { display: flex; flex-direction: column; }
.cf-row-group { display: flex; gap: 24px; }
.cf-row.cf-half { flex: 1; }
.cf-label { display: block; padding-left: 14px; position: relative; color: #1e2124; font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 6px; }
.cf-label::before { content: ""; display: block; width: 5px; height: 5px; background: var(--brand-accent); position: absolute; top: 10px; left: 0; border-radius: 50%; }
.cf-label.req::after { content: "*"; color: var(--brand-accent); margin-left: 2px; font-size: 14px; vertical-align: middle; }
.cf-row input[type="text"],
.cf-row input[type="email"],
.cf-row select,
.cf-row textarea { width: 100%; height: 48px; padding: 8px 14px; border: 1px solid #dde3f0; border-radius: 8px; font-family: inherit; font-size: 16px; background: #fff; outline: none; transition: border-color 0.25s; color: var(--font-default); }
.cf-row input:focus, .cf-row select:focus, .cf-row textarea:focus { border-color: var(--brand-accent); }
.cf-row input::placeholder, .cf-row textarea::placeholder { color: #bbb; }
.cf-row select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: calc(100% - 14px) 50%; cursor: pointer; }
.cf-row textarea { height: auto; min-height: 120px; resize: vertical; }
.cf-agree { border-top: 1px solid #edf0f6; border-bottom: 1px solid #edf0f6; padding: 18px 50px; }
.cf-agree-row { display: flex; align-items: center; justify-content: space-between; }
.cf-agree-row label { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #333; cursor: pointer; }
.cf-agree-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--brand-accent); flex-shrink: 0; }
.cf-agree-view { background: #fff; padding: 5px 14px; border-radius: 2rem; border: 1px solid #dde3f0; color: #555; font-size: 13px; cursor: pointer; font-family: inherit; }
.cf-agree-text { display: none; margin-top: 14px; padding: 14px 18px; background: #f3f5f8; border-radius: 8px; max-height: 100px; overflow-y: auto; font-size: 13px; color: #666; line-height: 1.8; white-space: pre-line; }
.cf-btn-wrap { padding: 28px 50px 36px; text-align: center; }
.cf-submit-btn { font-size: 18px; background: var(--brand-primary); border-radius: 10px; color: #fff; font-weight: 700; padding: 14px 60px; border: none; cursor: pointer; font-family: inherit; transition: background 0.3s; width: 100%; }
.cf-submit-btn:hover { background: var(--brand-accent); }

/* 빠른 상담 신청 모달 */
#quick-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(10,20,50,0.6); backdrop-filter: blur(3px); overflow-y: auto; padding: 60px 20px; }
#quick-modal-overlay.open { display: flex; justify-content: center; align-items: flex-start; }
#quick-modal { position: relative; background: #fff; border-radius: 20px; width: 100%; max-width: 720px; box-shadow: 0 20px 80px rgba(10,20,50,0.25); animation: modal-in 0.28s cubic-bezier(0.22,1,0.36,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
#quick-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f0f2f5; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #555; transition: background 0.2s; z-index: 1; }
#quick-modal-close:hover { background: #dde3f0; color: #111; }
#quick-modal .modal-title { padding: 36px 50px 0; font-size: 22px; font-weight: 800; color: var(--brand-primary); }
#quick-modal .modal-title p { font-size: 15px; font-weight: 400; color: #888; margin-top: 6px; }

/* 반응형 브레이크포인트 일원화 제어 시스템 */
@media all and (max-width: 1280px) {
    .main-menu-list { gap: 24px; }
    .menu-item a { font-size: 16px; }
    .header-action-zone { min-width: auto; }
    .header-action-zone .btn-node { font-size: 15px; padding: 9px 20px; }
}

@media all and (max-width: 1024px) {
    body { font-size: 18px; }
    .scroll-section { padding: 80px 0; }
    .main-menu-list { gap: 16px; }
    .menu-item a { font-size: 15px; }
    .header-action-zone { gap: 8px; }
    .header-action-zone .btn-node { font-size: 14px; padding: 8px 16px; }
    .section-headline h3, .section-headline h2 { font-size: 34px; }
    .cms-card-grid, .faq-inner { flex-direction: column; gap: 40px; }
    .sol-grid li { width: 50%; }
    .structure-gnb { flex-wrap: wrap; }
    .gnb-col { flex: 0 0 50%; border-bottom: 1px solid rgba(15,33,66,0.1); }
    .step-list { flex-direction: column; gap: 30px; }
    .step-list > li { margin-right: 0; }
    .step-list > li + li::after { content: "↓"; top: -44px; left: 50%; transform: translateX(-50%); }
}

@media all and (max-width: 768px) {
    /* 기본 */
    body { font-size: 16px; }
    .scroll-section { padding: 60px 0; }
    .section-headline { margin-bottom: 36px; }
    .section-headline h3, .section-headline h2, .faq-sticky h2 { font-size: 24px !important; }
    .section-headline p { font-size: 16px; }
    .section-headline .sec-label { font-size: 16px; }
    .btn-wrap { flex-direction: column; align-items: center; gap: 12px; }
    .btn-node { font-size: 16px; padding: 12px 24px; }

    /* 헤더 */
    .desktop-link-group { display: none; }
    .call-btn { display: none; }
    .header-action-zone { min-width: auto; gap: 8px; }
    .header-action-zone .btn-node { font-size: 14px; padding: 10px 18px; white-space: nowrap; }
    #logo img { height: 32px; }

    /* 01. Hero */
    .component-hero { padding-top: 110px; }
    .portfolio-slider-wrap { padding: 0 16px; box-sizing: border-box; overflow: hidden; }
    .pf-slide { height: 320px; margin: 0; }
    .pf-slide:hover span > img { transform: translateY(calc(-100% + 320px)); }

    /* 02. 고민 제기 */
    .concern-band { padding: 60px 0; }
    .concern-list { padding: 10px 20px; gap: 36px; max-width: 100%; }
    .concern-list li { width: 90%; padding: 24px 24px; }
    .concern-list li:nth-child(even)::after { display: none; }
    .concern-list li h4 { font-size: 18px; }
    .concern-list li p  { font-size: 15px !important; }
    .concern-list li::after { font-size: 70px; bottom: -18px; }
    .concern-list li:nth-child(odd)::after  { right: -20px; }
    .concern-list li:nth-child(even)::after { left: -20px; }

    /* 03. 구조 설계 — GNB 목업 */
    .gnb-mockup-frame { overflow-x: auto; }
    .gnb-topbar { gap: 16px; padding: 12px 16px; }
    .gnb-topbar-nav { gap: 14px; }
    .gnb-topbar-nav span { font-size: 12px; }
    .sol-grid li { width: 100%; flex: 0 0 100%; }
    .gnb-col { flex: 0 0 50%; width: 50%; }
    .gnb-cursor-hand { display: none; }
    .sol-grid li:nth-child(n) { border-left: 1px solid #dde3f0; border-top: 1px solid #dde3f0; }

    /* 04. CMS */
    .cms-txt h3 { font-size: 20px; }
    .cms-txt p  { font-size: 16px !important; }

    /* 05. 솔루션 그리드 */
    .sol-grid li { padding: 28px 20px; }
    .sol-grid li h3 { font-size: 18px; }
    .sol-grid li p  { font-size: 15px !important; }

    /* 06. 관리 기능 리스트 */
    .mgmt-list li { flex-direction: column; gap: 8px; padding: 36px 0; }
    .mgmt-num { width: auto; font-size: 48px; text-align: left; margin-top: 0; }
    .mgmt-body h3 { font-size: 20px; }
    .mgmt-body p  { font-size: 16px; }

    /* 07. 스펙 테이블 — 가로 스크롤 */
    .component-spec .container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tb-spec { min-width: 600px; }
    .th-tier-inner .tier-price { font-size: 20px; }
    .tb-spec tbody td { font-size: 15px; padding: 10px 12px; }
    .tb-spec tbody td.td-label { font-size: 14px; }

    /* 08. HOW 프로세스 */
    .step-list > li { padding: 20px; }
    .step-list li h3 { font-size: 18px; }
    .step-list li ul li { font-size: 15px; }
    .step-badge { font-size: 12px; }

    /* 09. FAQ */
    .faq-inner { flex-direction: column; gap: 36px; }
    .faq-left { flex: none; width: 100%; }
    .faq-sticky { position: static; }
    .faq-sticky h2 { font-size: 24px !important; margin-bottom: 12px; }
    .faq-list dl { padding: 24px 20px 24px 60px; }
    .faq-list dl::before { font-size: 30px; left: 12px; top: 18px; }
    .faq-list dt { font-size: 17px; }
    .faq-list dd { font-size: 15px !important; }

    /* 10. 상담 문의 폼 */

    /* 모달 */
    #quick-modal-overlay { padding: 40px 12px; }
    #quick-modal .modal-title { padding: 28px 24px 0; font-size: 18px; }
    .cf-write { padding: 24px 20px; }
    .cf-row-group { flex-direction: column; }
    .cf-agree { padding: 16px 20px; }
    .cf-btn-wrap { padding: 20px 20px 28px; }

    /* 푸터 */
    #global-footer { font-size: 14px !important; padding: 36px 0; }
    .footer-corporate-meta span { margin-right: 8px; display: inline-block; }
}

@media all and (max-width: 480px) {
    .section-headline h3, .section-headline h2 { font-size: 20px !important; }
    .header-action-zone .btn-node { font-size: 13px; padding: 8px 14px; }
    .component-hero { padding-top: 100px; }
    .pf-slide { height: 220px; }
    .pf-slide:hover span > img { transform: translateY(calc(-100% + 220px)); }
    .concern-list { padding: 10px 12px; }
    .concern-list li { width: 100%; }
    .gnb-topbar-nav { display: none; }
    .step-icon { width: 40px; height: 40px; top: 18px; right: 18px; }
}

.labdive-sub-layout { min-height: 60vh; padding-top: 76px; }
.labdive-sub-header { position: relative; overflow: hidden; border-bottom: 1px solid #dce5f2; background: linear-gradient(135deg, #f7fbff 0%, #eef7f6 100%); }
.labdive-sub-header::after { position: absolute; top: -90px; right: 8%; width: 260px; height: 260px; border: 1px solid rgba(61, 183, 179, 0.22); border-radius: 50%; content: ''; }
.labdive-sub-header__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 64px; }
.labdive-sub-header__eyebrow { display: block; margin-bottom: 12px; color: var(--brand-accent); font-size: 14px; font-weight: 800; letter-spacing: 0.18em; }
.labdive-sub-header h1 { margin: 0; color: var(--brand-primary); font-size: clamp(38px, 5vw, 58px); line-height: 1.15; }
.labdive-sub-header__line { display: block; width: 64px; height: 4px; margin-top: 24px; border-radius: 999px; background: var(--brand-accent); }
.labdive-sub-content { padding-top: 56px; padding-bottom: 88px; }

@media all and (max-width: 768px) {
    .labdive-sub-layout { padding-top: 68px; }
    .labdive-sub-header__inner { padding-top: 48px; padding-bottom: 44px; }
    .labdive-sub-content { padding-top: 36px; padding-bottom: 56px; }
}
