/* 포토이벤트 메인 시안 v6 — 레퍼런스(벨로크·NH농협카드·SGI서울보증·음성군)식 기업 홈페이지.
   유리 효과·빛 번짐 없음. 흰 바탕 + 파란 띠 + 평평한 카드 + 아이콘 바로가기. */
:root {
  --blue: #2a5bf5; --blue-d: #1c45d0; --blue-l: #eaf0ff; --blue-ll: #f4f7ff; --navy: #10204a;
  --ink: #111827; --ink-2: #333b4a; --sub: #5f6878; --mute: #8f97a5; --line: #e4e8ef; --gray: #f5f7fa;
  --max: 1320px; --gutter: clamp(20px, 4.5vw, 40px);
  --f: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 76px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--f); color: var(--ink); background: #fff; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; letter-spacing: -.02em; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }
.center { text-align: center; }
.pc { display: inline; } .mo { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 버튼 (알약형) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 650; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.pill svg { font-size: 15px; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-d); }
.pill-white { background: #fff; color: var(--blue); height: 42px; padding: 0 18px 0 16px; font-size: 14.5px; }
.pill-white:hover { background: var(--blue-l); }
.pill-line { border: 1px solid #cfd6e2; color: var(--ink-2); background: #fff; }
.pill-line:hover { border-color: var(--blue); color: var(--blue); }

/* 제목: 첫 줄은 가늘게, 둘째 줄은 굵게 */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.tt { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.35; font-weight: 750; letter-spacing: -.045em; color: var(--ink); }
.tt span { display: block; font-weight: 350; color: var(--ink-2); }
.desc { margin-top: 18px; font-size: 16.5px; color: var(--sub); line-height: 1.75; }
.sec-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 34px; }
.side { font-size: 15px; color: var(--sub); }
.plus { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--sub); padding: 6px 0; }
.plus::after { content: ""; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; }
.plus:hover { color: var(--blue); }

/* 헤더 */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 6px 20px -12px rgba(16,32,74,.18); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 56px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.brand img { width: 32px; height: auto; }
.menu { display: flex; gap: 6px; font-size: 16.5px; font-weight: 650; color: var(--ink-2); }
.menu a { position: relative; padding: 10px 16px; }
.menu a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover { color: var(--blue); }
.menu a:hover::after, .menu a[aria-current]::after { transform: none; }
.menu a[aria-current] { color: var(--blue); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-tel { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); }
.nav-tel svg { fill: var(--blue); stroke: none; font-size: 16px; }
.nav-r .pill { height: 40px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger i:nth-child(1) { top: 13px; } .burger i:nth-child(2) { top: 19px; } .burger i:nth-child(3) { top: 25px; }
.nav.open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger i:nth-child(2) { opacity: 0; }
.nav.open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.drawer { display: none; }

/* 첫 화면: 파란 띠 */
.hero { position: relative; height: clamp(520px, 62vh, 600px); background: linear-gradient(115deg, #2f63ff 0%, #2a5bf5 45%, #2149dc 100%); color: #fff; border-radius: 0 0 96px 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000); }
.stage { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.ring-flash { position: absolute; z-index: 3; left: 70%; top: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.8), rgba(255,255,255,.35) 40%, transparent); opacity: 0; pointer-events: none; }
.hero-in { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.slides { position: relative; min-height: 270px; max-width: 560px; }
.slide { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s ease-in, transform .22s ease-in, visibility 0s .22s; }
.slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease) .24s, transform .55s var(--ease) .24s, visibility 0s .24s; }
.slide h1, .slide h2 { font-size: clamp(34px, 3.9vw, 52px); line-height: 1.24; font-weight: 800; letter-spacing: -.05em; }
.slide p { margin-top: 18px; font-size: clamp(15.5px, 1.25vw, 17.5px); line-height: 1.7; color: rgba(255,255,255,.86); }
.slide .pill { margin-top: 30px; }
.pager { display: flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.pg-n { display: inline-flex; align-items: center; gap: 12px; margin-right: 10px; }
.pg-n b { color: #fff; font-weight: 700; }
.pg-bar { position: relative; display: block; width: 120px; height: 2px; background: rgba(255,255,255,.3); }
.pg-bar i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.pg-btn { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 16px; }
.pg-btn:hover { background: rgba(255,255,255,.14); }
.pg-play i { width: 8px; height: 10px; border-left: 2.5px solid #fff; border-right: 2.5px solid #fff; }
.pg-play.paused i { width: 0; height: 0; border: 0; border-left: 9px solid #fff; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; margin-left: 2px; }
.hero-fallback { display: none; }
.no-gl .stage { display: none; }
.no-gl .hero-fallback { display: block; position: absolute; inset: 0; z-index: 2; }
.hero-fallback figure { position: absolute; width: clamp(140px, 13vw, 190px); padding: 8px 8px 30px; background: #fff; border-radius: 4px; box-shadow: 0 26px 50px -22px rgba(0,10,60,.55); }
.hero-fallback img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-fallback .f1 { left: 60%; top: 16%; transform: rotate(-7deg); }
.hero-fallback .f2 { left: 75%; top: 26%; transform: rotate(6deg); }
.hero-fallback .f3 { left: 66%; top: 48%; transform: rotate(-2deg); }

/* 바로가기 아이콘 */
.quick { position: relative; z-index: 5; margin-top: -58px; display: grid; grid-template-columns: repeat(8, 1fr); background: #fff; border-radius: 20px; padding: 26px 16px 22px; box-shadow: 0 14px 40px -18px rgba(16,32,74,.28), 0 0 0 1px rgba(16,32,74,.04); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.3; }
.ic { width: 62px; height: 62px; border-radius: 50%; background: var(--blue-ll); display: grid; place-items: center; transition: background .25s, transform .3s var(--ease); }
.ic svg { font-size: 34px; stroke: var(--blue); stroke-width: 1.7; }
symbol .f { fill: #d6e2ff; }
.quick a:hover { color: var(--blue); }
.quick a:hover .ic { background: var(--blue-l); transform: translateY(-3px); }

/* 최근 행사 */
.recent-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .25s, box-shadow .25s; }
.cards a:hover { border-color: #c9d5f5; box-shadow: 0 14px 34px -20px rgba(16,32,74,.3); }
.cards .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cards a:hover img { transform: scale(1.04); }
.cards .tx { display: block; padding: 18px 20px 20px; }
.cards small { display: block; font-size: 13px; font-weight: 700; color: var(--blue); }
.cards b { display: block; margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; }
.cards time { display: block; margin-top: 10px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.wall { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff; }
.wall-txt { position: relative; z-index: 2; display: grid; gap: 8px; padding: 26px 24px 24px; background: linear-gradient(180deg, rgba(42,91,245,0), var(--blue) 30%); }
.wall-txt small { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.wall-txt b { font-size: 21px; font-weight: 750; line-height: 1.38; letter-spacing: -.04em; }
.wall-txt em { font-style: normal; font-variant-numeric: tabular-nums; }
.wall-txt .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14.5px; font-weight: 650; }
.wall:hover .go svg { transform: translate(2px, -2px); }
.go svg { transition: transform .25s; }
.wall-ph { position: absolute; z-index: 1; inset: -10% -20% 30% -10%; overflow: hidden; }
.wall-3d { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(-8deg); }
.wall-col { display: grid; gap: 8px; align-content: start; animation: wall-up var(--d, 40s) linear infinite; will-change: transform; }
.wall-col:nth-child(even) { animation-direction: reverse; }
.wall-col img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: rgba(255,255,255,.15); }
.wall.paused .wall-col { animation-play-state: paused; }
@keyframes wall-up { to { transform: translateY(-50%); } }

/* 행사 서비스 */
.service { background: var(--gray); }
.service-in { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.service-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.service-head .pill { margin-top: 26px; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc a { position: relative; display: block; aspect-ratio: 1 / 1.02; border-radius: 18px; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.svc img.draw { object-position: 50% 30%; }
.svc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,20,50,.72) 0%, rgba(10,20,50,.18) 45%, rgba(10,20,50,.1) 70%, rgba(10,20,50,.55)); }
.svc a:hover img { transform: scale(1.05); }
.svc-t { position: absolute; left: 22px; right: 22px; top: 22px; }
.svc-t small { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); }
.svc-t b { display: block; margin-top: 6px; font-size: 19px; font-weight: 750; line-height: 1.4; letter-spacing: -.04em; }
.arw { position: absolute; right: 18px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--blue); font-size: 17px; transition: background .25s, color .25s; }
.svc a:hover .arw { background: var(--blue); color: #fff; }

/* 포토굿즈 3D */
.tiles { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiles-gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.tile { position: relative; aspect-ratio: 1 / 1.08; border-radius: 18px; background: var(--gray); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: background .3s; }
.tile:hover { background: #edf2fc; }
.tile.grab { cursor: grabbing; }
.tile-img { position: absolute; inset: 12% 14% 28%; width: 72%; height: 60%; object-fit: contain; mix-blend-mode: multiply; }
.goods-gl .tile-img { display: none; }
.tile-txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; text-align: center; pointer-events: none; }
.tile h3 { font-size: 17.5px; font-weight: 750; letter-spacing: -.035em; }
.tile p { margin-top: 2px; font-size: 13.5px; color: var(--sub); }

/* 고객사 */
.clients { position: relative; background: var(--gray); overflow: hidden; }
.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; }
.names { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 26px; font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; letter-spacing: -.045em; line-height: 1.55; }
.names li { color: #b3bcca; transition: color .35s; }
.names li[data-g] { color: #8994a6; }
.names li.on { color: var(--blue); }
.peek { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 18px 40px -26px rgba(16,32,74,.35), 0 0 0 1px rgba(16,32,74,.05); }
.pk-ph { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--blue-ll); }
.pk-ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pk-ph img.swap { opacity: 0; }
.peek figcaption { padding: 16px 6px 6px; }
.peek b { display: block; font-size: 18px; font-weight: 750; letter-spacing: -.035em; color: var(--blue); }
.peek span { display: block; margin-top: 4px; min-height: 2.9em; font-size: 14.5px; line-height: 1.45; color: var(--sub); }
.peek a { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.peek a svg { width: 14px; height: 14px; }
.peek a:hover { color: var(--blue); }

/* 회사 소개 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.facts { margin-top: 30px; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 120px 1fr; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { color: var(--ink-2); }
.hist { position: relative; padding-left: 26px; border-left: 2px solid var(--blue-l); }
.hist li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 0 0 22px; }
.hist li::before { content: ""; position: absolute; left: -33px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #b9cbfa; }
.hist li.hl::before { background: var(--blue); border-color: var(--blue); }
.hist b { font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.hist li.hl b { color: var(--blue); }
.hist p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; padding-top: 2px; }
.cert-box { margin-top: 64px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; padding: 30px 32px; border-radius: 20px; background: var(--gray); }
.cert-t b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -.04em; }
.cert-t span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.certs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.certs li { background: #fff; padding: 4px; border-radius: 2px; box-shadow: 0 1px 2px rgba(16,32,74,.1), 0 8px 18px -12px rgba(16,32,74,.4); transition: transform .35s var(--ease); }
.certs li:hover { transform: translateY(-6px) scale(1.6); position: relative; z-index: 2; }
.certs img { width: 100%; aspect-ratio: 110 / 158; object-fit: cover; }

/* 소식 배너 */
.news { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: 2.6fr 1fr; gap: 20px; }
.soft { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; padding: 34px; border-radius: 20px; background: linear-gradient(115deg, #2f63ff, #2149dc); color: #fff; }
.soft-txt b { display: block; font-size: clamp(21px, 2vw, 26px); font-weight: 750; line-height: 1.38; letter-spacing: -.04em; }
.soft-txt p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.65; }
.soft-vid { border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 16 / 9; }
.soft-vid video { width: 100%; height: 100%; object-fit: cover; }
.shop { position: relative; display: block; padding: 30px 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: border-color .25s; }
.shop:hover { border-color: #c9d5f5; }
.shop b { display: block; font-size: 20px; font-weight: 750; line-height: 1.4; letter-spacing: -.04em; }
.shop span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--sub); }
.shop img { position: absolute; right: -6px; bottom: -6px; width: 52%; mix-blend-mode: multiply; }
.shop .arw { left: 26px; right: auto; bottom: 26px; background: var(--ink); color: #fff; width: 34px; height: 34px; font-size: 15px; }

/* 견적 문의 */
.contact { background: var(--gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.c-info { margin-top: 30px; border-top: 2px solid var(--ink); }
.c-info div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.c-info dt { font-weight: 700; }
.c-info dd { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.c-info a:hover { color: var(--blue); }
.form { background: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; border: 1px solid var(--line); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.form input[type=date], .form input[type=tel], .form select { height: 52px; border: 1px solid #d5dbe5; border-radius: 10px; background: #fff; padding: 0 14px; font-size: 16px; font-weight: 500; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; color-scheme: light; transition: border-color .2s, box-shadow .2s; }
.form input::placeholder { color: var(--mute); }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f6878' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form input:focus, .form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,91,245,.14); }
fieldset { border: 0; }
legend { font-size: 14px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggles label { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid #d5dbe5; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.toggles input { position: absolute; opacity: 0; pointer-events: none; }
.toggles label:has(input:checked) { background: var(--blue-l); border-color: var(--blue); color: var(--blue); }
.toggles label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.form .agree { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--sub); }
.agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.agree a { margin-left: auto; font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { height: 56px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; transition: background .2s; }
.btn-submit:hover { background: var(--blue-d); }
.form-msg { font-size: 14px; color: var(--sub); min-height: 1.4em; text-align: center; }

/* 고객센터 띠 */
.center-bar { background: var(--blue-ll); border-top: 1px solid #e1e8fb; }
.center-in { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 26px 0; }
.cb-t { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 17px; }
.cb-t b { font-weight: 750; margin-right: 6px; }
.cb-t a { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cb-t .sl { color: #b9c6e8; font-size: 22px; }
.cb-s { font-size: 14.5px; color: var(--sub); }
.cb-btn { margin-left: auto; display: flex; gap: 8px; }
.cb-btn .pill { height: 42px; font-size: 14.5px; }
.cb-btn svg { font-size: 15px; }
.cb-btn .pill-blue svg { fill: #fff; stroke: none; }

/* 하단 */
.foot { background: #1b2130; color: #9aa3b4; padding: 44px 0 52px; font-size: 14px; }
.foot-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-top .brand { color: #fff; font-size: 18px; }
.foot-top .brand img { filter: brightness(0) invert(1); opacity: .9; }
.foot-top nav { display: flex; gap: 22px; flex-wrap: wrap; color: #c6cdd9; }
.foot-top nav b { color: #fff; font-weight: 650; }
.family { margin-left: auto; }
.family select { height: 40px; min-width: 220px; padding: 0 36px 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3b4' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; color: #c6cdd9; appearance: none; -webkit-appearance: none; font-size: 14px; }
.family option { color: var(--ink); }
.foot-info { margin-top: 24px; display: grid; gap: 4px; line-height: 1.7; }
.foot-info span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: rgba(255,255,255,.18); margin: 0 12px; vertical-align: -1px; }
.copy { margin-top: 12px; color: #6f788a; }

/* 오른쪽 아래 바로가기 */
.float { position: fixed; right: 24px; bottom: 28px; z-index: 50; display: grid; gap: 10px; justify-items: end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.float.show { opacity: 1; visibility: visible; transform: none; }
.fl-q { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 700; box-shadow: 0 12px 24px -12px rgba(42,91,245,.8); }
.fl-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 18px; box-shadow: 0 8px 18px -12px rgba(16,32,74,.35); }
.fl-top svg { transform: rotate(90deg); }
.m-cta { display: none; }

/* 나타나기 */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* 태블릿 */
@media (max-width: 1080px) {
  .menu, .nav-tel { display: none; }
  .burger { display: block; }
  .nav-r .pill { display: none; }
  .drawer { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 6px var(--gutter) 20px; border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); transition: clip-path .4s var(--ease); }
  .drawer a { padding: 14px 0; font-size: 17px; font-weight: 650; border-bottom: 1px solid var(--line); }
  .nav.open .drawer { clip-path: inset(0 0 0 0); }
  .quick { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .recent-grid { grid-template-columns: 1fr; }
  .wall { min-height: 220px; }
  .service-in { grid-template-columns: 1fr; }
  .service-head { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-box { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
/* 세로 화면: 3D는 위, 글은 아래 */
@media (max-width: 1000px) {
  .cl-grid { grid-template-columns: 1fr; gap: 0; }
  .cl-main { display: contents; }
  .names { margin-top: 24px; order: 1; }
  .peek { order: 0; margin-top: 28px !important; width: 100%; max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 10px; }
  .pk-ph { aspect-ratio: 1; }
  .peek figcaption { padding: 0; }
  .peek b { font-size: 16px; }
  .peek span { font-size: 13.5px; min-height: 0; }
  .peek a { margin-top: 8px; font-size: 13px; }
}
@media (max-aspect-ratio: 19/20) {
  .hero { height: auto; min-height: 640px; border-radius: 0 0 56px 0; }
  .hero-in { justify-content: flex-end; padding: 320px 0 92px; }
}

/* 휴대폰 */
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .pc { display: none; } .mo { display: inline; }
  .brand { font-size: 18px; } .brand img { width: 28px; }
  .hero { min-height: 620px; }
  .hero-in { padding: 300px 0 84px; }
  .slides { min-height: 236px; }
  .slide h1, .slide h2 { font-size: clamp(28px, 8.2vw, 34px); }
  .slide p { font-size: 15px; margin-top: 12px; }
  .slide .pill { margin-top: 22px; }
  .pg-bar { width: 70px; }
  .quick { margin-top: -48px; grid-template-columns: repeat(4, 1fr); padding: 20px 8px 16px; row-gap: 18px; border-radius: 16px; }
  .quick a { font-size: 12.5px; gap: 8px; letter-spacing: -.05em; }
  .ic { width: 50px; height: 50px; } .ic svg { font-size: 28px; }
  .sec-top { margin-bottom: 22px; }
  .side { display: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards li:nth-child(3) { display: none; }
  .cards .tx { padding: 12px 12px 14px; }
  .cards b { font-size: 14.5px; }
  .cards small, .cards time { font-size: 12px; }
  .svc { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-t { left: 14px; right: 14px; top: 14px; }
  .svc-t b { font-size: 15px; }
  .svc-t small { font-size: 12px; }
  .arw { width: 32px; height: 32px; right: 12px; bottom: 12px; font-size: 14px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { aspect-ratio: 1 / 1.12; border-radius: 14px; }
  .tile-txt { bottom: 12px; }
  .tile h3 { font-size: 15px; } .tile p { font-size: 12px; }
  .names { gap: 0 16px; font-size: clamp(17px, 4.9vw, 21px); }
  .facts div, .c-info div { grid-template-columns: 96px 1fr; font-size: 14.5px; }
  .hist li { grid-template-columns: 80px 1fr; }
  .hist b { font-size: 16px; } .hist p { font-size: 14.5px; }
  .cert-box { padding: 20px 16px; margin-top: 44px; }
  .certs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .certs li:hover { transform: none; }
  .soft { grid-template-columns: 1fr; padding: 24px 20px; }
  .shop { min-height: 190px; }
  .f2 { grid-template-columns: 1fr; }
  .cb-t a { font-size: 22px; }
  .cb-btn { margin-left: 0; width: 100%; }
  .cb-btn .pill { flex: 1; }
  .foot { padding-bottom: 110px; }
  .family { margin-left: 0; width: 100%; } .family select { width: 100%; }
  .foot-info span { display: block; }
  .foot-info span + span::before { content: none; }
  .float { display: none; }
  .m-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
  .m-cta.show { transform: none; }
  .mc-tel { width: 52px; height: 50px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); }
  .mc-tel svg { fill: var(--blue); stroke: none; font-size: 20px; }
  .mc-q { flex: 1; height: 50px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
