/* ── 폰트 통일: 영문·숫자 모두 Pretendard 사용 ── */
  :root {
    --font-sans:    'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono:    'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  }
  * { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important; }
  .portfolio-hero { text-align: center; padding: 10px 0 56px; }

  /* "실제로 적용된 홈페이지를 둘러보세요" 섹션 상단 여백 —
     태블릿/모바일에서는 다른 섹션들과 리듬이 맞도록 살짝 줄인다 */
  .all-work-section { padding-top: 64px; }
  @media (max-width: 900px) { .all-work-section { padding-top: 48px; } }
  @media (max-width: 600px) { .all-work-section { padding-top: 40px; } }
  .portfolio-hero h1 { max-width: none; white-space: nowrap; margin: 10px auto 0; font-size: clamp(30px, 4vw, 54px); line-height: 1.1; word-break: keep-all; }
  .portfolio-hero h1 .accent { color: var(--accent); }
  .portfolio-hero p.lead { max-width: 52ch; margin: 8px auto 0; color: var(--ink-500); font-size: 14px; line-height: 1.5; }

  /* ── Featured Showcase — PC·태블릿·모바일 반응형 목업 (device-mockup.png 오버레이) ──
     화살표까지 한 화면에 다 들어오도록 뷰포트 높이 기준으로도 크기를 제한함.
     좌우 화살표(.dev-arrow)는 목업 자체의 외곽에 붙여야 하므로, 실제 크기·중앙 정렬은
     .hmock-stage-wrap이 갖고 .hmock-stage는 그 안을 꽉 채우기만 한다(화살표가 이 래퍼 기준
     좌/우 모서리에 절대 위치로 붙을 수 있도록) */
  .hmock-stage-wrap {
    --stagew: min(740px, 80vw, calc((100vh - 500px) * 1.6667));
    position: relative;
    width: var(--stagew);
    aspect-ratio: 2065 / 1239;
    margin-top: 30px;
    /* data-reveal 애니메이션이 transform을 초기화하므로, 중앙 정렬은 transform이 아닌
       margin으로 처리해서 PC 화면(목업 안에서 좌우 비대칭 위치)이 실제로 가운데에 오도록 보정 */
    margin-left: calc((100% - var(--stagew)) / 2 - var(--stagew) * 0.0368);
    margin-right: auto;
  }
  .hmock-stage {
    position: absolute;
    inset: 0;
  }
  .hmock-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    user-select: none;
  }
  .hmock-screen {
    position: absolute;
    overflow: hidden;
    z-index: 1;
  }
  .hmock-pc     { left: 16.852%; top: 5.488%;  width: 73.656%; height: 69.573%; }
  .hmock-tablet { left: 0.920%;  top: 37.288%; width: 25.375%; height: 58.756%; }
  .hmock-phone  { left: 87.167%; top: 57.063%; width: 11.719%; height: 41.404%; }

  .hmock-track {
    display: flex;
    width: 400%;
    height: 100%;
    will-change: transform;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
  }
  .hmock-item { width: 25%; height: 100%; flex-shrink: 0; overflow: hidden; }
  .hmock-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    pointer-events: none;
    user-select: none;
    max-width: none !important;
  }

  /* 목업 아래 — 슬라이드별 제목·서브텍스트·바로가기 버튼 */
  .hmock-info { max-width: 620px; margin: 20px auto 0; text-align: center; }
  .hmock-texts { position: relative; min-height: 118px; }
  .hmock-text-item {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
  }
  .hmock-text-item.active { opacity: 1; pointer-events: auto; }
  .hmock-text-item h3 {
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.02em;
  }
  .hmock-text-item p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.55;
    white-space: nowrap;
  }

  /* 바로가기 버튼 (기존 dev-info-cta 스타일 재사용) */
  .dev-info-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(124,92,255,.26);
    transition: transform .2s ease, background .2s ease;
  }
  .dev-info-cta:hover { background: #6a4afc; transform: translateY(-1px); }

  /* 좌우 화살표 — 목업 스테이지(.hmock-stage-wrap) 외곽 좌/우 모서리에 절대 위치로 배치.
     좁은 화면에서 플로팅 상담 버튼(z-index:60)과 겹쳐도 항상 클릭 가능하도록 더 높은 z-index 확보 */
  .dev-arrow {
    position: absolute;
    top: 50%;
    z-index: 61;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(124,92,255,.2);
    background: white;
    color: var(--ink-600);
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    line-height: 1;
  }
  .dev-arrow:hover { background: var(--accent); color: white; border-color: var(--accent); }
  /* 데스크톱: 목업 폭이 컨테이너보다 좁아 좌우 여백이 있으므로, 화살표를 목업 프레임에서
     한참 더 떨어뜨려(컨테이너 가장자리 쪽으로) 배치한다. 아주 넓은 화면에서 너무 멀리 벌어지지
     않도록 vw 기준 값과 고정값 중 더 작은 쪽(덜 벌어지는 쪽)을 쓴다 */
  .dev-arrow-left  { left: max(-110px, -12vw);  transform: translate(-50%, -50%); }
  .dev-arrow-right { right: max(-110px, -12vw); transform: translate(50%, -50%); }
  .dev-arrow-left:hover  { transform: translate(-50%, -50%) scale(1.06); }
  .dev-arrow-right:hover { transform: translate(50%, -50%) scale(1.06); }

  @media (max-width: 700px) {
    /* 94vw는 .container 자체의 좌우 패딩을 무시해서 목업이 화면 양 옆에 거의 붙어보였음.
       100%(=.container의 padding을 제외한 안쪽 너비) 기준으로 맞춰 여백을 확보한다 */
    .hmock-stage-wrap {
      --stagew: min(100%, 80vh);
      width: var(--stagew);
      /* PC용 좌측 보정 오프셋(-3.68%)은 폭이 좁아진 모바일에서 왼쪽 여백을 다시 줄여버리므로 해제 */
      margin-left: auto;
      margin-right: auto;
    }
    /* 모바일에서는 목업 좌우에 여유 공간이 거의 없으므로, 화살표를 프레임 안쪽으로 당겨 화면 밖으로
       잘리지 않게 한다 */
    .dev-arrow { width: 40px; height: 40px; font-size: 18px; }
    .dev-arrow-left  { left: 8px;  transform: translateY(-50%); }
    .dev-arrow-right { right: 8px; transform: translateY(-50%); }
    .dev-arrow-left:hover  { transform: translateY(-50%) scale(1.06); }
    .dev-arrow-right:hover { transform: translateY(-50%) scale(1.06); }
    .hmock-texts { min-height: 118px; }
    .hmock-text-item p { white-space: normal; word-break: keep-all; }
    .portfolio-hero h1 { white-space: normal; word-break: keep-all; }
  }


  /* ── featured-card: work-card와 동일 스타일 ── */
  .featured-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    border: 1px solid var(--ink-200);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  }
  .featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(13,13,18,.12);
  }
  /* 이미지 래퍼 */
  .fc-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
  }
  .fc-img-wrap > div:first-child {
    width: 100%;
    height: 100%;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
  }
  .featured-card:hover .fc-img-wrap > div:first-child { transform: scale(1.04); }
  /* 이미지 우측 하단 pill 뱃지 */
  .fc-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.6);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-800);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  /* 카드 하단 흰 바디: 제목 + 버튼 가운데 */
  .fc-overlay {
    padding: 13px 20px 16px;
    text-align: center;
    background: white;
  }
  .fc-title {
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 800;
    color: var(--ink-900);
    margin: 0 0 4px;
    line-height: 1.3;
  }
  .fc-desc {
    font-size: 12px;
    color: var(--ink-500);
    margin: 0 0 12px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .fc-overlay .home-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(124,92,255,.30);
    transition: transform .2s ease, background .2s ease;
  }
  .fc-overlay .home-cta:hover { background: #6a4afc; transform: translateY(-1px); }

  /* 슬라이더 화살표 */
  .slider-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 16px rgba(13,13,18,.12);
    color: var(--ink-800);
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    transition: background .2s, transform .2s;
  }
  .slider-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); }
  .slider-arrow.prev { left: 14px; }
  .slider-arrow.next { right: 14px; }
  /* 슬라이더 dots */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
  }
  .slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ink-200);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
    padding: 0;
  }
  .slider-dot.active { background: var(--ink-800); transform: scale(1.2); }

  @media (max-width: 900px) {
    .featured-slide { grid-template-columns: 1fr; }
  }

  .filters-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  @media (min-width: 769px) {
    .filters-row { justify-content: center; }
    .filters { justify-content: center; }
  }
  .sub-filters {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
    border-bottom: 1.5px solid var(--ink-100);
    justify-content: center;
    padding-bottom: 0;
  }
  .sub-chip {
    padding: 6px 14px 10px;
    border-radius: 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-400);
    cursor: pointer;
    transition: color .15s ease;
    position: relative;
  }
  .sub-chip::after {
    content: '';
    position: absolute;
    bottom: -1.5px; left: 0; right: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s ease;
  }
  .sub-chip.active { color: var(--accent); font-weight: 700; }
  .sub-chip.active::after { transform: scaleX(1); }
  .sub-chip:not(.active):hover { color: var(--ink-700); }
  .filter-chip {
    padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
    background: var(--ink-50); color: var(--ink-700); border: 1px solid transparent;
    transition: all .15s ease;
  }
  .filter-chip.active { background: var(--ink-900); color: white; }
  .filter-chip:not(.active):hover { background: var(--ink-100); }

  .work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .work-card-item { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .work-card-item.is-row-hidden { display: none !important; }

  /* 아직 사례가 없는 템플릿 탭을 선택했을 때 노출되는 안내 문구 */
  .work-grid-empty {
    text-align: center;
    padding: 64px 20px;
    color: var(--ink-500);
    font-size: 15px;
    background: white;
    border: 1px dashed var(--ink-200);
    border-radius: var(--radius-lg);
    margin-top: 28px;
  }

  /* 4번째 줄부터 전체보기(+) 버튼으로 펼쳐보는 UI */
  .work-grid-more { display: flex; justify-content: center; margin-top: 32px; }
  .work-grid-more-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--ink-200);
    background: white;
    color: var(--accent);
    font-size: 22px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(13,13,18,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .work-grid-more-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 10px 24px rgba(124,92,255,.18);
  }
  .work-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(124,92,255,.25);
    transition: transform .2s ease, background .2s ease;
  }
  .work-card-cta:hover { background: #6a4afc; transform: translateY(-1px); }

  .work-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--ink-200);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  }
  .work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(13,13,18,.18);
  }

  /* 사진 영역 — 평소엔 정적인 대표이미지(.ph-static)만 노출.
     호버 시 실제 사이트를 세로로 캡처한 스크린샷(.ph-capture)이 위에 겹쳐지며 위→아래로 오토스크롤됨.
     .ph-capture의 background-image를 세로로 긴 실제 스크린샷으로 교체하면 스크롤 폭이 자연스럽게 커짐 */
  .work-card-photo {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    contain: paint;
  }
  .work-card-photo .ph-static,
  .work-card-photo .ph-capture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .work-card-photo .ph-static {
    background-size: cover;
    background-position: center;
  }
  /* background-position 애니메이션은 호버 중일 때만 적용한다.
     호버가 끝나면 이 transition을 걸지 않은 기본 규칙으로 즉시 스냅백되어(opacity는 .4s로만 페이드아웃)
     보이지도 않는 상태로 6.5s 동안 리페인트를 계속 유발하던 문제를 없앤다(연속 호버 시 렉의 원인). */
  .work-card-photo .ph-capture {
    background-size: 100% auto;
    background-position: top center;
    opacity: 0;
    will-change: opacity;
    transition: opacity .4s ease;
  }
  .work-card:hover .work-card-photo .ph-capture {
    opacity: 1;
    background-position: bottom center;
    transition: opacity .4s ease, background-position var(--capture-dur, 6.5s) ease;
  }

  /* 하단 오버레이 — 업체명 정보는 항상 보이고, 바로가기 버튼만 호버 시 아래→위로 나타남.
     박스 자체는 카드 전체 높이(inset:0)로 넓혀서, 그 안의 플랜 뱃지(.work-card-sub)를
     absolute로 우측 상단에 띄울 수 있게 한다 — 그라데이션 배경은 background-size로 하단
     일부 높이에만 칠해서 예전과 동일하게 사진 아래쪽만 어두워지도록 유지한다. */
  .work-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 30px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,0) 100%) bottom / 100% 65% no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    text-align: center;
    pointer-events: none;
  }
  .work-card-name {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
  }
  /* 플랜·템플릿 정보를 텍스트 대신 뱃지(pill)로 노출 — 사진 배경 위에서도 잘 보이도록.
     카드 우측 상단 코너에 고정 배치(오버레이가 이제 카드 전체 높이라 top/right가 카드 기준으로 맞음) */
  .work-card-sub {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    background: var(--accent);
    padding: 4px 11px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
  }
  .work-card-hover-row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    transform: translateY(8px);
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease, transform .35s ease;
    pointer-events: none;
    margin-top: 4px;
  }
  .work-card:hover .work-card-hover-row {
    max-height: 44px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .work-card-hover-row .work-card-cta {
    pointer-events: auto;
  }
  /* 카드 wrapper */
  .work-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .work-card .body { display: none; }

  .work-card h4 { display: none; }

  .work-card h4 { display: none; }
  /* 카드 밖 버튼 */
  .work-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(124,92,255,.25);
    transition: transform .2s ease, background .2s ease;
  }
  .work-card-cta:hover { background: #6a4afc; transform: translateY(-1px); }
  .work-card p { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
  .work-card .template-type {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ink-50);
    border: 1px solid var(--ink-200);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-600);
    letter-spacing: 0.02em;
  }
  .work-card .home-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(124,92,255,.25);
    transition: transform .2s ease, background .2s ease;
  }
  .work-card .home-cta:hover {
    background: #6a4afc;
    transform: translateY(-1px);
  }

  .stay-informed { display: none; }

  @media (max-width: 900px) {
    .featured-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .stay-informed { grid-template-columns: 1fr; padding: 40px; }
    .filters { gap: 6px; }
    .sub-filters {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
    border-bottom: 1.5px solid var(--ink-100);
    justify-content: center;
    padding-bottom: 0;
  }
  .sub-chip {
    padding: 6px 14px 10px;
    border-radius: 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-400);
    cursor: pointer;
    transition: color .15s ease;
    position: relative;
  }
  .sub-chip::after {
    content: '';
    position: absolute;
    bottom: -1.5px; left: 0; right: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s ease;
  }
  .sub-chip.active { color: var(--accent); font-weight: 700; }
  .sub-chip.active::after { transform: scaleX(1); }
  .sub-chip:not(.active):hover { color: var(--ink-700); }
  .filter-chip { padding: 6px 14px; font-size: 12px; }
    .featured-card .body { padding: 20px 20px 24px; }
    .featured-card h3 { font-size: 18px; }
    .fc-title { font-size: 15px; }
    .fc-desc { font-size: 12px; }
  }
  @media (max-width: 600px) {
    .work-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .portfolio-hero { padding: 40px 0 16px; }
    .portfolio-hero p.lead { font-size: 13px; }
    .fc-overlay { padding: 14px 16px 16px; }
    .fc-title { font-size: 14px; }
    .fc-desc { display: none; }
    .work-card .body { padding: 14px 14px 18px; }
    /* 카드 텍스트 overflow 방지 */
    .work-card h4 { font-size: 14px; word-break: keep-all; line-height: 1.4; margin-top: 8px; }
    .work-card p { font-size: 12px; }
    .work-card .tags { gap: 4px; }
    .work-card .template-type { font-size: 11px; padding: 4px 8px; }
  }
  @media (max-width: 380px) {
    .work-grid { grid-template-columns: 1fr; }
  }
  /* ══════════════════════════════════════
     TEMPLATE TYPE — 탭 + 바리에이션 + 모달
  ══════════════════════════════════════ */

  /* ── 탭 버튼 바 ── */
  .tpl-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
  }
  .tpl-tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--ink-200);
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
  }
  .tpl-tab:hover { border-color: var(--accent); color: var(--accent); }
  .tpl-tab.active {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: white;
  }

  /* ── 바리에이션 패널 ── */
  .tpl-panel {
    display: none;
    margin-top: 32px;
    animation: tplPanelIn .28s ease;
  }
  .tpl-panel.active { display: block; }
  @keyframes tplPanelIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── 타입 설명 헤더 ── */
  .tpl-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }
  .tpl-type-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
  }
  .tpl-panel-desc {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.6;
    word-break: keep-all;
  }

  /* ── 바리에이션 카드 그리드 ── */
  .tpl-var-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  .tpl-var-card {
    border-radius: 20px;
    border: 1.5px solid var(--ink-100);
    background: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s;
  }
  .tpl-var-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(13,13,18,.10);
    border-color: var(--accent);
  }

  /* 썸네일 이미지 영역 */
  .tpl-var-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--ink-50);
  }
  .tpl-var-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
  }
  .tpl-var-card:hover .tpl-var-thumb img { transform: scale(1.04); }

  /* 이미지 없을 때 플레이스홀더 */
  .tpl-var-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-400);
    letter-spacing: 0.04em;
    background: var(--ph-bg, #f5f5f5);
  }

  /* 카드 바디 */
  .tpl-var-body {
    padding: 16px 18px 20px;
    border-top: 1px solid var(--ink-100);
  }
  .tpl-var-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
  }
  .tpl-var-concept {
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 4px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .tpl-var-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transition: opacity .2s;
  }
  .tpl-var-card:hover .tpl-var-cta { opacity: 1; }

  /* ── 모달 (바리에이션 상세) ── */
  .tpl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,13,18,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .tpl-modal-overlay.open { opacity: 1; pointer-events: all; }
  .tpl-modal {
    background: white;
    border-radius: 28px;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(.97);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 40px 100px rgba(13,13,18,.20);
    scrollbar-width: thin;
    scrollbar-color: var(--ink-300) transparent;
  }
  .tpl-modal::-webkit-scrollbar { width: 8px; }
  /* border-radius(28px)보다 큰 여백을 둬야 끝까지 스크롤해도 막대가 둥근 모서리 밖으로 삐져나오지 않는다. */
  .tpl-modal::-webkit-scrollbar-track { background: transparent; margin: 32px 0; }
  .tpl-modal::-webkit-scrollbar-thumb {
    background-color: var(--ink-300);
    border-radius: 999px;
    border: 2px solid white;
    background-clip: padding-box;
  }
  .tpl-modal::-webkit-scrollbar-thumb:hover { background-color: var(--ink-400); }
  .tpl-modal-overlay.open .tpl-modal { transform: translateY(0) scale(1); }
  .tpl-modal-close {
    position: sticky;
    top: 16px; float: right;
    margin: 16px 16px 0 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--ink-100);
    color: var(--ink-700);
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    z-index: 10;
  }
  .tpl-modal-close:hover { background: var(--ink-200); }
  .tpl-modal-inner { padding: 32px 40px 48px; clear: both; }

  /* 모달 헤더 */
  .tpl-modal-badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .tpl-modal-title {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 800;
    color: var(--ink-900);
    margin: 0; line-height: 1.2;
  }
  .tpl-modal-desc {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ink-500);
    line-height: 1.7;
    word-break: keep-all;
  }

  /* 모달 스크린샷 그리드 */
  .tpl-modal-screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  .tpl-modal-screen {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
    aspect-ratio: 9/16;
    position: relative;
    background: var(--ink-50);
  }
  .tpl-modal-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .tpl-modal-screen-label {
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-700);
    white-space: nowrap;
  }
  /* 스크린샷 플레이스홀더 */
  .tpl-modal-screen-ph {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px; font-size: 11px; font-weight: 600;
    color: var(--ink-400);
    background: var(--ph-bg, #f5f5f5);
  }

  /* 기능 리스트 */
  .tpl-modal-features {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-100);
  }
  .tpl-modal-features h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-600);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .tpl-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .tpl-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-700);
    line-height: 1.5;
  }
  .tpl-feature-item::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
  }
  .tpl-modal-cta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* 반응형 */
  @media (max-width: 900px) {
    .tpl-var-grid { grid-template-columns: repeat(2, 1fr); }
    .tpl-modal-screens { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .tpl-tabs { gap: 6px; }
    .tpl-tab { padding: 8px 14px; font-size: 13px; }
    .tpl-var-grid { grid-template-columns: 1fr; }
    .tpl-modal-inner { padding: 20px 18px 36px; }
    .tpl-modal-screens { grid-template-columns: repeat(2, 1fr); }
    .tpl-feature-list { grid-template-columns: 1fr; }
    .tpl-modal-cta { flex-direction: column; align-items: flex-start; }
  }

  /* ── 템플릿 탭 선택 시 안내 문구 + 버튼 (통합 바 우측) ── */
  .tpl-info-bar {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: tplInfoBarIn .3s ease both;
  }
  .tpl-info-bar.show { display: flex; }
  @keyframes tplInfoBarIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .tpl-info-text {
    font-size: 12.5px;
    color: var(--ink-500);
    white-space: nowrap;
  }
  .tpl-info-text b {
    color: var(--ink-900);
    font-weight: 700;
    margin-right: 4px;
  }
  .tpl-info-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--ink-900);
    color: white;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform .2s, background .2s;
  }
  .tpl-info-btn:hover { background: #000; transform: translateY(-1px); }

  /* ── 템플릿 안내 모달 (제작안내 페이지 지원 템플릿 팝업과 동일 구성) ── */
  .tplinfo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,13,18,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .tplinfo-modal-overlay.open { opacity: 1; pointer-events: all; }
  .tplinfo-modal-box {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 94vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(.97);
    transition: transform .28s cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 40px 100px rgba(13,13,18,.18);
    scrollbar-width: thin;
    scrollbar-color: var(--ink-300) transparent;
  }
  .tplinfo-modal-box::-webkit-scrollbar { width: 8px; }
  /* border-radius(24px)보다 큰 여백을 둬야 끝까지 스크롤해도 막대가 둥근 모서리 밖으로 삐져나오지 않는다. */
  .tplinfo-modal-box::-webkit-scrollbar-track { background: transparent; margin: 28px 0; }
  .tplinfo-modal-box::-webkit-scrollbar-thumb {
    background-color: var(--ink-300);
    border-radius: 999px;
    border: 2px solid white;
    background-clip: padding-box;
  }
  .tplinfo-modal-box::-webkit-scrollbar-thumb:hover { background-color: var(--ink-400); }
  .tplinfo-modal-overlay.open .tplinfo-modal-box { transform: translateY(0) scale(1); }
  .tplinfo-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--ink-100);
    color: var(--ink-600);
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    z-index: 10;
  }
  .tplinfo-modal-close:hover { background: var(--ink-200); }
  .tplinfo-modal-inner { padding: 26px 28px 28px; }
  .tplinfo-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink-900);
    text-align: center;
    margin: 0 0 6px;
  }
  .tplinfo-modal-concept {
    font-size: 14px;
    color: var(--ink-600);
    margin: 4px 0 14px;
    line-height: 1.6;
    word-break: keep-all;
    text-align: center;
  }
  .tplinfo-main-preview {
    /* PC/모바일 프레임을 같은 높이로 맞추면서(둘 다 height:94%) 모달 폭(680px) 안에서
       가로폭이 넘치지 않는 한도 내에서 최대한 키운 값 */
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
  }
  .tplinfo-main-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    animation: tplinfoAutoScroll 9s ease-in-out infinite alternate;
  }
  @keyframes tplinfoAutoScroll {
    0%   { object-position: top center; }
    100% { object-position: bottom center; }
  }
  .tplinfo-screen-ph {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--ink-300);
    gap: 6px;
    background: var(--ink-50);
  }
  .tplinfo-main-preview.no-img img { display: none; }
  .tplinfo-main-preview.no-img .tplinfo-screen-ph { display: flex; }
  .tplinfo-main-preview:not(.no-img) .tplinfo-screen-ph { display: none; }

  .tplinfo-main-preview.tplinfo-frame-phone,
  .tplinfo-main-preview.tplinfo-frame-pcmobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── PC(메인 페이지) + 모바일(객실 페이지) 2단 목업 ──
     process.html과 동일하게 pc-frame-cutout.svg(화면 영역이 투명한 모니터+스탠드 프레임)를
     스크린샷 위에 겹쳐서 베젤처럼 보이게 한다(히어로 목업과 같은 톤의 미니멀한 프레임 스타일). */
  .tplinfo-pc-frame {
    /* .tplinfo-phone-frame과 동일하게 "높이 94% + aspect-ratio"로 크기를 정해서, 두 프레임의
       전체 높이(위/아래 끝)가 서로 정확히 맞도록 한다(가로폭이 아니라 세로 기준으로 통일). */
    position: relative;
    height: 94%;
    aspect-ratio: 640 / 460;
  }
  .tplinfo-pc-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
  }
  .tplinfo-pc-screen {
    position: absolute;
    left: 1.25%;
    top: 1.739%;
    width: 97.5%;
    height: 83.478%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ink-50);
    z-index: 1;
  }
  .tplinfo-pc-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    animation: tplinfoAutoScroll 9s ease-in-out infinite alternate;
  }
  .tplinfo-pc-frame.no-img .tplinfo-pc-screen img { display: none; }
  .tplinfo-pc-frame.no-img .tplinfo-screen-ph { display: flex; }
  .tplinfo-pc-frame:not(.no-img) .tplinfo-screen-ph { display: none; }
  .tplinfo-phone-frame {
    position: relative;
    height: 94%;
    aspect-ratio: 276 / 544;
  }
  .tplinfo-phone-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
  }
  .tplinfo-phone-screen {
    position: absolute;
    left: 6.522%;
    top: 2.574%;
    width: 87.681%;
    height: 94.853%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--ink-50);
    z-index: 1;
  }
  .tplinfo-phone-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    animation: tplinfoAutoScroll 9s ease-in-out infinite alternate;
  }
  .tplinfo-phone-frame.no-img .tplinfo-phone-screen img { display: none; }
  .tplinfo-phone-frame.no-img .tplinfo-screen-ph { display: flex; }
  .tplinfo-phone-frame:not(.no-img) .tplinfo-screen-ph { display: none; }

  /* 시네마틱(구 원페이지)형은 모바일 최적화 템플릿임을 보여주기 위해 태블릿·모바일 프레임을 나란히 노출.
     실제 화면 녹화(GIF)가 준비되기 전까지는 tabletImage/mobileImage 경로가 404가 나며
     .no-img 처리를 통해 "이미지 준비 중" 플레이스홀더가 대신 노출된다(정상 동작). */
  .tplinfo-frame-dual { gap: 20px; }
  .tplinfo-tablet-frame {
    position: relative;
    height: 94%;
    aspect-ratio: 400 / 520;
  }
  .tplinfo-tablet-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
  }
  .tplinfo-tablet-screen {
    position: absolute;
    left: 4.5%;
    top: 3.46%;
    width: 91%;
    height: 93.08%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ink-50);
    z-index: 1;
  }
  .tplinfo-tablet-screen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    animation: tplinfoAutoScroll 9s ease-in-out infinite alternate;
  }
  .tplinfo-tablet-frame.no-img .tplinfo-tablet-screen img { display: none; }
  .tplinfo-tablet-frame.no-img .tplinfo-screen-ph { display: flex; }
  .tplinfo-tablet-frame:not(.no-img) .tplinfo-screen-ph { display: none; }

  @media (max-width: 480px) {
    .tplinfo-main-preview { height: 160px; }
    .tplinfo-phone-frame { height: 92%; }
    .tplinfo-tablet-frame { height: 92%; }
    .tplinfo-pc-frame { height: 92%; }
    .tplinfo-frame-dual { gap: 12px; }
    .tplinfo-modal-inner { padding: 20px 20px 24px; }
  }

  .tplinfo-modal-section { margin-bottom: 14px; margin-top: 18px; }
  .tplinfo-modal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }
  .tplinfo-modal-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  /* 플랜 탭 — 클릭 시 아래 기능 O/X 그리드만 갱신 (필터 칩과 동일한 색상 구성) */
  .tplinfo-plan-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }
  /* 기본값 = "지원되지만 선택되지 않은" 플랜. 흰 배경 + 뚜렷한 테두리로, 클릭 가능한 상태임을
     .disabled(회색, 테두리 없음)와 뚜렷하게 구분한다(process.html과 동일 규칙). */
  .tplinfo-plan-tab {
    appearance: none;
    border: 1.5px solid var(--ink-300);
    background: white;
    color: var(--ink-800);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .15s ease;
  }
  .tplinfo-plan-tab:not(.active):not(.disabled):hover { background: var(--ink-50); border-color: var(--ink-500); }
  .tplinfo-plan-tab.active {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: white;
  }
  /* 이 템플릿을 지원하지 않는 플랜 — 항상 4개 플랜을 다 보여주되, 지원 안 되는 쪽은 테두리 없이
     플랫한 회색으로 눌러서 "지원됨(테두리 있음)"과 명확히 구분되게 한다 */
  .tplinfo-plan-tab.disabled {
    border-color: transparent;
    background: var(--ink-50);
    color: var(--ink-300);
    font-weight: 500;
    cursor: not-allowed;
    pointer-events: none;
  }
  .tplinfo-modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--ink-100);
    margin-top: 2px;
  }
  .tplinfo-modal-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--ink-200);
    background: white;
    color: var(--ink-700);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
    cursor: pointer;
  }
  .tplinfo-modal-site-btn:hover { border-color: var(--ink-400); background: var(--ink-50); }
  .tplinfo-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 20px rgba(124,92,255,.30);
    transition: transform .2s, background .2s;
  }
  .tplinfo-modal-cta:hover { background: #6a4afc; transform: translateY(-1px); }

  .tplinfo-modal-oxgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
    background: var(--ink-50);
    border: 1px solid var(--ink-100);
    border-radius: 12px;
    padding: 10px 14px;
  }
  .tplinfo-modal-ox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-700);
    padding: 3px 0;
  }
  .tplinfo-ox.o { color: var(--accent); font-weight: 700; font-size: 15px; }
  .tplinfo-ox.x { color: var(--ink-300); font-size: 14px; }
  .tplinfo-ox.opt { color: var(--ink-500); font-size: 11px; font-weight: 600; }
  @media (max-width: 600px) {
    .tplinfo-modal-oxgrid { grid-template-columns: 1fr; }
    .tplinfo-modal-footer { flex-direction: column; align-items: stretch; }
    .tplinfo-modal-site-btn, .tplinfo-modal-cta { text-align: center; justify-content: center; }
  }


  .site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px;
    overflow: visible;
  }
  .site-header::before { display: none !important; }
  /* style.css의 .site-header .container 완전 제압 */
  .site-header .container {
    all: unset !important;
    display: none !important;
  }
  .site-header-pill {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
      0 1px 0 0 rgba(255,255,255,0.9) inset,
      0 8px 32px rgba(124, 92, 255, 0.08),
      0 2px 8px rgba(13, 13, 18, 0.06);
  }
  @media (max-width: 768px) {
    .site-header { padding: 10px 16px; }
    .site-header-pill { padding: 0 16px; height: 48px; }
  }


  /* ── 모바일 드로어 & 햄버거 — codle 스타일 ── */

  /* 햄버거 버튼: pill 테두리 */
  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    gap: 0 !important;
    flex-direction: column;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink-700);
    border-radius: 2px;
    margin: 2.5px 0;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* 드로어 전체 */
  .mobile-nav {
    background: #ffffff !important;
  }

  /* 드로어 헤더 */
  .mobile-nav-header {
    height: 64px !important;
    padding: 0 20px !important;
    border-bottom: 1px solid var(--ink-100) !important;
  }

  /* 닫기 버튼 */
  .mobile-nav-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ink-700) !important;
    font-size: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    transition: background .2s;
  }
  .mobile-nav-close:hover { background: var(--ink-100) !important; }

  /* 메뉴 링크 */
  .mobile-nav-links {
    padding: 8px 0 !important;
  }
  .mobile-nav-links a {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--ink-800) !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--ink-100) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    letter-spacing: -0.01em !important;
  }
  .mobile-nav-links a:last-child { border-bottom: none !important; }
  /* 기존 ::after 화살표 제거 */
  .mobile-nav-links a::after { display: none !important; }

  /* JS로 삽입된 › 화살표 */
  .mnl-arrow {
    font-size: 20px;
    color: var(--ink-300);
    font-weight: 400;
    line-height: 1;
  }
  .mobile-nav-links a.active { color: var(--accent) !important; }
  .mobile-nav-links a.active .mnl-arrow { color: var(--accent) !important; }
  .mobile-nav-links a:hover { background: var(--ink-50) !important; color: var(--ink-900) !important; }

  /* CTA 섹션 숨김 */
  .mobile-nav-cta { display: none !important; }

  /* 모바일: header-right & nav-toggle 강제 표시 */
  .site-header-pill .header-right {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .site-header-pill .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  /* PC에서는 header-right 숨김 유지 */
  @media (min-width: 901px) {
    .site-header-pill .header-right { display: none !important; }
  }
  /* PC에서는 nav 표시 */
  @media (min-width: 901px) {
    .site-header-pill .nav { display: flex !important; }
  }

  /* ── 상담 모달: 헤더와 안 겹치게 ── */
  .consult-overlay {
    padding-top: 100px !important; /* pill 헤더(~80px) + 여유 */
    align-items: flex-start !important;
  }
  @media (max-width: 768px) {
    .consult-overlay { padding-top: 80px !important; padding-left: 12px !important; padding-right: 12px !important; }
  }

  /* ── 플로팅 상담 버튼: 원형 크게 + 아이콘 ── */
  .floating-cta {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }
