/* ==========================================================================
   치료멍멍 Bio Care — 공개(랜딩) 페이지 공통 스타일
   index.html + 독립 메뉴 페이지 9종이 공유한다. (nav/footer 는 js/lp.js 가 주입)
   ========================================================================== */

/* ---------- 상단 내비게이션 ---------- */
/* 브랜드 톤 틴트 배경 — 반투명 흰색만 쓰면 스크롤 시 뒤 콘텐츠가 비쳐 경계가 흐려진다.
   옅은 에메랄드 틴트 + 불투명 흰색 베이스를 2중 그라디언트로 겹친다. */
.lp-nav { position: sticky; top: 0; z-index: 50;
  background:
    linear-gradient(90deg, rgba(15,156,104,.07) 0%, rgba(56,221,161,.05) 52%, rgba(15,156,104,.07) 100%),
    linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #dbeae3;
  box-shadow: 0 1px 3px rgba(15,42,31,.05); }
/* 8px 이상 스크롤되면 배경을 살짝 진하게 (lp.js 가 클래스 토글) */
.lp-nav.is-stuck {
  background:
    linear-gradient(90deg, rgba(15,156,104,.1) 0%, rgba(56,221,161,.07) 52%, rgba(15,156,104,.1) 100%),
    linear-gradient(180deg, #ffffff 0%, #eff8f3 100%);
  border-bottom-color: #cde3d8;
  box-shadow: 0 6px 20px rgba(15,42,31,.09); }
/* 자식 선택자 필수 — 드로어(.lp-drawer)도 .lp-nav 안에 있어서 후손 선택자를 쓰면
   드로어의 .wrap 까지 height:66px 로 잘려 링크가 히어로 위로 삐져나온다. */
.lp-nav > .wrap { display: flex; align-items: center; height: 66px; gap: 16px; }
.lp-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.lp-logo .brand-mark { height: 34px; width: auto; }
.lp-logo small { font-weight: 600; font-size: 11px; color: var(--brand-dark); display: block; }

/* 링크 8개를 늘어놓지 않고 4개 항목(단독 2 + 드롭다운 2)으로 묶는다.
   묶음 버튼과 단독 링크의 높이·밑줄 처리를 동일하게 맞춰 한 줄로 정렬돼 보이게 한다. */
.lp-nav .links { display: flex; align-items: center; gap: 4px; margin-left: 18px; }
.lp-nav .links .lnk, .lp-nav .links .grp-btn {
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  padding: 9px 12px; border: none; background: none; cursor: pointer; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 5px; transition: .16s; }
.lp-nav .links .lnk:hover, .lp-nav .links .grp-btn:hover { color: var(--brand-dark); background: var(--brand-tint); }
.lp-nav .links .lnk.on, .lp-nav .links .grp.on > .grp-btn { color: var(--brand-dark); background: var(--brand-light); }
.lp-nav .links .grp-btn i { font-style: normal; font-size: 9px; opacity: .6; transition: transform .16s; }
.lp-nav .links .grp:hover > .grp-btn i, .lp-nav .links .grp.open > .grp-btn i { transform: rotate(180deg); }

/* 드롭다운 패널 — 버튼과 패널 사이에 빈 틈이 생기면 호버가 끊기므로 top 을 버튼에 붙인다.
   대신 패널 자체에 위쪽 패딩을 줘 시각적 간격을 만든다. */
.lp-nav .grp { position: relative; }
.lp-nav .grp-panel { position: absolute; top: 100%; left: 0; min-width: 288px;
  padding: 8px 8px 8px; margin-top: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(15,42,31,.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s; }
/* 버튼과 패널 사이 6px 틈에서 호버가 끊기지 않도록 투명 브리지를 깐다. */
.lp-nav .grp-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.lp-nav .grp:hover > .grp-panel, .lp-nav .grp.open > .grp-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.lp-nav .grp-panel > a { display: block; padding: 10px 13px; border-radius: 10px; transition: .14s; }
.lp-nav .grp-panel > a b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lp-nav .grp-panel > a span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.45; }
.lp-nav .grp-panel > a:hover { background: var(--brand-tint); }
.lp-nav .grp-panel > a:hover b { color: var(--brand-dark); }
.lp-nav .grp-panel > a.on { background: var(--brand-light); }
.lp-nav .grp-panel > a.on b { color: var(--brand-dark); }

.lp-nav .spacer { flex: 1; }
.lp-nav .menu-btn { display: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ink-2); }

/* 모바일 드로어 — 그룹 제목 + 들여쓴 자식으로 계층을 유지한다. */
.lp-drawer { display: none; border-top: 1px solid #dbeae3;
  background: linear-gradient(180deg, #f4faf7 0%, #ffffff 100%); }
.lp-drawer.open { display: block; }
.lp-drawer .wrap { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px 18px; padding: 14px 22px 18px; }
.lp-drawer a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 8px 0; display: block; }
.lp-drawer a.on { color: var(--brand-dark); }
.lp-drawer .d-top { font-weight: 700; color: var(--ink); }
.lp-drawer .d-grp h6 { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink-3); margin: 10px 0 2px; }
.lp-drawer .d-grp a { padding: 7px 0 7px 10px; border-left: 2px solid var(--line); }
.lp-drawer .d-grp a.on { border-left-color: var(--brand); }
/* 드로어 안 CTA — 좁은 화면에서는 헤더 버튼을 숨기므로 여기에 둔다. */
.lp-drawer .d-cta { display: none; grid-column: 1 / -1; margin-top: 10px;
  padding-top: 12px; border-top: 1px solid var(--line); }
.lp-drawer .d-cta a { display: inline-block; padding: 9px 16px; margin-right: 8px;
  border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.lp-drawer .d-cta a:last-child { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 1000px){
  .lp-nav .links { display: none; }
  .lp-nav .menu-btn { display: inline-block; }
}
@media (max-width: 560px){
  .lp-drawer .wrap { grid-template-columns: 1fr; }
  .lp-logo small { display: none; }
  /* 로고 + 햄버거만 남기고 CTA 는 드로어로 옮긴다 */
  .lp-nav > .wrap > .btn { display: none; }
  .lp-drawer .d-cta { display: block; }
}

/* ---------- 히어로 (index) ---------- */
.hero { background: var(--navy); color: #fff; padding: 84px 0 90px; position: relative; overflow: hidden; }
/* 치료멍멍 동물병원 건물 사진을 배경 레이어로 분리 — filter 는 개별 background 레이어에
   걸 수 없어 ::before 를 쓴다. inset 을 음수로 빼서 blur 테두리가 섹션 경계에 안 보이게 한다.
   건물은 가로로 넓은 사진이라 cover 로 채우고 중앙 하단(간판 라인)이 남게 잡는다. */
.hero::before { content: ''; position: absolute; inset: -60px;
  background: url('../assets/hero-clinic.jpg') center 42% / cover no-repeat;
  filter: blur(6px) saturate(1.02) brightness(.7); transform: scale(1.04); z-index: 0; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background:
    linear-gradient(100deg, rgba(15,42,31,.95) 0%, rgba(15,42,31,.85) 38%, rgba(15,42,31,.5) 62%, rgba(7,112,74,.3) 100%),
    radial-gradient(1200px 500px at 82% -10%, rgba(15,156,104,.32), transparent),
    linear-gradient(to bottom, transparent 60%, rgba(15,42,31,.5) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: 48px; line-height: 1.15; font-weight: 800; letter-spacing: -1px; margin: 22px 0 18px; max-width: 780px; }
.hero h1 .grad { background: linear-gradient(90deg, #38dda1, #aeefd4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: #cbe5d9; max-width: 640px; line-height: 1.7; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero .trust .t b { font-size: 28px; font-weight: 800; color: #fff; }
.hero .trust .t span { font-size: 13px; color: #93bfab; display: block; }
@media (max-width: 720px){ .hero h1 { font-size: 34px; } }

/* ---------- 페이지 히어로 (독립 메뉴 페이지 공통) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 58px 0 62px;
  background: radial-gradient(900px 420px at 88% -20%, rgba(15,156,104,.34), transparent 62%),
              linear-gradient(140deg, #0f2a1f 0%, #1e5b44 52%, #0a1f16 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 12.5px; color: #99b3a7; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-hero .crumb a { color: #c2ded2; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .crumb i { font-style: normal; color: #52685f; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.page-hero h1 { font-size: 36px; line-height: 1.22; font-weight: 800; letter-spacing: -.9px;
  margin: 16px 0 14px; max-width: 820px; }
.page-hero h1 em { font-style: normal;
  background: linear-gradient(90deg, #38dda1, #aeefd4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { font-size: 16px; color: #c7e1d6; max-width: 720px; line-height: 1.75; }
.page-hero .facts { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.page-hero .facts .f b { font-size: 23px; font-weight: 800; color: #fff; display: block; }
.page-hero .facts .f span { font-size: 12.5px; color: #99b3a7; }
@media (max-width: 720px){ .page-hero h1 { font-size: 27px; } }

/* ---------- 섹션 공통 ---------- */
section.blk { padding: 78px 0; }
section.blk.alt { background: var(--surface); }
section.blk.tight { padding: 58px 0; }
.kicker { color: var(--brand-dark); font-weight: 800; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.blk h2 { font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin: 8px 0 12px; }
.blk h3 { font-size: 20px; font-weight: 800; letter-spacing: -.3px; margin: 0 0 12px; }
.blk .sub { color: var(--ink-2); font-size: 16px; max-width: 680px; margin-bottom: 40px; }
@media (max-width: 720px){ .blk h2 { font-size: 25px; } }

/* ---------- ORIGIN STORY ---------- */
section.origin { background:
    radial-gradient(900px 500px at 12% 0%, var(--brand-tint), transparent),
    linear-gradient(180deg, var(--bg), var(--surface)); }
.origin-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
@media (max-width: 900px){ .origin-grid { grid-template-columns: 1fr; gap: 32px; } }
.origin-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(7,112,74,.24); border: 4px solid #fff; aspect-ratio: 1/1; }
.origin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.origin-photo .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(15,42,31,.72); backdrop-filter: blur(6px); color: #fff; padding: 8px 14px;
  border-radius: 999px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,.2); }
.origin-photo .tag .gold { color: var(--gold); }
.origin-body .kicker { display: flex; align-items: center; gap: 8px; }
.origin-body h2 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; margin: 10px 0 8px; line-height: 1.25; }
.origin-body h2 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.origin-lead { font-size: 15.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 22px; }
.origin-steps { display: grid; gap: 12px; }
.origin-step { display: flex; gap: 14px; padding: 16px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.origin-step:hover { transform: translateX(4px); border-color: var(--brand-light); box-shadow: 0 14px 34px rgba(15,156,104,.15); }
.origin-step .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-light), var(--accent-soft)); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 19px; }
.origin-step h4 { font-size: 15px; margin-bottom: 3px; }
.origin-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.origin-quote { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--brand);
  background: var(--brand-tint); border-radius: 0 12px 12px 0; font-size: 14.5px; color: var(--ink);
  font-weight: 500; line-height: 1.7; }
.origin-quote cite { display: block; margin-top: 8px; font-size: 13px; color: var(--brand-dark); font-weight: 700; font-style: normal; }
.origin-wins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.origin-wins span { font-size: 12px; font-weight: 700; color: var(--brand-dark);
  background: #fff; border: 1px solid var(--brand-light); border-radius: 999px; padding: 6px 12px;
  display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(15,156,104,.08); }

/* ---------- PROBLEM ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .prob-grid { grid-template-columns: 1fr; } }
.prob { background: linear-gradient(180deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.prob:hover { transform: translateY(-4px); border-color: var(--brand-light); box-shadow: 0 18px 44px rgba(15,156,104,.16); }
.prob .ico { font-size: 26px; } .prob h4 { font-size: 16px; margin: 12px 0 8px; }
.prob .was { color: var(--danger); font-size: 13.5px; margin-bottom: 8px; display: flex; gap: 7px; }
.prob .now { color: var(--brand-dark); font-size: 13.5px; font-weight: 600; display: flex; gap: 7px; }

/* ---------- FLOW ---------- */
.flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 10px; }
@media (max-width: 900px){ .flow { grid-template-columns: repeat(2,1fr); } }
.flow .step { background: linear-gradient(180deg, var(--brand-tint), var(--surface)); border: 1px solid var(--brand-light); border-radius: var(--radius);
  padding: 22px; position: relative; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.flow .step:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 16px 38px rgba(15,156,104,.18); }
.flow .step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.flow .step h4 { font-size: 15px; margin: 12px 0 6px; }
.flow .step p { font-size: 13px; color: var(--ink-2); }

/* 상세 흐름 (flow.html) — 좌측 라인 타임라인 */
.flow-detail { display: grid; gap: 16px; }
.fd { display: grid; grid-template-columns: 74px 1fr; gap: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); }
@media (max-width: 640px){ .fd { grid-template-columns: 1fr; gap: 10px; } }
.fd .no { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fd .no span { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3);
  -webkit-text-fill-color: var(--ink-3); margin-top: 6px; letter-spacing: 0; }
.fd h4 { font-size: 17px; margin-bottom: 6px; }
.fd p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.fd .who { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.fd .who span { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-tint); border: 1px solid var(--brand-light); color: var(--brand-dark); }
.fd ul { margin: 12px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.fd ul li { margin-bottom: 5px; }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr; } }
.feat { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.feat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0; transition: .22s;
  background: linear-gradient(90deg, var(--brand), var(--brand-glow) 55%, var(--gold)); }
.feat:hover { transform: translateY(-4px); border-color: var(--brand-light); box-shadow: 0 18px 44px rgba(15,156,104,.16); }
.feat:hover::before { opacity: 1; }
.feat:hover .ico { background: linear-gradient(135deg, var(--brand), var(--brand-glow)); color: #fff; transform: scale(1.05); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 22px; transition: .22s; }
.feat h4 { font-size: 17px; margin: 16px 0 8px; }
.feat p { font-size: 14px; color: var(--ink-2); }
.feat ul { margin: 12px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.feat ul li { margin-bottom: 5px; }
.feat .more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--brand-dark); }

/* ---------- ROLES ---------- */
.roles { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.roles.four { grid-template-columns: repeat(4,1fr); }
@media (max-width: 1000px){ .roles.four { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px){ .roles { grid-template-columns: 1fr; } }
@media (max-width: 640px){ .roles.four { grid-template-columns: 1fr; } }
.role-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column; }
.role-card:hover { transform: translateY(-5px); border-color: var(--brand-light); box-shadow: 0 22px 50px rgba(15,156,104,.2); }
.role-card .top { padding: 24px; color: #fff; }
.role-card.o .top { background: linear-gradient(135deg, #3fc79b, #79e2ba); }
.role-card.c .top { background: linear-gradient(135deg, #0f9c68, #38dda1); }
.role-card.a .top { background: linear-gradient(135deg, #07704a, #0f9c68); }
.role-card.h .top { background: linear-gradient(135deg, #0f2a1f, #1c4634); }
.role-card .top .ico { font-size: 30px; } .role-card .top h4 { font-size: 20px; margin: 10px 0 4px; }
.role-card .top p { font-size: 13.5px; opacity: .9; }
.role-card .body { padding: 20px 24px; display: flex; flex-direction: column; flex: 1; }
.role-card .body ul { list-style: none; }
.role-card .body li { padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--line-2); display: flex; gap: 9px; }
.role-card .body li:last-of-type { border: none; } .role-card .body li::before { content: '✓'; color: var(--brand); font-weight: 800; }
.role-card .body .btn { margin-top: auto; }
.role-card .body .btn:first-of-type { margin-top: 16px; }

/* ---------- MEDVO TRIO ---------- */
section.medvo { background:
    radial-gradient(1000px 460px at 88% -10%, rgba(15,156,104,.14), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--brand-tint)); }
.medvo-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 38px; }
@media (max-width: 900px){ .medvo-head { grid-template-columns: 1fr; gap: 20px; } }
.medvo-loop { background: var(--surface); border: 1px solid var(--brand-light); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow); }
/* 헤딩용 b 는 직계 자식만 — .ln 안의 강조 b 까지 block 이 되면 줄바꿈이 깨진다 */
.medvo-loop > b { font-size: 13px; color: var(--brand-dark); display: block; margin-bottom: 12px; }
.medvo-loop .ln b { color: var(--ink); font-weight: 700; }
.medvo-loop .ln { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2);
  padding: 7px 0; border-bottom: 1px dashed var(--line); }
.medvo-loop .ln:last-child { border: none; }
.medvo-loop .ln i { font-style: normal; width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: var(--brand-light); color: var(--brand-dark); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .trio { grid-template-columns: 1fr; } }
.trio-card { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; display: flex; flex-direction: column; }
.trio-card:hover { transform: translateY(-5px); border-color: var(--brand-light); box-shadow: 0 22px 50px rgba(15,156,104,.2); }
.trio-card .th { padding: 22px 24px 20px; color: #fff; }
.trio-card.ad .th { background: linear-gradient(135deg, #07704a, #0f9c68); }
.trio-card.talk .th { background: linear-gradient(135deg, #0f9c68, #38dda1); }
.trio-card.trans .th { background: linear-gradient(135deg, #1c4634, #3f8a6c); }
.trio-card .th .ico { font-size: 28px; }
.trio-card .th h4 { font-size: 19px; margin: 10px 0 3px; letter-spacing: -.3px; }
.trio-card .th .role { font-size: 12px; font-weight: 700; opacity: .92; letter-spacing: .3px; }
.trio-card .th p { font-size: 13.5px; opacity: .93; margin-top: 9px; line-height: 1.6; }
.trio-card .tb { padding: 20px 24px 22px; flex: 1; display: flex; flex-direction: column; }
.trio-card .tb ul { list-style: none; }
.trio-card .tb li { font-size: 13.5px; color: var(--ink-2); padding: 7px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 9px; }
.trio-card .tb li:last-of-type { border: none; }
.trio-card .tb li::before { content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0; }
.trio-price { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 13px; }
.trio-price .pr { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; color: var(--ink-2); }
.trio-price .pr b { color: var(--ink); }
.trio-price .note { font-size: 11.5px; color: var(--ink-3); margin-top: 7px; }
.medvo-bundle { margin-top: 20px; background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: 26px 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 900px){ .medvo-bundle { grid-template-columns: 1fr; gap: 18px; } }
.medvo-bundle h4 { font-size: 19px; margin-bottom: 8px; }
.medvo-bundle p { font-size: 13.5px; color: #bedbcf; line-height: 1.7; }
.medvo-bundle .kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.medvo-bundle .kpis div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 13px 14px; }
.medvo-bundle .kpis b { display: block; font-size: 20px; color: #fff; }
.medvo-bundle .kpis span { font-size: 11.5px; color: #99b3a7; }

/* ---------- SAFETY ---------- */
.safety { background: var(--navy); color: #fff; }
.safety h2 { color: #fff; } .safety .sub { color: #c6d2e6; }
.safety-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.safety-grid.three { grid-template-columns: repeat(3,1fr); }
@media (max-width: 900px){ .safety-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 720px){ .safety-grid { grid-template-columns: 1fr; } }
.safety-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; }
.safety-item h4 { font-size: 15px; margin-bottom: 6px; display: flex; gap: 9px; align-items: center; }
.safety-item p { font-size: 13.5px; color: #b8c4db; }

/* ---------- 엑소좀 전용 ---------- */
.exo-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 44px; align-items: start; }
@media (max-width: 900px){ .exo-grid { grid-template-columns: 1fr; gap: 30px; } }
.exo-def { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.exo-def b { color: var(--ink); }
.exo-def p { margin-bottom: 14px; }
.exo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow); }
.exo-card h4 { font-size: 15.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.exo-card.warn { background: var(--warn-bg); border-color: #f3d9a8; }
.exo-card.warn h4, .exo-card.warn li, .exo-card.warn p { color: #92400e; }
.exo-terms { display: grid; gap: 10px; }
.exo-terms .t { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 13.5px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); }
.exo-terms .t:last-child { border: none; }
.exo-terms .t b { color: var(--brand-dark); }
.exo-terms .t span { color: var(--ink-2); line-height: 1.6; }
@media (max-width: 560px){ .exo-terms .t { grid-template-columns: 1fr; gap: 3px; } }

.qc-chain { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
@media (max-width: 1000px){ .qc-chain { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .qc-chain { grid-template-columns: 1fr; } }
.qc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
  box-shadow: var(--shadow); transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s, box-shadow .22s; }
.qc:hover { transform: translateY(-4px); border-color: var(--brand-light); box-shadow: 0 16px 38px rgba(15,156,104,.16); }
.qc .ic { font-size: 24px; }
.qc b { display: block; font-size: 14.5px; margin: 10px 0 6px; }
.qc p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.qc .tagz { margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--brand-dark); }

.spec-tbl { width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 13.5px; }
.spec-tbl th, .spec-tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.spec-tbl thead th { background: var(--brand-tint); color: var(--brand-dark); font-size: 12.5px;
  font-weight: 800; letter-spacing: .2px; }
.spec-tbl tbody tr:last-child td { border-bottom: none; }
.spec-tbl td b { color: var(--ink); }
.spec-tbl td.muted-c { color: var(--ink-2); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 780px){ .claim-grid { grid-template-columns: 1fr; } }
.claim { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); background: var(--surface); }
.claim.no { background: var(--danger-bg); border-color: #f6cccc; }
.claim.yes { background: var(--ok-bg); border-color: #c8e8d3; }
.claim h4 { font-size: 15.5px; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.claim.no h4 { color: #991b1b; } .claim.yes h4 { color: #166534; }
.claim ul { list-style: none; display: grid; gap: 9px; }
.claim li { font-size: 13.5px; line-height: 1.6; display: flex; gap: 9px; }
.claim.no li { color: #991b1b; } .claim.no li::before { content: '✕'; font-weight: 800; flex-shrink: 0; }
.claim.yes li { color: #166534; } .claim.yes li::before { content: '✓'; font-weight: 800; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { cursor: pointer; padding: 17px 20px; font-size: 14.5px; font-weight: 700;
  list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
  background: var(--brand-light); color: var(--brand-dark); display: grid; place-items: center;
  font-size: 12px; font-weight: 800; }
.faq details[open] summary { border-bottom: 1px solid var(--line-2); color: var(--brand-dark); }
.faq .a { padding: 16px 20px 18px 52px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.faq .a b { color: var(--ink); }

/* ---------- 메뉴 카드 (index 의 페이지 안내) ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 900px){ .menu-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .menu-grid { grid-template-columns: 1fr; } }
.menu-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.menu-card:hover { transform: translateY(-5px); border-color: var(--brand-light); box-shadow: 0 20px 46px rgba(15,156,104,.18); }
.menu-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--brand-light), var(--accent-soft)); color: var(--brand-dark); }
.menu-card b { font-size: 16.5px; letter-spacing: -.2px; }
.menu-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.menu-card .go { font-size: 12.5px; font-weight: 800; color: var(--brand-dark); }

/* ---------- 거점(프랜차이즈) 전용 ---------- */
.track-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 980px){ .track-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .track-grid { grid-template-columns: 1fr; } }
.track { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); }
.track .tk { font-size: 11.5px; font-weight: 800; letter-spacing: .4px; color: #fff;
  background: var(--brand); border-radius: 999px; padding: 3px 11px; display: inline-block; }
.track h4 { font-size: 16px; margin: 12px 0 8px; }
.track p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.track .rate { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; }
.track .rate div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); }
.track .rate b { color: var(--ink); }
.req-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 720px){ .req-list { grid-template-columns: 1fr; } }
.req-list .r { display: flex; gap: 10px; font-size: 13.5px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.req-list .r::before { content: '✓'; color: var(--brand); font-weight: 800; flex-shrink: 0; }
.req-list .r span { color: var(--ink-2); }
.req-list .r b { display: block; color: var(--ink); margin-bottom: 2px; }

/* ---------- 제휴병원 (clinics) — 로고 타일 + 호버 팝업 ---------- */
/* 보호자용 사이트(7500biocare)와 동일한 구조를 쓴다. 페이지에는 로고만 노출하고
   상세 정보는 로고에 마우스를 올릴 때 브라우저 창 모양 팝업으로 띄운다.
   정보량이 많아 카드로 펼치면 페이지가 길어지고 병원 비교가 어렵다. */
.clinic-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px){ .clinic-hub { grid-template-columns: 1fr; } }

/* 열린 타일을 형제보다 위로 올려, 팝업이 옆 타일에 가리지 않게 한다 */
.clinic-tile { position: relative; z-index: 1; display: grid; place-items: center; gap: 16px;
  min-height: 210px; padding: 34px 28px; cursor: pointer; outline: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow); transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; }
.clinic-tile:hover, .clinic-tile:focus-visible, .clinic-tile.on {
  z-index: 981; transform: translateY(-3px); border-color: var(--brand-light); box-shadow: 0 18px 44px rgba(15,156,104,.18); }
.clinic-tile .tile-logo { width: 100%; max-width: 240px; height: auto; }
/* 제이 동물의료센터 로고는 투명 PNG가 아니라 간판 사진이라 경계가 드러난다 — 라운드+그림자로 의도된 액자처럼 보이게 한다 */
.clinic-tile.j .tile-logo { border-radius: 10px; box-shadow: 0 6px 18px rgba(15,42,31,.16); }
.clinic-tile .tile-hint { font-size: 12.5px; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border-radius: 999px; padding: 6px 14px; transition: .2s; }
.clinic-tile:hover .tile-hint, .clinic-tile.on .tile-hint { background: var(--brand); color: #fff; }

/* 팝업 — 창(iframe) 느낌의 프레임. 타일 위에 겹쳐 뜬다. */
/* z-index 는 sticky 내비(50)·AI 상담 FAB(960/961) 보다 위에 와야 가려지지 않는다 */
.clinic-pop { position: absolute; left: 50%; top: calc(100% - 10px); transform: translate(-50%, 8px);
  width: min(92vw, 520px); z-index: 980; opacity: 0; visibility: hidden; pointer-events: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 26px 70px rgba(15,42,31,.3); text-align: left; cursor: default;
  transition: opacity .2s, transform .2s, visibility .2s; }
.clinic-tile:hover .clinic-pop, .clinic-tile:focus-within .clinic-pop, .clinic-tile.on .clinic-pop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* 두 번째 타일은 오른쪽 끝에 붙어 화면을 넘칠 수 있어 오른쪽 정렬로 뒤집는다 */
@media (min-width: 861px){
  .clinic-hub .clinic-tile:last-child .clinic-pop { left: auto; right: 0; transform: translate(0, 8px); }
  .clinic-hub .clinic-tile:last-child:hover .clinic-pop,
  .clinic-hub .clinic-tile:last-child:focus-within .clinic-pop,
  .clinic-hub .clinic-tile:last-child.on .clinic-pop { transform: translate(0, 0); }
}
.pop-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: linear-gradient(135deg, var(--navy), var(--brand-dark)); }
.pop-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.34); }
.pop-bar i:first-child { background: #ff6058; } .pop-bar i:nth-child(2) { background: #ffbd2e; }
.pop-bar i:nth-child(3) { background: #28c840; }
.pop-bar span { margin-left: 8px; font-size: 12px; font-weight: 700; color: #d4ebe0; }
.pop-bar .pop-x { margin-left: auto; background: 0; border: 0; color: #d4ebe0; font-size: 20px;
  line-height: 1; padding: 0 4px; cursor: pointer; border-radius: 6px; font-family: inherit; display: none; }
.pop-bar .pop-x:hover { background: rgba(255,255,255,.16); color: #fff; }
/* 팝업이 화면 아래로 넘칠 때 위쪽으로 뒤집는다 (JS 가 .up 을 붙인다) */
.clinic-tile.up .clinic-pop { top: auto; bottom: calc(100% - 10px); transform: translate(-50%, -8px); }
.clinic-tile.up:hover .clinic-pop, .clinic-tile.up:focus-within .clinic-pop,
.clinic-tile.up.on .clinic-pop { transform: translate(-50%, 0); }
@media (min-width: 861px){
  .clinic-hub .clinic-tile:last-child.up .clinic-pop { transform: translate(0, -8px); }
  .clinic-hub .clinic-tile:last-child.up:hover .clinic-pop,
  .clinic-hub .clinic-tile:last-child.up:focus-within .clinic-pop,
  .clinic-hub .clinic-tile:last-child.up.on .clinic-pop { transform: translate(0, 0); }
}
.pop-body { padding: 24px 26px; max-height: min(58vh, 460px); overflow-y: auto; }
.pop-body h3 { font-size: 20px; font-weight: 800; letter-spacing: -.4px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.pop-body h3 .badge { font-size: 11.5px; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border-radius: 999px; padding: 4px 11px; }

/* 모바일 — 호버가 없으므로 탭하면 .on 이 붙고, 팝업을 화면 하단 시트로 띄운다 */
@media (max-width: 860px){
  .clinic-tile { min-height: 168px; padding: 26px 20px; gap: 13px; }
  .clinic-tile .tile-logo { max-width: 210px; }
  /* transform 이 걸린 조상은 position:fixed 의 기준(containing block)이 되어 하단 시트가 깨진다 —
     모바일에서는 타일을 들어올리는 효과를 쓰지 않는다. */
  .clinic-tile, .clinic-tile:hover, .clinic-tile:focus-visible, .clinic-tile.on { transform: none; }
  /* 터치기기의 sticky hover 로 팝업이 열린 채 남는 것을 막는다. 아래 .on 규칙이 이보다 뒤에 와야 한다. */
  .clinic-tile:hover .clinic-pop, .clinic-tile:focus-within .clinic-pop {
    opacity: 0; visibility: hidden; pointer-events: none; }
  .clinic-pop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: 100%;
    transform: translateY(14px); border-radius: 18px 18px 0 0; border: 0;
    box-shadow: 0 -14px 50px rgba(15,42,31,.34); }
  .clinic-tile.on .clinic-pop { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .pop-bar { padding: 13px 16px; }
  .pop-bar .pop-x { display: block; }
  .pop-body { padding: 20px 18px 26px; max-height: 62vh; -webkit-overflow-scrolling: touch; }
  .pop-body h3 { font-size: 18px; }
  /* 시트 뒤를 덮는 딤 — 바깥을 눌러 닫는 영역이 시각적으로 드러난다 */
  body.pop-open::after { content: ''; position: fixed; inset: 0; z-index: 39;
    background: rgba(15,42,31,.5); animation: popFade .2s ease; }
  @keyframes popFade { from { opacity: 0 } to { opacity: 1 } }
  /* 시트가 열리면 AI 상담 FAB 이 겹치므로 숨긴다 */
  body.pop-open .tmm-ai { display: none; }
}
@media (prefers-reduced-motion: reduce){
  .clinic-tile, .clinic-pop { transition: opacity .2s, visibility .2s; }
  .clinic-tile:hover, .clinic-tile.on { transform: none; }
}
.clinic-lead { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 20px; }
.clinic-info { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 18px; }
.clinic-info .ci { display: grid; grid-template-columns: 86px 1fr; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.clinic-info .ci b { color: var(--brand-dark); font-weight: 700; }
.clinic-info .ci span { color: var(--ink-2); line-height: 1.6; }
.clinic-info .ci a { color: var(--brand-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px){ .clinic-info .ci { grid-template-columns: 1fr; gap: 3px; } }
.clinic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.clinic-tags span { font-size: 12px; font-weight: 700; color: var(--ink-2);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.clinic-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* 협력병원 로고 그리드 — 로고를 누르면 공개 정보 팝업(js/partners.js)이 열린다 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pg { display: grid; place-items: center; gap: 9px; padding: 18px 16px; min-height: 104px;
  font-family: inherit; text-align: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, border-color .2s; }
.pg:hover { transform: translateY(-3px); border-color: var(--brand-light); box-shadow: 0 14px 32px rgba(15,156,104,.14); }
.pg:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pg img { width: 100%; max-width: 190px; height: auto; }
.pg-hint { font-size: 11.5px; font-weight: 700; color: var(--ink-3); transition: color .2s; }
.pg:hover .pg-hint, .pg:focus-visible .pg-hint { color: var(--brand-dark); }
@media (max-width: 900px){ .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 620px){ .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pg { padding: 14px 12px; min-height: 88px; } }

/* 협력병원 팝업 — 화면 중앙 모달(제휴병원 타일 팝업과 프레임 디자인을 공유한다) */
.pgm { position: fixed; inset: 0; z-index: 990; display: grid; place-items: center; padding: 20px; }
/* display 를 지정한 요소는 hidden 속성이 무시되므로 명시적으로 눌러 준다 */
.pgm[hidden], .pgm [hidden] { display: none; }
.pgm-dim { position: absolute; inset: 0; background: rgba(15,42,31,.55); animation: popFade .18s ease; }
.pgm-win { position: relative; width: min(94vw, 520px); background: #fff; border-radius: 14px;
  overflow: hidden; box-shadow: 0 26px 70px rgba(15,42,31,.34); text-align: left;
  animation: pgmIn .2s cubic-bezier(.2,.7,.3,1); }
@keyframes pgmIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes popFade { from { opacity: 0 } to { opacity: 1 } }
.pgm .pop-bar .pop-x { display: block; }
.pgm .pop-body { max-height: min(74vh, 560px); }
.pgm .clinic-lead { margin-bottom: 18px; }
.pgm .clinic-info { margin-bottom: 16px; }
.pgm-note { font-size: 12.5px; line-height: 1.7; color: #92400e;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 11px 13px; margin-bottom: 16px; }
.pgm-src { font-size: 12px; line-height: 1.7; color: var(--ink-3); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line); }
body.pgm-open { overflow: hidden; }
body.pgm-open .tmm-ai { display: none; }
@media (max-width: 560px){
  .pgm { padding: 0; place-items: end stretch; }
  .pgm-win { width: 100%; border-radius: 18px 18px 0 0; animation: none; }
  .pgm .pop-body { max-height: 66vh; }
}

/* ---------- CTA / 공통 알림 ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-glow)); color: #fff; padding: 60px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 30px; } .cta-band p { font-size: 16px; opacity: .92; margin: 10px 0 26px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.disc { background: var(--warn-bg); border: 1px solid #f3d9a8; color: #92400e; border-radius: 12px;
  padding: 16px 18px; font-size: 13px; margin-top: 30px; line-height: 1.7; }
.disc b { color: #7c2d12; }
.nextnav { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 780px){ .nextnav { grid-template-columns: 1fr; } }
.nextnav a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); transition: .2s; }
.nextnav a:hover { border-color: var(--brand-light); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(15,156,104,.16); }
.nextnav a small { font-size: 11.5px; font-weight: 800; color: var(--brand-dark); letter-spacing: .3px; }
.nextnav a b { display: block; font-size: 15.5px; margin: 6px 0 4px; }
.nextnav a span { font-size: 13px; color: var(--ink-2); }

/* ---------- 푸터 ---------- */
footer.lp { position: relative; overflow: hidden;
  background: radial-gradient(1100px 400px at 15% -10%, rgba(15,156,104,.28), transparent 60%),
              linear-gradient(160deg, #0f2a1f 0%, #16382a 55%, #0a1f16 100%);
  color: #a5c4b6; padding: 0; font-size: 13px; }
footer.lp .ft-top-line { height: 3px; background: linear-gradient(90deg, transparent, var(--brand), var(--gold), var(--brand-glow), transparent); }
footer.lp .ft-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
@media (max-width: 900px){ footer.lp .ft-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px){ footer.lp .ft-main { grid-template-columns: 1fr; gap: 26px; } }
footer.lp .ft-brand .ft-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
footer.lp .ft-brand .ft-logo .brand-mark { height: 40px; width: auto; filter: brightness(0) invert(1); }
footer.lp .ft-brand .ft-logo b { color: #fff; font-size: 17px; letter-spacing: -.3px; display: block; }
footer.lp .ft-brand .ft-logo small { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .4px; }
footer.lp .ft-brand p { font-size: 13px; line-height: 1.7; color: #99b3a7; max-width: 340px; }
footer.lp .ft-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
footer.lp .ft-badges span { font-size: 11.5px; font-weight: 600; color: #cfe8dd;
  background: rgba(255,255,255,.07); border: 1px solid rgba(15,156,104,.28); border-radius: 999px; padding: 5px 12px; }
footer.lp .ft-bar .cr a { color: #cfe8dd; text-decoration: underline; text-underline-offset: 2px; }
footer.lp .ft-bar .cr a:hover { color: #fff; }

footer.lp h5 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .3px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 7px; }
footer.lp h5::before { content: ''; width: 14px; height: 2px; background: var(--gold); border-radius: 2px; }
footer.lp ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
footer.lp ul a { color: #99b3a7; font-size: 13px; transition: .15s; display: inline-flex; align-items: center; gap: 7px; }
footer.lp ul a:hover { color: #fff; padding-left: 3px; }
footer.lp .ft-credit { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center; }
footer.lp .ft-credit .cc { font-size: 13px; color: #99b3a7; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
footer.lp .ft-credit .cc b { color: #fff; }
footer.lp .ft-credit .cc .role-tag { color: var(--gold); font-weight: 700; font-size: 11.5px;
  border: 1px solid rgba(202,162,90,.4); border-radius: 999px; padding: 3px 10px; }
footer.lp .ft-credit .cc .sep { color: #52685f; }
footer.lp .ft-bar { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.lp .ft-bar .cr { font-size: 12.5px; color: #789688; }
footer.lp .ft-bar .cr b { color: #cfe8dd; }
footer.lp .ft-bar .prods { font-size: 12px; color: #789688; display: flex; gap: 14px; flex-wrap: wrap; }
footer.lp .ft-bar .prods span, footer.lp .ft-bar .prods a { display: inline-flex; align-items: center; gap: 6px; color: #789688; transition: .15s; }
footer.lp .ft-bar .prods span::before, footer.lp .ft-bar .prods a::before { content: '◆'; color: var(--gold); font-size: 8px; }
footer.lp .ft-bar .prods a:hover { color: #fff; }
footer.lp b { color: #fff; }

/* ============ 사용 매뉴얼 (manual.html) ============ */
.man-toc { position: sticky; top: 74px; z-index: 20; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.man-toc .wrap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.man-toc b { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; margin-right: 4px; }
.man-toc a { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 999px; transition: .15s; background: var(--surface); }
.man-toc a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-tint); }
/* 상단 고정 내비(74) + 목차(약 57)를 피해 앵커가 가려지지 않게 한다 */
body[data-page="manual"] section[id] { scroll-margin-top: 138px; }
@media (max-width: 900px){ .man-toc { position: static; } body[data-page="manual"] section[id] { scroll-margin-top: 20px; } }

/* 공개 등급 배지 */
.lvl { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .01em; }
.lvl.open { background: var(--ok-bg); color: #15803d; }
.lvl.ltd { background: var(--warn-bg); color: #b45309; }
.lvl.priv { background: var(--danger-bg); color: #b91c1c; }

/* 단계 카드 */
.man-steps { display: grid; gap: 16px; margin-top: 22px; }
.man-step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.man-step .sn { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-glow)); color: #fff; font-weight: 900; font-size: 18px; }
.man-step h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.man-step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.72; }
.man-step ul { margin: 10px 0 0; padding-left: 19px; }
.man-step li { font-size: 14px; color: var(--ink-2); line-height: 1.78; }
.man-step li b { color: var(--ink); }
@media (max-width: 560px){ .man-step { grid-template-columns: 1fr; gap: 12px; } }

/* 스크린샷 */
.shot { margin: 20px 0 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface-2); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 13px; color: var(--ink-2); padding: 12px 16px; background: var(--surface);
  border-top: 1px solid var(--line-2); line-height: 1.65; }
.shot figcaption b { color: var(--brand-dark); }
.shot-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; align-items: start; }
.shot-2 .shot { margin: 0; }
@media (max-width: 840px){ .shot-2 { grid-template-columns: 1fr; } }

/* 콘솔 블록 */
.man-console { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 28px; box-shadow: var(--shadow); margin-top: 24px; }
.man-console > .hd { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; }
.man-console > .hd .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 27px; background: var(--brand-tint); border: 1px solid var(--brand-light); flex-shrink: 0; }
.man-console > .hd .tt { flex: 1; min-width: 200px; }
.man-console > .hd h3 { font-size: 21px; font-weight: 900; }
.man-console > .hd p { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.man-console > .hd .who { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }
.man-console > .hd .who b { color: var(--brand-dark); }

/* 메뉴 목록 */
.man-menu { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 4px 0 0; }
.man-menu .mi { display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.man-menu .mi .e { font-size: 17px; line-height: 1.2; }
.man-menu .mi b { font-size: 13.5px; display: block; }
.man-menu .mi span { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; display: block; margin-top: 2px; }
@media (max-width: 720px){ .man-menu { grid-template-columns: 1fr; } }

/* 주의 박스 */
.man-note { background: var(--info-bg); border: 1px solid #c7dbfd; border-left: 4px solid var(--info);
  border-radius: var(--radius-sm); padding: 14px 17px; font-size: 13.5px; color: #1e40af; line-height: 1.72; margin-top: 18px; }
.man-note b { color: #1e3a8a; }
.man-warn { background: var(--warn-bg); border: 1px solid #f6dfb4; border-left: 4px solid var(--warn);
  border-radius: var(--radius-sm); padding: 14px 17px; font-size: 13.5px; color: #92400e; line-height: 1.72; margin-top: 18px; }
.man-warn b { color: #78350f; }
