@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg: #050f1f;
  --navy: #0a1e3c;
  --navy-2: #0d2a52;
  --blue: #1a8cff;
  --cyan: #6fd6ff;
  --ink: #0b1a30;
  --text: #eef5ff;
  --muted: #9fb3cb;
  --line: #ffffff1f;
  --light: #f3f7fc;
  --kakao: #fee500;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } /* 아이폰 가로모드 글자 자동확대 방지 */
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Noto Sans KR', sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
a, button { -webkit-tap-highlight-color: transparent; } /* 안드로이드 터치 시 파란 박스 제거 */
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
em { font-style: normal; color: var(--cyan); }
h1, h2, h3 { letter-spacing: -.045em; }
svg { fill: currentColor; }

.tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .25em; color: var(--cyan); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.3; margin: 16px 0 14px; }
.sec-head p:not(.tag) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
section { position: relative; }

.blink { color: #ff4d4d; animation: blink 1.2s steps(2, start) infinite; }

/* ================= HEADER ================= */
.top {
  position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 40px; padding: 0 4.5%;
  transition: background .35s, border-color .35s, transform .35s;
  border-bottom: 1px solid transparent;
}
.top.scrolled { background: #050f1fe8; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.brand img { height: 48px; width: auto; }
.top nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 500; color: #d5e2f2; }
.top nav a { position: relative; padding: 6px 0; transition: color .2s; }
.top nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--cyan); transition: width .25s; }
.top nav a:hover, .top nav a.current { color: #fff; }
.top nav a:hover::after, .top nav a.current::after { width: 100%; }
.top-call { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 40px; background: linear-gradient(110deg, #137de8, #22b8ea); font-weight: 800; font-size: 15px; box-shadow: 0 6px 24px #007bdb55; }
.top-call i { font-style: normal; font-size: 10px; background: #ffffff30; padding: 3px 6px; border-radius: 10px; }
.menu { display: none; margin-left: auto; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: .3s; }
.menu span:nth-child(1) { top: 13px; } .menu span:nth-child(2) { top: 19px; } .menu span:nth-child(3) { top: 25px; }
.menu[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ================= 01 HERO ================= */
.hero { height: 330vh; background: #02070f; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-slides, .slide, .hero-dim { position: absolute; inset: 0; }
.slide { background: center/cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.slide.active, .slide.leaving { will-change: transform, opacity; }
.slide.active { opacity: 1; z-index: 2; }
.slide.leaving { opacity: 0; z-index: 1; }
.slide.active, .slide.leaving { animation: kenburns 4.8s linear forwards; }
.hero-dim { z-index: 3; background: radial-gradient(ellipse at center, #02070f66 0%, #02070fcc 75%), linear-gradient(0deg, #02070f 0%, transparent 30%); transition: background .8s; }
.hero[data-stage="2"] .hero-dim { background: linear-gradient(90deg, #02070fee 0%, #02070fbb 50%, #02070f99 100%); }

.hero-logo, .hero-message, .hero-contact, .hero-scroll, .hero-dots { position: absolute; z-index: 5; }
.hero-logo { inset: 0; display: grid; place-items: center; transition: opacity .8s, transform .9s var(--ease), filter .8s; }
.hero-logo img { width: min(560px, 78vw); filter: drop-shadow(0 6px 40px #0090ff66); animation: logoIn 1.6s var(--ease) both; }
.hero[data-stage="1"] .hero-logo, .hero[data-stage="2"] .hero-logo { opacity: 0; transform: scale(.9); filter: blur(8px); pointer-events: none; }

.hero-message {
  top: 50%; left: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 90vw;
  opacity: 0; transition: opacity .8s, left .9s var(--ease), transform .9s var(--ease);
}
.hero-message .eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--cyan); }
.hero-message h1 { margin: 22px 0 22px; font-size: clamp(42px, 6.4vw, 96px); line-height: 1.15; font-weight: 900; }
.hero-sub { margin: 0; font-size: clamp(17px, 1.7vw, 24px); color: #d2e1f3; font-weight: 500; }
.hero[data-stage="1"] .hero-message { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
.hero[data-stage="2"] .hero-message { opacity: 1; left: 8%; transform: translate(0, -50%); }

.hero-contact {
  top: 50%; right: 8%; width: min(420px, 38vw); transform: translate(60px, -50%); opacity: 0; pointer-events: none;
  display: grid; gap: 14px; transition: opacity .7s .15s, transform .9s .15s var(--ease);
}
.hero[data-stage="2"] .hero-contact { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.hc-item { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 16px; background: #ffffff12; border: 1px solid #ffffff2a; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .25s, background .25s, border-color .25s; }
.hc-item:hover { transform: translateX(-6px); background: #ffffff1f; border-color: #ffffff55; }
.hc-item > span:nth-child(2) { flex: 1; }
.hc-item small { display: block; font-size: 13px; color: #b9cbe0; }
.hc-item b { display: block; font-size: 21px; margin-top: 3px; letter-spacing: -.02em; }
.hc-item em { color: #fff; font-size: 18px; opacity: .7; }
.hc-ico { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.hc-ico svg { width: 26px; height: 26px; }
.hc-tel .hc-ico { background: linear-gradient(135deg, #137de8, #22b8ea); }
.hc-kakao .hc-ico { background: var(--kakao); color: #3a1d1d; }
.hc-sms .hc-ico { background: #2ecc8f; }

.hero-scroll { left: 50%; bottom: 34px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; color: #b5c8de; transition: opacity .5s; }
.hero-scroll i { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: scrollLine 1.8s ease-in-out infinite; transform-origin: top; }
.hero[data-stage="2"] .hero-scroll { opacity: 0; }
.hero-dots { right: 3%; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ffffff55; transition: .3s; }
.hero-dots i.on { height: 22px; border-radius: 4px; background: var(--cyan); }

/* ================= 02 ABOUT ================= */
.about { min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 140px 6%; }
.about-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-dim { position: absolute; inset: 0; background: linear-gradient(180deg, #02070f 0%, #050f1fcc 25%, #050f1fcc 75%, var(--bg) 100%); }
.about-inner { position: relative; text-align: center; max-width: 1100px; }
.about h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1.3; margin: 22px 0 26px; }
.about h2 em { display: inline-block; margin-top: 6px; }
.about-desc { color: #c4d4e7; font-size: 17px; line-height: 1.9; margin: 0 auto 60px; }
.about-cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-cats li { position: relative; padding: 30px 18px; border-radius: 16px; background: #ffffff0d; border: 1px solid #ffffff22; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-tap-highlight-color: transparent; animation: cardGlow 4.8s ease-in-out infinite; }

/* 박스 테두리 : 빛이 테두리를 따라 돌면서 나타났다 사라짐 (박스마다 시차) */
@property --ga { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.about-cats li::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ga), transparent 0deg 240deg, #2fb6f0 290deg, #ffffff 325deg, #6fd6ff 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: borderSpin 4.8s linear infinite, borderPulse 4.8s ease-in-out infinite;
}
.about-cats li:nth-child(2), .about-cats li:nth-child(2)::before { animation-delay: -1.2s; }
.about-cats li:nth-child(3), .about-cats li:nth-child(3)::before { animation-delay: -2.4s; }
.about-cats li:nth-child(4), .about-cats li:nth-child(4)::before { animation-delay: -3.6s; }

/* 마우스 올림 / 손가락 터치 : 살짝 떠오름 (등장 효과의 transform 과 겹치지 않도록 translate 사용) */
@media (hover: hover) {
  .about-cats li:hover { translate: 0 -8px; background: #ffffff1a; border-color: #6fd6ff88; }
}
.about-cats li.touched { translate: 0 -8px; background: #ffffff1a; border-color: #6fd6ff88; }

/* 회사소개 · 선택이유 : 진입 시 순서대로 페이드업 */
.about .reveal, .why .reveal { transform: translateY(56px); transition: opacity 1s ease var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.about .reveal.in, .why .reveal.in { transform: none; }
.about-cats li.reveal { transition: opacity 1s ease var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s), translate .35s var(--ease), background .35s, border-color .35s; }
.about .tag { --d: 0s; }      .about h2 { --d: .15s; }      .about-desc { --d: .3s; }
.about-cats li:nth-child(1) { --d: .45s; } .about-cats li:nth-child(2) { --d: .57s; }
.about-cats li:nth-child(3) { --d: .69s; } .about-cats li:nth-child(4) { --d: .81s; }
.why .tag { --d: 0s; }        .why h2 { --d: .15s; }        .why .scan { --d: .3s; }
.why-list li:nth-child(1) { --d: .3s; }  .why-list li:nth-child(2) { --d: .45s; }
.why-list li:nth-child(3) { --d: .6s; }  .why-list li:nth-child(4) { --d: .75s; }
.about-cats b { display: block; font-size: 22px; margin-bottom: 8px; }
.about-cats span { font-size: 14px; color: var(--muted); }
.about-cats span span { font-size: inherit; color: inherit; }
/* 모바일 전용 줄바꿈 / PC 전용 구분점 */
.m-br { display: none; }

/* ================= 03 SERVICES ================= */
.services { padding: 130px 5%; background: linear-gradient(180deg, #f4faff 0%, #e6f3fd 100%); color: var(--ink); }
.services .tag { color: #137fc4; }
.services .sec-head em { color: #0a7fd6; }
.services .sec-head p:not(.tag) { color: #5a6e86; }
.services .svc { box-shadow: 0 18px 40px #0b2a5226; }
.services .svc-body, .services .svc-label { color: #fff; }
.svc-panels { display: flex; gap: 12px; height: 620px; max-width: 1400px; margin: 0 auto; }
.svc { position: relative; flex: 1; min-width: 0; border-radius: 20px; overflow: hidden; cursor: pointer; transition: flex .8s var(--ease); outline: none; }
.svc.is-open { flex: 4.2; cursor: default; }
.svc:focus-visible { box-shadow: 0 0 0 3px var(--cyan); }
.svc-img, .svc-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.svc-video { opacity: 0; }
.svc.is-open .svc-video.ready { opacity: 1; }
.svc:not(.is-open):hover .svc-img { transform: scale(1.06); }
.svc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #02070ff2 0%, #02070f66 50%, #02070f33 100%); transition: background .6s; }
.svc:not(.is-open) .svc-shade { background: #02070fb3; }
.svc-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity .4s; }
.svc-label span { font-size: 13px; color: var(--cyan); font-weight: 700; }
.svc-label b { writing-mode: vertical-rl; font-size: 26px; letter-spacing: .15em; }
.svc.is-open .svc-label { opacity: 0; pointer-events: none; }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px; max-width: 640px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.svc.is-open .svc-body { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.svc-num { font-size: 12px; letter-spacing: .2em; color: var(--cyan); font-weight: 700; }
.svc-body h3 { font-size: clamp(30px, 3vw, 44px); margin: 12px 0 14px; }
.svc-body p { margin: 0; color: #d0dded; font-size: 16px; line-height: 1.8; }
.svc-body ul { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-body li { font-size: 13px; padding: 8px 14px; border-radius: 30px; background: #ffffff1a; border: 1px solid #ffffff2a; }
.btn-line { display: inline-block; padding: 13px 24px; border: 1px solid #ffffffaa; border-radius: 40px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.btn-line:hover { background: #fff; color: var(--ink); }

/* ================= 04 WHY (스캔) ================= */
.why { padding: 140px 6%; background: linear-gradient(180deg, var(--bg), var(--navy)); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6%; align-items: center; max-width: 1400px; margin: 0 auto; }
.why h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.3; margin: 18px 0 40px; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.why-list li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-list li > span { font-size: 15px; font-weight: 800; color: var(--cyan); padding-top: 3px; }
.why-list b { font-size: 21px; }
.why-list p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

.scan { position: relative; aspect-ratio: 4 / 3.2; border-radius: 22px; overflow: hidden; border: 1px solid #3c9cff55; box-shadow: 0 30px 80px #0008, inset 0 0 0 1px #ffffff10; }
.scan-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.35) contrast(1.1); }
.scan-reveal { position: absolute; inset: 0; background: center/cover; filter: saturate(1.4) brightness(1.15); animation: scanClip 4.5s ease-in-out infinite alternate; }
.scan-grid { position: absolute; inset: 0; background-image: linear-gradient(#6fd6ff14 1px, transparent 1px), linear-gradient(90deg, #6fd6ff14 1px, transparent 1px); background-size: 40px 40px; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; will-change: transform; animation: scanLine 4.5s ease-in-out infinite alternate; }
.scan-line::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #7fe3ff; box-shadow: 0 0 24px 8px #0a9dffaa; }
.scan-mark { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; background: #02070fcc; border: 1px solid #6fd6ff66; opacity: 0; animation: markPop 9s infinite; }
.scan-mark i { width: 10px; height: 10px; border-radius: 50%; background: #39e29a; box-shadow: 0 0 0 4px #39e29a33; }
.scan-mark.m1 { top: 22%; left: 12%; animation-delay: .6s; }
.scan-mark.m2 { top: 50%; right: 10%; animation-delay: 2s; }
.scan-mark.m2 i { background: #ffb02e; box-shadow: 0 0 0 4px #ffb02e33; }
.scan-mark.m3 { bottom: 16%; left: 28%; animation-delay: 3.4s; }
.scan-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 16px 20px; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: #b8e9ff; background: linear-gradient(#02070fcc, transparent); }
.scan-pct { font-variant-numeric: tabular-nums; }

/* ================= 05 CASES ================= */
.cases { padding: 140px 6%; background: var(--navy); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1300px; margin: 0 auto; }
.case { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: default; background: #02070f; color: #fff; font: inherit; text-align: left; }
.case video, .case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #02070fee 0%, transparent 55%); }
.case:hover video, .case:hover img { transform: scale(1.06); }
.case .case-cover { transition: transform 1s var(--ease), opacity .5s; }
.case.playing .case-cover { opacity: 0; } /* 영상 재생 중엔 표지 이미지 숨김 */
.case-cat { position: absolute; z-index: 2; top: 16px; left: 16px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 30px; background: var(--blue); }
.case-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.85); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #ffffff26; border: 1px solid #ffffff66; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 20px; opacity: 0; transition: .35s; }
.case:hover .case-play, .case:focus-visible .case-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.case-txt { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.case-txt b { display: block; font-size: 19px; }
.case-txt small { display: block; margin-top: 6px; font-size: 13px; color: #b9cbe0; }

/* ================= 06 REVIEWS ================= */
.reviews { padding: 140px 0; background: var(--light); color: var(--ink); overflow: hidden; }
.reviews .sec-head { padding: 0 6%; }
.reviews .tag { color: #137fc4; }
.reviews em { color: #0a7fd6; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 50s linear infinite; padding: 10px 0 20px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.review { width: 360px; flex: 0 0 auto; padding: 30px 28px; border-radius: 18px; background: #fff; box-shadow: 0 10px 34px #17324b14; display: flex; flex-direction: column; }
.review .stars { color: #ffb400; letter-spacing: 2px; }
.review p { flex: 1; margin: 16px 0 22px; font-size: 15px; line-height: 1.8; color: #34465c; }
.review footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #e5edf5; }
.review footer b { font-size: 15px; }
.review footer span { font-size: 12px; color: #7a8ca1; }

/* ================= 07 LIVE ================= */
.live { padding: 130px 6%; background: radial-gradient(ellipse at 20% 30%, var(--navy-2), var(--bg) 70%); }
.live-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6%; align-items: center; max-width: 1300px; margin: 0 auto; }
.live .tag b { margin-right: 4px; }
.live h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 16px 0 8px; }
.live-date { margin: 0 0 36px; color: var(--muted); font-size: 15px; }
.live-total { padding: 28px 30px; border-radius: 18px; background: linear-gradient(120deg, #137de8, #22b8ea); box-shadow: 0 20px 50px #007bdb44; }
.live-total span { font-size: 15px; font-weight: 500; opacity: .9; }
.live-total strong { display: block; margin-top: 6px; font-size: 22px; }
.live-total strong b { font-size: clamp(44px, 5vw, 64px); font-weight: 900; letter-spacing: -.03em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.live-today { margin-top: 18px; color: #c4d4e7; font-size: 15px; }
.live-today b { color: var(--cyan); font-size: 20px; }
.live-right { border-radius: 18px; background: #ffffff0a; border: 1px solid var(--line); overflow: hidden; }
.live-head, .live-list li { display: grid; grid-template-columns: .8fr 1.3fr .7fr 1.1fr .9fr; align-items: center; gap: 10px; padding: 0 24px; }
.live-head { height: 52px; font-size: 13px; font-weight: 700; color: var(--muted); background: #ffffff0d; border-bottom: 1px solid var(--line); }
.live-window { height: 400px; overflow: hidden; position: relative; }
.live-list { list-style: none; margin: 0; padding: 0; }
.live-list li { height: 58px; border-bottom: 1px solid #ffffff10; font-size: 15px; animation: rowIn .6s var(--ease); }
.live-list .cat { font-weight: 700; }
.live-list .time { color: var(--muted); font-variant-numeric: tabular-nums; }
.st { justify-self: start; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 30px; }
.st-done { background: #39e29a22; color: #5ff0ae; }
.st-go { background: #ffb02e22; color: #ffc65c; }
.st-work { background: #1a8cff33; color: #8fd0ff; }

/* ================= 08 PROCESS ================= */
.process { padding: 140px 6%; background: var(--light); color: var(--ink); }
.process .tag { color: #137fc4; }
.process em { color: #0a7fd6; }
.proc-wrap { position: relative; max-width: 1240px; margin: 0 auto; }
.proc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.proc li { position: relative; text-align: center; padding: 0 18px; }

/* 흐름 선 + 이동하는 점 (위치·길이는 JS가 아이콘 중심 기준으로 계산) */
.proc-track { position: absolute; z-index: 0; --p: 0; --o: 1; border-radius: 4px; background: repeating-linear-gradient(90deg, #b9d6f0 0 8px, transparent 8px 16px); height: 3px; }
.proc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p)); border-radius: inherit; opacity: var(--o); background: linear-gradient(90deg, #137de8, #2fb6f0); box-shadow: 0 0 10px #2fb6f088; }
.proc-dot { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%; will-change: transform; transform: translate(-50%, -50%) translateX(calc(var(--p) * var(--len, 0px))); opacity: var(--o); background: #fff; box-shadow: 0 0 0 4px #6fd6ff66, 0 0 18px 6px #2fb6f0aa, 0 0 40px 14px #6fd6ff55; }
.proc-dot::before { content: ''; position: absolute; right: 50%; top: 50%; width: 150px; height: 8px; transform: translateY(-50%); border-radius: 8px; background: linear-gradient(90deg, transparent, #6fd6ffcc); filter: blur(3px); }
.proc-wrap.vertical .proc-track { background: repeating-linear-gradient(180deg, #b9d6f0 0 8px, transparent 8px 16px); height: auto; width: 3px; }
.proc-wrap.vertical .proc-fill { width: auto; right: 0; bottom: 0; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p)); background: linear-gradient(180deg, #137de8, #2fb6f0); }
.proc-wrap.vertical .proc-dot { left: 50%; top: 0; transform: translate(-50%, -50%) translateY(calc(var(--p) * var(--len, 0px))); }
.proc-wrap.vertical .proc-dot::before { right: auto; left: 50%; top: auto; bottom: 50%; width: 8px; height: 120px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, #6fd6ffcc); }

.proc-ico { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #137de8; box-shadow: 0 12px 30px #137de826; position: relative; transition: transform .4s var(--ease), background .5s, color .5s, box-shadow .5s; }
.proc-ico svg { width: 38px; height: 38px; position: relative; }
.proc-num { position: absolute; top: -2px; right: -4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: #0b1a30; border: 3px solid var(--light); transition: background .5s; }
.proc-ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2fb6f0; opacity: 0; }
.proc li.reached .proc-ico { background: linear-gradient(135deg, #137de8, #22b8ea); color: #fff; box-shadow: 0 14px 34px #137de855; }
.proc li.reached .proc-num { background: #ff9f1a; }
.proc li.current .proc-ico { transform: scale(1.1); }
.proc li.current .proc-ico::after { animation: ripple 1.2s ease-out infinite; }
.proc li b, .proc li p { transition: color .5s; }
.proc li:not(.reached) b { color: #6b7d92; }
.proc span { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #137fc4; }
.proc b { display: block; font-size: 22px; margin: 8px 0 10px; }
.proc p { margin: 0; color: #5a6e86; font-size: 14px; line-height: 1.75; }

/* ================= 09 PRICE ================= */
.price { padding: 140px 6%; background: #fff; color: var(--ink); }
.price .tag { color: #137fc4; }
.price em { color: #0a7fd6; }
.price .sec-head p:not(.tag) { color: #5a6e86; }
/* 가격표 : 2열, 순서대로 등장 → 세부 항목 천천히 펼침 */
.pt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: start; max-width: 1080px; margin: 0 auto; }
.pt-wide { grid-column: 1 / -1; }
.pt-item { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease); }
.pt-item.shown { opacity: 1; transform: none; }
.pt-head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 22px 14px 16px; border-radius: 14px; border: 1px solid #cfe0f1; background: #fff; box-shadow: 0 6px 18px #17324b0d; font: inherit; color: var(--ink); text-align: left; transition: border-color .3s, box-shadow .3s; }
button.pt-head { cursor: pointer; }
button.pt-head:hover { border-color: #7fb8ea; box-shadow: 0 10px 26px #137de81f; }
.pt-item.open .pt-head { border-color: #6aaee8; }
.pt-ico { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #eef6ff, #dcebfb); color: #1468c8; transition: background .4s, color .4s; }
.pt-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-ico svg .ac { stroke: #22b8ea; }
.pt-item.open .pt-ico, .pt-item:not(.has-sub) .pt-head:hover .pt-ico { background: linear-gradient(135deg, #137de8, #22b8ea); color: #fff; }
.pt-item.open .pt-ico svg .ac, .pt-item:not(.has-sub) .pt-head:hover .pt-ico svg .ac { stroke: #d6f3ff; }
.pt-name { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.chev { width: 8px; height: 8px; border-right: 2px solid #1468c8; border-bottom: 2px solid #1468c8; transform: translateY(-2px) rotate(45deg); transition: transform .4s; }
.pt-item.open .chev { transform: translateY(2px) rotate(-135deg); }
.pt-price { flex: 0 0 auto; min-width: 140px; padding-left: 22px; border-left: 1px solid #dbe6f1; text-align: right; color: #0b3f8a; white-space: nowrap; }
.pt-price b { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.pt-price small { font-size: 12px; font-weight: 700; color: #3a5576; margin: 0 2px; }
.pt-price em { color: #3a5576; font-size: 15px; margin: 0 2px; }
.pt-price b.ask, .pt-sub b.ask { font-size: 19px; color: #0a6fc2; }
.pt-sub { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 1.1s var(--ease), opacity .8s ease, margin .6s; }
.pt-item.open .pt-sub { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
.pt-sub > div { overflow: hidden; }
.pt-sub ul { list-style: none; margin: 0; padding: 6px 22px; border-radius: 14px; background: #eef5fd; border: 1px solid #d8e7f6; }
.pt-sub li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0 13px 18px; position: relative; font-size: 15px; color: #33496a; opacity: 0; transform: translateX(-10px); transition: opacity .6s, transform .6s var(--ease); }
.pt-sub li + li { border-top: 1px dashed #c6d9ee; }
.pt-sub li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #1a8cff; }
.pt-sub li b { font-size: 18px; font-weight: 800; color: #0b3f8a; white-space: nowrap; }
.pt-item.open .pt-sub li { opacity: 1; transform: none; }
.pt-item.open .pt-sub li:nth-child(1) { transition-delay: .35s; }
.pt-item.open .pt-sub li:nth-child(2) { transition-delay: .55s; }
.price-note { text-align: center; margin: 36px 0 0; color: #7a8ca1; font-size: 13px; }

/* ================= 10 FAQ ================= */
.faq { padding: 140px 6%; background: var(--light); color: var(--ink); }
.faq .tag { color: #137fc4; }
.faq em { color: #0a7fd6; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 6%; max-width: 1240px; margin: 0 auto; align-items: start; }
.faq .sec-head { text-align: left; margin: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.faq .sec-head p:not(.tag) { color: #5a6e86; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid #dbe6f1; overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 12px 30px #17324b14; border-color: #8cc4f2; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-size: 17px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; color: #137de8; font-weight: 900; margin-right: 12px; }
.faq summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: #137de8; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 26px 24px 52px; color: #4a5d74; line-height: 1.8; font-size: 15px; }

/* ================= 11 CONTACT ================= */
.contact { padding: 150px 6%; overflow: hidden; text-align: center; }
.contact-bg { position: absolute; inset: 0; background: center/cover; filter: brightness(.35); transform: scale(1.05); }
.contact::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, #0a2a5299 0%, #050f1fee 75%); }
.contact-inner { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.contact h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.25; margin: 18px 0 18px; }
.contact-desc { color: #c4d4e7; font-size: 17px; margin: 0 0 56px; }
.contact-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cbtn { display: grid; justify-items: center; gap: 6px; padding: 40px 20px; border-radius: 20px; transition: transform .25s, box-shadow .25s; }
.cbtn:hover { transform: translateY(-6px); }
.cbtn svg { width: 40px; height: 40px; margin-bottom: 10px; }
.cbtn small { font-size: 14px; opacity: .85; }
.cbtn b { font-size: 24px; letter-spacing: -.02em; }
.cbtn-tel { background: linear-gradient(135deg, #137de8, #22b8ea); box-shadow: 0 18px 44px #007bdb55; }
.cbtn-kakao { background: var(--kakao); color: #3a1d1d; box-shadow: 0 18px 44px #fee50033; }
.cbtn-sms { background: linear-gradient(135deg, #22b97e, #2ecc8f); color: #fff; box-shadow: 0 18px 44px #2ecc8f44; }

/* ================= FOOTER ================= */
.footer { background: #02070f; color: #8195ad; padding: 60px 6% 90px; font-size: 14px; }
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-logo { height: 64px; width: auto; margin-bottom: 26px; }
.biz { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 26px; }
.biz div { display: flex; gap: 10px; }
.biz dt { color: #5d7088; }
.biz dd { margin: 0; color: #c6d4e4; }
.biz a:hover { color: var(--cyan); }
.footer small { color: #4f6178; font-size: 12px; }

/* ================= FLOAT ================= */
.float { position: fixed; z-index: 90; right: 22px; bottom: 22px; bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px)); display: grid; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s; }
.float.show { opacity: 1; transform: none; pointer-events: auto; }
.float a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 28px #0006; transition: transform .2s; }
.float a:hover { transform: scale(1.08); }
.float svg { width: 26px; height: 26px; }
.f-kakao { background: var(--kakao); color: #3a1d1d; }
.f-tel { background: linear-gradient(135deg, #137de8, #22b8ea); }
.f-sms { background: #2ecc8f; color: #fff; }

/* ================= MODAL ================= */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: #000000d0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1000px, 100%); }
.modal-media video, .modal-media img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 14px; background: #000; }
.modal-box p { text-align: center; font-size: 17px; font-weight: 700; margin: 16px 0 0; }
.modal-close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ffffff55; background: none; color: #fff; font-size: 18px; cursor: pointer; }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
:is(.case-grid, .proc, .contact-btns) > .reveal:nth-child(2) { transition-delay: .1s; }
:is(.case-grid, .proc, .contact-btns) > .reveal:nth-child(3) { transition-delay: .2s; }
:is(.case-grid, .proc, .contact-btns) > .reveal:nth-child(4) { transition-delay: .3s; }

/* ================= KEYFRAMES ================= */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes logoIn { from { opacity: 0; transform: scale(.92); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes scanClip { from { clip-path: inset(0 0 82% 0); } to { clip-path: inset(82% 0 0 0); } }
@keyframes scanLine { from { transform: translateY(18%); } to { transform: translateY(calc(100% - 3px)); } }
@keyframes markPop { 0%, 8% { opacity: 0; transform: translateY(6px); } 14%, 60% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px); background: #1a8cff22; } to { opacity: 1; transform: none; background: transparent; } }
@keyframes blink { to { visibility: hidden; } }
@keyframes borderSpin { to { --ga: 360deg; } }
@keyframes borderPulse { 0%, 100% { opacity: 0; } 35%, 65% { opacity: 1; } }
@keyframes cardGlow { 0%, 100% { box-shadow: 0 0 0 0 #2fb6f000; } 50% { box-shadow: 0 0 26px 0 #2fb6f040, inset 0 0 18px #6fd6ff14; } }
@keyframes ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.55); } }
@keyframes fade { from { opacity: 0; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .top nav { gap: 20px; font-size: 13px; }
}
@media (max-width: 1024px) {
  .top-call { display: none; }
  .top nav { display: none; }
  .menu { display: block; }
  .top nav.mobile-open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 6% 20px; background: #050f1ff5; border-bottom: 1px solid var(--line); font-size: 16px; }
  .top nav.mobile-open a { padding: 14px 0; border-bottom: 1px solid #ffffff10; }
  .why-grid, .live-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .faq .sec-head { position: static; text-align: center; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  /* hero : 메시지 위, 상담 버튼 아래 */
  .hero[data-stage="2"] .hero-message { left: 7%; top: 30%; transform: translate(0, -50%); }
  .hero-contact { top: auto; bottom: 8%; left: 7%; right: 7%; width: auto; transform: translateY(40px); }
  .hero[data-stage="2"] .hero-contact { transform: none; }
  .hero[data-stage="2"] .hero-dim { background: #02070fcc; }
  .hc-item { padding: 14px 16px; }
  .hc-ico { flex-basis: 44px; height: 44px; }
  .hc-item b { font-size: 18px; }
  .hero-dots { display: none; }
  .about { padding: 110px 6%; }
  .about-desc { font-size: 15px; }
  .about-desc br { display: none; }
  .about-cats { grid-template-columns: repeat(2, 1fr); }
  .m-br { display: inline; }
  .pc-only { display: none; }
  .services, .why, .cases, .process, .price, .faq, .live { padding: 100px 6%; }
  .reviews { padding: 100px 0; }
  /* 서비스 : 화면 꽉 찬 띠 형태, 터치하면 펼침 + 영상 */
  .services { padding-left: 0; padding-right: 0; overflow: hidden; }
  .services .sec-head { padding: 0 6%; margin-bottom: 36px; }
  .services .sec-head p:not(.tag) { display: none; }
  .svc-panels { flex-direction: column; height: auto; gap: 0; }
  .services .svc { flex: none; height: 190px; border-radius: 0; box-shadow: none; cursor: pointer; transition: height .7s var(--ease); -webkit-tap-highlight-color: transparent; }
  .services .svc + .svc { border-top: 1px solid #ffffff30; }
  .services .svc.is-open { height: 460px; }
  .svc-label { display: none; }
  .svc:not(.is-open) .svc-shade { background: linear-gradient(90deg, #02070fcc 0%, #02070f66 100%); }
  .svc:not(.is-open):hover .svc-img { transform: none; }
  .svc-body { opacity: 1; transform: none; pointer-events: auto; padding: 0 6% 26px; max-width: none; transition: none; }
  .svc.is-open .svc-body { transition-delay: 0s; }
  .svc-num { font-size: 12px; letter-spacing: .12em; }
  .svc-body h3 { font-size: 27px; margin: 8px 0 0; }
  .svc-body p, .svc-body ul, .svc-body .btn-line { max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
  .svc.is-open .svc-body p { max-height: 120px; opacity: 1; margin-top: 14px; transition-delay: .15s; }
  .svc.is-open .svc-body ul { max-height: 140px; opacity: 1; margin: 16px 0 20px; transition-delay: .25s; }
  .svc.is-open .svc-body .btn-line { max-height: 60px; opacity: 1; padding: 11px 20px; transition-delay: .35s; }
  .svc-body .btn-line { padding: 0 20px; }
  .svc-body p { font-size: 15px; line-height: 1.7; }
  .svc-body li { font-size: 12px; padding: 6px 11px; }
  /* 펼쳐진 항목에 "터치하면 영상 재생" 안내 */
  .svc.is-open:not(.playing)::after { content: '▶ 터치하면 영상 재생'; position: absolute; top: 16px; right: 16px; padding: 7px 12px; border-radius: 30px; font-size: 12px; font-weight: 700; color: #fff; background: #02070f99; border: 1px solid #ffffff55; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .case-grid { grid-template-columns: 1fr; }
  .case-play { opacity: 1; transform: translate(-50%, -50%); }
  .review { width: 290px; }
  /* 실시간 현황 : 모바일에서도 날짜 칸까지 5칸 모두 표시 */
  .live-head, .live-list li { grid-template-columns: .75fr 1.2fr .6fr 1.15fr .95fr; gap: 6px; padding: 0 12px; font-size: 12.5px; }
  .live-list .time { font-size: 11.5px; letter-spacing: -.02em; }
  .st { font-size: 11px; padding: 4px 7px; }
  .live-window { height: 348px; }
  /* 진행단계 : 세로 흐름 */
  .proc { grid-template-columns: 1fr; row-gap: 40px; }
  .proc li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .proc-ico { grid-row: span 3; width: 72px; height: 72px; margin: 0; }
  .proc-ico svg { width: 30px; height: 30px; }
  .proc li b { margin: 4px 0 6px; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-head { gap: 12px; padding: 12px 14px 12px 12px; }
  .pt-ico { flex-basis: 44px; height: 44px; }
  .pt-ico svg { width: 26px; height: 26px; }
  .pt-name { font-size: 15px; }
  .pt-price { min-width: 0; padding-left: 12px; }
  .pt-price b { font-size: 19px; }
  .pt-price b.ask { font-size: 15px; }
  .pt-sub ul { padding: 4px 16px; }
  .pt-sub li { font-size: 14px; }
  .pt-sub li b { font-size: 16px; }
  .contact { padding: 110px 6%; }
  .contact-btns { grid-template-columns: 1fr; }
  .cbtn { padding: 28px 20px; }
  .biz { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-message h1 { font-size: 40px; }
  .about-cats li { padding: 22px 12px; }
  .about-cats b { font-size: 18px; }
  .float a { width: 52px; height: 52px; }
}
/* prefers-reduced-motion 대응은 제거함 : 갤럭시 '애니메이션 제거'·절전 모드에서도 켜져
   후기가 세로로 쌓이고 슬라이드·영상이 멈추는 문제가 있어 모든 기기에서 동일하게 동작시킴 */

/* ================= 모바일 호환성 보정 ================= */
/* 터치 기기 : 탭한 뒤 hover 효과(확대·이동)가 남아있는 현상 방지 */
@media (hover: none) {
  .case:hover video, .case:hover img { transform: none; }
  .cbtn:hover, .hc-item:hover, .float a:hover, .service-card:hover { transform: none; }
}
/* 세로가 짧은 휴대폰(아이폰 SE, 주소창 펼친 상태 등) : 히어로 문구와 상담 버튼 겹침 방지 */
@media (max-width: 800px) and (max-height: 720px) {
  .hero-message h1 { font-size: 34px; margin: 14px 0; }
  .hero-sub { font-size: 15px; }
  .hero[data-stage="2"] .hero-message { top: 27%; }
  .hero-contact { gap: 8px; bottom: 5%; }
  .hc-item { padding: 10px 14px; gap: 12px; }
  .hc-ico { flex-basis: 38px; height: 38px; border-radius: 10px; }
  .hc-ico svg { width: 20px; height: 20px; }
  .hc-item small { font-size: 11px; }
  .hc-item b { font-size: 16px; }
}

/* ================= 모바일 첫 화면 : 로고 + 문구 + 상담 박스를 한 번에 ================= */
@media (max-width: 800px) {
  .hero { height: auto; }
  .hero .hero-sticky {
    position: relative; height: auto; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center; gap: 22px;
    padding: calc(var(--header-h) + 28px) 6% 36px;
  }
  .hero .hero-dim { background: linear-gradient(180deg, #02070fb3 0%, #02070fcc 55%, #02070f 100%); }
  .hero .hero-logo, .hero .hero-message, .hero .hero-contact {
    position: relative; inset: auto; top: auto; right: auto; bottom: auto; left: auto;
    width: auto; max-width: none; transform: none; filter: none; opacity: 1; pointer-events: auto;
  }
  .hero .hero-logo { display: block; }
  .hero .hero-logo img { width: min(280px, 66vw); margin: 0 auto; animation: none; }
  .hero .hero-message { text-align: center; }
  .hero .hero-message h1 { font-size: clamp(32px, 9.5vw, 42px); margin: 12px 0 10px; }
  .hero .hero-sub { font-size: 15px; }
  .hero .hero-contact { display: grid; gap: 9px; }
  .hero .hc-item { padding: 12px 16px; gap: 14px; }
  .hero .hc-ico { flex-basis: 42px; height: 42px; border-radius: 12px; }
  .hero .hc-ico svg { width: 22px; height: 22px; }
  .hero .hc-item small { font-size: 12px; }
  .hero .hc-item b { font-size: 17px; }
  .hero-scroll, .hero-dots { display: none; }

  /* 후루룩 : 로고 → 문구 → 상담 박스 순서로 빠르게 떠오름 */
  .hero .hero-logo { animation: heroUp .7s var(--ease) .1s both; }
  .hero .hero-message { animation: heroUp .7s var(--ease) .35s both; }
  .hero .hc-item { animation: heroUp .6s var(--ease) both; }
  .hero .hc-item:nth-child(1) { animation-delay: .6s; }
  .hero .hc-item:nth-child(2) { animation-delay: .72s; }
  .hero .hc-item:nth-child(3) { animation-delay: .84s; }

  /* 플로팅 전화 버튼 : 테두리에서 빛 고리가 파장처럼 계속 퍼져 나감 */
  .f-tel { position: relative; box-shadow: 0 10px 28px #0006, 0 0 0 2px #9fe6ffcc, 0 0 16px 2px #22b8ea99; }
  .f-tel::before, .f-tel::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    border: 2px solid #7fe0ff; box-shadow: 0 0 12px #22b8eaaa;
    animation: telWave 2s ease-out infinite;
  }
  .f-tel::after { animation-delay: 1s; }
}
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes telWave { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }

/* ===== 모바일 전용 하단 전화 상담 바 ===== */
.m-callbar { display: none; }
@media (max-width: 800px) {
  .m-callbar {
    display: block; position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
    padding: 2px; overflow: hidden; background: #0b2a55;
    transform: translateY(110%); transition: transform .45s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .m-callbar.show { transform: none; }
  /* 테두리를 따라 도는 하이라이트 빛 */
  .m-callbar::before {
    content: ''; position: absolute; left: 50%; top: 50%; width: 110vw; height: 110vw;
    margin: -55vw 0 0 -55vw; pointer-events: none; will-change: transform;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 290deg, #22b8ea 325deg, #ffffff 345deg, #9fe6ff 352deg, transparent 360deg);
    animation: mcbSpin 3s linear infinite; animation-play-state: paused;
  }
  .m-callbar.show::before { animation-play-state: running; }
  .mcb-inner {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 58px; box-sizing: content-box; padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(135deg, #0a1e3c, #10356a); color: #fff;
  }
  .m-callbar svg { width: 22px; height: 22px; fill: #7fe0ff; animation: mcbRing 1.6s ease-in-out infinite; }
  .m-callbar b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
  .mcb-num { font-size: 15px; font-weight: 600; color: #9fe6ff; }
  .m-callbar:active .mcb-inner { background: linear-gradient(135deg, #0d2a52, #154a8f); }
  /* 바가 보일 때 플로팅 버튼·푸터가 가려지지 않도록 */
  .float { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@keyframes mcbSpin { to { transform: rotate(360deg); } }
@keyframes mcbRing { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }

/* ================= 성능 보정 (저사양 안드로이드 / 아이폰 / 절전 모드) ================= */
/* 화면 밖에 있는 섹션의 반복 애니메이션은 멈춤 (JS가 .anim-off 부여) */
.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
@media (max-width: 800px) {
  /* 흐림 효과(backdrop-filter)는 스크롤마다 화면 전체를 다시 그려 버벅임의 주원인 → 불투명 배경으로 대체 */
  .top.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #050f1ff7; }
  .hc-item { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0d1d33e0; }
  .about-cats li { -webkit-backdrop-filter: none; backdrop-filter: none; background: #ffffff12; }
  .case-play, .svc.is-open:not(.playing)::after { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* 박스 바깥 빛 번짐(box-shadow 애니메이션)은 매 프레임 다시 그림 → 테두리 회전 빛만 유지 */
  .about-cats li { animation: none; }
  /* 오른쪽 하단 전화 버튼 파장 : 1겹만 */
  .f-tel::after { display: none; }
}
