/* selftile.megabondworld.com — 메가본드 셀프타일시공
   레이아웃 구성: aniintro.com 레퍼런스(투명 오버레이 GNB / 풀블리드 히어로 / 탭 / 중앙 정렬 섹션 / 블루 슬라이더 / 블루 푸터 / 우하단 플로팅)
   컬러: 팬톤 2728C #0047BB (메인) · 팬톤 123C #FFC72C (포인트) · 흰색 · 검정 */
:root {
  --blue: #0047BB;
  --blue-d: #00348a;
  --blue-l: #eef3fc;
  --yellow: #FFC72C;
  --yellow-d: #e9b000;
  --ink: #111111;
  --gray-7: #3b4252;
  --gray-5: #6b7385;
  --line: #dde3ef;
  --bg: #ffffff;
  --gutter: clamp(18px, 4vw, 40px);
  --maxw: 1200px;
  --textw: 880px;
  --hd-h: 88px;
  --radius: 22px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.8; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
.ico { width: 22px; height: 22px; flex: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--textw) + var(--gutter) * 2); }

/* ───────── GNB: 양쪽 끝까지 꽉 차게 ───────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hd-h); background: linear-gradient(180deg, rgba(0, 20, 70, .62), rgba(0, 20, 70, 0)); transition: height .3s ease, background-color .3s ease, box-shadow .3s ease; }
.site-header.is-solid { height: 68px; background: var(--blue); box-shadow: 0 6px 24px rgba(0, 30, 90, .25); }
.hd-inner { height: 100%; width: 100%; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(16px, 2.6vw, 44px); }
.hd-logo img { height: 58px; width: auto; transition: height .3s ease; }
.is-solid .hd-logo img { height: 46px; }
.hd-cta { background: var(--yellow); color: var(--ink); font-size: 16px; font-weight: 800; padding: 11px 28px; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.hd-cta:hover { background: #ffd65c; transform: translateY(-2px); }


/* ───────── 공통 타이포 ───────── */
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.eyebrow-y { color: var(--yellow); }
.sec-title { text-align: center; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.4; color: var(--blue); letter-spacing: -.02em; }
.sec-title::after { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 20px auto 0; }
.sec-lead { text-align: center; color: var(--gray-7); font-size: clamp(16px, 1.5vw, 19px); max-width: 740px; margin: 22px auto 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 800; font-size: 17px; border: 2px solid transparent; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-y { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 28px rgba(255, 199, 44, .35); }
.btn-y:hover { background: #ffd65c; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }
.btn-line-d { border-color: var(--blue); color: var(--blue); }

/* ───────── 히어로 ───────── */
.hero { position: relative; background: var(--blue); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 25, 80, .4) 0%, rgba(0, 10, 40, .12) 32%, rgba(0, 15, 50, .72) 100%); }
.hero--home { height: clamp(620px, 64vw, 940px); }
.hero--sub { height: clamp(520px, 46vw, 660px); }
.hero-card { position: absolute; left: 50%; bottom: clamp(28px, 4vw, 64px); transform: translateX(-50%); width: min(940px, calc(100% - var(--gutter) * 2)); padding: clamp(12px, 2vw, 24px) clamp(8px, 2vw, 24px); text-align: center; }
.hero-card h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; color: #fff; text-shadow: 0 2px 22px rgba(0, 10, 40, .55); }
.hero-card h1::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--yellow); margin: 18px auto 20px; }
.hero-card .answer { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .95); text-align: center; text-shadow: 0 1px 14px rgba(0, 10, 40, .6); max-width: 760px; margin-inline: auto; }
.hero-card .answer strong { display: block; font-size: clamp(20px, 2.1vw, 28px); font-weight: 800; line-height: 1.45; letter-spacing: -.02em; color: #fff; margin-bottom: 8px; }
.hero-card .answer span { font-weight: 600; }
[data-rise].hero-card { transform: translateX(-50%) translateY(24px); }
[data-rise].hero-card.is-in { transform: translateX(-50%); }

/* ───────── 서브 탭 ───────── */
.tabs { background: #fff; border-bottom: 1px solid var(--line); }
.tabs-in { max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.tabs a { text-align: center; padding: 20px 8px; font-size: 16px; font-weight: 700; color: var(--gray-7); transition: background .25s, color .25s; }
.tabs a:hover { background: var(--blue-l); color: var(--blue); }
.tabs a.on { background: var(--blue); color: #fff; }

/* ───────── 사진 중심 단락 (상단 1~3번째 단락) ───────── */
.photo-band, .photo-duo { padding-block: clamp(72px, 9vw, 140px) 0; }
.band-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 4.5vw, 60px); }
.band-img, .duo-img { display: block; overflow: hidden; border-radius: var(--radius); background: #f1f4fa; }
.band-img { aspect-ratio: 3 / 4; }
.band-img img, .duo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.band-item:hover img, .duo-item:hover img { transform: scale(1.05); }
.duo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 4.5vw, 60px); }
.duo-img { aspect-ratio: 4 / 3; }
figure > figcaption, .band-item figcaption, .duo-item figcaption { text-align: center; font-size: 15px; color: var(--gray-5); margin-top: 14px; line-height: 1.5; }
.photo-duo--round .duo-img { border-radius: 34px; }

/* ───────── 메인: 배너 슬라이더 ───────── */
.hslider { padding-block: clamp(72px, 9vw, 140px) 0; }
.hs-viewport { position: relative; margin-top: clamp(36px, 4.5vw, 60px); }
.hs-track, .work-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-track::-webkit-scrollbar, .work-track::-webkit-scrollbar, .band-row::-webkit-scrollbar { display: none; }
.hs-track { gap: clamp(14px, 2vw, 26px); padding-inline: max(var(--gutter), calc((100% - 980px) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - 980px) / 2)); }
.hs-slide { position: relative; flex: 0 0 min(980px, calc(100% - var(--gutter) * 2)); scroll-snap-align: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 30px; background: #f1f4fa; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; }
.hs-slide figcaption { position: absolute; inset: auto 0 0 0; text-align: left; margin: 0; padding: 80px clamp(20px, 3vw, 44px) clamp(20px, 2.8vw, 40px); background: linear-gradient(180deg, rgba(0, 20, 70, 0), rgba(0, 20, 70, .78)); color: #fff; }
.hs-slide figcaption em { display: block; font-style: normal; font-weight: 800; letter-spacing: .12em; color: var(--yellow); font-size: 14px; margin-bottom: 6px; }
.hs-slide figcaption strong { font-size: clamp(22px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--blue); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: background .2s, transform .2s; }
.sl-btn:hover { background: var(--yellow); color: var(--ink); }
.sl-prev { left: clamp(10px, 2vw, 30px); } .sl-next { right: clamp(10px, 2vw, 30px); }
.sl-btn--ghost { position: static; transform: none; background: transparent; border: 2px solid rgba(255, 255, 255, .6); color: #fff; box-shadow: none; }
.sl-btn--ghost:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ───────── 슬로건 / 리드 / 수치 ───────── */
.quote { text-align: center; padding-block: clamp(90px, 12vw, 190px) clamp(40px, 5vw, 80px); }
.quote p { color: var(--blue); font-size: clamp(24px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; }
.lead-stats { padding-block: clamp(30px, 4vw, 60px) clamp(80px, 10vw, 150px); }
.lead-line { color: var(--blue); font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.75; }
.lead-line--sub { margin-top: 14px; font-size: clamp(16px, 1.7vw, 21px); color: var(--blue-d); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-label { color: var(--blue); font-weight: 700; font-size: 15px; }
.stat-num { color: var(--blue); display: flex; align-items: baseline; line-height: 1.1; }
.stat-num b { font-size: clamp(60px, 9vw, 110px); font-weight: 800; letter-spacing: -.04em; }
.stat-num small { font-size: clamp(24px, 3vw, 40px); font-weight: 800; margin-left: 4px; }
.stat-num i { font-style: normal; color: var(--yellow); font-size: clamp(30px, 4vw, 52px); font-weight: 800; margin-left: 4px; }

/* ───────── 본문 블록 ───────── */
.blk { padding-block: clamp(56px, 7vw, 108px); }
.blk--alt { background: #f5f8fe; }
.prose { margin-top: clamp(26px, 3.4vw, 44px); }
.prose > p { margin-bottom: 1.15em; color: #1c212b; }
.prose > .bullets:first-child { margin-top: 0; }
.prose a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bullets { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.bullets li { position: relative; padding-left: 26px; line-height: 1.75; font-size: 16.5px; color: #1c212b; }
.bullets li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(0, 71, 187, .14); }
.bullets strong { color: var(--blue); font-weight: 800; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; line-height: 1.65; font-size: 16.5px; }
.blk--alt .checks li { border-color: #d5dff2; }
.checks .ico { color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.checks strong { color: var(--blue); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin: 22px 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; align-items: start; }
.steps li::before { content: counter(s); grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; display: grid; place-items: center; }
.steps strong { color: var(--blue); font-size: 18px; line-height: 1.4; }
.steps span { color: var(--gray-7); font-size: 16px; line-height: 1.7; margin-top: 4px; }
.tbl-wrap { overflow-x: auto; margin: 24px 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.tbl caption { caption-side: top; text-align: left; padding: 16px 20px 12px; font-weight: 800; color: var(--blue); font-size: 15px; }
.tbl thead th { background: var(--blue); color: #fff; padding: 14px 18px; text-align: left; font-weight: 700; }
.tbl tbody th { background: var(--blue-l); color: var(--blue); text-align: left; font-weight: 800; padding: 16px 18px; width: 26%; vertical-align: top; }
.tbl td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tbody th, .tbl tbody td { border-top: 1px solid var(--line); }
.note { margin-top: 26px; background: #f1f2f5; border-left: 5px solid var(--yellow); border-radius: 14px; padding: 20px 24px; font-size: 15px; color: var(--gray-7); line-height: 1.75; }
.gal { display: grid; gap: clamp(12px, 1.6vw, 22px); margin: 34px 0 8px; position: relative; left: 50%; transform: translateX(-50%); width: min(calc(100vw - var(--gutter) * 2), 1280px); }
.gal--2 { grid-template-columns: repeat(2, 1fr); }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal-img { display: block; overflow: hidden; border-radius: 18px; background: #f1f4fa; aspect-ratio: 4 / 3; }
.gal--p .gal-img { aspect-ratio: 3 / 4; }
.gal--c .gal-img { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); }
.gal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gal--c .gal-img img { object-fit: contain; padding: 8px; }
.gal-item:hover .gal-img img { transform: scale(1.05); }
.gal-item figcaption { margin-top: 10px; font-size: 14px; }
.fig { margin-top: 34px; }
.fig img { width: 100%; border-radius: 20px; max-height: 560px; object-fit: cover; }
.fig--narrow img { width: auto; max-width: min(100%, 460px); max-height: 600px; margin-inline: auto; object-fit: contain; }
.faq { margin-top: clamp(26px, 3.4vw, 44px); display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--blue); box-shadow: 0 12px 34px rgba(0, 71, 187, .1); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(17px, 1.7vw, 20px); font-weight: 800; color: var(--blue); line-height: 1.5; }
.faq-ico { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-l); transition: background .25s, transform .3s; }
.faq-ico::before, .faq-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: transform .3s, background .25s; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--yellow); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item[open] .faq-ico::before { background: var(--ink); }
.faq-item[open] .faq-ico::after { background: var(--ink); }
.faq-a { display: flex; gap: 14px; align-items: flex-start; padding: 0 26px 26px; font-size: 16.5px; color: #1c212b; line-height: 1.8; animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.qa-a { background: var(--yellow); color: var(--ink); }
.modified { text-align: center; color: var(--gray-5); font-size: 14px; margin-top: 40px; }

/* ───────── 블루 슬라이더 섹션 (레퍼런스 OUR CAMPUS) ───────── */
.work { background: var(--blue); color: #fff; padding-block: clamp(64px, 8vw, 120px); }
.eyebrow-line::before { content: ''; display: block; height: 1px; background: rgba(255, 255, 255, .35); margin-bottom: 34px; }
.work-title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.45; margin-top: 18px; letter-spacing: -.02em; }
.work-lead { margin-top: 12px; color: rgba(255, 255, 255, .85); font-size: clamp(15px, 1.4vw, 18px); }
.work-viewport { margin-top: clamp(32px, 4vw, 56px); }
.work-item { flex: 0 0 calc(100% / 5); scroll-snap-align: start; padding-right: 4px; }
.work-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #0a3a99; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-item figcaption { text-align: center; color: #fff; margin-top: 14px; font-size: 16px; }
.work-ctrl { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }

/* ───────── 관련 서비스 카드 / 사진 배너 ───────── */
.rel { padding-block: clamp(72px, 9vw, 130px); }
.rel .sec-title { margin-top: 8px; }
.rel .eyebrow { text-align: center; display: block; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(32px, 4vw, 56px); }
.rel-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.rel-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(0, 40, 120, .16); }
.rel-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f4fa; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.rel-card:hover img { transform: scale(1.07); }
.rel-body { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 24px; }
.rel-body strong { color: var(--blue); font-size: 19px; font-weight: 800; }
.rel-body em { font-style: normal; color: var(--gray-5); font-size: 14.5px; line-height: 1.5; }
.banner { position: relative; min-height: clamp(340px, 38vw, 520px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 130, .72), rgba(0, 20, 70, .82)); }
.banner-txt { position: relative; z-index: 2; padding: 56px var(--gutter); max-width: 760px; }
.banner-txt h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.35; margin: 10px 0 14px; }
.banner-txt p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; }

/* ───────── 상담 페이지 ───────── */
.act { padding-block: clamp(72px, 9vw, 130px) 0; }
.act-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
.act-card { border-radius: 30px; padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.act-card h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.act-card--shop { background: var(--blue); color: #fff; }
.act-card--shop p { color: rgba(255, 255, 255, .88); }
.act-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.act-card--call { background: #fff; border: 2px solid var(--blue); }
.act-card--call .eyebrow { color: var(--blue); }
.act-card--call h2 { color: var(--blue); }
.act-tel { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--yellow); color: var(--ink); border-radius: 20px; padding: 22px 20px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.01em; transition: transform .25s, background .25s; }
.act-tel:hover { transform: translateY(-3px); background: #ffd65c; }
.act-tel .ico { width: 34px; height: 34px; }
#shop, #call { scroll-margin-top: 100px; }

/* ───────── 푸터 (페이지명 링크 없음) ───────── */
.site-footer { background: var(--blue); color: #fff; padding: clamp(48px, 6vw, 84px) var(--gutter) clamp(36px, 4vw, 56px); text-align: center; }
.ft-inner { max-width: 960px; margin-inline: auto; }
.ft-sns { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; }
.ft-sns a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; }
.ft-sns a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.ft-logo { height: 72px; width: auto; margin: 0 auto 22px; }
.ft-biz { font-size: 14px; line-height: 2.05; color: rgba(255, 255, 255, .92); }
.ft-biz i { font-style: normal; opacity: .5; margin: 0 8px; }
.ft-branches { display: flex; justify-content: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; margin-top: 26px; }
.ft-branches div { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .92); }
.ft-branches strong { color: var(--yellow); font-size: 15px; }
.ft-copy { margin-top: 30px; font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ───────── 플로팅 / 모바일 하단 CTA ───────── */
.floaters { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(18px, 3vw, 34px); z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fl-consult { width: 78px; height: 78px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 800; font-size: 14px; box-shadow: 0 12px 32px rgba(0, 30, 90, .3); transition: transform .25s; }
.fl-consult:hover { transform: translateY(-4px) scale(1.04); }
.fl-main { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; padding: 0 20px; height: 48px; border-radius: 999px; font-weight: 800; font-size: 15px; box-shadow: 0 10px 28px rgba(0, 30, 90, .3); transition: transform .25s, background .25s; }
.fl-main:hover { transform: translateY(-3px); background: var(--blue-d); }
.fl-top { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.fl-top.show { opacity: 1; pointer-events: auto; transform: none; }
.mbar { display: none; }

/* 404 */
.err { padding: 200px 0 120px; text-align: center; }
.err-code { font-size: clamp(80px, 14vw, 160px); font-weight: 800; color: var(--blue); line-height: 1; }
.err h1 { font-size: clamp(26px, 4vw, 40px); margin: 14px 0; color: var(--blue); }
.err p { margin-bottom: 24px; color: var(--gray-7); }

/* ───────── 스크롤 등장 ───────── */
.js [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js [data-rise].hero-card { transform: translateX(-50%) translateY(26px); }
.js [data-rise].hero-card.is-in { transform: translateX(-50%); }

/* ───────── 반응형: 태블릿 ───────── */
@media (max-width: 1100px) {
  .hd-nav { display: none; }
    .work-item { flex-basis: calc(100% / 3.2); }
  .act-grid { grid-template-columns: 1fr; }
}

/* ───────── 반응형: 모바일 (768px 이하) ───────── */
@media (max-width: 768px) {
  :root { --hd-h: 68px; }
  body { font-size: 16px; line-height: 1.8; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .hd-logo img { height: 46px; }
  .is-solid .hd-logo img { height: 40px; }
  .site-header.is-solid { height: 60px; }

  .hero--home, .hero--sub { height: auto; background: var(--blue); border-radius: 0 0 32px 32px; overflow: hidden; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(0, 25, 80, .4) 0%, rgba(0, 10, 40, .05) 38%, rgba(0, 71, 187, .55) 78%, var(--blue) 100%); }
  .hero-photo { position: relative; height: clamp(300px, 78vw, 460px); }
  .hero-card, .js [data-rise].hero-card, [data-rise].hero-card, .js [data-rise].hero-card.is-in, [data-rise].hero-card.is-in { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -34px 0 0; padding: 0 20px 38px; }
  .js [data-rise].hero-card { transform: translateY(24px); }
  .js [data-rise].hero-card.is-in { transform: none; }
  .hero-card h1 { font-size: clamp(30px, 9vw, 40px); color: #fff; text-shadow: none; }
  .hero-card h1::after { margin: 14px auto 16px; }
  .hero-card .answer { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .92); text-shadow: none; }
  .hero-card .answer strong { font-size: 19px; color: #fff; }

  .tabs { position: sticky; top: 60px; z-index: 40; }
  .tabs-in { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tabs-in::-webkit-scrollbar { display: none; }
  .tabs a { flex: 0 0 auto; min-width: 128px; padding: 16px 14px; font-size: 15px; white-space: nowrap; }

  .band-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .band-item { flex: 0 0 76%; scroll-snap-align: center; }
  .duo-row { grid-template-columns: 1fr; gap: 22px; }
  .hs-slide { aspect-ratio: 4 / 3; border-radius: 22px; flex-basis: 88%; }
  .hs-track { padding-inline: 6%; scroll-padding-inline: 6%; }
  .sl-btn { width: 44px; height: 44px; }
  .stats { gap: 14px; }
  .work-item { flex-basis: 68%; }
  .work-ctrl { justify-content: center; }
  .checks li { padding: 14px 16px; font-size: 15.5px; }
  .steps li { grid-template-columns: 42px 1fr; column-gap: 14px; padding: 18px 16px; }
  .steps li::before { width: 40px; height: 40px; font-size: 17px; }
  .tbl { min-width: 560px; font-size: 14.5px; }
  .faq-item summary { padding: 18px 16px; }
  .faq-a { padding: 0 16px 20px; font-size: 15.5px; }
  .gal { left: 0; transform: none; width: auto; margin: 28px calc(var(--gutter) * -1) 6px; padding-inline: 12px; gap: 10px; }
  .gal--3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 12px; }
  .gal--3::-webkit-scrollbar { display: none; }
  .gal--3 .gal-item { flex: 0 0 84%; scroll-snap-align: center; }
  .gal-img { border-radius: 16px; }
  .gal-item figcaption { font-size: 13px; }
  .rel-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rel-body { padding: 14px 14px 18px; }
  .rel-body strong { font-size: 16px; }
  .rel-body em { font-size: 13px; }
  .act-card { border-radius: 24px; }
  .ft-branches { flex-direction: column; gap: 18px; }

  .floaters { bottom: calc(78px + env(safe-area-inset-bottom)); right: 12px; gap: 10px; }
  .fl-consult { width: 64px; height: 64px; font-size: 12.5px; }
  .fl-main { height: 42px; padding: 0 16px; font-size: 14px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(0, 20, 70, .18); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16.5px; }
  .mbar-call { background: var(--yellow); color: var(--ink); }
  .mbar-shop { background: var(--blue); color: #fff; }
}

@media (max-width: 380px) {
  .rel-grid { grid-template-columns: 1fr; }
  .band-item { flex-basis: 84%; }
}

/* 가로로 든 폰·낮은 화면: 히어로가 화면보다 커지지 않게 */
@media (max-height: 560px) and (min-width: 769px) {
  .hero--home, .hero--sub { height: max(460px, 100svh); }
  .hero-card { bottom: 20px; padding-block: 12px; }
  .hero-card h1 { font-size: clamp(30px, 4vw, 44px); }
  .hero-card h1::after { margin: 10px auto 12px; }
}
/* 터치 기기에서는 호버 확대·이동 효과를 끈다 */
@media (hover: none) {
  .rel-card:hover, .btn:hover, .hd-cta:hover, .act-tel:hover, .fl-consult:hover, .fl-main:hover { transform: none; }
  .band-item:hover img, .duo-item:hover img, .gal-item:hover img, .rel-card:hover img, .work-item:hover img { transform: none; }
}
/* 아주 넓은 화면 */
@media (min-width: 1700px) {
  :root { --maxw: 1320px; }
  .hero--sub { height: clamp(520px, 38vw, 720px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rise]:not(.hero-card) { opacity: 1; transform: none; }
  .js [data-rise].hero-card { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 769px) {
  .js [data-rise].hero-card { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  .js [data-rise].hero-card { transform: none; }
}
