/* ============================================================
   스마트이벤트 — 공통 스타일시트
   smartevent1.com
   ============================================================ */

/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #FF6B35;
  --primary-d: #E55520;
  --secondary: #1A2B4A;
  --accent:    #FFD700;
  --bg-light:  #F8F9FC;
  --bg-white:  #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid:  #4A4A6A;
  --text-light:#7A7A9A;
  --border:    #E2E6EF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --nav-h:     68px;
  --font-main: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  padding-top: var(--nav-h);
}
img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 한글 줄바꿈 전역 적용 ── */
html, body,
h1, h2, h3, h4, h5, h6,
p, span, a, button, li, div {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ── 타이포 ── */
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: rgba(255,107,53,.1);
  padding: .25rem .75rem; border-radius: 50px; margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.25; color: var(--secondary); margin-bottom: .75rem;
}
.section-sub {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--text-mid); max-width: 640px; margin: 0 auto 2.5rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }

/* ── 컨테이너 ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad    { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark  { background: var(--secondary); color: #fff; }

/* ============================================================
   네비게이션
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); z-index: 1000; transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-mark {
  width: 38px; height: 38px; background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: -.05em;
}
.nav-logo .logo-text { font-size: 1.1rem; font-weight: 800; color: var(--secondary); }
.nav-logo .logo-text span { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: .83rem; font-weight: 600; color: var(--text-mid);
  padding: 6px 11px; border-radius: var(--radius-sm); transition: color .2s, background .2s;
  white-space: nowrap; word-break: keep-all;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(255,107,53,.08); }

/* 네비게이션 전체 링크 줄바꿈 방지 */
.nav-drawer a,
nav a {
  white-space: nowrap;
  word-break: keep-all;
}

.nav-cta { display: flex; align-items: center; gap: 8px; }
.btn-call {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; color: var(--secondary);
  border: 2px solid var(--border); border-radius: 50px; padding: 6px 13px;
  transition: border-color .2s, color .2s;
}
.btn-call:hover { border-color: var(--primary); color: var(--primary); }
.btn-inquiry {
  font-size: .82rem; font-weight: 700; background: var(--primary); color: #fff;
  border-radius: 50px; padding: 8px 16px; transition: background .2s, transform .2s;
}
.btn-inquiry:hover { background: var(--primary-d); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--secondary); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(26,43,74,.97); z-index: 999;
  padding: 1.5rem 1.5rem 120px; flex-direction: column; gap: .25rem; overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  padding: .9rem 1.25rem; border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255,255,255,.08); transition: background .2s;
}
.nav-drawer a:hover { background: rgba(255,107,53,.2); color: var(--accent); }
.nav-drawer .drawer-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.nav-drawer .drawer-cta a { text-align: center; border-bottom: none; border-radius: 50px; padding: 1rem; }
.nav-drawer .d-call    { background: rgba(255,255,255,.1); }
.nav-drawer .d-kakao   { background: #FEE500; color: #3A1D1D !important; }
.nav-drawer .d-inquiry { background: var(--primary); }

/* ============================================================
   버튼
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .95rem; font-weight: 700; border-radius: 50px; padding: 12px 28px;
  transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(255,107,53,.4); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,.5); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: #253d6b; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-kakao { background: #FEE500; color: #3A1D1D; }
.btn-kakao:hover { background: #f0d800; transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 15px 36px; }
.btn-sm { font-size: .82rem; padding: 8px 18px; }

/* ============================================================
   프로그램 카드
   ============================================================ */
.cards-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.program-card {
  background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.program-card:hover .card-img img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 50px; letter-spacing: .05em;
}
.card-badge.badge-gold  { background: var(--accent); color: #3A1D1D; }
.card-badge.badge-blue  { background: #2563EB; }
.card-badge.badge-green { background: #10B981; }
.card-badge.badge-purple{ background: #7C3AED; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: 1.05rem; font-weight: 800; color: var(--secondary); line-height: 1.3; }
.card-desc  { font-size: .87rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.card-features { display: flex; flex-wrap: wrap; gap: 6px; }
.card-feature-tag { font-size: .74rem; font-weight: 600; color: var(--primary); background: rgba(255,107,53,.08); padding: 3px 10px; border-radius: 50px; }

.card-price { display: flex; align-items: baseline; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.price-from { font-size: .75rem; color: var(--text-light); }
.price-val  { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.price-unit { font-size: .77rem; color: var(--text-light); }

.card-footer { padding: 0 20px 18px; display: flex; gap: 8px; }
.card-footer .btn { flex: 1; justify-content: center; font-size: .83rem; padding: 10px; }

/* ============================================================
   히어로 (서브 페이지)
   ============================================================ */
.page-hero {
  position: relative; min-height: 360px; display: flex; align-items: center;
  overflow: hidden; background: var(--secondary);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,25,55,.88) 0%, rgba(8,25,55,.62) 38%, rgba(8,25,55,.25) 100%); }
.page-hero-content { position: relative; z-index: 2; color: #fff; padding: 60px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.page-hero-content h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: .75rem; }
.page-hero-content h1 em { color: var(--accent); font-style: normal; }
.page-hero-content p { font-size: clamp(.9rem, 2vw, 1.1rem); color: rgba(255,255,255,.85); max-width: 560px; }

/* ============================================================
   갤러리
   ============================================================ */
.gallery-grid   { display: grid; gap: 8px; }
.gallery-grid-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-grid-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }

.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ============================================================
   통계 바
   ============================================================ */
.stats-bar { background: var(--secondary); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.stat-item  { padding: 16px 10px; }
.stat-num   { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: var(--accent); line-height: 1; }
.stat-unit  { color: var(--accent); font-size: 1.2rem; }
.stat-label { font-size: .83rem; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ============================================================
   CTA 배너
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, #d94010 100%); padding: 60px 0; text-align: center; color: #fff; }
.cta-banner h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 800; margin-bottom: .75rem; }
.cta-banner p  { font-size: 1.05rem; opacity: .9; margin-bottom: 2rem; }
.cta-banner-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   강점 카드
   ============================================================ */
.strength-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.strength-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 22px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.strength-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.strength-num   { font-size: 2rem; font-weight: 900; color: var(--primary); opacity: .22; line-height: 1; margin-bottom: 10px; }
.strength-title { font-size: 1rem; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.strength-desc  { font-size: .86rem; color: var(--text-mid); line-height: 1.65; }

/* ============================================================
   서비스 카드 (홈 메인)
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.service-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .45s; }
.service-card:hover .service-card-bg { transform: scale(1.08); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,43,74,.9) 0%, rgba(26,43,74,.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff; transition: background .3s;
}
.service-card:hover .service-card-overlay { background: linear-gradient(to top, rgba(255,107,53,.85) 0%, rgba(255,107,53,.2) 60%, transparent 100%); }
.service-card-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 5px; }
.service-card-sub   { font-size: .8rem; opacity: .85; margin-bottom: 10px; }
.service-card-arrow { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.service-card:hover .service-card-arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   프로세스 스텝
   ============================================================ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); position: relative; }
.process-step  { text-align: center; padding: 30px 16px; position: relative; }
.process-step::after { content: '→'; position: absolute; right: -10px; top: 48px; font-size: 1.3rem; color: var(--primary); opacity: .45; }
.process-step:last-child::after { display: none; }
.step-num   { width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.15rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-title { font-size: .92rem; font-weight: 700; color: var(--secondary); margin-bottom: 5px; }
.step-desc  { font-size: .82rem; color: var(--text-mid); }

/* ============================================================
   가격표
   ============================================================ */
.price-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table thead { background: var(--secondary); color: #fff; }
.price-table th  { padding: 13px 16px; text-align: left; font-size: .86rem; font-weight: 700; }
.price-table td  { padding: 12px 16px; font-size: .86rem; border-bottom: 1px solid var(--border); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--bg-light); }
.price-highlight { color: var(--primary); font-weight: 700; }

/* ============================================================
   아코디언
   ============================================================ */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; cursor: pointer; font-weight: 700; font-size: .93rem; color: var(--secondary); background: var(--bg-white); transition: background .2s; gap: 16px; }
.accordion-header:hover  { background: var(--bg-light); }
.accordion-header.open   { color: var(--primary); }
.accordion-icon  { font-size: 1.1rem; transition: transform .3s; flex-shrink: 0; }
.accordion-header.open .accordion-icon { transform: rotate(45deg); }
.accordion-body  { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 20px; font-size: .88rem; color: var(--text-mid); line-height: 1.7; background: var(--bg-light); }
.accordion-body.open { max-height: 600px; padding: 16px 20px; }

/* ============================================================
   폼
   ============================================================ */
.form-group   { margin-bottom: 18px; }
.form-label   { display: block; font-size: .87rem; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-label .req { color: var(--primary); margin-left: 2px; }
.form-control {
  width: 100%; padding: 12px 15px; font-size: .93rem; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-white); color: var(--text-dark); transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,53,.12); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 9L15 1' stroke='%234A4A6A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-item  { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-item label { font-size: .87rem; color: var(--text-mid); cursor: pointer; }

/* ============================================================
   모바일 고정 CTA
   ============================================================ */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
  padding: 10px 12px; background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1); gap: 7px;
}
.mobile-cta a { flex: 1; text-align: center; padding: 11px 6px; border-radius: var(--radius-sm); font-size: .83rem; font-weight: 700; }
.mobile-cta .m-call    { background: var(--secondary); color: #fff; }
.mobile-cta .m-kakao   { background: #FEE500; color: #3A1D1D; }
.mobile-cta .m-inquiry { background: var(--primary); color: #fff; }

/* ============================================================
   푸터
   ============================================================ */
.footer { background: #0F1A2E; color: rgba(255,255,255,.68); padding: 56px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; display: block; }
.footer-brand .logo-text span { color: var(--primary); }
.footer-brand p { font-size: .83rem; line-height: 1.75; }
.footer-brand .biz-info { margin-top: 14px; font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.85; }
.footer-col h4 { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.58); transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact .item { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; margin-bottom: 10px; }
.footer-contact .item .ic { color: var(--primary); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.38); }
.footer-sns { display: flex; gap: 8px; }
.footer-sns a { width: 33px; height: 33px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .82rem; color: rgba(255,255,255,.55); transition: background .2s, color .2s; }
.footer-sns a:hover { background: var(--primary); color: #fff; }

/* ============================================================
   유틸리티
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.text-center  { text-align: center; }
.text-white   { color: #fff !important; }
.fw-800       { font-weight: 800; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}

.badge-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.5rem; }
.badge { display: inline-block; font-size: .77rem; font-weight: 700; padding: 5px 13px; border-radius: 50px; }
.badge-orange { background: rgba(255,107,53,.12); color: var(--primary); }
.badge-navy   { background: rgba(26,43,74,.08); color: var(--secondary); }
.badge-gold   { background: rgba(255,215,0,.15); color: #B8860B; }
.badge-green  { background: rgba(16,185,129,.12); color: #059669; }
.badge-blue   { background: rgba(37,99,235,.1); color: #2563EB; }
.badge-purple { background: rgba(124,58,237,.1); color: #7C3AED; }

.tabs    { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn { padding: 9px 20px; border-radius: 50px; font-size: .86rem; font-weight: 600; color: var(--text-mid); background: var(--bg-light); border: 1.5px solid var(--border); cursor: pointer; transition: all .2s; }
.tab-btn:hover  { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 라이트박스 */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img  { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid-3  { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4  { grid-template-columns: repeat(2, 1fr); }
  .service-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gallery-grid-6{ grid-template-columns: repeat(4, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .nav-menu { gap: 1px; }
  .nav-menu a { font-size: .79rem; padding: 5px 8px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  body  { padding-bottom: 90px; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid, .cards-grid-3, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
  .service-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 22px; }
  .gallery-grid-6{ grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-4{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-3{ grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .mobile-cta    { display: flex; }
  .section-pad   { padding: 52px 0; }
  .section-pad-sm{ padding: 38px 0; }
  .page-hero     { min-height: 260px; }
  .process-step::after { display: none; }
}
@media (max-width: 480px) {
  .gallery-grid-6{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   애니메이션
   ============================================================ */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up  { animation: fadeUp .6s ease both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .2s; }
.delay-3  { animation-delay: .3s; }
.delay-4  { animation-delay: .4s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
