/* 제목 폰트는 직접 올려 두고, 받는 동안에도 글자가 먼저 보이게 한다(font-display: swap) */
@font-face { font-family: 'NanumSquareRound'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/NanumSquareRoundB.woff2') format('woff2'); }
@font-face { font-family: 'NanumSquareRound'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/NanumSquareRoundEB.woff2') format('woff2'); }
/* G마켓 산스(2026-10-15부터 제목 폰트). 500·700 두 굵기만 있어 800을 지정한 제목은 700으로 표시된다 */
@font-face { font-family: 'Gmarket Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/GmarketSansMedium.woff2') format('woff2'); }
@font-face { font-family: 'Gmarket Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/GmarketSansBold.woff2') format('woff2'); }
:root {
  --blue: #1F66B5;
  --blue-deep: #143C6E;
  --blue-soft: #E8F1FB;
  --teal: #2E9E8F;
  --teal-soft: #E6F5F1;
  --ink: #1D2B3A;
  --body: #4A5868;
  --mute: #7B8896;
  --line: #E1E8F0;
  --bg: #FFFFFF;
  --tint: #F4F8FC;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 14px 40px rgba(20, 60, 110, .09);
  --font-body: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-head: 'Gmarket Sans', 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--body); background: var(--bg); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.35; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 40px); }

/* 브랜드 */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__symbol { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__tag { font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: .08em; }
.brand__name { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--blue-deep); letter-spacing: -.03em; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: #8FE3CF; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 16.5px; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(31, 102, 181, .28); }
.btn--primary:hover { background: #1A5AA2; }
.btn--white { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 28px rgba(8, 30, 60, .25); }
.btn--ghost { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 14.5px; color: var(--teal); margin-bottom: 14px; letter-spacing: .02em; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: #9BE8D6; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: #1F7F72; font-size: 13px; font-weight: 700; }

/* 헤더 */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; color: var(--ink); font-size: 16px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--blue); border-color: var(--blue); }
.header__cta { padding: 11px 22px; font-size: 15.5px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--blue-deep); margin: 5px 0; }

/* 히어로 */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 48, 92, .94) 0%, rgba(20, 66, 122, .86) 42%, rgba(31, 102, 181, .45) 75%, rgba(46, 158, 143, .25) 100%); }
.hero__inner { position: relative; padding: 112px 0 104px; max-width: 1160px; }
.hero h1 { color: #fff; font-size: clamp(31px, 5vw, 54px); font-weight: 800; max-width: 15em; }
.hero h1 em { font-style: normal; color: #9BE8D6; }
.hero__lead { margin: 24px 0 34px; max-width: 35em; font-size: clamp(16.5px, 1.6vw, 19px); color: rgba(255, 255, 255, .92); }
.hero__lead strong { color: #fff; border-bottom: 2px solid #9BE8D6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero__chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: 14.5px; font-weight: 600; }
.hero__chips li::before { content: '✓ '; color: #9BE8D6; }

/* 섹션 공통 */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(140deg, #123760 0%, #1B58A6 100%); }
.section--flush { padding-top: 48px; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section__head p:last-child { margin: 14px 0 0; }
.section__head--light h2 { color: #fff; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__copy h2 { font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; margin-bottom: 22px; }
.split__copy strong { color: var(--blue-deep); }
.split__copy .btn { margin-top: 12px; }
.signature { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--blue); margin-top: 22px; }

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.card p { margin: 0; font-size: 15.5px; }

.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 19px; height: 19px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks strong { color: var(--ink); }
.checks--light li { color: rgba(255, 255, 255, .92); }

.info { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; margin-top: 44px; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.info__copy { padding: 44px 46px; }
.info__copy h3 { font-size: 25px; font-weight: 800; margin-bottom: 14px; color: var(--blue-deep); }
.info__copy .checks { margin: 20px 0 24px; font-size: 16px; }

.promise { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 36px 30px; color: rgba(255, 255, 255, .88); }
.promise__icon { width: 62px; height: 62px; border-radius: 18px; background: rgba(155, 232, 214, .16); color: #9BE8D6; display: grid; place-items: center; margin-bottom: 22px; }
.promise__icon svg { width: 34px; height: 34px; }
.promise h3 { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.promise p { margin: 0; font-size: 16px; }

.case { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case img { width: 100%; aspect-ratio: 820 / 740; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.case figcaption { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 2px; }
.case strong { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 18px; }
.case span { font-size: 14.5px; color: var(--mute); }
.case b { align-self: flex-start; margin-top: 6px; font-family: var(--font-head); font-size: 29px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; line-height: 1.25; background: linear-gradient(transparent 62%, #CFE8FF 62%); padding: 0 4px; }
/* 승인 사례 카드(머천트 결정 통지서 4건) */
.case-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow); overflow: hidden; }
.case-card__job { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: #1F7F72; font-size: 13.5px; font-weight: 700; }
.case-card h3 { font-size: 23px; font-weight: 800; margin: 14px 0 4px; }
.case-card p { margin: 0; font-size: 15px; color: var(--mute); }
.case-card b { display: inline-block; margin-top: 4px; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; line-height: 1.3; background: linear-gradient(transparent 62%, #CFE8FF 62%); padding: 0 4px; white-space: nowrap; }
.case-card__stamp { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; display: grid; place-items: center; border: 2.5px solid #E8452E; border-radius: 50%; color: #E8452E; font-family: var(--font-head); font-weight: 700; font-size: 15px; transform: rotate(-14deg); opacity: .85; }
.amount { font-family: var(--font-head); font-weight: 800; font-size: 1.18em; color: var(--blue) !important; background: linear-gradient(transparent 62%, #CFE8FF 62%); padding: 0 3px; white-space: nowrap; }

.story { display: grid; grid-template-columns: .8fr 1.2fr; margin-top: 30px; border-radius: var(--radius); overflow: hidden; background: var(--blue-soft); }
.story__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.story__copy { padding: 44px 46px; }
.story__copy h3 { font-size: 24px; font-weight: 800; margin: 14px 0 14px; }
.story__copy strong { color: var(--blue-deep); }
.story__calc { display: inline-block; margin: 6px 0 0; padding: 12px 18px; border-radius: var(--radius-sm); background: #fff; font-weight: 700; color: var(--blue-deep); font-size: 16px; }
.fineprint { margin: 22px 0 0; font-size: 14px; color: var(--mute); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 26px; border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ''; position: absolute; right: -17px; top: 50px; width: 12px; height: 12px; border-top: 2.5px solid #A9C6E6; border-right: 2.5px solid #A9C6E6; transform: rotate(45deg); z-index: 1; }
.steps__num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15.5px; }

/* News */
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
/* 사파리에서 높이 100%가 0으로 계산되는 일이 없도록 칸에 꽉 채워 고정한다 */
.news-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
/* 카드 이미지를 썸네일로 쓸 때는 글자 띠가 있는 아래쪽을 잘라 사진 부분만 보여 준다 */
.news-card__thumb--card img { object-position: center top; }
.news-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.news-card h3 { font-size: 19.5px; font-weight: 800; margin: 12px 0 8px; }
.news-card p { font-size: 15px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 15px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q.'; color: var(--teal); margin-right: 8px; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 26px; width: 10px; height: 10px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin: 0; padding: 0 24px 14px; }
.faq__more { display: inline-flex; align-items: center; gap: 6px; margin: 0 24px 22px; padding: 9px 18px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.faq__more:hover { background: var(--blue); color: #fff; }

/* 상담 신청 */
.consult { position: relative; padding: 96px 0; background: linear-gradient(120deg, rgba(15, 48, 92, .95), rgba(27, 88, 166, .9)), url('/assets/photos/stethoscope.jpg') center / cover; color: #fff; }
.consult__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.consult__copy { position: sticky; top: 110px; }
.consult__copy h2 { color: #fff; font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; margin-bottom: 20px; }
.consult__copy p { color: rgba(255, 255, 255, .9); }
.consult__copy .checks { margin-top: 26px; }
.consult__form { background: #fff; border-radius: var(--radius); padding: 30px 26px 22px; box-shadow: 0 24px 60px rgba(4, 20, 44, .35); color: var(--body); }
.consult__form h3 { text-align: center; font-size: 22px; font-weight: 800; color: var(--blue-deep); margin-bottom: 14px; }
.consult__form iframe { display: block; min-height: 520px; border: 0; }
.consult__grid > * { min-width: 0; }
.form-fit { overflow: hidden; max-width: 100%; }
.form-fit iframe { transform-origin: 0 0; }

.story__cta { display: flex; width: fit-content; margin: 22px 0 0; }
/* 상담신청 팝업: 하단 상담신청 폼을 그대로 화면 가운데로 띄운다 (폼을 복제하지 않는다) */
.consult__close { display: none; }
.consult-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8, 24, 48, .62); }
.consult__form.is-popup { position: fixed; left: 50%; top: 50%; z-index: 100; transform: translate(-50%, -50%); width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding-top: 46px; animation: popup-in .2s ease-out; }
.consult__form.is-popup .consult__close { display: grid; place-items: center; position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-size: 22px; line-height: 1; cursor: pointer; }
@keyframes popup-in { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
body.is-popup-open { overflow: hidden; }
.notice { background: #EDF3F9; padding: 30px 0; font-size: 14px; color: #5A6878; }
.notice strong { display: block; color: var(--ink); margin-bottom: 6px; font-size: 14.5px; }
.notice p { margin: 0; line-height: 1.8; }

.footer { background: #0F2F56; color: rgba(255, 255, 255, .72); padding: 64px 0 96px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.3fr .6fr 1.1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__brand p { margin: 18px 0 0; max-width: 26em; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 16px; letter-spacing: .02em; }
.footer__links { display: grid; gap: 9px; }
.footer__links a:hover { color: #fff; }
.footer__links--wide { gap: 11px; }
.footer__links--wide a { position: relative; padding-left: 16px; line-height: 1.55; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.footer__links--wide a::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #5FD0B5; }
.footer__links--wide a:hover { text-decoration-color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 28px; font-size: 13.5px; }
.footer__bottom p { flex-basis: 100%; margin: 0 0 8px; line-height: 1.8; opacity: .85; }
.footer__bottom a { color: #9BE8D6; font-weight: 700; }

.floating-cta { display: none; }
.to-top { position: fixed; right: 24px; bottom: 28px; z-index: 41; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(20, 60, 110, .2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s, color .2s; }
.case-badge { position: fixed; right: 24px; bottom: 92px; z-index: 41; display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 999px; background: #E8452E; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 15px; line-height: 1; box-shadow: 0 10px 26px rgba(232, 69, 46, .4); animation: badge-blink 1.4s ease-in-out infinite; }
.case-badge:not(.is-visible) { visibility: hidden; pointer-events: none; animation: none; opacity: 0; }
.case-badge:hover { animation-play-state: paused; background: #D23A24; }
.case-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: #FFE27A; }
@keyframes badge-blink { 0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 10px 26px rgba(232, 69, 46, .4), 0 0 0 0 rgba(232, 69, 46, .55); } 50% { opacity: .55; transform: scale(1.04); box-shadow: 0 10px 26px rgba(232, 69, 46, .4), 0 0 0 10px rgba(232, 69, 46, 0); } }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: #fff; }

/* News 목록 · 글 */
.page-head { background: linear-gradient(180deg, var(--blue-soft), #fff); padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-head p:last-child { max-width: 36em; margin: 0; }

.article__head { background: linear-gradient(180deg, var(--blue-soft), #fff); padding: 56px 0 28px; }
.crumb { display: block; margin-bottom: 22px; color: var(--blue); font-weight: 700; font-size: 15px; }
.article__head h1 { font-size: clamp(27px, 4vw, 40px); font-weight: 800; margin: 14px 0 14px; }
.article__desc { font-size: 18px; margin: 0 0 14px; }
.article__head time { color: var(--mute); font-size: 14.5px; }
.swipe-wrap { position: relative; }
.swipe-hint { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; color: #fff; font-size: 15px; font-weight: 700; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); animation: swipe-blink 1.3s ease-in-out infinite; }
.swipe-hint[hidden] { display: none; }
/* 글 목록 띠에서는 제목을 가리지 않게 썸네일 위에 띄운다 */
.swipe-wrap--news .swipe-hint { top: 118px; }
.swipe-hint__icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: rgba(190, 225, 255, .94); color: var(--blue-deep); border: 2px solid #fff; box-shadow: 0 6px 20px rgba(20, 60, 110, .3); animation: swipe-move 1.3s ease-in-out infinite; }
.swipe-hint__text { padding: 4px 12px; border-radius: 999px; background: rgba(190, 225, 255, .94); color: var(--blue-deep); text-shadow: none; white-space: nowrap; }
.card-strip, .table-wrap, .news-strip { scrollbar-width: none; -ms-overflow-style: none; }
.card-strip::-webkit-scrollbar, .table-wrap::-webkit-scrollbar, .news-strip::-webkit-scrollbar { display: none; }
.news-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 350px); gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 26px; -webkit-overflow-scrolling: touch; }
.news-strip > * { scroll-snap-align: start; }
.news-strip img { -webkit-user-drag: none; user-select: none; }
@keyframes swipe-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes swipe-move { 0%, 100% { transform: translateX(14px); } 50% { transform: translateX(-14px); } }
.card-strip.is-scrollable, .table-wrap.is-scrollable, .news-strip.is-scrollable { cursor: grab; -webkit-user-select: none; user-select: none; }
.news-strip, .news-strip *, .card-strip, .card-strip * { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.card-strip.is-dragging, .table-wrap.is-dragging, .news-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.card-strip img { -webkit-user-drag: none; user-select: none; }
.card-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 18px; margin: 0 0 30px; -webkit-overflow-scrolling: touch; }
.card-strip img { width: 100%; height: auto; aspect-ratio: 1; display: block; scroll-snap-align: start; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.article__cover img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: var(--radius); margin: 8px 0 44px; }
.prose { font-size: 17.5px; line-height: 1.9; color: #3D4A59; }
.prose h2 { font-size: 25px; font-weight: 800; margin: 52px 0 16px; padding-left: 14px; border-left: 5px solid var(--teal); }
.prose h3 { font-size: 20px; font-weight: 800; margin: 34px 0 10px; color: var(--blue-deep); }
.prose p { margin: 0 0 1.15em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose blockquote strong { font-family: var(--font-head); font-weight: 800; font-size: 1.12em; color: var(--blue-deep); background: linear-gradient(transparent 62%, #BFE9DD 62%); padding: 0 3px; }
.prose blockquote { margin: 28px 0; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--teal-soft); color: #23594F; font-weight: 500; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.prose img { max-width: min(100%, 640px); margin-inline: auto; border: 1px solid var(--line); }
.prose p > img:only-child { width: 100%; }
.prose img { border-radius: var(--radius-sm); margin: 26px 0; }
.table-wrap { overflow-x: auto; margin: 22px 0 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.prose th { background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; text-align: left; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th, .prose .td-amount { white-space: nowrap; }
.prose .td-amount .amount { font-size: 1.08em; }
.article__note { margin: 40px 0 72px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; color: var(--mute); }
.article__cta { margin: 56px 0 80px; padding: 40px 36px; border-radius: var(--radius); background: var(--blue-soft); text-align: center; }
.article__cta h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.article__cta p { max-width: 30em; margin: 0 auto 22px; }

@media (max-width: 1020px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .nav { gap: 20px; font-size: 15px; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .header__inner { height: 64px; gap: 10px; }
  .header__cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: 0 20px 30px rgba(20, 60, 110, .08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .brand__symbol { width: 38px; height: 38px; }
  .brand__name { font-size: 17.5px; }
  .brand__tag { font-size: 10px; }
  .hero__inner { padding: 72px 0 68px; }
  .section, .consult { padding: 68px 0; }
  .split, .consult__grid, .info, .story { grid-template-columns: 1fr; gap: 32px; }
  .info, .story { gap: 0; }
  .split--reverse .split__media { order: 0; }
  .info__copy, .story__copy { padding: 30px 24px; }
  .info__media img, .story__media img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .cards--3 { grid-template-columns: 1fr; }
  .consult__copy { position: static; }
  .consult__form { padding: 18px 6px 10px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .floating-cta { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transition: opacity .2s, transform .2s; }
  .floating-cta a { text-align: center; padding: 15px 8px; border-radius: 999px; font-weight: 800; font-size: 16.5px; line-height: 1.2; box-shadow: 0 12px 30px rgba(15, 48, 92, .35); }
  .floating-cta__check { background: #fff; color: var(--blue-deep); border: 1.5px solid var(--blue); }
  .floating-cta__main { background: var(--blue); color: #fff; }
  .to-top { right: 16px; bottom: 84px; width: 46px; height: 46px; }
  .case-badge { right: 16px; bottom: 140px; font-size: 14px; padding: 10px 14px; }
  .floating-cta.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
@media (max-width: 520px) {
  .cards--4, .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .case b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint, .swipe-hint__icon { animation: none; }
  .case-badge { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 자가진단 */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.quiz__q { border: 0; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__q legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--blue-deep); margin-bottom: 12px; padding: 0; }
.quiz__q legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; flex: none; }
.quiz__q button { padding: 15px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--body); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.quiz__q button:hover { border-color: var(--blue); }
.quiz__q button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; }
.quiz__result { margin-top: 6px; padding: 26px 24px; border-radius: var(--radius-sm); background: var(--blue-soft); }
.quiz__result h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--blue-deep); margin-bottom: 10px; }
.quiz__result p { margin: 0 0 10px; }
.quiz__result ul { margin: 0 0 14px; padding-left: 20px; }
.quiz__result .btn { margin: 8px 8px 0 0; }
.quiz__result .quiz__note { font-size: 13.5px; color: #5B6B80; margin-top: 14px; }
/* 글 중간 상담 상자 */
.ask { margin: 36px 0; padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-soft), var(--teal-soft)); border: 1px solid #CFE2F6; }
.ask p { margin: 0; }
.ask .ask__title { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--blue-deep); margin-bottom: 8px; }
.ask__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn--line { background: #fff; color: var(--blue-deep); border-color: var(--blue); }
.prose .ask a { text-decoration: none; }
.prose .ask .btn--primary { color: #fff; }
.prose .ask .btn--line { color: var(--blue-deep); }
/* 상담 신청 연결(홍보 URL로 이동). 간편 폼이 없는 머천트라 iframe 대신 쓴다 */
.apply { padding: 8px 6px 6px; }
.apply__btn { width: 100%; padding: 18px 20px; font-size: 18px; }
.apply__note { margin: 12px 2px 0; font-size: 13.5px; line-height: 1.55; color: var(--mute); }
.consult__note { margin: 0 4px 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--teal-soft); color: #1F5F57; font-size: 14.5px; line-height: 1.55; }
@media (max-width: 520px) {
  .quiz { padding: 22px 16px; }
  .quiz__q { grid-template-columns: 1fr; }
  .ask__actions .btn { width: 100%; }
}
